autowow 0.10.1 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -2
- data/lib/autowow/cli.rb +2 -2
- 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: 3185ee4ad805a0868a8fa56238c864a658e557e1
|
4
|
+
data.tar.gz: 6bea69a1c1e093ccdecff49c100340657f432540
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a14af6a4706cedccce9a8b767fe19d373508f2e157ad3276b9ea6dfc4fa5eac9dceede73e9e6e70d5ebc94f7a5d868728d22a27aaff9a6c2de35588edf677bfb
|
7
|
+
data.tar.gz: f4e60b50cb818ef9fe33498153cc6e7319219118ee8adba57d87c2d11ee15c8a682ea9ce75a29540203ee8646a4ff9df5b12344d51b875e2d23b336ef5302ae5
|
data/README.md
CHANGED
@@ -3,11 +3,13 @@
|
|
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 [vfriend.](https://github.com/thisismydesign/autowow/releases/tag/vfriend.). You can find other releases [here](https://github.com/thisismydesign/autowow/releases).*
|
7
7
|
<!--- Version informartion end -->
|
8
8
|
|
9
9
|
|
10
10
|
|
11
|
+
|
12
|
+
|
11
13
|
| Branch | Status |
|
12
14
|
| ------ | ------ |
|
13
15
|
| 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) |
|
@@ -108,7 +110,7 @@ Day starter routine for a new start
|
|
108
110
|
`aw grls` / `autowow gem_release`
|
109
111
|
|
110
112
|
* Pulls chnages on `master`
|
111
|
-
* If version parameter is provided
|
113
|
+
* If [version parameter](https://github.com/svenfuchs/gem-release#options-1) is provided
|
112
114
|
* Bumps version in version.rb
|
113
115
|
* Bumps version information in README if present
|
114
116
|
* Commits and pushed changes to `master`
|
data/lib/autowow/cli.rb
CHANGED
@@ -30,8 +30,8 @@ module Autowow
|
|
30
30
|
end
|
31
31
|
|
32
32
|
desc "gem_release", "release gem and return to master"
|
33
|
-
def gem_release(
|
34
|
-
Autowow::Features::Gem.gem_release(
|
33
|
+
def gem_release(version_bump = nil)
|
34
|
+
Autowow::Features::Gem.gem_release(version_bump)
|
35
35
|
end
|
36
36
|
|
37
37
|
desc "update_projects", "updates idle projects"
|
data/lib/autowow/features/gem.rb
CHANGED
@@ -11,14 +11,15 @@ module Autowow
|
|
11
11
|
include Commands::Vcs
|
12
12
|
include Executor
|
13
13
|
|
14
|
-
def gem_release(
|
14
|
+
def gem_release(version_bump = nil)
|
15
15
|
pretty_with_output.run(git_status)
|
16
16
|
start_branch = Vcs.working_branch
|
17
17
|
logger.error("Not on master.") and return unless start_branch.eql?("master")
|
18
18
|
pretty.run(pull)
|
19
|
+
version = nil
|
19
20
|
|
20
|
-
if
|
21
|
-
pretty_with_output.run(bump(
|
21
|
+
if version_bump
|
22
|
+
version = pretty_with_output.run(bump(version_bump)).out.clean_lines[1].split(" ").last
|
22
23
|
bump_readme_version_information(version)
|
23
24
|
pretty.run(add(["README.md", "*version.rb"]))
|
24
25
|
pretty.run(commit("Bumps version to v#{version}"))
|
data/lib/autowow/version.rb
CHANGED