appium_console 2.0.0 → 2.0.1

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: 094cd70d215c9d5df7d99c7d49c9cd7f8fd97b3a
4
- data.tar.gz: 9035d22c374df31883b4101d72a73333a93874a4
3
+ metadata.gz: d1baa44c1cd71c7e95b3330caa05759d52df1c91
4
+ data.tar.gz: 00d4f450b4e0261a2d86c1414435d2e53ffe7f06
5
5
  SHA512:
6
- metadata.gz: aa195f896eda2374774e835e06003fd828d80f3b4212c5664a1ae667a2e926d64d8aa663da5147b2dceb0b658a21e5af6080afe04c1ce686a3a9f55b2d3ae761
7
- data.tar.gz: 75cbd6f7d615485ae68a8e9c8667507cea3d2d26b7ba74abc89df4e97056734c35d42a0f869de72c4a7d061d5c87e648023b678ff3abb02b872aebf63404d5df
6
+ metadata.gz: e6a3ab01363569fa59bba20935fb14e43b27a099b9b8ad128ea057e60b7ebca3998dea312534b433a0bead38610c50a63836fc66ea8d5b0db49c16417f361ca1
7
+ data.tar.gz: 8ec923f7330c84dbcb64751ac96a641944af6e3ee9ed70bd564a600dd7ee9d430f2931f5e47fe5dbc8c5c7f68fe0db86c8097deafc7021766f65af9d41c35347
data/Thorfile ADDED
@@ -0,0 +1,20 @@
1
+ require 'appium_thor'
2
+
3
+ Appium::Thor::Config.set do
4
+ gem_name 'appium_console'
5
+ github_owner 'appium'
6
+ github_name 'ruby_console'
7
+ version_file 'lib/appium_console/version.rb'
8
+ end
9
+
10
+ # Must use '::' otherwise Default will point to Thor::Sandbox::Default
11
+ # Debug by calling Thor::Base.subclass_files via Pry
12
+ #
13
+ # https://github.com/erikhuda/thor/issues/484
14
+ #
15
+ class ::Default < Thor
16
+ desc 'spec', 'Run RSpec tests'
17
+ def spec
18
+ exec 'rspec spec'
19
+ end
20
+ end
@@ -30,6 +30,7 @@ Gem::Specification.new do |s|
30
30
  s.add_runtime_dependency 'spec', '>= 5.3.4'
31
31
  s.add_runtime_dependency 'thor', '>= 0.19'
32
32
  s.add_development_dependency 'rake', '~> 10.4.2'
33
+ s.add_development_dependency 'appium_thor', '>= 1.0.1'
33
34
  s.add_development_dependency 'posix-spawn', '~> 0.3.11'
34
35
 
35
36
  s.executables = [ 'arc' ]
@@ -2,6 +2,6 @@
2
2
  # Define Appium module so version can be required directly.
3
3
  module Appium; end unless defined? Appium
4
4
  module Appium::Console
5
- VERSION = '2.0.0' unless defined? ::Appium::Console::VERSION
5
+ VERSION = '2.0.1' unless defined? ::Appium::Console::VERSION
6
6
  DATE = '2016-03-18' unless defined? ::Appium::Console::DATE
7
7
  end
@@ -50,6 +50,11 @@ module Appium
50
50
 
51
51
  $stdout.puts "pry #{cmd.join(' ')}"
52
52
  end
53
+
54
+ Pry.hooks.add_hook(:after_session, "Release session hook") do |output, binding, pry|
55
+ output.puts "Closing appium session..."
56
+ $driver.x
57
+ end
53
58
  Pry::CLI.parse_options cmd
54
59
  end
55
60
  end
