bluepotion 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/bluepotion +1 -1
- data/lib/project/ext/object.rb +1 -1
- data/lib/project/pro_motion/pm_screen.rb +9 -4
- data/lib/project/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6f3f2586907e1d47fe1d01cb1f77bb132ddbf9e
|
4
|
+
data.tar.gz: 32f91082af4bf994b35f4155323ef13bcc3de509
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38206bb411a17e09f01aef1e110485ea140a63d5209e046523e0f37b444d0abc1edf562457c8d88210a1bc69efe578fe62ec2059d88ba594f7fb1283b36448d9
|
7
|
+
data.tar.gz: d3c256a89df9fabd43f3fa9379bd35b8e12c92a73f6680da6d1fae09c3cf06c9be92c9f71b8e4171cbde828d528add044674f520f818265e5cfcbeeb3c1102ad
|
data/bin/bluepotion
CHANGED
data/lib/project/ext/object.rb
CHANGED
@@ -17,9 +17,8 @@
|
|
17
17
|
end
|
18
18
|
|
19
19
|
action_bar.hide if hide_action_bar?
|
20
|
-
|
20
|
+
tag_xml_widgets_with_their_id
|
21
21
|
|
22
|
-
# TODO: how will we pass this back if we don't use XML?
|
23
22
|
@view
|
24
23
|
end
|
25
24
|
|
@@ -50,10 +49,16 @@
|
|
50
49
|
|
51
50
|
private
|
52
51
|
|
53
|
-
def
|
52
|
+
def tag_xml_widgets_with_their_id
|
54
53
|
return unless (xml_widget_ids = self.class.xml_widget_ids)
|
54
|
+
|
55
|
+
package_name = activity.getApplicationInfo.packageName
|
56
|
+
key = "id"
|
55
57
|
xml_widget_ids.each do |id|
|
56
|
-
|
58
|
+
id_s = id.to_s
|
59
|
+
resource_id = resources.getIdentifier(id_s, key, package_name)
|
60
|
+
view = @view.findViewById(resource_id)
|
61
|
+
view.rmq_data.tag(id_s.to_sym)
|
57
62
|
end
|
58
63
|
end
|
59
64
|
|
data/lib/project/version.rb
CHANGED
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.
|
4
|
+
version: 0.0.7
|
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-
|
11
|
+
date: 2015-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|