checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
---
2
- SHA1:
3
- metadata.gz: a67bd9298990ca16c9878005d4706911abf487c8
4
- data.tar.gz: 6ef8d2c2c80457c98a88074f7b12c52069cf9443
2
+ SHA256:
3
+ metadata.gz: 4d6566a07c7807fb22a8e9404fb880595c380f765c7da639fd702fe60bc58afe
4
+ data.tar.gz: 69861affb47ecb5cda3220ddfe3bb76d4ade05a8c689bfbf739e7a69e09d5512
5
5
SHA512:
6
- metadata.gz: deae04b389e91cba93f3e1c53178acf97637ffd7f25cb2539ce85960793d401063dac908b42468ab81965880a4cf8a553172f1929f0c070ab5376682329f96d7
7
- data.tar.gz: 8434875d97d1839d39429670cd5faf60afa05435effd7334e07b4d8b6f5c2a5bf97a24a9275d4e17f959c3596d34220ca97f3e668c5467521f7e9dd9015f1ba4
6
+ metadata.gz: 97baa0a76b30b5e8af8d73c41a4b84a7dfa8104ef536e89bba76a04392f719f2914935b0878112c0cb6009a5ebf3cefd7061f891aec9d58267e306d64a525697
7
+ data.tar.gz: f1b0d482be9d18761a0137558b327afd74641b411d59d0d172a29adef641283e7cca4983764ae22d4befcc6bbb506162a81035f290cf4e49abee10e5c027d86a
data/appium_thor.gemspec CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
14
14
15
15
s.add_runtime_dependency 'redcarpet', '~> 3.1', '>= 3.1.2'
16
16
s.add_runtime_dependency 'posix-spawn', '~> 0.3', '>= 0.3.8'
17
- s.add_runtime_dependency 'yard', '~> 0.8', '>= 0.8.7.4'
17
+ s.add_runtime_dependency 'yard', '~> 0.9.11'
18
18
19
19
s.files = `git ls-files`.split "\n"
20
- end
20
+ end
data/docs/helpers_docs.md CHANGED
@@ -1,4 +1,4 @@
1
- ##### [_build_gem](https://github.com/appium/appium_thor/blob/7e1ac01f1398a10f22b36bd230ea8ea74937cbed/lib/appium_thor/helpers.rb#L6)
1
+ ##### [_build_gem](https://github.com/appium/appium_thor/blob/014fa19e5a2cf8d2d8d85fbd3d139b9c7d67fb50/lib/appium_thor/helpers.rb#L6) common
2
2
3
3
> def _build_gem
4
4
@@ -7,7 +7,7 @@ Runs gem build gemspec
7
7
8
8
--
9
9
10
- ##### [tag_exists](https://github.com/appium/appium_thor/blob/7e1ac01f1398a10f22b36bd230ea8ea74937cbed/lib/appium_thor/helpers.rb#L12)
10
+ ##### [tag_exists](https://github.com/appium/appium_thor/blob/014fa19e5a2cf8d2d8d85fbd3d139b9c7d67fb50/lib/appium_thor/helpers.rb#L12) common
11
11
12
12
> def tag_exists(tag_name)
13
13
@@ -15,7 +15,7 @@ Returns true if the tag exists on the master branch.
15
15
16
16
--
17
17
18
- ##### [sh](https://github.com/appium/appium_thor/blob/7e1ac01f1398a10f22b36bd230ea8ea74937cbed/lib/appium_thor/helpers.rb#L18)
18
+ ##### [sh](https://github.com/appium/appium_thor/blob/014fa19e5a2cf8d2d8d85fbd3d139b9c7d67fb50/lib/appium_thor/helpers.rb#L18) common
19
19
20
20
> def sh(command)
21
21
@@ -23,7 +23,7 @@ Runs command. Raises an exception if the command doesn't execute successfully.
23
23
24
24
--
25
25
26
- ##### [version_rgx](https://github.com/appium/appium_thor/blob/7e1ac01f1398a10f22b36bd230ea8ea74937cbed/lib/appium_thor/helpers.rb#L30)
26
+ ##### [version_rgx](https://github.com/appium/appium_thor/blob/014fa19e5a2cf8d2d8d85fbd3d139b9c7d67fb50/lib/appium_thor/helpers.rb#L30) common
27
27
28
28
> def version_rgx
29
29
@@ -31,7 +31,7 @@ Used to parse the version number from version_file
31
31
32
32
--
33
33
34
- ##### [version](https://github.com/appium/appium_thor/blob/7e1ac01f1398a10f22b36bd230ea8ea74937cbed/lib/appium_thor/helpers.rb#L35)
34
+ ##### [version](https://github.com/appium/appium_thor/blob/014fa19e5a2cf8d2d8d85fbd3d139b9c7d67fb50/lib/appium_thor/helpers.rb#L35) common
35
35
36
36
> def version
37
37
@@ -39,7 +39,7 @@ Returns the version number from version_file as a string
39
39
40
40
--
41
41
42
- ##### [_bump](https://github.com/appium/appium_thor/blob/7e1ac01f1398a10f22b36bd230ea8ea74937cbed/lib/appium_thor/helpers.rb#L46)
42
+ ##### [_bump](https://github.com/appium/appium_thor/blob/014fa19e5a2cf8d2d8d85fbd3d139b9c7d67fb50/lib/appium_thor/helpers.rb#L46) common
43
43
44
44
> def _bump(value)
45
45
@@ -55,7 +55,7 @@ __Parameters:__
55
55
56
56
--
57
57
58
- ##### [update_release_notes](https://github.com/appium/appium_thor/blob/7e1ac01f1398a10f22b36bd230ea8ea74937cbed/lib/appium_thor/helpers.rb#L86)
58
+ ##### [update_release_notes](https://github.com/appium/appium_thor/blob/014fa19e5a2cf8d2d8d85fbd3d139b9c7d67fb50/lib/appium_thor/helpers.rb#L86) common
59
59
60
60
> def update_release_notes
61
61
@@ -64,7 +64,7 @@ Note that the first tag won't contain notes.
64
64
65
65
--
66
66
67
- ##### [_install](https://github.com/appium/appium_thor/blob/7e1ac01f1398a10f22b36bd230ea8ea74937cbed/lib/appium_thor/helpers.rb#L150)
67
+ ##### [_install](https://github.com/appium/appium_thor/blob/014fa19e5a2cf8d2d8d85fbd3d139b9c7d67fb50/lib/appium_thor/helpers.rb#L150) common
68
68
69
69
> def _install
70
70
@@ -76,7 +76,7 @@ Installs the local gem. It's fast due to the flags
76
76
77
77
--
78
78
79
- ##### [_uninstall](https://github.com/appium/appium_thor/blob/7e1ac01f1398a10f22b36bd230ea8ea74937cbed/lib/appium_thor/helpers.rb#L157)
79
+ ##### [_uninstall](https://github.com/appium/appium_thor/blob/014fa19e5a2cf8d2d8d85fbd3d139b9c7d67fb50/lib/appium_thor/helpers.rb#L157) common
80
80
81
81
> def _uninstall
82
82
@@ -84,7 +84,7 @@ Uninstalls all versions of the gem
84
84
85
85
--
86
86
87
- ##### [_publish](https://github.com/appium/appium_thor/blob/7e1ac01f1398a10f22b36bd230ea8ea74937cbed/lib/appium_thor/helpers.rb#L168)
87
+ ##### [_publish](https://github.com/appium/appium_thor/blob/014fa19e5a2cf8d2d8d85fbd3d139b9c7d67fb50/lib/appium_thor/helpers.rb#L168) common
88
88
89
89
> def _publish
90
90
@@ -96,7 +96,7 @@ Publishes the gem to rubygems
96
96
97
97
--
98
98
99
- ##### [remove_non_ascii_from_cwd](https://github.com/appium/appium_thor/blob/7e1ac01f1398a10f22b36bd230ea8ea74937cbed/lib/appium_thor/helpers.rb#L200)
99
+ ##### [remove_non_ascii_from_cwd](https://github.com/appium/appium_thor/blob/014fa19e5a2cf8d2d8d85fbd3d139b9c7d67fb50/lib/appium_thor/helpers.rb#L200) common
100
100
101
101
> def remove_non_ascii_from_cwd
102
102
data/lib/appium_thor/docs.rb CHANGED
@@ -17,15 +17,16 @@ module Appium
17
17
18
18
# skip class vars
19
19
if sig.start_with?('@@') ||
20
- # skip methods marked private
21
- obj.tag('private') ||
22
- # skip date and version from version.rb
23
- obj.name.match(/DATE|VERSION/)
20
+ # skip methods marked private
21
+ obj.tag('private') ||
22
+ # skip date and version from version.rb
23
+ obj.name.match(/DATE|VERSION/)
24
+
24
25
return out
25
26
end
26
27
27
28
method_path = obj.file.split('/lib/').last
28
- os = method_path.downcase.match /ios|android/
29
+ os = method_path.downcase.match(/ios|android/) || 'common'
29
30
out.concat("##### [#{obj.name.to_s}](https://github.com/#{github_owner}/#{github_name}/blob/#{last_sha}/lib/#{method_path}#L#{obj.line}) #{os}\n\n")
30
31
out.concat("> #{obj.signature}\n\n")
31
32
out.concat("#{obj.docstring}\n\n")
@@ -36,7 +37,7 @@ module Appium
36
37
unless params.empty?
37
38
out.concat("__Parameters:__\n\n")
38
39
params.each do |param|
39
- out.concat("#{indent}[#{param.types.join ', '}] ")
40
+ out.concat("#{indent}[#{param.types.join(', ') unless param.types.nil?}] ")
40
41
out.concat("#{param.name} - #{param.text}\n\n")
41
42
end
42
43
end
@@ -44,7 +45,7 @@ module Appium
44
45
ret = obj.tag 'return'
45
46
if ret
46
47
out.concat("__Returns:__\n\n")
47
- out.concat("#{indent}[#{ret.types.join ', '}] #{ret.text}\n\n")
48
+ out.concat("#{indent}[#{ret.types.join(', ') unless ret.types.nil?}] #{ret.text}\n\n")
48
49
end
49
50
out.concat("--\n\n")
50
51
data/lib/appium_thor/helpers.rb CHANGED
@@ -192,7 +192,7 @@ module Appium
192
192
sh 'git push origin master'
193
193
sh "git push origin #{tag_name}"
194
194
_build_gem
195
- sh "gem push #{gem_name}-#{version}.gem"
195
+ puts "Please run 'gem push #{gem_name}-#{version}.gem'"
196
196
end
197
197
198
198
# Remove non-ascii bytes from all rb files in the current working directory.
data/lib/appium_thor/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
module Appium
2
2
module Thor
3
- VERSION = '1.1.1' unless defined? ::Appium::Thor::VERSION
4
- DATE = '2018-11-12' unless defined? ::Appium::Thor::DATE
3
+ VERSION = '1.1.6' unless defined? ::Appium::Thor::VERSION
4
+ DATE = '2019-11-08' unless defined? ::Appium::Thor::DATE
5
5
end
6
6
end
data/release_notes.md CHANGED
@@ -1,3 +1,35 @@
1
+ #### v1.1.6 2019-11-08
2
+
3
+ - [014fa19](https://github.com/appium/appium_thor/commit/014fa19e5a2cf8d2d8d85fbd3d139b9c7d67fb50) Release 1.1.6
4
+ - [7cde986](https://github.com/appium/appium_thor/commit/7cde98641bef47ed92ecb5f5be03418283175bc6) do not run push
5
+
6
+
7
+ #### v1.1.5 2019-05-28
8
+
9
+ - [ab32d98](https://github.com/appium/appium_thor/commit/ab32d98572d23a69e17355fb831485c3fd51405d) Release 1.1.5
10
+ - [c50ac40](https://github.com/appium/appium_thor/commit/c50ac40a5b5a8fd1533dc1a177130a72dc4e69ff) Merge pull request #5 from KazuCocoa/bump-yard
11
+ - [8711b02](https://github.com/appium/appium_thor/commit/8711b02cd57602eea636f4df0c97bd24fdd5e8a8) update yard
12
+
13
+
14
+ #### v1.1.4 2018-11-22
15
+
16
+ - [1758415](https://github.com/appium/appium_thor/commit/1758415f0676af855b8a522e647e1d5eebfc71ad) Release 1.1.4
17
+ - [4adda4f](https://github.com/appium/appium_thor/commit/4adda4f099e75d4c97cdd69a5db69bfb029fd390) add new line
18
+
19
+
20
+ #### v1.1.3 2018-11-22
21
+
22
+ - [d264716](https://github.com/appium/appium_thor/commit/d264716b17dd0bca5ca704712084b7a5500d9d4a) Release 1.1.3
23
+ - [b35fc7b](https://github.com/appium/appium_thor/commit/b35fc7bc84151def687c430f91948a1dc3509dbc) Merge pull request #4 from KazuCocoa/fix-newline
24
+ - [fc48890](https://github.com/appium/appium_thor/commit/fc4889026ae92b828ce8be98ad67a5a46dca2af3) fix newline
25
+
26
+
27
+ #### v1.1.2 2018-11-12
28
+
29
+ - [b04599e](https://github.com/appium/appium_thor/commit/b04599e462699083201e21ae6d7e4a0b4e90a1e9) Release 1.1.2
30
+ - [6aee88a](https://github.com/appium/appium_thor/commit/6aee88afb1467b39bdfea06a9e5e8f3cad3a879d) fix gen doc issues
31
+
32
+
1
33
#### v1.1.1 2018-11-12
2
34
3
35
- [7e1ac01](https://github.com/appium/appium_thor/commit/7e1ac01f1398a10f22b36bd230ea8ea74937cbed) Release 1.1.1
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: appium_thor
3
3
version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.6
5
5
platform: ruby
6
6
authors:
7
7
- code@bootstraponline.com
8
8
autorequire:
9
9
bindir: bin
10
10
cert_chain: []
11
- date: 2018-11-12 00:00:00.000000000 Z
11
+ date: 2019-11-08 00:00:00.000000000 Z
12
12
dependencies:
13
13
- !ruby/object:Gem::Dependency
14
14
name: redcarpet
@@ -56,20 +56,14 @@ dependencies:
56
56
requirements:
57
57
- - "~>"
58
58
- !ruby/object:Gem::Version
59
- version: '0.8'
59
+ version: 0.9.11
60
- - - ">="
61
- - !ruby/object:Gem::Version
62
- version: 0.8.7.4
63
60
type: :runtime
64
61
prerelease: false
65
62
version_requirements: !ruby/object:Gem::Requirement
66
63
requirements:
67
64
- - "~>"
68
65
- !ruby/object:Gem::Version
69
- version: '0.8'
66
+ version: 0.9.11
70
- - - ">="
71
- - !ruby/object:Gem::Version
72
- version: 0.8.7.4
73
67
description: Thor tasks for Appium gems.
74
68
email:
75
69
- code@bootstraponline.com
@@ -111,8 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
105
- !ruby/object:Gem::Version
112
106
version: '0'
113
107
requirements: []
114
- rubyforge_project:
108
+ rubygems_version: 3.0.3
115
- rubygems_version: 2.6.14
116
109
signing_key:
117
110
specification_version: 4
118
111
summary: Thor tasks for Appium gems.