teacup 2.0.4 → 2.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/lib/teacup-ios/core_extensions/ui_view_controller.rb +1 -0
- data/lib/teacup/version.rb +1 -1
- metadata +2 -2
data/Gemfile.lock
CHANGED
@@ -10,6 +10,7 @@ class UIViewController
|
|
10
10
|
# method, but the iOS 6 update deprecates that method. Instead, use the
|
11
11
|
# `supportedInterfaceOrientations` and return `autorotateMask`.
|
12
12
|
def autorotateToOrientation(orientation)
|
13
|
+
device = UIDevice.currentDevice.userInterfaceIdiom
|
13
14
|
if view.stylesheet and view.stylesheet.is_a?(Teacup::Stylesheet) and view.stylename
|
14
15
|
properties = view.stylesheet.query(view.stylename, self, orientation)
|
15
16
|
|
data/lib/teacup/version.rb
CHANGED
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: 2.0.
|
4
|
+
version: 2.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-06-
|
12
|
+
date: 2013-06-12 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: ! 'Teacup is a community-driven DSL for making CSS-like styling, and
|
15
15
|
layouts for
|