data/release_notes.md CHANGED
@@ -1,4 +1,31 @@
1
- #### v1.0.3 2014-12-23
1
+ #### v2.0.1 2016-03-18
2
+
3
+ - [bbee248](https://github.com/appium/ruby_console/commit/bbee248870ee670bf2fe199dfc193d5e3a045144) Release 2.0.1
4
+ - [0939028](https://github.com/appium/ruby_console/commit/0939028af176025772c81852a5847f0f3a683fda) Merge pull request #54 from Spin42/appium_dir
5
+ - [61b0f19](https://github.com/appium/ruby_console/commit/61b0f1915d8c3a673a388fb5fb7330a1cf14d9be) Close appium session on exit or ctrl-d
6
+ - [8e4aa2d](https://github.com/appium/ruby_console/commit/8e4aa2df19b7e416509768bac7519820550a657d) Replace Rakefile with appium_thor
7
+ - [b16236e](https://github.com/appium/ruby_console/commit/b16236ecfc6ff7104746579a8406114c6f9e3341) Release 2.0.0
8
+ - [5ae4556](https://github.com/appium/ruby_console/commit/5ae45566a767dce4efc0116a737975c4aaec98ea) Release 2.0.0
9
+
10
+
11
+ #### v2.0.0 2016-03-18
12
+
13
+ - [5ae4556](https://github.com/appium/ruby_console/commit/5ae45566a767dce4efc0116a737975c4aaec98ea) Release 2.0.0
14
+ - [282cec1](https://github.com/appium/ruby_console/commit/282cec1691c3b070946ef02de752d77a2903249b) Merge pull request #52 from Spin42/appium_dir
15
+ - [70bfb00](https://github.com/appium/ruby_console/commit/70bfb00ea2f0cd7ca48ab1b5a08b28771a6126a2) Update documentation
16
+ - [dd36f99](https://github.com/appium/ruby_console/commit/dd36f996a767c291bb23f4d93f6af3935b9393ab) Merge pull request #51 from Spin42/appium_dir
17
+ - [9c1d6c6](https://github.com/appium/ruby_console/commit/9c1d6c6be47f2df95b274837381a234c95a360fb) Use class << self and remove upgrade command
18
+ - [eb8ccf5](https://github.com/appium/ruby_console/commit/eb8ccf5d8e12b43fe30110b85d8674c3f8677dee) Update documentation
19
+ - [403ac6b](https://github.com/appium/ruby_console/commit/403ac6bbeecd88fef8ede497916752781edfcce5) Refactor CLI with thor and allow use of path to appium toml
20
+ - [77f5899](https://github.com/appium/ruby_console/commit/77f5899daa27f2aa50eab7aa7668a5de438e661b) Remove uneeded /
21
+ - [3df7be7](https://github.com/appium/ruby_console/commit/3df7be72105be6e4c315cee0266b9e99e9f9fb3e) Use File.join instead of string concatenation
22
+ - [09ee93c](https://github.com/appium/ruby_console/commit/09ee93c5190fceea3eaa9b4fd49c4ed38cc92973) Make sure we have 2 args before setting appium_dir
23
+ - [651889b](https://github.com/appium/ruby_console/commit/651889b842f4e81e66caf11e6ebab8e3f8d1f384) Update readme
24
+ - [86cc7bb](https://github.com/appium/ruby_console/commit/86cc7bb7cbf31bfbae3caf4fccdd023b87c1a54a) Allow specifying custom directory to find appium.txt
25
+ - [afe1e8f](https://github.com/appium/ruby_console/commit/afe1e8f89d4f981704072654f52dfc5827e8e869) Use svg badges
26
+
27
+
28
+ #### v1.0.4 2015-04-16
2
29
 
3
30
  - [7803da9](https://github.com/appium/ruby_console/commit/7803da93f968d86e49af62ca20df910049452101) Release 1.0.4
4
31
  - [228bd34](https://github.com/appium/ruby_console/commit/228bd3441db0f3a42a4a0ffea46486b00cae3e17) Update deps
@@ -6,14 +33,14 @@
6
33
  - [e5113b3](https://github.com/appium/ruby_console/commit/e5113b3caca6a1355ed0f6fe15f21b748fca42b4) Updated the version of pry used. From 0.9.12.5 -> 0.10.1
7
34
 
8
35
 
9
- #### v1.0.2 2014-12-08
36
+ #### v1.0.3 2014-12-23
10
37
 
11
38
  - [58f7d52](https://github.com/appium/ruby_console/commit/58f7d52b4ef923edf3051df8f145eaf9541bab1d) Release 1.0.3
12
39
  - [5aa3d51](https://github.com/appium/ruby_console/commit/5aa3d51db558f8de812cc166c7dc4002a631dd6d) Promote on Object by default for pry
13
40
  - [30d0729](https://github.com/appium/ruby_console/commit/30d0729e886dde408e5ebff1b286f1206610926e) Update readme.md
14
41
 
15
42
 
16
- #### v1.0.1 2014-06-13
43
+ #### v1.0.2 2014-12-08
17
44
 
18
45
  - [5a89125](https://github.com/appium/ruby_console/commit/5a89125ba71115f23ac55e9b7507a1f0dda52cc3) Release 1.0.2
19
46
  - [01e14b9](https://github.com/appium/ruby_console/commit/01e14b93435edd23f09fce0a9b8c55acc2772e14) Fix toml generation
@@ -22,7 +49,7 @@
22
49
  - [1d5b46a](https://github.com/appium/ruby_console/commit/1d5b46ad174c0815ecb5e385339e6859c0ce2d00) Update readme.md
23
50
 
24
51
 
25
- #### v1.0.0 2014-04-29
52
+ #### v1.0.1 2014-06-13
26
53
 
27
54
  - [c68f766](https://github.com/appium/ruby_console/commit/c68f7664b07010679c4a3ba780ad2dc95499076f) Release 1.0.1
28
55
  - [dbee56b](https://github.com/appium/ruby_console/commit/dbee56bf2ec3d5fa9eeae2c7a5f1aee64f4c0984) Update osx.md
@@ -33,13 +60,13 @@
33
60
  - [7cf1ed2](https://github.com/appium/ruby_console/commit/7cf1ed2f191f5660fb0966c740d0e5ec266981fb) Update install doc
34
61
 
35
62
 
36
- #### v0.6.0 2014-04-22
63
+ #### v1.0.0 2014-04-29
37
64
 
38
65
  - [7342d45](https://github.com/appium/ruby_console/commit/7342d45c6b0a287ab52bca98bf8e1dfb8590e08b) Release 1.0.0
39
66
  - [0500ca0](https://github.com/appium/ruby_console/commit/0500ca0e80a91e5d10cb28ee2c84fec4fe4611b5) Fix require support in appium.txt
40
67
 
41
68
 
42
- #### v0.5.9 2014-01-28
69
+ #### v0.6.0 2014-04-22
43
70
 
44
71
  - [38c21c9](https://github.com/appium/ruby_console/commit/38c21c935ec50ce30d320888342a3df3da975917) Release 0.6.0
45
72
  - [2df9ce2](https://github.com/appium/ruby_console/commit/2df9ce223555a3906d809b2523176a0e27b02e43) Update set command timeout for appium 1.0
@@ -52,17 +79,13 @@
52
79
  - [3da8929](https://github.com/appium/ruby_console/commit/3da89297fc3394592136922225bb32b0be9f2909) Update readme.md
53
80
 
54
81
 
55
- #### v0.5.8 2014-01-27
82
+ #### v0.5.9 2014-01-28
56
83
 
57
84
  - [d7ed421](https://github.com/appium/ruby_console/commit/d7ed421772e94a82a8668b26dd29fa7c180b7ef0) Release 0.5.9
58
85
  - [c4ce770](https://github.com/appium/ruby_console/commit/c4ce770815122fba4fe0d4fbbc02d0f594811423) Update appium_console.gemspec
59
86
  - [2797c2c](https://github.com/appium/ruby_console/commit/2797c2c52ae48cc7d4ee0403e08acc54d1664394) Use pry 0.9.12.4
60
87
  - [0d49700](https://github.com/appium/ruby_console/commit/0d49700ecc2f4951f2bfae46598da69a87984042) Clean up tags
61
88
  - [23192f9](https://github.com/appium/ruby_console/commit/23192f9333c656d4fb8701e0a3310c72002e0daf) Clean up release notes generation
62
-
63
-
64
- #### v0.5.7 2013-11-25
65
-
66
89
  - [28663d7](https://github.com/appium/ruby_console/commit/28663d7c6615f2cf135934fca661138aa5b274b1) Release 0.5.8
67
90
  - [a8d19b1](https://github.com/appium/ruby_console/commit/a8d19b12d7f913b6e6b59c920c80662d2d5c2062) Update reload to support new files
68
91
  - [9baad04](https://github.com/appium/ruby_console/commit/9baad04e4ed78927bbe4b24f86e1b063087d002f) Add RVM note to docs
@@ -71,15 +94,46 @@
71
94
  - [79e59fd](https://github.com/appium/ruby_console/commit/79e59fd2c5e653a3f5e43873283f41d29aa5bdc5) Update docs
72
95
  - [e3e8a9c](https://github.com/appium/ruby_console/commit/e3e8a9c53f58a7d444b89ddcb3fe47f95aa9e381) Check for duplicate tags
73
96
  - [26385c2](https://github.com/appium/ruby_console/commit/26385c28c49070614a10fc146624513e4802820f) Rescue load errors
97
+ - [7035cf1](https://github.com/appium/ruby_console/commit/7035cf178239803b55fbba29b844e51fd2afab5e) Release 0.5.8
98
+ - [f1a4532](https://github.com/appium/ruby_console/commit/f1a4532a8b7717bd726ca7b3e8a79bf36362160a) Release 0.5.8
99
+ - [7cb6fa7](https://github.com/appium/ruby_console/commit/7cb6fa7b56263049687b7261caeda7d7f62c6e07) Update reload to support new files
100
+ - [24143df](https://github.com/appium/ruby_console/commit/24143df0566bc7ccb5dbf6eee0a52031b2b0e8d6) Add RVM note to docs
101
+ - [dba0326](https://github.com/appium/ruby_console/commit/dba032635749ff4475b99ab42802a81ae3223396) Fix homebrew install link
102
+ - [e365731](https://github.com/appium/ruby_console/commit/e3657310ed08e26975e759d88cf3f549e910f7e8) Fix posix-spawn
103
+ - [870aecd](https://github.com/appium/ruby_console/commit/870aecd0d24650d96ca13730e52703051880bdc7) Update with node doc
104
+ - [00b2dfa](https://github.com/appium/ruby_console/commit/00b2dfae8b3b6d0362a6ff4d3f751a20f4e9adca) Update docs
105
+ - [8d48c62](https://github.com/appium/ruby_console/commit/8d48c629f79adea3d920299f74512cdb124207bf) Check for duplicate tags
106
+ - [d1580ac](https://github.com/appium/ruby_console/commit/d1580acc99b7d7f17b6963f5c96b353a076fac37) Release 0.5.7
107
+ - [9a7c6d6](https://github.com/appium/ruby_console/commit/9a7c6d610b77df629f5bc2b2357e190775f57946) Rescue load errors
108
+ - [ce14efa](https://github.com/appium/ruby_console/commit/ce14efa1bb139a2f8a8f391d28588376757739bc) Release 0.5.6
74
109
 
75
110
 
76
- #### v0.5.6 2013-11-18
111
+ #### v0.5.8 2014-01-27
77
112
 
113
+ - [7035cf1](https://github.com/appium/ruby_console/commit/7035cf178239803b55fbba29b844e51fd2afab5e) Release 0.5.8
114
+ - [f1a4532](https://github.com/appium/ruby_console/commit/f1a4532a8b7717bd726ca7b3e8a79bf36362160a) Release 0.5.8
115
+ - [7cb6fa7](https://github.com/appium/ruby_console/commit/7cb6fa7b56263049687b7261caeda7d7f62c6e07) Update reload to support new files
116
+ - [24143df](https://github.com/appium/ruby_console/commit/24143df0566bc7ccb5dbf6eee0a52031b2b0e8d6) Add RVM note to docs
117
+ - [dba0326](https://github.com/appium/ruby_console/commit/dba032635749ff4475b99ab42802a81ae3223396) Fix homebrew install link
118
+ - [e365731](https://github.com/appium/ruby_console/commit/e3657310ed08e26975e759d88cf3f549e910f7e8) Fix posix-spawn
119
+ - [870aecd](https://github.com/appium/ruby_console/commit/870aecd0d24650d96ca13730e52703051880bdc7) Update with node doc
120
+ - [00b2dfa](https://github.com/appium/ruby_console/commit/00b2dfae8b3b6d0362a6ff4d3f751a20f4e9adca) Update docs
121
+ - [8d48c62](https://github.com/appium/ruby_console/commit/8d48c629f79adea3d920299f74512cdb124207bf) Check for duplicate tags
78
122
  - [d1580ac](https://github.com/appium/ruby_console/commit/d1580acc99b7d7f17b6963f5c96b353a076fac37) Release 0.5.7
79
123
  - [9a7c6d6](https://github.com/appium/ruby_console/commit/9a7c6d610b77df629f5bc2b2357e190775f57946) Rescue load errors
124
+ - [c0877e8](https://github.com/appium/ruby_console/commit/c0877e8b948da670d9df3a8e6c757b2dcc476911) Release 0.5.7
125
+ - [4bf603f](https://github.com/appium/ruby_console/commit/4bf603f911058146b88d6c4330e1d9121cbf9a87) Rescue load errors
126
+ - [027af76](https://github.com/appium/ruby_console/commit/027af763e8563c1b91dd195e978b7410ece9ec76) Release 0.5.6
80
127
 
81
128
 
82
- #### v0.5.5 2013-08-23
129
+ #### v0.5.7 2013-11-25
130
+
131
+ - [c0877e8](https://github.com/appium/ruby_console/commit/c0877e8b948da670d9df3a8e6c757b2dcc476911) Release 0.5.7
132
+ - [4bf603f](https://github.com/appium/ruby_console/commit/4bf603f911058146b88d6c4330e1d9121cbf9a87) Rescue load errors
133
+ - [027af76](https://github.com/appium/ruby_console/commit/027af763e8563c1b91dd195e978b7410ece9ec76) Release 0.5.6
134
+
135
+
136
+ #### v0.5.6 2013-11-18
83
137
 
84
138
  - [ce14efa](https://github.com/appium/ruby_console/commit/ce14efa1bb139a2f8a8f391d28588376757739bc) Release 0.5.6
85
139
  - [e6ee1f5](https://github.com/appium/ruby_console/commit/e6ee1f5704ceb5358997af77dc43c4bc401e204e) Add "reload" command
@@ -115,19 +169,19 @@
115
169
  - [afcb37f](https://github.com/appium/ruby_console/commit/afcb37f1b9951ff2caa41f2a4c802ee2b7ebcf16) Update to API 18
116
170
 
117
171
 
118
- #### v0.5.4 2013-08-19
172
+ #### v0.5.5 2013-08-23
119
173
 
120
174
  - [e048325](https://github.com/appium/ruby_console/commit/e04832589c71359fc4c30e45a3da2a04f93fbd66) Release 0.5.5
121
175
  - [fdc7749](https://github.com/appium/ruby_console/commit/fdc7749b7fd074b89643407a1cd4c7ba71ff15f2) Load minitest by default
122
176
 
123
177
 
124
- #### v0.5.3 2013-08-07
178
+ #### v0.5.4 2013-08-19
125
179
 
126
180
  - [97f5c4f](https://github.com/appium/ruby_console/commit/97f5c4f67c8f689f7342336b428262975e3f8421) Release 0.5.4
127
181
  - [54c61b7](https://github.com/appium/ruby_console/commit/54c61b73091cdaef990eb6b1692576c29a2b5325) Enable export session
128
182
 
129
183
 
130
- #### v0.5.2 2013-07-26
184
+ #### v0.5.3 2013-08-07
131
185
 
132
186
  - [595bbe9](https://github.com/appium/ruby_console/commit/595bbe91fd437f95efde7da5a16cf85b0debb4f2) Release 0.5.3
133
187
  - [91b8afc](https://github.com/appium/ruby_console/commit/91b8afcfabb2a2884da343f7f7e7781a6e08da02) Use awesome_print in Pry
@@ -136,7 +190,7 @@
136
190
  - [02850fa](https://github.com/appium/ruby_console/commit/02850faab107e3749334560573061db2ddf034ea) Remove old todo
137
191
 
138
192
 
139
- #### v0.5.1 2013-05-24
193
+ #### v0.5.2 2013-07-26
140
194
 
141
195
  - [0845ddd](https://github.com/appium/ruby_console/commit/0845dddda181f9349a4e1162b3dfea732491a743) Release 0.5.2
142
196
  - [82e83c4](https://github.com/appium/ruby_console/commit/82e83c45fc4af41f0505ac2a00bb6ba2a3689d41) Add Ruby 2.0 notes
@@ -157,14 +211,14 @@
157
211
  - [cce92d9](https://github.com/appium/ruby_console/commit/cce92d9494bbb281aa714be8a39ac0aeaa435372) Add version badge
158
212
 
159
213
 
160
- #### v0.5.0 2013-05-24
214
+ #### v0.5.1 2013-05-24
161
215
 
162
216
  - [3d9aef1](https://github.com/appium/ruby_console/commit/3d9aef1458d0874c5c740faf8e41086ee65da86d) Release 0.5.1
163
217
  - [7242c5e](https://github.com/appium/ruby_console/commit/7242c5e72f9057fd18efa726077f78999e0f53e3) Update appium_console.gemspec
164
218
  - [f9d8b70](https://github.com/appium/ruby_console/commit/f9d8b7031425ab742285e0513520ca17bbbf2cde) Update readme.md
165
219
 
166
220
 
167
- #### v0.3.6 2013-05-20
221
+ #### v0.5.0 2013-05-24
168
222
 
169
223
  - [2734fda](https://github.com/appium/ruby_console/commit/2734fdabed2802e15f161bf81ba56dc51cd76ce3) Release 0.5.0
170
224
  - [b79814c](https://github.com/appium/ruby_console/commit/b79814c1b83c756583038aabe419c6ea81bc41cd) Fix gemspec
@@ -177,7 +231,7 @@
177
231
  - [0bf1dd7](https://github.com/appium/ruby_console/commit/0bf1dd7f517cde84f77f46bcff1fe03aa26f9e95) Update osx.md
178
232
 
179
233
 
180
- #### v0.3.5 2013-05-06
234
+ #### v0.3.6 2013-05-20
181
235
 
182
236
  - [20508c2](https://github.com/appium/ruby_console/commit/20508c2ed00edb3ae1260fe1b0f4b61206658631) Release 0.3.6
183
237
  - [4004daa](https://github.com/appium/ruby_console/commit/4004daa8b388c07599e94c063e327a8e89472980) Fix relative paths
@@ -208,50 +262,50 @@
208
262
  - [bdb9aaa](https://github.com/appium/ruby_console/commit/bdb9aaabe8cd07fc516dc19909fd43323179ea03) Update osx.md
209
263
 
210
264
 
211
- #### v0.3.4 2013-04-26
265
+ #### v0.3.5 2013-05-06
212
266
 
213
267
  - [b031b60](https://github.com/appium/ruby_console/commit/b031b60276b01e86a649cd8db8b250f3d52da9cc) Release 0.3.5
214
268
  - [521639d](https://github.com/appium/ruby_console/commit/521639dc1b53371a472a40304c59e4476ab22197) Add selendroid
215
269
  - [c5456d2](https://github.com/appium/ruby_console/commit/c5456d29d5a1aeed1f1226b90c69a7d0025ad224) Use --local install
216
270
 
217
271
 
218
- #### v0.3.3 2013-04-26
272
+ #### v0.3.4 2013-04-26
219
273
 
220
274
  - [2a621bb](https://github.com/appium/ruby_console/commit/2a621bb1620685577173fdf59daabca036cd30f7) Release 0.3.4
221
275
  - [bd60857](https://github.com/appium/ruby_console/commit/bd60857f39bd17e454a10ad0658c01c20869c33a) Fix arc upgrade
222
276
 
223
277
 
224
- #### v0.3.2 2013-04-26
278
+ #### v0.3.3 2013-04-26
225
279
 
226
280
  - [a4cea5b](https://github.com/appium/ruby_console/commit/a4cea5b9857f5b450ade03cf3f326605b2aff040) Release 0.3.3
227
281
  - [188503c](https://github.com/appium/ruby_console/commit/188503c0f1c884884408896a8351ab34823c5c69) Fix appium.txt support
228
282
 
229
283
 
230
- #### v0.3.1 2013-04-26
284
+ #### v0.3.2 2013-04-26
231
285
 
232
286
  - [521b85e](https://github.com/appium/ruby_console/commit/521b85e570717dc83481e4d2baf0804787031c46) Release 0.3.2
233
287
 
234
288
 
235
- #### v0.3.0 2013-04-25
289
+ #### v0.3.1 2013-04-26
236
290
 
237
291
  - [5e41993](https://github.com/appium/ruby_console/commit/5e41993aa505310b3442b0ea5c8cdf72b01cd62c) Release 0.3.1
238
292
  - [d98d052](https://github.com/appium/ruby_console/commit/d98d052af5e118a099d4abac7c24db41a5ff6974) Fix uninstall
239
293
  - [6b10caa](https://github.com/appium/ruby_console/commit/6b10caa3be482a149e433e8053ccb23c64aa723f) Fix version command
240
294
 
241
295
 
242
- #### v0.0.30 2013-04-16
296
+ #### v0.3.0 2013-04-25
243
297
 
244
298
  - [09ee29c](https://github.com/appium/ruby_console/commit/09ee29c03e4a2222c089f4ab736ec0e0bfa53930) Release 0.3.0
245
299
  - [2f0f38e](https://github.com/appium/ruby_console/commit/2f0f38e86155b41ff49f3419800413589efb19c4) Update for new Appium lib
246
300
  - [1bbc128](https://github.com/appium/ruby_console/commit/1bbc128cd5e7d9cadfc6ff9397179ed38459238e) Remove minitest example
247
301
 
248
302
 
249
- #### v0.0.29 2013-04-15
303
+ #### v0.0.30 2013-04-16
250
304
 
251
305
  - [af1dd74](https://github.com/appium/ruby_console/commit/af1dd74f254c512c9b63a013570638eb13adbe91) Release 0.0.30
252
306
 
253
307
 
254
- #### v0.0.28 2013-04-11
308
+ #### v0.0.29 2013-04-15
255
309
 
256
310
  - [f3251c8](https://github.com/appium/ruby_console/commit/f3251c819e85f5d8fabd3f9a30a3de4307d38098) Release 0.0.29
257
311
  - [83ed1b9](https://github.com/appium/ruby_console/commit/83ed1b9f4a3ca1a3b1eb6770116b0e3d42f39dfa) Update osx.md
@@ -261,7 +315,7 @@
261
315
  - [211fe2e](https://github.com/appium/ruby_console/commit/211fe2ecc681403fa081ff89e7caaf0a97a440c4) Fix notes
262
316
 
263
317
 
264
- #### v0.0.27 2013-04-05
318
+ #### v0.0.28 2013-04-11
265
319
 
266
320
  - [94ae27d](https://github.com/appium/ruby_console/commit/94ae27d54c57f16b45937decfded0cdac9e10160) Release 0.0.28
267
321
  - [8030b11](https://github.com/appium/ruby_console/commit/8030b116ac6b677366a823608fc4de4c68747ecf) Add release notes
@@ -282,12 +336,12 @@
282
336
  - [3f5af60](https://github.com/appium/ruby_console/commit/3f5af6077a872a40314aba9f00b89a519e22b0ba) Update osx.md
283
337
 
284
338
 
285
- #### v0.0.26 2013-04-05
339
+ #### v0.0.27 2013-04-05
286
340
 
287
341
  - [1551adc](https://github.com/appium/ruby_console/commit/1551adc6167b0195d847c14edbc9358f4d23a078) Release 0.0.27
288
342
 
289
343
 
290
- #### v0.0.25 2013-03-28
344
+ #### v0.0.26 2013-04-05
291
345
 
292
346
  - [645578b](https://github.com/appium/ruby_console/commit/645578bed82d11c06ea1e7415d5864edc09e8b31) Release 0.0.26
293
347
  - [d42cfd2](https://github.com/appium/ruby_console/commit/d42cfd228b059202c7b745cb0b69259ce431e04d) Add @keep to cucumber example
@@ -295,19 +349,19 @@
295
349
  - [9d10070](https://github.com/appium/ruby_console/commit/9d10070102c855cb2d5b47bec751c276582c1beb) Update readme.md
296
350
 
297
351
 
298
- #### v0.0.24 2013-03-28
352
+ #### v0.0.25 2013-03-28
299
353
 
300
354
  - [12e40b8](https://github.com/appium/ruby_console/commit/12e40b876136ea987d47f4d419f67d4d8aeaadd5) Release 0.0.25
301
355
 
302
356
 
303
- #### v0.0.23 2013-03-27
357
+ #### v0.0.24 2013-03-28
304
358
 
305
359
  - [c7097e1](https://github.com/appium/ruby_console/commit/c7097e1247c76397196389d2221efc1ae4dac803) Release 0.0.24
306
360
  - [c9a94ea](https://github.com/appium/ruby_console/commit/c9a94ea19890c6b96f5ce4f491d953e651dbf4b9) RubyGems can't detect dependencies properly
307
361
  - [2596610](https://github.com/appium/ruby_console/commit/2596610151f3d939fcc8edc178a65379831095d9) Add name doc
308
362
 
309
363
 
310
- #### v0.0.22 2013-03-23
364
+ #### v0.0.23 2013-03-27
311
365
 
312
366
  - [b9334ff](https://github.com/appium/ruby_console/commit/b9334ff5e5b4070ce0ceff061a07bd57c3386bb3) Release 0.0.23
313
367
  - [62ff36a](https://github.com/appium/ruby_console/commit/62ff36a2224aa6c045efd43520b9f52910d4a2d7) Update readme.md
@@ -321,26 +375,26 @@
321
375
  - [f5e3a5f](https://github.com/appium/ruby_console/commit/f5e3a5f599113d567180768fc79d241d9913184f) Update osx.md
322
376
 
323
377
 
324
- #### v0.0.21 2013-03-22
378
+ #### v0.0.22 2013-03-23
325
379
 
326
380
  - [319554c](https://github.com/appium/ruby_console/commit/319554cc14c34cd981a91ad0e5a84afc574d036e) Release 0.0.22
327
381
  - [e7b4508](https://github.com/appium/ruby_console/commit/e7b45082250c9e17feb4c1529bae634c46580c75) Fix gemspec
328
382
 
329
383
 
330
- #### v0.0.20 2013-03-22
384
+ #### v0.0.21 2013-03-22
331
385
 
332
386
  - [9dc45af](https://github.com/appium/ruby_console/commit/9dc45aff3d369d73b6ed2c3df79cb9845e4fa2eb) Release 0.0.21
333
387
  - [4ad39ca](https://github.com/appium/ruby_console/commit/4ad39caeaafbb58d983adb06b10ca4fc6c962261) Complete rename
334
388
 
335
389
 
336
- #### v0.0.19 2013-03-22
390
+ #### v0.0.20 2013-03-22
337
391
 
338
392
  - [667db43](https://github.com/appium/ruby_console/commit/667db43968c9d584d1fc606c264bc894d08bc74c) Release 0.0.20
339
393
  - [c6b0cad](https://github.com/appium/ruby_console/commit/c6b0cad7b139ecc6f3acaf13c3ae9fdc97254bf8) Update appium_console.gemspec
340
394
  - [f3cfe6f](https://github.com/appium/ruby_console/commit/f3cfe6f835c5cb1c9784c4914ca7555ad82426af) Update readme.md
341
395
 
342
396
 
343
- #### v0.0.17 2013-03-21
397
+ #### v0.0.19 2013-03-22
344
398
 
345
399
  - [217c452](https://github.com/appium/ruby_console/commit/217c452980347c1da0ab1244b58c66076d7b603f) Release 0.0.19
346
400
  - [e77fbf9](https://github.com/appium/ruby_console/commit/e77fbf97f243ecf63b1ff58c49f5fbee0bd71834) Fix gemspec
@@ -357,18 +411,18 @@
357
411
  - [a647bd2](https://github.com/appium/ruby_console/commit/a647bd2c7e3e8e18103317796c57b90df68971a4) Add implicit wait docs
358
412
 
359
413
 
360
- #### v0.0.16 2013-03-20
414
+ #### v0.0.17 2013-03-21
361
415
 
362
416
  - [81f2288](https://github.com/appium/ruby_console/commit/81f2288c9559ae2d1eb893c146e43e7c6455aa29) Release 0.0.17
363
417
  - [6a4f5e6](https://github.com/appium/ruby_console/commit/6a4f5e67c943f08beb8aca599e561e4e7ba4abea) Fix doc
364
418
 
365
419
 
366
- #### v0.0.15 2013-03-20
420
+ #### v0.0.16 2013-03-20
367
421
 
368
422
  - [6548de1](https://github.com/appium/ruby_console/commit/6548de111182df8a6eacf7f2a4f896fb23593ce0) Release 0.0.16
369
423
 
370
424
 
371
- #### v0.0.14 2013-03-20
425
+ #### v0.0.15 2013-03-20
372
426
 
373
427
  - [68b4b80](https://github.com/appium/ruby_console/commit/68b4b8085b95582528fe7769fff3682a88e161da) Release 0.0.15
374
428
  - [e5a4227](https://github.com/appium/ruby_console/commit/e5a4227911880c9ce583bb3914a76f071db03740) Update Rakefile
@@ -380,7 +434,7 @@
380
434
  - [fa9e0a8](https://github.com/appium/ruby_console/commit/fa9e0a86b2d7109991f57e979055b8d26212f23d) Update readme.md
381
435
 
382
436
 
383
- #### v0.0.13 2013-03-20
437
+ #### v0.0.14 2013-03-20
384
438
 
385
439
  - [bb3a695](https://github.com/appium/ruby_console/commit/bb3a69546e6cfa63dc4d71fd77ed1178e75d896b) Release 0.0.14
386
440
  - [cf92263](https://github.com/appium/ruby_console/commit/cf922632cfb8fb2abfe63b4c28d708cb451eff40) Fix app_lib to ruby console version
@@ -397,7 +451,7 @@
397
451
  - [a00c6a9](https://github.com/appium/ruby_console/commit/a00c6a91b53d166afc4b3d2213ef5e44cddee1ad) Update readme.md
398
452
 
399
453
 
400
- #### v0.0.12 2013-03-20
454
+ #### v0.0.13 2013-03-20
401
455
 
402
456
  - [36127e0](https://github.com/appium/ruby_console/commit/36127e0e2250068673d7cff81b6a51c10ef65c7a) Release 0.0.13
403
457
  - [7af75f5](https://github.com/appium/ruby_console/commit/7af75f540043cac96afc4a686204355d4d4fa895) Release 0.0.12
@@ -405,16 +459,21 @@
405
459
  - [6423db3](https://github.com/appium/ruby_console/commit/6423db32896af21697071bd74ca867742384bb88) Bump gemspec
406
460
  - [718ea73](https://github.com/appium/ruby_console/commit/718ea735320b76080f776a28b3ca090c735f6b95) Update readme.md
407
461
  - [4c27218](https://github.com/appium/ruby_console/commit/4c272185c8b29370811d5cac5bd410d30ae98a80) Release 0.0.9
462
+ - [02d41c7](https://github.com/appium/ruby_console/commit/02d41c7231f3e83fff27ea0463dc6dcf064a2e48) Release 0.0.12
408
463
  - [ad0c8d2](https://github.com/appium/ruby_console/commit/ad0c8d2340d245ab448dde2783e5cdea751a83b0) Update ruby_console.gemspec
464
+ - [9b4f796](https://github.com/appium/ruby_console/commit/9b4f796b5292025bc7c958f1d1bdd91cebaf3e8e) Release 0.0.11
465
+ - [59673a5](https://github.com/appium/ruby_console/commit/59673a5891356e2a927cfc3b217765d71596ac78) Bump gemspec
409
466
  - [433a225](https://github.com/appium/ruby_console/commit/433a2258c3401c13b259ec0faeb5afd5461f142a) Update ruby_console.gemspec
467
+ - [27f2a6c](https://github.com/appium/ruby_console/commit/27f2a6cbb3065bf32051f5fa3cc5a3779487890f) Update readme.md
468
+ - [69f24f6](https://github.com/appium/ruby_console/commit/69f24f6b9afb775143af97e8fd8287d2f9bf5f4c) Release 0.0.9
410
469
 
411
470
 
412
- #### v0.0.11 2013-03-20
471
+ #### v0.0.12 2013-03-20
413
472
 
414
473
  - [02d41c7](https://github.com/appium/ruby_console/commit/02d41c7231f3e83fff27ea0463dc6dcf064a2e48) Release 0.0.12
415
474
 
416
475
 
417
- ####
476
+ #### v0.0.11 2013-03-20
418
477
 
419
478
  - [9b4f796](https://github.com/appium/ruby_console/commit/9b4f796b5292025bc7c958f1d1bdd91cebaf3e8e) Release 0.0.11
420
479
  - [59673a5](https://github.com/appium/ruby_console/commit/59673a5891356e2a927cfc3b217765d71596ac78) Bump gemspec
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appium_console
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - code@bootstraponline.com
@@ -94,6 +94,20 @@ dependencies:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: 10.4.2
97
+ - !ruby/object:Gem::Dependency
98
+ name: appium_thor
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: 1.0.1
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: 1.0.1
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: posix-spawn
99
113
  requirement: !ruby/object:Gem::Requirement
@@ -119,7 +133,7 @@ files:
119
133
  - ".gitignore"
120
134
  - Gemfile
121
135
  - LICENSE-2.0.txt
122
- - Rakefile
136
+ - Thorfile
123
137
  - appium_console.gemspec
124
138
  - bin/arc
125
139
  - img/avd_settings.png
@@ -160,3 +174,4 @@ signing_key:
160
174
  specification_version: 4
161
175
  summary: Appium Ruby Console
162
176
  test_files: []
177
+ has_rdoc:
data/Rakefile DELETED
@@ -1,181 +0,0 @@
1
- # encoding: utf-8
2
- # ruby_console Rakefile
3
- require 'rubygems'
4
- require 'rake'
5
- require 'date'
6
- require 'posix/spawn'
7
-
8
- # Defines gem name.
9
- def repo_name; 'appium_console'; end # ruby_console published as appium_console
10
- def gh_name; 'ruby_console'; end # the name as used on github.com
11
- def version_file; "lib/#{repo_name}/version.rb"; end
12
- def version_rgx; /VERSION = '([^']+)'/m; end
13
-
14
- def version
15
- @version = @version || File.read(version_file).match(version_rgx)[1]
16
- end
17
-
18
- def bump value
19
- data = File.read version_file
20
-
21
- v_line = data.match version_rgx
22
- d_line = data.match /\s*DATE\s*=\s*'([^']+)'/m
23
-
24
- old_v = v_line[0]
25
- old_d = d_line[0]
26
-
27
- old_num = v_line[1]
28
- new_num = old_num.split('.')
29
- new_num[-1] = new_num[-1].to_i + 1
30
-
31
- if value == :y
32
- new_num[-1] = 0 # x.y.Z -> x.y.0
33
- new_num[-2] = new_num[-2].to_i + 1 # x.Y -> x.Y+1
34
- elsif value == :x
35
- new_num[-1] = 0 # x.y.Z -> x.y.0
36
- new_num[-2] = 0 # x.Y.z -> x.0.z
37
- new_num[-3]= new_num[-3].to_i + 1
38
- end
39
-
40
- new_num = new_num.join '.'
41
-
42
- new_v = old_v.sub old_num, new_num
43
- puts "#{old_num} -> #{new_num}"
44
-
45
- old_date = d_line[1]
46
- new_date = Date.today.to_s
47
- new_d = old_d.sub old_date, new_date
48
- puts "#{old_date} -> #{new_date}" unless old_date == new_date
49
-
50
- data.sub! old_v, new_v
51
- data.sub! old_d, new_d
52
-
53
- File.write version_file, data
54
- end
55
-
56
- desc 'Bump the z version number and update the date.'
57
- task :bump do
58
- bump :z
59
- end
60
-
61
- desc 'Bump the y version number, set z to zero, update the date.'
62
- task :bumpy do
63
- bump :y
64
- end
65
-
66
- desc 'Bump the x version number, set y & z to zero, update the date.'
67
- task :bumpx do
68
- bump :x
69
- end
70
-
71
- def tag_exists tag_name
72
- cmd = %Q(git branch -a --contains "#{tag_name}")
73
- POSIX::Spawn::Child.new(cmd).out.include? '* master'
74
- end
75
-
76
- # Inspired by Gollum's Rakefile
77
- desc 'Build and release a new gem to rubygems.org'
78
- task :release => :gem do
79
- unless `git branch`.include? '* master'
80
- puts 'Master branch required to release.'
81
- exit!
82
- end
83
-
84
- # Commit then pull before pushing.
85
- tag_name = "v#{version}"
86
- raise 'Tag already exists!' if tag_exists tag_name
87
-
88
- # Commit then pull before pushing.
89
- sh "git commit --allow-empty -am 'Release #{version}'"
90
- sh 'git pull'
91
- sh "git tag #{tag_name}"
92
- # update notes now that there's a new tag
93
- Rake::Task['notes'].execute
94
- sh "git commit --allow-empty -am 'Update release notes'"
95
- sh 'git push origin master'
96
- sh "git push origin #{tag_name}"
97
- sh "gem push #{repo_name}-#{version}.gem"
98
- end
99
-
100
- desc 'Build and release a new gem to rubygems.org (same as release)'
101
- task :publish => :release do
102
- end
103
-
104
- desc 'Build a new gem'
105
- task :gem do
106
- `chmod 0600 ~/.gem/credentials`
107
- sh "gem build #{repo_name}.gemspec"
108
- end
109
-
110
- desc 'Build a new gem (same as gem task)'
111
- task :build => :gem do
112
- end
113
-
114
- desc 'Uninstall gem'
115
- task :uninstall do
116
- cmd = "gem uninstall -aIx #{repo_name}"
117
- # rescue on gem not installed error.
118
- begin; sh "#{cmd}"; rescue; end
119
- end
120
-
121
- desc 'Install gem'
122
- task :install => [ :gem, :uninstall ] do
123
- sh "gem install --no-rdoc --no-ri --local #{repo_name}-#{version}.gem"
124
- end
125
-
126
- desc 'Update release notes'
127
- task :notes do
128
- tag_sort = ->(tag1,tag2) do
129
- begin
130
- tag1_numbers = tag1.match(/\.?v(\d+\.\d+\.\d+)$/)[1].split('.').map! { |n| n.to_i }
131
- tag2_numbers = tag2.match(/\.?v(\d+\.\d+\.\d+)$/)[1].split('.').map! { |n| n.to_i }
132
- tag1_numbers <=> tag2_numbers
133
- rescue
134
- raise "Match failed on\n'#{tag1}'\n'#{tag2}'"
135
- end
136
- end
137
-
138
- tags = `git tag`.split "\n"
139
- tags.sort! &tag_sort
140
- pairs = []
141
- tags.each_index { |a| pairs.push tags[a] + '..' + tags[a+1] unless tags[a+1].nil? }
142
-
143
- notes = ''
144
-
145
- dates = `git log --tags --simplify-by-decoration --pretty="format:%d %ad" --date=short`.split "\n"
146
- # " (tag: v0.0.21) 2013-03-22"
147
- dates.reject! { |d| ! d.match /\(tag: v\d+\.\d+\.\d+\) \d+-\d+-\d+/ }
148
-
149
- pairs.sort! &tag_sort
150
- pairs.reverse! # pairs are in reverse order.
151
-
152
- tag_date = []
153
- pairs.each do |pair|
154
- tag = pair.split('..').last
155
- dates.each do |line|
156
- # regular tag, or tag on master.
157
- if line.include?(tag + ')') || line.include?(tag + ',')
158
- tag_date.push tag + ' ' + line.match(/\d{4}-\d{2}-\d{2}/)[0]
159
- break
160
- end
161
- end
162
- end
163
-
164
- pairs.each_index do |a|
165
- data =`git log --pretty=oneline #{pairs[a]}`
166
- new_data = ''
167
- data.split("\n").each do |line|
168
- hex = line.match(/[a-zA-Z0-9]+/)[0]
169
- # use first 7 chars to match GitHub
170
- comment = line.gsub(hex, '').strip
171
- next if comment == 'Update release notes'
172
- new_data += "- [#{hex[0...7]}](https://github.com/appium/#{gh_name}/commit/#{hex}) #{comment}\n"
173
- end
174
- data = new_data + "\n"
175
-
176
- # last pair is the released version.
177
- notes += "#### #{tag_date[a]}\n\n" + data + "\n"
178
- end
179
-
180
- File.open('release_notes.md', 'w') { |f| f.write notes.to_s.strip }
181
- end