gem-release 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gem_release/helpers.rb +6 -0
- data/lib/gem_release/version.rb +1 -1
- data/lib/rubygems/commands/bootstrap_command.rb +3 -1
- data/lib/rubygems/commands/bump_command.rb +5 -1
- data/lib/rubygems/commands/gemspec_command.rb +2 -0
- data/lib/rubygems/commands/release_command.rb +2 -2
- data/lib/rubygems/commands/tag_command.rb +2 -0
- metadata +2 -2
data/lib/gem_release/helpers.rb
CHANGED
data/lib/gem_release/version.rb
CHANGED
@@ -35,10 +35,12 @@ class Gem::Commands::BootstrapCommand < Gem::Command
|
|
35
35
|
init_git if options[:github] || options[:args] # safe to 'git init' in new dir
|
36
36
|
create_repo if options[:github]
|
37
37
|
end
|
38
|
+
|
39
|
+
success
|
38
40
|
end
|
39
41
|
|
40
42
|
def write_gemspec
|
41
|
-
GemspecCommand.new(:quiet => quiet?, :strategy => options[:strategy]).execute
|
43
|
+
GemspecCommand.new(:quiet => quiet?, :strategy => options[:strategy], :quiet_success => true).execute
|
42
44
|
end
|
43
45
|
|
44
46
|
def write_scaffold
|
@@ -35,7 +35,7 @@ class Gem::Commands::BumpCommand < Gem::Command
|
|
35
35
|
def execute
|
36
36
|
@new_version_number = nil
|
37
37
|
|
38
|
-
tasks = [:commit, :
|
38
|
+
tasks = [:commit, :release, :push, :tag]
|
39
39
|
|
40
40
|
# enforce option dependencies
|
41
41
|
options[:push] = true if options[:tag]
|
@@ -51,6 +51,8 @@ class Gem::Commands::BumpCommand < Gem::Command
|
|
51
51
|
tasks.each do |task|
|
52
52
|
run_cmd(task) if options[task]
|
53
53
|
end
|
54
|
+
|
55
|
+
success
|
54
56
|
end
|
55
57
|
end
|
56
58
|
|
@@ -85,6 +87,7 @@ class Gem::Commands::BumpCommand < Gem::Command
|
|
85
87
|
cmd.options[option] = options[option]
|
86
88
|
end
|
87
89
|
cmd.options[:quiet] = options[:quiet]
|
90
|
+
cmd.options[:quiet_success] = true
|
88
91
|
cmd.execute
|
89
92
|
true
|
90
93
|
end
|
@@ -92,6 +95,7 @@ class Gem::Commands::BumpCommand < Gem::Command
|
|
92
95
|
def tag
|
93
96
|
cmd = TagCommand.new
|
94
97
|
cmd.options[:quiet] = options[:quiet]
|
98
|
+
cmd.options[:quiet_success] = true
|
95
99
|
cmd.execute
|
96
100
|
true
|
97
101
|
end
|
@@ -37,7 +37,7 @@ class Gem::Commands::ReleaseCommand < Gem::Command
|
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
40
|
-
|
40
|
+
success
|
41
41
|
end
|
42
42
|
|
43
43
|
protected
|
@@ -64,7 +64,7 @@ class Gem::Commands::ReleaseCommand < Gem::Command
|
|
64
64
|
end
|
65
65
|
|
66
66
|
def tag
|
67
|
-
TagCommand.new(:quiet => quiet
|
67
|
+
TagCommand.new(:quiet => quiet?, :quiet_success => true).invoke
|
68
68
|
true
|
69
69
|
end
|
70
70
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gem-release
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-03-
|
12
|
+
date: 2013-03-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: test_declarative
|