apu 0.3.5 → 0.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -5
  3. data/lib/apu.rb +5 -1
  4. data/lib/apu/version.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ffcd8f985315667fe5b2afba7e5c04364eee6f05
4
- data.tar.gz: e26df737a1861c558cf5cda203650e1087beebd0
3
+ metadata.gz: dfeb0f07e238006370713ab074982d933ba5ca65
4
+ data.tar.gz: 2c9fa1001be05b543cdbf0478638e7b033f9407f
5
5
  SHA512:
6
- metadata.gz: e84cf399e917becdcd7d038923f91610af868e96df714bdc7b3d211e275ab58a143895250ab7ca227f3da536ab0de5c8530264d3cba9ae56bb39f22f9818c8d5
7
- data.tar.gz: c1394f34df839e53f3ab7197ea539f350ab58a40211044c609e2ab69ca3df4814387d0f5e4ec13cf66c28123e707c4af97cfaa297490d8611f43a5daee4af772
6
+ metadata.gz: 1ba967870edf2a2e52d58423f07177ee550908fd8723d53f7cf43ff631d82576a59fe22af09e1ab83c41e25196423e1cc4791fd25f4813a27d9d9ef9ba0e55c5
7
+ data.tar.gz: 8e40ce9787c3f1f6372e78b88f17278886667e17ac1c39b3556d858558d9650b440b5bf6fc67b99fa045fbfa95809af0a60f652b0b084ecbcf748100cbc6b052
data/README.md CHANGED
@@ -11,11 +11,15 @@
11
11
 
12
12
 
13
13
  ## Quick sample
14
- Regarding the android project on: `~/Downloads/hello-world`
14
+ Let's: `cd ~/hello-world`
15
15
  ```shell
16
- apu --path ~/Downloads/hello-world --install # build and install on your device
17
- apu --path ~/Downloads/hello-world --run # build, install and run on your device
18
- apu --path ~/Downloads/hello-world --uninstall # uninstall the app
16
+ $ apu --install # build and install on your device
17
+ $ apu --open # runs on your device
18
+ $ apu --uninstall # uninstall the app
19
+
20
+
21
+ # They can all be combined:
22
+ $ apu -p ~/hello-world -i -o # builds, installs and opens on your device
19
23
  ```
20
24
 
21
25
  ## Usage
@@ -31,7 +35,8 @@ Options
31
35
  -a, --android-home Checks if the ANDROID_HOME variable is defined
32
36
  -l, --launcher Get the launcher activity path
33
37
  -p, --path PATH Custom path to android project
34
- -r, --run Run the build on the device
38
+ -o, --open Open the build on the device
39
+ -r, --release Create release version and opens the folder
35
40
  -c, --clear Clear app data
36
41
  -h, --help Displays help
37
42
  -v, --version Displays version
data/lib/apu.rb CHANGED
@@ -110,7 +110,7 @@ module Apu
110
110
  @launcher_flag = true
111
111
  end
112
112
 
113
- opts.on('-r', '--run', 'Run the build on the device') do |flavour|
113
+ opts.on('-o', '--open', 'Open the build on the device') do |flavour|
114
114
  @run_flag = true
115
115
  end
116
116
 
@@ -118,6 +118,10 @@ module Apu
118
118
  @clear_flag = true
119
119
  end
120
120
 
121
+ opts.on('-r', '--release', 'Create release version and opens the folder') do |flavour|
122
+ @clear_flag = true
123
+ end
124
+
121
125
  opts.on('-h', '--help', 'Displays help') do
122
126
  @require_analyses = false
123
127
  puts opts.help
data/lib/apu/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Apu
2
- VERSION = "0.3.5"
2
+ VERSION = "0.3.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - cesar ferreira