appium_thor 2.0.4 → 2.0.6

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
  SHA256:
3
- metadata.gz: 27739eb115c90c0ff6a0b78d317710251fbd71b85b9f78ac7f23cf86bcf82248
4
- data.tar.gz: 1fd8fa1e85e8c3260276bf37c84798dd9c95fba3802d797790152b045041db91
3
+ metadata.gz: 38875a28ac864ff69b68afbfdecf71f06a528c4d70fcad2a28864400918bc631
4
+ data.tar.gz: 6f16c392c229b4715493e981825a3a8fb009d81e85eaa7277c69c96de8a8da0b
5
5
  SHA512:
6
- metadata.gz: 165b1043e1feb87a16e99987a7025c1192d775cb9857dd5d9923bb802bcd5909cad8b954575ec51570af3e2d7aa3082bbb1dad9be79e7b55cb5807c88106edb1
7
- data.tar.gz: fc710717437c2f82e9be0571c38aed62dd33a0c9419e1000e540347c033bb853b640ff2cd5731c52eb7d8f424f3fc1fd527e05a38c7e9447f8cf8802ab1d925f
6
+ metadata.gz: 666758c994fc6b98393c8a9147514222d11088632154b09e7a6e51e9de06ed42c8e17c98b3aff982654b8d2ac3fcf22def3397c429d7a421b13b35c9e7770490
7
+ data.tar.gz: 9744a558cc1f669bd842e18888e3599062406746cf680fa65f82d5573426e81b5e04c0f492b0934877ae5dccb162071ff1d64a59a9ce2067a024b8270fc915b5
data/appium_thor.gemspec CHANGED
@@ -8,11 +8,12 @@ Gem::Specification.new do |s|
8
8
  s.date = Appium::Thor::DATE
9
9
  s.license = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
10
10
  s.description = s.summary = 'Thor tasks for Appium gems.'
11
- s.authors = s.email = ['code@bootstraponline.com']
11
+ s.authors = ['code@bootstraponline.com', 'Kazuaki Matsuo']
12
+ s.email = %w(code@bootstraponline.com fly.49.89.over@gmail.com)
12
13
  s.homepage = 'https://github.com/appium/appium_thor'
13
14
  s.require_paths = ['lib']
14
15
 
15
- s.add_runtime_dependency 'redcarpet', '~> 3.1', '>= 3.1.2'
16
+ s.add_runtime_dependency 'thor', '>= 0.19', '< 2.0'
16
17
 
17
18
  s.files = `git ls-files`.split "\n"
18
19
  end
@@ -55,10 +55,11 @@ module Appium
55
55
  new_num = old_num.split('.')
56
56
  new_num[-1] = new_num[-1].to_i + 1
57
57
 
58
- if value == :y
58
+ case value
59
+ when :y
59
60
  new_num[-1] = 0 # x.y.Z -> x.y.0
60
61
  new_num[-2] = new_num[-2].to_i + 1 # x.Y -> x.Y+1
61
- elsif value == :x
62
+ when :x
62
63
  new_num[-1] = 0 # x.y.Z -> x.y.0
63
64
  new_num[-2] = 0 # x.Y.z -> x.0.z
64
65
  new_num[-3] = new_num[-3].to_i + 1
@@ -1,6 +1,6 @@
1
1
  module Appium
2
2
  module Thor
3
- VERSION = '2.0.4' unless defined? ::Appium::Thor::VERSION
4
- DATE = '2024-04-26' unless defined? ::Appium::Thor::DATE
3
+ VERSION = '2.0.6' unless defined? ::Appium::Thor::VERSION
4
+ DATE = '2024-04-27' unless defined? ::Appium::Thor::DATE
5
5
  end
6
6
  end
