apu 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/apu.rb +9 -0
- data/lib/apu/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: 012a9ffbf86e0340fc232d34d33c895c35047a61
|
4
|
+
data.tar.gz: 928cdf01cceb440e9989f6e671b62e1c3353332b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0c23b3c86a4d2e937d30344f99831e1adfa30a9d813066c1b726b9addf2fa0fd3d6ffa011b801ddb2e50b2d3a7c5349550be852db5c45d3986fff4c2b7150d5
|
7
|
+
data.tar.gz: ea845265b8603716034660714a282de77181a3e986bbbdb7f40d4a7acc81fe1c456c5c293e0d87ba4b17a01cc5d0a85b600b37870a857469eaabaedcc958eb78
|
data/lib/apu.rb
CHANGED
@@ -18,6 +18,7 @@ module Apu
|
|
18
18
|
@launcher_flag = false
|
19
19
|
@run_flag = false
|
20
20
|
@clear_flag = false
|
21
|
+
@android_studio_flag = false
|
21
22
|
|
22
23
|
@require_analyses = true
|
23
24
|
|
@@ -68,6 +69,10 @@ module Apu
|
|
68
69
|
puts android_project.get_launchable_activity.green
|
69
70
|
end
|
70
71
|
|
72
|
+
if @android_studio_flag
|
73
|
+
system('open -a Android\ Studio ' + @app_path)
|
74
|
+
end
|
75
|
+
|
71
76
|
if @run_flag
|
72
77
|
#android_project.install
|
73
78
|
system(android_project.get_execute_line)
|
@@ -114,6 +119,10 @@ module Apu
|
|
114
119
|
@run_flag = true
|
115
120
|
end
|
116
121
|
|
122
|
+
opts.on('-A', '--android-studio', 'Opens project on android studio') do |flavour|
|
123
|
+
@android_studio_flag = true
|
124
|
+
end
|
125
|
+
|
117
126
|
opts.on('-c', '--clear', 'Clear app data') do |flavour|
|
118
127
|
@clear_flag = true
|
119
128
|
end
|
data/lib/apu/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cesar ferreira
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|