appium_thor 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/helpers_docs.md +36 -13
- data/lib/appium_thor/docs.rb +2 -2
- data/lib/appium_thor/version.rb +2 -2
- data/release_notes.md +7 -0
- 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: 6f47c76e678d52497e63dda578a0879cc2ea33da
|
4
|
+
data.tar.gz: a87678dd439837cc1bc9f058812d6c46a5eb0905
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c4c1ea85cf738b69b2447defd7b13f95ca5516ec742cbfc9914127ea57b2e30450f67e43da8df7c66e914ea0dbacf59fcb32ae9c608957759ed959c04140605
|
7
|
+
data.tar.gz: 54e825c5aa255a6f9bb982859765fd001785fe6b3a8bf7c7c39e6784720de05c472c63047e54c5f33485f14d64ac153c0bfaa42cde774271b7d9c34cc4c5e2b1
|
data/docs/helpers_docs.md
CHANGED
@@ -1,35 +1,45 @@
|
|
1
|
-
##### [_build_gem](https://github.com/appium/appium_thor/blob/
|
1
|
+
##### [_build_gem](https://github.com/appium/appium_thor/blob/d264716b17dd0bca5ca704712084b7a5500d9d4a/lib/appium_thor/helpers.rb#L6) common
|
2
2
|
|
3
3
|
> def _build_gem
|
4
4
|
|
5
5
|
Sets the permissions on the gem credentials
|
6
6
|
Runs gem build gemspec
|
7
7
|
|
8
|
-
|
8
|
+
--
|
9
|
+
|
10
|
+
##### [tag_exists](https://github.com/appium/appium_thor/blob/d264716b17dd0bca5ca704712084b7a5500d9d4a/lib/appium_thor/helpers.rb#L12) common
|
9
11
|
|
10
12
|
> def tag_exists(tag_name)
|
11
13
|
|
12
14
|
Returns true if the tag exists on the master branch.
|
13
15
|
|
14
|
-
|
16
|
+
--
|
17
|
+
|
18
|
+
##### [sh](https://github.com/appium/appium_thor/blob/d264716b17dd0bca5ca704712084b7a5500d9d4a/lib/appium_thor/helpers.rb#L18) common
|
15
19
|
|
16
20
|
> def sh(command)
|
17
21
|
|
18
22
|
Runs command. Raises an exception if the command doesn't execute successfully.
|
19
23
|
|
20
|
-
|
24
|
+
--
|
25
|
+
|
26
|
+
##### [version_rgx](https://github.com/appium/appium_thor/blob/d264716b17dd0bca5ca704712084b7a5500d9d4a/lib/appium_thor/helpers.rb#L30) common
|
21
27
|
|
22
28
|
> def version_rgx
|
23
29
|
|
24
30
|
Used to parse the version number from version_file
|
25
31
|
|
26
|
-
|
32
|
+
--
|
33
|
+
|
34
|
+
##### [version](https://github.com/appium/appium_thor/blob/d264716b17dd0bca5ca704712084b7a5500d9d4a/lib/appium_thor/helpers.rb#L35) common
|
27
35
|
|
28
36
|
> def version
|
29
37
|
|
30
38
|
Returns the version number from version_file as a string
|
31
39
|
|
32
|
-
|
40
|
+
--
|
41
|
+
|
42
|
+
##### [_bump](https://github.com/appium/appium_thor/blob/d264716b17dd0bca5ca704712084b7a5500d9d4a/lib/appium_thor/helpers.rb#L46) common
|
33
43
|
|
34
44
|
> def _bump(value)
|
35
45
|
|
@@ -39,16 +49,22 @@ The date is not printed if it hasn't changed.
|
|
39
49
|
|
40
50
|
x.y.z
|
41
51
|
|
42
|
-
__Parameters:__
|
52
|
+
__Parameters:__
|
53
|
+
|
54
|
+
[symbol] value - value is either :x, :y, or :z. Default is z.
|
43
55
|
|
44
|
-
|
56
|
+
--
|
57
|
+
|
58
|
+
##### [update_release_notes](https://github.com/appium/appium_thor/blob/d264716b17dd0bca5ca704712084b7a5500d9d4a/lib/appium_thor/helpers.rb#L86) common
|
45
59
|
|
46
60
|
> def update_release_notes
|
47
61
|
|
48
62
|
Creates release_notes.md based on changes between tags.
|
49
63
|
Note that the first tag won't contain notes.
|
50
64
|
|
51
|
-
|
65
|
+
--
|
66
|
+
|
67
|
+
##### [_install](https://github.com/appium/appium_thor/blob/d264716b17dd0bca5ca704712084b7a5500d9d4a/lib/appium_thor/helpers.rb#L150) common
|
52
68
|
|
53
69
|
> def _install
|
54
70
|
|
@@ -58,13 +74,17 @@ Installs the local gem. It's fast due to the flags
|
|
58
74
|
--no-ri = skip ri
|
59
75
|
--local = only install from the local disk
|
60
76
|
|
61
|
-
|
77
|
+
--
|
78
|
+
|
79
|
+
##### [_uninstall](https://github.com/appium/appium_thor/blob/d264716b17dd0bca5ca704712084b7a5500d9d4a/lib/appium_thor/helpers.rb#L157) common
|
62
80
|
|
63
81
|
> def _uninstall
|
64
82
|
|
65
83
|
Uninstalls all versions of the gem
|
66
84
|
|
67
|
-
|
85
|
+
--
|
86
|
+
|
87
|
+
##### [_publish](https://github.com/appium/appium_thor/blob/d264716b17dd0bca5ca704712084b7a5500d9d4a/lib/appium_thor/helpers.rb#L168) common
|
68
88
|
|
69
89
|
> def _publish
|
70
90
|
|
@@ -74,11 +94,14 @@ Updates release notes and documentation
|
|
74
94
|
Builds the gem
|
75
95
|
Publishes the gem to rubygems
|
76
96
|
|
77
|
-
|
97
|
+
--
|
98
|
+
|
99
|
+
##### [remove_non_ascii_from_cwd](https://github.com/appium/appium_thor/blob/d264716b17dd0bca5ca704712084b7a5500d9d4a/lib/appium_thor/helpers.rb#L200) common
|
78
100
|
|
79
101
|
> def remove_non_ascii_from_cwd
|
80
102
|
|
81
103
|
Remove non-ascii bytes from all rb files in the current working directory.
|
82
104
|
Used to purge byte order marks that mess up YARD
|
83
105
|
|
84
|
-
|
106
|
+
--
|
107
|
+
|
data/lib/appium_thor/docs.rb
CHANGED
@@ -35,7 +35,7 @@ module Appium
|
|
35
35
|
indent = space 5
|
36
36
|
params = obj.tags.select { |tag| tag.tag_name == 'param' }
|
37
37
|
unless params.empty?
|
38
|
-
out.concat(
|
38
|
+
out.concat("__Parameters:__\n\n")
|
39
39
|
params.each do |param|
|
40
40
|
out.concat("#{indent}[#{param.types.join(', ') unless param.types.nil?}] ")
|
41
41
|
out.concat("#{param.name} - #{param.text}\n\n")
|
@@ -47,7 +47,7 @@ module Appium
|
|
47
47
|
out.concat('__Returns:__\n\n')
|
48
48
|
out.concat("#{indent}[#{ret.types.join(', ') unless ret.types.nil?}] #{ret.text}\n\n")
|
49
49
|
end
|
50
|
-
out.concat(
|
50
|
+
out.concat("--\n\n")
|
51
51
|
|
52
52
|
out
|
53
53
|
end
|
data/lib/appium_thor/version.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
module Appium
|
2
2
|
module Thor
|
3
|
-
VERSION = '1.1.
|
4
|
-
DATE = '2018-11-
|
3
|
+
VERSION = '1.1.3' unless defined? ::Appium::Thor::VERSION
|
4
|
+
DATE = '2018-11-22' unless defined? ::Appium::Thor::DATE
|
5
5
|
end
|
6
6
|
end
|
data/release_notes.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
#### v1.1.3 2018-11-22
|
2
|
+
|
3
|
+
- [d264716](https://github.com/appium/appium_thor/commit/d264716b17dd0bca5ca704712084b7a5500d9d4a) Release 1.1.3
|
4
|
+
- [b35fc7b](https://github.com/appium/appium_thor/commit/b35fc7bc84151def687c430f91948a1dc3509dbc) Merge pull request #4 from KazuCocoa/fix-newline
|
5
|
+
- [fc48890](https://github.com/appium/appium_thor/commit/fc4889026ae92b828ce8be98ad67a5a46dca2af3) fix newline
|
6
|
+
|
7
|
+
|
1
8
|
#### v1.1.2 2018-11-12
|
2
9
|
|
3
10
|
- [b04599e](https://github.com/appium/appium_thor/commit/b04599e462699083201e21ae6d7e4a0b4e90a1e9) Release 1.1.2
|
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.
|
4
|
+
version: 1.1.3
|
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-
|
11
|
+
date: 2018-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redcarpet
|