step-up 0.9.8 → 0.9.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile +1 -4
- data/README.md +9 -3
- data/lib/step-up/cli.rb +2 -2
- metadata +54 -23
- checksums.yaml +0 -7
- data/GEM_VERSION +0 -1
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
# StepUp: a project to step up your projects
|
2
|
-
[](http://badge.fury.io/gh/kawamanza%2Fstep-up)
|
3
2
|
[](https://gitter.im/kawamanza/step-up?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
4
3
|
|
4
|
+
Project badges:
|
5
|
+
[](http://badge.fury.io/rb/step-up)
|
6
|
+
[](http://badge.fury.io/gh/kawamanza%2Fstep-up)
|
7
|
+
|
8
|
+
Code badges:
|
9
|
+
[](https://gemnasium.com/kawamanza/step-up)
|
10
|
+
|
5
11
|
StepUp is a tool to manage versioning.
|
6
12
|
That means you can bump the version of your project, for example, from v3.0.11 to v4.0.0, check the current version, summarize all the history of versions in a changelog and more.
|
7
13
|
|
@@ -31,7 +37,7 @@ The format of the version is totally customizable, and we will cover in more det
|
|
31
37
|
|
32
38
|
### Stepping up a version
|
33
39
|
|
34
|
-
stepup version create [--level LEVEL_NAME]
|
40
|
+
stepup version create [--level LEVEL_NAME]
|
35
41
|
|
36
42
|
where **LEVEL_NAME**, by default, could be
|
37
43
|
|
@@ -89,7 +95,7 @@ Found notes are displayed as a changelog message.
|
|
89
95
|
With a culture of notating all the relevant developments, its possible to retrieve a summary of a range of versions besides that specifying what kind of information will be retrieved.
|
90
96
|
For example, imagine that you want to see all the features implemented in your application since the version v1.10.1 up to v2.0.0
|
91
97
|
|
92
|
-
stepup notes --since v1.10.1 upto v2.0.0 --sections pre_deploy pos_deploy
|
98
|
+
stepup notes --since v1.10.1 --upto v2.0.0 --sections pre_deploy pos_deploy
|
93
99
|
|
94
100
|
The result would be something like the following:
|
95
101
|
|
data/lib/step-up/cli.rb
CHANGED
@@ -12,7 +12,7 @@ module StepUp
|
|
12
12
|
desc "version ACTION [base_object] [OPTIONS]", "manage versions of your project"
|
13
13
|
method_options %w[next-release -n] => :boolean # stepup version --next-release
|
14
14
|
method_options %w(levels -L) => :boolean # $ stepup version [--levels|-L]
|
15
|
-
method_options %w(level -l) => :string, %w(steps -s) => :boolean, %w(message -m) => :string, :
|
15
|
+
method_options %w(level -l) => :string, %w(steps -s) => :boolean, %w(message -m) => :string, :editor => :boolean # $ stepup version create [--level|-l <level-name>] [--steps|-s] [--message|-m <comment-string>]
|
16
16
|
method_options %w(mask -M) => :string # stepup version show --mask development_hudson_build_0
|
17
17
|
method_options %w(masks) => :string # stepup version show --masks
|
18
18
|
method_options %w(format -f) => :string
|
@@ -318,7 +318,7 @@ module StepUp
|
|
318
318
|
level = driver.next_release_level(commit_object) if level == "auto"
|
319
319
|
|
320
320
|
if version_levels.include? level
|
321
|
-
|
321
|
+
if options[:editor]
|
322
322
|
message << <<-TEXT
|
323
323
|
|
324
324
|
|
metadata
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: step-up
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.9
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Marcelo Manzan
|
@@ -9,50 +10,72 @@ authors:
|
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date: 2015-
|
13
|
+
date: 2015-11-24 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: thor
|
16
17
|
requirement: !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
17
19
|
requirements:
|
18
|
-
- - '>='
|
20
|
+
- - ! '>='
|
19
21
|
- !ruby/object:Gem::Version
|
20
22
|
version: 0.14.6
|
21
23
|
type: :runtime
|
22
24
|
prerelease: false
|
23
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
24
27
|
requirements:
|
25
|
-
- - '>='
|
28
|
+
- - ! '>='
|
26
29
|
- !ruby/object:Gem::Version
|
27
30
|
version: 0.14.6
|
28
31
|
- !ruby/object:Gem::Dependency
|
29
32
|
name: rspec
|
30
33
|
requirement: !ruby/object:Gem::Requirement
|
34
|
+
none: false
|
31
35
|
requirements:
|
32
|
-
- -
|
36
|
+
- - ~>
|
33
37
|
- !ruby/object:Gem::Version
|
34
|
-
version:
|
38
|
+
version: 2.11.0
|
35
39
|
type: :development
|
36
40
|
prerelease: false
|
37
41
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
38
43
|
requirements:
|
39
|
-
- -
|
44
|
+
- - ~>
|
40
45
|
- !ruby/object:Gem::Version
|
41
|
-
version:
|
46
|
+
version: 2.11.0
|
42
47
|
- !ruby/object:Gem::Dependency
|
43
48
|
name: mocha
|
44
49
|
requirement: !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
45
51
|
requirements:
|
46
|
-
- -
|
52
|
+
- - ~>
|
47
53
|
- !ruby/object:Gem::Version
|
48
|
-
version:
|
54
|
+
version: 0.12.0
|
49
55
|
type: :development
|
50
56
|
prerelease: false
|
51
57
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
52
59
|
requirements:
|
53
|
-
- -
|
60
|
+
- - ~>
|
54
61
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
62
|
+
version: 0.12.0
|
63
|
+
- !ruby/object:Gem::Dependency
|
64
|
+
name: rake
|
65
|
+
requirement: !ruby/object:Gem::Requirement
|
66
|
+
none: false
|
67
|
+
requirements:
|
68
|
+
- - ~>
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 10.4.2
|
71
|
+
type: :development
|
72
|
+
prerelease: false
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
75
|
+
requirements:
|
76
|
+
- - ~>
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: 10.4.2
|
56
79
|
description: StepUp manages a project's versioning through its entire lifecycle
|
57
80
|
email:
|
58
81
|
- manzan@gmail.com
|
@@ -80,37 +103,45 @@ files:
|
|
80
103
|
- lib/step-up/parser/version_mask.rb
|
81
104
|
- lib/step-up/ranged_notes.rb
|
82
105
|
- lib/step-up/version.rb
|
106
|
+
- templates/default/Capfile
|
107
|
+
- templates/default/Gemfile
|
108
|
+
- templates/default/Rakefile
|
109
|
+
- templates/default/lib/version.rb
|
83
110
|
- spec/lib/config_spec.rb
|
84
111
|
- spec/lib/step-up/driver/git_spec.rb
|
85
112
|
- spec/lib/step-up/parser/version_mask_spec.rb
|
86
113
|
- spec/lib/step-up/ranged_notes_spec.rb
|
87
114
|
- spec/spec_helper.rb
|
88
|
-
- templates/default/Capfile
|
89
|
-
- templates/default/Gemfile
|
90
|
-
- templates/default/Rakefile
|
91
|
-
- templates/default/lib/version.rb
|
92
|
-
- GEM_VERSION
|
93
115
|
homepage: https://github.com/kawamanza/step-up
|
94
116
|
licenses: []
|
95
|
-
metadata: {}
|
96
117
|
post_install_message:
|
97
118
|
rdoc_options: []
|
98
119
|
require_paths:
|
99
120
|
- lib
|
100
121
|
required_ruby_version: !ruby/object:Gem::Requirement
|
122
|
+
none: false
|
101
123
|
requirements:
|
102
|
-
- - '>='
|
124
|
+
- - ! '>='
|
103
125
|
- !ruby/object:Gem::Version
|
104
126
|
version: '0'
|
127
|
+
segments:
|
128
|
+
- 0
|
129
|
+
hash: -3590876933529297334
|
105
130
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
131
|
+
none: false
|
106
132
|
requirements:
|
107
|
-
- - '>='
|
133
|
+
- - ! '>='
|
108
134
|
- !ruby/object:Gem::Version
|
109
135
|
version: 1.3.6
|
110
136
|
requirements: []
|
111
137
|
rubyforge_project: step-up
|
112
|
-
rubygems_version:
|
138
|
+
rubygems_version: 1.8.24
|
113
139
|
signing_key:
|
114
|
-
specification_version:
|
140
|
+
specification_version: 3
|
115
141
|
summary: The best way to manage your project's versioning
|
116
|
-
test_files:
|
142
|
+
test_files:
|
143
|
+
- spec/lib/config_spec.rb
|
144
|
+
- spec/lib/step-up/driver/git_spec.rb
|
145
|
+
- spec/lib/step-up/parser/version_mask_spec.rb
|
146
|
+
- spec/lib/step-up/ranged_notes_spec.rb
|
147
|
+
- spec/spec_helper.rb
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 16ef11dc1b6db9dd22f854441cdeac7ff31d75ac
|
4
|
-
data.tar.gz: 7a3d028e3a805578178a5f429c69cc2659524997
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 86f128b2e2aa920b8d11324d1220aebac06f37518c32ac42b7a1cd83cb4c802ce5f5018e038d24ac082c05c1e4cb2bd5f06937f273ecca83fa55862dab516da2
|
7
|
-
data.tar.gz: 086541cb3169cf61675b706b7a65244117e5eb6a2d1d6178053d0c4c7768b1a88179180fd9561aa397b79e6283c3500a9becde2c7ac3829370865599035c0698
|
data/GEM_VERSION
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
v0.9.8
|