Closed jmay closed 10 years ago
We should test this & remove the abhack. I propose we add a version check like BubbleWrap does
# lib/motion-addressbook.rb
if Motion::Version < 2.8
raise <<-MSG
MotionAddressBook requires RubyMotion version at least 2.8. If you cannot upgrade RubyMotion please use an older version of this gem
"gem 'motion-addressbook', '<= 1.5.0'"
MSG
end
I just verified the fix with 2.8 and it seems to work. Such a relief. Patch coming shortly. I'll definitely put in the version check.
On 17 Sep, 2013, at 8:12 AM, Alex Rothenberg notifications@github.com wrote:
We should test this & remove the abhack. I propose we add a version check like BubbleWrap does
lib/motion-addressbook.rb
if Motion::Version < 2.8 raise <<-MSG MotionAddressBook requires RubyMotion version at least 2.8. If you cannot upgrade RubyMotion please use an older version of this gem "gem 'motion-addressbook', '<= 1.5.0'" MSG end — Reply to this email directly or view it on GitHub.
See history in #22.
Release notes for RM 2.8 include this
If this fixes RM-81 then the abhack code can be retired.