redpotion 0.4.6 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2b806223e888526554660bda712f18a018feb13a
4
- data.tar.gz: 1e7a16bf05593230aa288fe4810200293aef90ca
3
+ metadata.gz: 3c2954e70dc1cf64c04d9fc1a02ee509e09f8aa8
4
+ data.tar.gz: 6d91699310c70f8917cd0158c009d6c95998992d
5
5
  SHA512:
6
- metadata.gz: 4072fea23f452f7396c059a2736a7897068e8d7c3892d9671e9451523bfcb80621e68f7e117519541ea00ab039a7f413aa93f57684f703432a051bfc91720a67
7
- data.tar.gz: c4ae94132507c8dfa9fe0aedfe428f27b6916548401cada17a55dcf7d2c68208ea50ab286ddbe61295a687a235813146d3546f360845e15020ed4b28e5917195
6
+ metadata.gz: 797f9f817215881b74b8471a46cb9d47f1a61bcdb5d7a4ba6183f4fef4ba1c19f864cbb9c1b97aaed66946296509d652752da9124c8810098b363ced140d4ead
7
+ data.tar.gz: b50859d174deabdfb5d836903feac0b98bfcdb8b2b919438d8fab8441a328ae1886964e24e81f02db1ac53c700298ff82acd8e1decdd4da5e91ec47bf510960f
@@ -1,3 +1,3 @@
1
1
  module RedPotion
2
- VERSION = "0.4.6"
2
+ VERSION = "0.4.7"
3
3
  end
@@ -4,25 +4,26 @@ class <%= @name_camel_case %>Screen < PM::<%= @screen_base %>
4
4
 
5
5
  def on_load
6
6
  end
7
-
8
7
  <% if @screen_base == 'TableScreen' %>
9
8
  def table_data
10
9
  []
11
10
  end
12
11
  <% end %>
13
- # You don't have to reapply styles to all UIViews, if you want to optimize,
14
- # another way to do it is tag the views you need to restyle in your stylesheet,
15
- # then only reapply the tagged views, like so:
16
- # def logo(st)
17
- # st.frame = {t: 10, w: 200, h: 96}
18
- # st.centered = :horizontal
19
- # st.image = image.resource('logo')
20
- # st.tag(:reapply_style)
21
- # end
12
+
13
+ # Remove the following if you're only using portrait
14
+
15
+ # You don't have to reapply styles to all UIViews, if you want to optimize, another way to do it
16
+ # is tag the views you need to restyle in your stylesheet, then only reapply the tagged views, like so:
17
+ # def logo(st)
18
+ # st.frame = {t: 10, w: 200, h: 96}
19
+ # st.centered = :horizontal
20
+ # st.image = image.resource('logo')
21
+ # st.tag(:reapply_style)
22
+ # end
22
23
  #
23
- # Then in willAnimateRotationToInterfaceOrientation
24
- # find(:reapply_style).reapply_styles
25
- def willAnimateRotationToInterfaceOrientation(orientation, duration: duration)
24
+ # Then in will_animate_rotate
25
+ # find(:reapply_style).reapply_styles#
26
+ def will_animate_rotate(orientation, duration)
26
27
  find.all.reapply_styles
27
28
  end
28
29
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redpotion
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - InfiniteRed