step-up 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- data/GEM_VERSION +1 -1
- data/lib/step-up/cli.rb +9 -1
- metadata +59 -74
data/GEM_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
v0.9.
|
1
|
+
v0.9.2
|
data/lib/step-up/cli.rb
CHANGED
@@ -44,7 +44,7 @@ module StepUp
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
desc "changelog --top=<num> --format={default|wiki|html|confluence}", "show changelog from each version tag"
|
47
|
+
desc "changelog --top=<num> --format={default|wiki|html|rpmspec|confluence}", "show changelog from each version tag"
|
48
48
|
method_options %w[top -n] => :numeric
|
49
49
|
method_options %w[format -f] => :string
|
50
50
|
method_options %w(mask -M) => :string # stepup changelog --mask development_hudson_build_0
|
@@ -111,6 +111,14 @@ module StepUp
|
|
111
111
|
log.join("\n")
|
112
112
|
end
|
113
113
|
|
114
|
+
def changelog_format_rpmspec(tag, tag_info)
|
115
|
+
created_at = tag_info[:date].strftime("%a %b %d %Y")
|
116
|
+
log = []
|
117
|
+
log << "* #{created_at} by #{tag_info[:tagger]} - #{tag}\n"
|
118
|
+
log << tag_info[:message].gsub(/^/, ' ')
|
119
|
+
log.join("\n")
|
120
|
+
end
|
121
|
+
|
114
122
|
def changelog_format_confluence(tag, tag_info)
|
115
123
|
created_at = tag_info[:date].strftime("%b/%d %Y %H:%M")
|
116
124
|
log = []
|
metadata
CHANGED
@@ -1,78 +1,74 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: step-up
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.9.2
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 9
|
9
|
-
- 1
|
10
|
-
version: 0.9.1
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Marcelo Manzan
|
14
9
|
- Eric Fer
|
15
10
|
autorequire:
|
16
11
|
bindir: bin
|
17
12
|
cert_chain: []
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
- !ruby/object:Gem::Dependency
|
13
|
+
date: 2013-09-13 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
22
16
|
name: thor
|
23
|
-
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
25
18
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 43
|
30
|
-
segments:
|
31
|
-
- 0
|
32
|
-
- 14
|
33
|
-
- 6
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
34
22
|
version: 0.14.6
|
35
23
|
type: :runtime
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: rspec
|
39
24
|
prerelease: false
|
40
|
-
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ! '>='
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: 0.14.6
|
31
|
+
- !ruby/object:Gem::Dependency
|
32
|
+
name: rspec
|
33
|
+
requirement: !ruby/object:Gem::Requirement
|
41
34
|
none: false
|
42
|
-
requirements:
|
43
|
-
- -
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
|
46
|
-
segments:
|
47
|
-
- 0
|
48
|
-
version: "0"
|
35
|
+
requirements:
|
36
|
+
- - ! '>='
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: '0'
|
49
39
|
type: :development
|
50
|
-
version_requirements: *id002
|
51
|
-
- !ruby/object:Gem::Dependency
|
52
|
-
name: mocha
|
53
40
|
prerelease: false
|
54
|
-
|
41
|
+
version_requirements: !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ! '>='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: mocha
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
55
50
|
none: false
|
56
|
-
requirements:
|
57
|
-
- -
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
|
60
|
-
segments:
|
61
|
-
- 0
|
62
|
-
version: "0"
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
63
55
|
type: :development
|
64
|
-
|
56
|
+
prerelease: false
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
59
|
+
requirements:
|
60
|
+
- - ! '>='
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
65
63
|
description: StepUp manages a project's versioning through its entire lifecycle
|
66
|
-
email:
|
64
|
+
email:
|
67
65
|
- manzan@gmail.com
|
68
66
|
- eric.fer@gmail.com
|
69
|
-
executables:
|
67
|
+
executables:
|
70
68
|
- stepup
|
71
69
|
extensions: []
|
72
|
-
|
73
70
|
extra_rdoc_files: []
|
74
|
-
|
75
|
-
files:
|
71
|
+
files:
|
76
72
|
- .stepuprc
|
77
73
|
- README.md
|
78
74
|
- Rakefile
|
@@ -102,40 +98,29 @@ files:
|
|
102
98
|
- spec/spec_helper.rb
|
103
99
|
homepage: https://github.com/kawamanza/step-up
|
104
100
|
licenses: []
|
105
|
-
|
106
101
|
post_install_message:
|
107
102
|
rdoc_options: []
|
108
|
-
|
109
|
-
require_paths:
|
103
|
+
require_paths:
|
110
104
|
- lib
|
111
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
105
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
112
106
|
none: false
|
113
|
-
requirements:
|
114
|
-
- -
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
|
117
|
-
|
118
|
-
- 0
|
119
|
-
version: "0"
|
120
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ! '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
121
112
|
none: false
|
122
|
-
requirements:
|
123
|
-
- -
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
hash: 23
|
126
|
-
segments:
|
127
|
-
- 1
|
128
|
-
- 3
|
129
|
-
- 6
|
113
|
+
requirements:
|
114
|
+
- - ! '>='
|
115
|
+
- !ruby/object:Gem::Version
|
130
116
|
version: 1.3.6
|
131
117
|
requirements: []
|
132
|
-
|
133
118
|
rubyforge_project: step-up
|
134
|
-
rubygems_version: 1.8.
|
119
|
+
rubygems_version: 1.8.23
|
135
120
|
signing_key:
|
136
121
|
specification_version: 3
|
137
122
|
summary: The best way to manage your project's versioning
|
138
|
-
test_files:
|
123
|
+
test_files:
|
139
124
|
- spec/lib/config_spec.rb
|
140
125
|
- spec/lib/step-up/driver/git_spec.rb
|
141
126
|
- spec/lib/step-up/parser/version_mask_spec.rb
|