data/release_notes.md CHANGED
@@ -1,3 +1,14 @@
1
+ #### v2.0.6 2024-04-27
2
+
3
+ - [a135b43](https://github.com/appium/appium_thor/commit/a135b43f742cb1aa7acc2269502b010fed518b29) Release 2.0.6
4
+
5
+
6
+ #### v2.0.5 2024-04-27
7
+
8
+ - [31e6d74](https://github.com/appium/appium_thor/commit/31e6d7494e0402604e3ce8b10d426684e05c16a9) Release 2.0.5
9
+ - [bbf0b07](https://github.com/appium/appium_thor/commit/bbf0b07eecbb11e9d02e5b772ec3601f140f44f4) chore: cleanup further (#9)
10
+
11
+
1
12
  #### v2.0.4 2024-04-26
2
13
 
3
14
  - [990035d](https://github.com/appium/appium_thor/commit/990035d4a2c9dfab8757211b47d2cdf6bc5a1828) Release 2.0.4
metadata CHANGED
@@ -1,38 +1,40 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appium_thor
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4
4
+ version: 2.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - code@bootstraponline.com
8
+ - Kazuaki Matsuo
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2024-04-26 00:00:00.000000000 Z
12
+ date: 2024-04-27 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
- name: redcarpet
15
+ name: thor
15
16
  requirement: !ruby/object:Gem::Requirement
16
17
  requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '3.1'
20
18
  - - ">="
21
19
  - !ruby/object:Gem::Version
22
- version: 3.1.2
20
+ version: '0.19'
21
+ - - "<"
22
+ - !ruby/object:Gem::Version
23
+ version: '2.0'
23
24
  type: :runtime
24
25
  prerelease: false
25
26
  version_requirements: !ruby/object:Gem::Requirement
26
27
  requirements:
27
- - - "~>"
28
- - !ruby/object:Gem::Version
29
- version: '3.1'
30
28
  - - ">="
31
29
  - !ruby/object:Gem::Version
32
- version: 3.1.2
30
+ version: '0.19'
31
+ - - "<"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.0'
33
34
  description: Thor tasks for Appium gems.
34
35
  email:
35
36
  - code@bootstraponline.com
37
+ - fly.49.89.over@gmail.com
36
38
  executables: []
37
39
  extensions: []
38
40
  extra_rdoc_files: []
@@ -43,7 +45,6 @@ files:
43
45
  - README.md
44
46
  - Thorfile
45
47
  - appium_thor.gemspec
46
- - docs/helpers_docs.md
47
48
  - lib/appium_thor.rb
48
49
  - lib/appium_thor/commands/commands.rb
49
50
  - lib/appium_thor/commands/init.rb
@@ -70,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
70
71
  - !ruby/object:Gem::Version
71
72
  version: '0'
72
73
  requirements: []
73
- rubygems_version: 3.5.9
74
+ rubygems_version: 3.3.27
74
75
  signing_key:
75
76
  specification_version: 4
76
77
  summary: Thor tasks for Appium gems.
data/docs/helpers_docs.md DELETED
@@ -1,107 +0,0 @@
1
- ##### [_build_gem](https://github.com/appium/appium_thor/blob/5c7025a14e9a6dba1ff0f69b733983d965e9c2ee/lib/appium_thor/helpers.rb#L6) common
2
-
3
- > def _build_gem
4
-
5
- Sets the permissions on the gem credentials
6
- Runs gem build gemspec
7
-
8
- --
9
-
10
- ##### [tag_exists](https://github.com/appium/appium_thor/blob/5c7025a14e9a6dba1ff0f69b733983d965e9c2ee/lib/appium_thor/helpers.rb#L12) common
11
-
12
- > def tag_exists(tag_name)
13
-
14
- Returns true if the tag exists on the master branch.
15
-
16
- --
17
-
18
- ##### [sh](https://github.com/appium/appium_thor/blob/5c7025a14e9a6dba1ff0f69b733983d965e9c2ee/lib/appium_thor/helpers.rb#L18) common
19
-
20
- > def sh(command)
21
-
22
- Runs command. Raises an exception if the command doesn't execute successfully.
23
-
24
- --
25
-
26
- ##### [version_rgx](https://github.com/appium/appium_thor/blob/5c7025a14e9a6dba1ff0f69b733983d965e9c2ee/lib/appium_thor/helpers.rb#L30) common
27
-
28
- > def version_rgx
29
-
30
- Used to parse the version number from version_file
31
-
32
- --
33
-
34
- ##### [version](https://github.com/appium/appium_thor/blob/5c7025a14e9a6dba1ff0f69b733983d965e9c2ee/lib/appium_thor/helpers.rb#L35) common
35
-
36
- > def version
37
-
38
- Returns the version number from version_file as a string
39
-
40
- --
41
-
42
- ##### [_bump](https://github.com/appium/appium_thor/blob/5c7025a14e9a6dba1ff0f69b733983d965e9c2ee/lib/appium_thor/helpers.rb#L46) common
43
-
44
- > def _bump(value)
45
-
46
- Updates the date and version in version_file.
47
- Prints the new version and date to the console.
48
- The date is not printed if it hasn't changed.
49
-
50
- x.y.z
51
-
52
- __Parameters:__
53
-
54
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[symbol] value - value is either :x, :y, or :z. Default is z.
55
-
56
- --
57
-
58
- ##### [update_release_notes](https://github.com/appium/appium_thor/blob/5c7025a14e9a6dba1ff0f69b733983d965e9c2ee/lib/appium_thor/helpers.rb#L86) common
59
-
60
- > def update_release_notes
61
-
62
- Creates release_notes.md based on changes between tags.
63
- Note that the first tag won't contain notes.
64
-
65
- --
66
-
67
- ##### [_install](https://github.com/appium/appium_thor/blob/5c7025a14e9a6dba1ff0f69b733983d965e9c2ee/lib/appium_thor/helpers.rb#L150) common
68
-
69
- > def _install
70
-
71
- Installs the local gem. It's fast due to the flags
72
-
73
- --no-rdoc = skip rdoc
74
- --no-ri = skip ri
75
- --local = only install from the local disk
76
-
77
- --
78
-
79
- ##### [_uninstall](https://github.com/appium/appium_thor/blob/5c7025a14e9a6dba1ff0f69b733983d965e9c2ee/lib/appium_thor/helpers.rb#L157) common
80
-
81
- > def _uninstall
82
-
83
- Uninstalls all versions of the gem
84
-
85
- --
86
-
87
- ##### [_publish](https://github.com/appium/appium_thor/blob/5c7025a14e9a6dba1ff0f69b733983d965e9c2ee/lib/appium_thor/helpers.rb#L168) common
88
-
89
- > def _publish
90
-
91
- Publishes the master branch to github
92
- Creates a version tag
93
- Updates release notes and documentation
94
- Builds the gem
95
- Publishes the gem to rubygems
96
-
97
- --
98
-
99
- ##### [remove_non_ascii_from_cwd](https://github.com/appium/appium_thor/blob/5c7025a14e9a6dba1ff0f69b733983d965e9c2ee/lib/appium_thor/helpers.rb#L200) common
100
-
101
- > def remove_non_ascii_from_cwd
102
-
103
- Remove non-ascii bytes from all rb files in the current working directory.
104
- Used to purge byte order marks that mess up YARD
105
-
106
- --
107
-