autowow 0.11.0 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -5
- data/lib/autowow/features/gem.rb +4 -3
- data/lib/autowow/version.rb +1 -1
- 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: edcec76e5c4f8cbbf0dacb2a5bd7c792c689938d
|
4
|
+
data.tar.gz: 0d4e09d964a3721796a56e257a8603dabc1cb1b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91de831f732f8e41c808da5d07672ed87e52a3a2ed7e506155d267c257bc5271b33f6edd460b3ca95e219cf57488b0842b2377bd7c07ba379f66992d8f3496ea
|
7
|
+
data.tar.gz: 570e42fff328f3aaf3fc3b636cc7e768e5ee83d23beb78d9fa0f9e1022bcb8b8f3c1b8e0590ff7fcbad4d9461a7260b817f26a2236bae2678f0a64aa3f57f5f2
|
data/README.md
CHANGED
@@ -3,13 +3,9 @@
|
|
3
3
|
#### Set of commands to [auto]mate [w]ay [o]f [w]orking
|
4
4
|
|
5
5
|
<!--- Version informartion -->
|
6
|
-
*You are viewing the README of version [
|
6
|
+
*You are viewing the README of version [v["Bumping autowow from 0.11.0 to version 0.11.1"]](https://github.com/thisismydesign/autowow/releases/tag/v["Bumping autowow from 0.11.0 to version 0.11.1"]). You can find other releases [here](https://github.com/thisismydesign/autowow/releases).*
|
7
7
|
<!--- Version informartion end -->
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
9
|
| Branch | Status |
|
14
10
|
| ------ | ------ |
|
15
11
|
| Release | [![Build Status](https://travis-ci.org/thisismydesign/autowow.svg?branch=release)](https://travis-ci.org/thisismydesign/autowow) [![Coverage Status](https://coveralls.io/repos/github/thisismydesign/autowow/badge.svg?branch=release)](https://coveralls.io/github/thisismydesign/autowow?branch=release) [![Gem Version](https://badge.fury.io/rb/autowow.svg)](https://badge.fury.io/rb/autowow) [![Total Downloads](http://ruby-gem-downloads-badge.herokuapp.com/autowow?type=total)](https://rubygems.org/gems/autowow) |
|
data/lib/autowow/features/gem.rb
CHANGED
@@ -19,7 +19,8 @@ module Autowow
|
|
19
19
|
version = nil
|
20
20
|
|
21
21
|
if version_bump
|
22
|
-
version = pretty_with_output.run(bump(version_bump)).out.clean_lines
|
22
|
+
version = pretty_with_output.run(bump(version_bump)).out.clean_lines
|
23
|
+
.select { |line| line.match(/Bumping/) }.split(" ").last
|
23
24
|
bump_readme_version_information(version)
|
24
25
|
pretty.run(add(["README.md", "*version.rb"]))
|
25
26
|
pretty.run(commit("Bumps version to v#{version}"))
|
@@ -81,7 +82,7 @@ module Autowow
|
|
81
82
|
version_information.gsub(/[0-9]\.[0-9]\.[0-9]/, version)
|
82
83
|
end
|
83
84
|
|
84
|
-
text.gsub!(version_information, new_version_information)
|
85
|
+
text.gsub!(version_information, new_version_information.chomp)
|
85
86
|
File.write(readme, text)
|
86
87
|
end
|
87
88
|
|
@@ -101,7 +102,7 @@ module Autowow
|
|
101
102
|
<!--- Version informartion end -->
|
102
103
|
HEREDOC
|
103
104
|
|
104
|
-
text.gsub!(version_information, new_version_information)
|
105
|
+
text.gsub!(version_information, new_version_information.chomp)
|
105
106
|
File.write(readme, text)
|
106
107
|
true
|
107
108
|
end
|
data/lib/autowow/version.rb
CHANGED