bluepotion 0.0.5 → 0.0.6

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: 09fbffc4d1008e174587608f6e20525bf12e0ebf
4
- data.tar.gz: b03351bae8a0af917cb43b2e42c1e5ffb18d4467
3
+ metadata.gz: e1269e673a82db0773ddc49cb7df61454dccadaf
4
+ data.tar.gz: 446e9c81af4c541bc68517dcedd9da7dd03a19a7
5
5
  SHA512:
6
- metadata.gz: 2d7fd8c95a66022896376e51fb7fa42297e588cc4d51cd9bf315506f3a0e4d4e44b26a4b86d0fd6b7800177d85ff2b85965196565e991729ec728f556343c6db
7
- data.tar.gz: 2f381e2ac1689236282852aa1e17145eb51b50caf589d9869c1524f2b92cd0725d2d4dea367ed6259f1eb6ab8d5d083203069793d7c0a7cfd2b7f09a5bd7695d
6
+ metadata.gz: d5edb28a8794f8a4dd6efa62bc26ca85b8e8ebc7d261b7b4e79fa73adf8e9de9967fc6e9326c0dda14828bde7207ae43065af54e57ce05b7c9fe1d6bf850b22d
7
+ data.tar.gz: 172449e7d0750e91274c0daba5e2ceb3c0071d8012e9184e8279b3d4a85aee3267b197be0e4b9ccca7c59824408514edcdc4510688ad07754fa3d6d5f141dcfe
@@ -38,12 +38,12 @@ class Android::App::Activity
38
38
  rmq.image
39
39
  end
40
40
 
41
- def append_view(view_or_class, style=nil, opts={})
42
- self.rmq.append_view(view_or_class, style, opts)
41
+ def append(view_or_class, style=nil, opts={}, dummy=nil)
42
+ self.rmq.append(view_or_class, style, opts)
43
43
  end
44
44
 
45
- def append_view!(view_or_class, style=nil, opts={})
46
- self.rmq.append_view(view_or_class, style, opts).get
45
+ def append!(view_or_class, style=nil, opts={})
46
+ self.rmq.append(view_or_class, style, opts).get
47
47
  end
48
48
 
49
49
  class << self
@@ -52,12 +52,12 @@ class Android::View::View
52
52
  rmq.image
53
53
  end
54
54
 
55
- def append_view(view_or_class, style=nil, opts={})
56
- self.rmq.append_view(view_or_class, style, opts)
55
+ def append(view_or_class, style=nil, opts={}, dummy=nil)
56
+ self.rmq.append(view_or_class, style, opts)
57
57
  end
58
58
 
59
- def append_view!(view_or_class, style=nil, opts={})
60
- self.rmq.append_view(view_or_class, style, opts).get
59
+ def append!(view_or_class, style=nil, opts={})
60
+ self.rmq.append(view_or_class, style, opts).get
61
61
  end
62
62
 
63
63
  def subviews
@@ -89,12 +89,12 @@
89
89
  rmq.image
90
90
  end
91
91
 
92
- def append_view(view_or_class, style=nil, opts={})
93
- self.rmq.append_view(view_or_class, style, opts)
92
+ def append(view_or_class, style=nil, opts={}, dummy=nil)
93
+ self.rmq.append(view_or_class, style, opts)
94
94
  end
95
95
 
96
- def append_view!(view_or_class, style=nil, opts={})
97
- self.rmq.append_view(view_or_class, style, opts).get
96
+ def append!(view_or_class, style=nil, opts={})
97
+ self.rmq.append(view_or_class, style, opts).get
98
98
  end
99
99
 
100
100
  # TODO add create and build
@@ -57,15 +57,15 @@ class RMQ
57
57
  end
58
58
  alias :insert :add_subview
59
59
 
60
- def append_view(view_or_class, style=nil, opts={})
60
+ def append(view_or_class, style=nil, opts={}, dummy=nil) # <- dummy is to get around RM bug)
61
61
  opts[:style] = style
62
62
  #opts[:block] = block if block
63
63
  out = self.add_subview(view_or_class, opts)
64
64
  out
65
65
  end
66
66
 
67
- def append_view!(view_or_class, style=nil, opts={})
68
- self.append_view(view_or_class, style, opts).get
67
+ def append!(view_or_class, style=nil, opts={})
68
+ self.append(view_or_class, style, opts).get
69
69
  end
70
70
 
71
71
  def create(view_or_constant, style = nil, opts = {}, &block)
@@ -1,3 +1,3 @@
1
1
  module BluePotion
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -15,6 +15,6 @@ class <%= @name_camel_case %>Screen < PMScreen
15
15
  #end
16
16
 
17
17
  def on_load
18
- append_view(Potion::TextView, :hello_label)
18
+ append(Potion::TextView, :hello_label)
19
19
  end
20
20
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bluepotion
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - InfiniteRed
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-24 00:00:00.000000000 Z
11
+ date: 2015-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake