lib/*_provider.rb now contain the heart of the implementation.
UIAlertAction objects are now AlertAction to be iOS 7 friendly
The internals changed just enough that i had to rework all existing tests. Sorry. The positive side now is there's many more!
Breaking Changes
I pulled working with UIAlertView directly now that it is intrinsically supported.
I removed the ability to pass in UIActionAlert actions. We could actually bring them back if you really wanted to if we put in some branches around ios version.
Other Fixes
The whole title.to_sym thing you were doing was clever! But an edge case broke it when localization was switched to :fr:. So I introduced the ability to set it explicitly with a :tag and falling back to the way you've done it.
Problems
There is some serious fugly in the way I've handled delegate for iOS 7. Check out the end of the alert method. I feel like you may know the right thing to do. I couldn't stop the fail :train:. :shipit:
The unit tests don't even run when I change the simulator AND deployment target to iOS 7. I think this is rake spec + RubyMotion issue though. Just a heads up.
Things to chat about before accepting:
Structural Changes
lib/*_provider.rb
now contain the heart of the implementation.UIAlertAction
objects are nowAlertAction
to be iOS 7 friendlyBreaking Changes
UIAlertView
directly now that it is intrinsically supported.Other Fixes
title.to_sym
thing you were doing was clever! But an edge case broke it when localization was switched to :fr:. So I introduced the ability to set it explicitly with a:tag
and falling back to the way you've done it.Problems
alert
method. I feel like you may know the right thing to do. I couldn't stop the fail :train:. :shipit:rake spec
+ RubyMotion issue though. Just a heads up.Other Stuff