teacup 0.3.5 → 0.3.6

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.
data/lib/teacup/style.rb CHANGED
@@ -34,7 +34,7 @@ module Teacup
34
34
  properties.stylesheet = self.stylesheet
35
35
 
36
36
  # at this point, we really DO need the orientation
37
- orientation = UIDevice.currentDevice.orientation unless orientation
37
+ orientation = UIApplication.sharedApplication.statusBarOrientation unless orientation
38
38
 
39
39
  # first, move orientation settings into properties "base" level.
40
40
  if orientation
@@ -1,5 +1,5 @@
1
1
  module Teacup
2
2
 
3
- VERSION = '0.3.5'
3
+ VERSION = '0.3.6'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teacup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: