visionmedia-release 0.2.3 → 0.3.0
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/History.rdoc +6 -0
- data/README.rdoc +3 -0
- data/Rakefile +1 -1
- data/bin/re +4 -4
- data/release.gemspec +5 -5
- metadata +3 -3
data/History.rdoc
CHANGED
@@ -1,4 +1,10 @@
|
|
1
1
|
|
2
|
+
=== 0.3.0 / 2009-03-14
|
3
|
+
|
4
|
+
* Added :bump as the default command
|
5
|
+
* Updated visionmedia-commander >=3.1.1
|
6
|
+
* Removed commits switch since its not used anymore
|
7
|
+
|
2
8
|
=== 0.2.3 / 2009-03-10
|
3
9
|
|
4
10
|
* Added better git logging support. Now stores .re/last_version and compares log changes
|
data/README.rdoc
CHANGED
@@ -42,6 +42,9 @@ Bump major with custom commit message (VERSION is replaced with release version)
|
|
42
42
|
Run rake tasks before releasing (defaults to manifest,gemspec)
|
43
43
|
$ re bump minor -r manifest,gemspec,email
|
44
44
|
|
45
|
+
Bump is also the default sub-command, so instead of the previous command you may simply
|
46
|
+
$ re minor -r manifest,gemspec,email
|
47
|
+
|
45
48
|
Specific version file
|
46
49
|
$ re bump --file bin/re
|
47
50
|
|
data/Rakefile
CHANGED
@@ -10,7 +10,7 @@ Echoe.new("release", program(:version)) do |p|
|
|
10
10
|
p.summary = "Github release management system"
|
11
11
|
p.url = "http://github.com/visionmedia/release"
|
12
12
|
p.runtime_dependencies = []
|
13
|
-
p.runtime_dependencies << "visionmedia-commander >=
|
13
|
+
p.runtime_dependencies << "visionmedia-commander >=3.1.1"
|
14
14
|
end
|
15
15
|
|
16
16
|
Dir['tasks/**/*.rake'].sort.each { |f| load f }
|
data/bin/re
CHANGED
@@ -5,9 +5,11 @@ require 'commander'
|
|
5
5
|
require 'yaml'
|
6
6
|
|
7
7
|
program :name, 'release'
|
8
|
-
program :version, '0.
|
8
|
+
program :version, '0.3.0'
|
9
9
|
program :description, 'Github release management'
|
10
10
|
|
11
|
+
default_command :bump
|
12
|
+
|
11
13
|
CONFIG_FILE = File.expand_path('~/.re-config')
|
12
14
|
|
13
15
|
trap 'INT' do
|
@@ -59,7 +61,6 @@ def bump_options c
|
|
59
61
|
c.option '-r', '--rake TASKS', Array, 'Defaults to manifest,gemspec to build manifest / gemspec before releasing'
|
60
62
|
c.option '-R', '--no-rake', 'Disable all rake tasks'
|
61
63
|
c.option '-H', '--history', 'Edit history in EDITOR before releasing'
|
62
|
-
c.option '-n', '--commits NUMBER', Integer, 'Number of commits to display when using --history'
|
63
64
|
c.option '-d', '--dry-run', 'Performs a dry run, without releasing'
|
64
65
|
c.option '-t', '--trace', 'Output callstack when an exception is raised'
|
65
66
|
c.option '-F', '--format FORMAT', 'Valid git log --pretty format. Defaults to \'%s\''
|
@@ -119,7 +120,7 @@ end
|
|
119
120
|
|
120
121
|
command :bump do |c|
|
121
122
|
bump_options c
|
122
|
-
c.syntax = 're bump [level] [options]'
|
123
|
+
c.syntax = 're [bump] [level] [options]'
|
123
124
|
c.summary = 'Bump the version <level>, defaults to patch'
|
124
125
|
c.description = 'Bump the version by major, minor, or patch (tiny) levels, defaults to patch.'
|
125
126
|
c.example 'Bump patch level, running several rake tasks first', 're bump --rake manifest,gemspec'
|
@@ -133,7 +134,6 @@ command :bump do |c|
|
|
133
134
|
o.rake = o.rake || %w( manifest gemspec )
|
134
135
|
o.file = o.file || locate_version_file
|
135
136
|
o.format = o.format || "format:'* %s'"
|
136
|
-
o.commits = o.commits || 20
|
137
137
|
|
138
138
|
merge_options o, load_config(o.config) if o.config
|
139
139
|
|
data/release.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{release}
|
5
|
-
s.version = "0.
|
5
|
+
s.version = "0.3.0"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["TJ Holowaychuk"]
|
9
|
-
s.date = %q{2009-03-
|
9
|
+
s.date = %q{2009-03-14}
|
10
10
|
s.default_executable = %q{re}
|
11
11
|
s.description = %q{Github release management system}
|
12
12
|
s.email = %q{tj@vision-media.ca}
|
@@ -26,11 +26,11 @@ Gem::Specification.new do |s|
|
|
26
26
|
s.specification_version = 2
|
27
27
|
|
28
28
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
29
|
-
s.add_runtime_dependency(%q<visionmedia-commander>, [">=
|
29
|
+
s.add_runtime_dependency(%q<visionmedia-commander>, [">= 3.1.1"])
|
30
30
|
else
|
31
|
-
s.add_dependency(%q<visionmedia-commander>, [">=
|
31
|
+
s.add_dependency(%q<visionmedia-commander>, [">= 3.1.1"])
|
32
32
|
end
|
33
33
|
else
|
34
|
-
s.add_dependency(%q<visionmedia-commander>, [">=
|
34
|
+
s.add_dependency(%q<visionmedia-commander>, [">= 3.1.1"])
|
35
35
|
end
|
36
36
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: visionmedia-release
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TJ Holowaychuk
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-03-
|
12
|
+
date: 2009-03-14 00:00:00 -07:00
|
13
13
|
default_executable: re
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version:
|
23
|
+
version: 3.1.1
|
24
24
|
version:
|
25
25
|
description: Github release management system
|
26
26
|
email: tj@vision-media.ca
|