ProMotion 0.7.0 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,8 +3,8 @@ module ProMotion
3
3
 
4
4
  include ProMotion::ScreenTabs
5
5
  include ProMotion::SplitScreen if NSBundle.mainBundle.infoDictionary["UIDeviceFamily"].include?("2") # Only with iPad
6
- include DelegateHelper
7
- include DelegateNotifications
6
+ include ProMotion::DelegateHelper
7
+ include ProMotion::DelegateNotifications
8
8
 
9
9
  end
10
10
 
@@ -11,8 +11,11 @@ module ProMotion
11
11
 
12
12
  check_for_push_notification launch_options
13
13
 
14
- true
15
-
14
+ # This will work when RubyMotion fixes a bug.
15
+ # defined?(super) ? super : true
16
+
17
+ # Workaround for now. Will display a NoMethodError, but ignore.
18
+ super rescue true
16
19
  end
17
20
 
18
21
  def applicationWillTerminate(application)
@@ -1,3 +1,3 @@
1
1
  module ProMotion
2
- VERSION = "0.7.0" unless defined?(ProMotion::VERSION)
2
+ VERSION = "0.7.1" unless defined?(ProMotion::VERSION)
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ProMotion
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: