appium_thor 1.0.0 → 1.0.1
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 +11 -11
- data/lib/appium_thor/helpers.rb +6 -1
- data/lib/appium_thor/version.rb +1 -1
- data/release_notes.md +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94faa485e91159bb1e93a33194fccd8adb0d6f5a
|
4
|
+
data.tar.gz: 34584cb1d5a99b48fef0acf51c512a11a2d44a49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 08115ce8692d82e0a3a8c14235bdae48be65dd6d7a2d0cd0f401be26e3b620660d6fc0a26712143d931aaa1ba11e0b35e9fdaeb0873e470b421e32399574c673
|
7
|
+
data.tar.gz: e21e1545332fedabf3546570857874f90708a3ffc9167cf98f10e11765e73fdaac0cac266abb7ca9b0762e011869548267d8f2cc31fdec32987c94ae56e739c4
|
data/docs/helpers_docs.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
##### [_build_gem](https://github.com/appium/appium_thor/blob/
|
1
|
+
##### [_build_gem](https://github.com/appium/appium_thor/blob/b9b553ae60ea2b1d435560aae5f08c7798b6f52d/lib/appium_thor/helpers.rb#L6)
|
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/
|
10
|
+
##### [tag_exists](https://github.com/appium/appium_thor/blob/b9b553ae60ea2b1d435560aae5f08c7798b6f52d/lib/appium_thor/helpers.rb#L12)
|
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/
|
18
|
+
##### [sh](https://github.com/appium/appium_thor/blob/b9b553ae60ea2b1d435560aae5f08c7798b6f52d/lib/appium_thor/helpers.rb#L18)
|
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/
|
26
|
+
##### [version_rgx](https://github.com/appium/appium_thor/blob/b9b553ae60ea2b1d435560aae5f08c7798b6f52d/lib/appium_thor/helpers.rb#L30)
|
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/
|
34
|
+
##### [version](https://github.com/appium/appium_thor/blob/b9b553ae60ea2b1d435560aae5f08c7798b6f52d/lib/appium_thor/helpers.rb#L35)
|
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/
|
42
|
+
##### [_bump](https://github.com/appium/appium_thor/blob/b9b553ae60ea2b1d435560aae5f08c7798b6f52d/lib/appium_thor/helpers.rb#L46)
|
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/
|
58
|
+
##### [update_release_notes](https://github.com/appium/appium_thor/blob/b9b553ae60ea2b1d435560aae5f08c7798b6f52d/lib/appium_thor/helpers.rb#L86)
|
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/
|
67
|
+
##### [_install](https://github.com/appium/appium_thor/blob/b9b553ae60ea2b1d435560aae5f08c7798b6f52d/lib/appium_thor/helpers.rb#L149)
|
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/
|
79
|
+
##### [_uninstall](https://github.com/appium/appium_thor/blob/b9b553ae60ea2b1d435560aae5f08c7798b6f52d/lib/appium_thor/helpers.rb#L156)
|
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/
|
87
|
+
##### [_publish](https://github.com/appium/appium_thor/blob/b9b553ae60ea2b1d435560aae5f08c7798b6f52d/lib/appium_thor/helpers.rb#L167)
|
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/
|
99
|
+
##### [remove_non_ascii_from_cwd](https://github.com/appium/appium_thor/blob/b9b553ae60ea2b1d435560aae5f08c7798b6f52d/lib/appium_thor/helpers.rb#L196)
|
100
100
|
|
101
101
|
> def remove_non_ascii_from_cwd
|
102
102
|
|
data/lib/appium_thor/helpers.rb
CHANGED
@@ -94,7 +94,12 @@ module Appium
|
|
94
94
|
end
|
95
95
|
|
96
96
|
tags = `git tag`.split "\n"
|
97
|
-
|
97
|
+
begin
|
98
|
+
tags.sort! &tag_sort
|
99
|
+
rescue
|
100
|
+
$stderr.puts 'Skipping release notes (unable to sort)'
|
101
|
+
return
|
102
|
+
end
|
98
103
|
pairs = []
|
99
104
|
tags.each_index { |a| pairs.push tags[a] + '...' + tags[a+1] unless tags[a+1].nil? }
|
100
105
|
|
data/lib/appium_thor/version.rb
CHANGED
data/release_notes.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
#### v1.0.1 2015-06-19
|
2
|
+
|
3
|
+
- [b9b553a](https://github.com/appium/appium_thor/commit/b9b553ae60ea2b1d435560aae5f08c7798b6f52d) Release 1.0.1
|
4
|
+
- [ee9c212](https://github.com/appium/appium_thor/commit/ee9c212b01545a2e5d54c7d1ec3076a071a4ea35) Skip release notes on error
|
5
|
+
|
6
|
+
|
1
7
|
#### v1.0.0 2015-06-19
|
2
8
|
|
3
9
|
- [4938a6a](https://github.com/appium/appium_thor/commit/4938a6adcc98a5ebbca28b96280c66bce4ee0ff8) Release 1.0.0
|