bluepotion 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/bluepotion_add_line_numbers +5 -0
- data/lib/project/compatibility/motion_keychain.rb +14 -0
- data/lib/project/pro_motion/pm_application.rb +10 -0
- data/lib/project/ruby_motion_query/rmq/data.rb +1 -1
- data/lib/project/version.rb +1 -1
- data/lib/project/volley_wrap/http_result.rb +2 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e8c33ac84159dff9873425c197d5c9242c67768f
|
4
|
+
data.tar.gz: b036ad3025714de737321d4f416b9c311ce0b6b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27935ab418a592ba44f19dec919c95e91a39140b3bd6a8f85c4ca7d74609ebcbe5304f1615112fd67e7b61d275b66e7a467c04bf3d99864449a89e5c913987f4
|
7
|
+
data.tar.gz: 08d769a8538ec46d1b564ff78fd330d227e7c45a9487488b9b119c72603cc48367678ca0c7f1cecd0d8fe1ad03ecedce7899981caa50c664d2d12ebac0e653b1
|
@@ -10,8 +10,13 @@ def skip_line?(line)
|
|
10
10
|
line.strip =~ /^if\s/ ||
|
11
11
|
line.strip =~ /^unless\s/ ||
|
12
12
|
line.strip =~ /^while\s/ ||
|
13
|
+
line.strip =~ /^else\s/ ||
|
14
|
+
line.strip =~ /^when\s/ ||
|
15
|
+
line.strip =~ /^case\s/ ||
|
16
|
+
line.strip =~ /^end\..+/ ||
|
13
17
|
line.strip =~ /^#/ ||
|
14
18
|
line =~ /\sdo(\s|$)/ ||
|
19
|
+
line.strip == "__END__" ||
|
15
20
|
line.strip == "end"
|
16
21
|
end
|
17
22
|
|
@@ -89,6 +89,16 @@
|
|
89
89
|
MotionAsync.async(options, &block)
|
90
90
|
end
|
91
91
|
|
92
|
+
def toast(message, params={})
|
93
|
+
message_length = case params[:length]
|
94
|
+
when :long
|
95
|
+
Android::Widget::Toast::LENGTH_LONG
|
96
|
+
else
|
97
|
+
Android::Widget::Toast::LENGTH_SHORT
|
98
|
+
end
|
99
|
+
Android::Widget::Toast.makeText(rmq.activity, message, message_length).show
|
100
|
+
end
|
101
|
+
|
92
102
|
class << self
|
93
103
|
attr_accessor :current_application, :home_screen_class
|
94
104
|
|
data/lib/project/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bluepotion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- InfiniteRed
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-06-
|
12
|
+
date: 2015-06-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -43,6 +43,7 @@ files:
|
|
43
43
|
- lib/bluepotion.rb
|
44
44
|
- lib/project/blue_potion_net.rb
|
45
45
|
- lib/project/compatibility/dispatch.rb
|
46
|
+
- lib/project/compatibility/motion_keychain.rb
|
46
47
|
- lib/project/ext/activity.rb
|
47
48
|
- lib/project/ext/array_list.rb
|
48
49
|
- lib/project/ext/fragment.rb
|