gem-release 0.0.21 → 0.0.22

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module GemRelease
2
- VERSION = '0.0.21'
2
+ VERSION = '0.0.22'
3
3
 
4
4
  class Version < Template
5
5
  attr_reader :version
@@ -1,6 +1,5 @@
1
1
  require 'gem_release'
2
2
  require 'rubygems/commands/tag_command'
3
- require 'rubygems/commands/release_command'
4
3
 
5
4
  class Gem::Commands::BumpCommand < Gem::Command
6
5
  include GemRelease, Gem::Commands
@@ -12,7 +11,6 @@ class Gem::Commands::BumpCommand < Gem::Command
12
11
  :version => 'patch',
13
12
  :push => false,
14
13
  :tag => false,
15
- :release => false,
16
14
  :commit => true,
17
15
  :quiet => false
18
16
  }
@@ -24,7 +22,6 @@ class Gem::Commands::BumpCommand < Gem::Command
24
22
  option :commit, '-c', 'Perform a commit after incrementing gem version'
25
23
  option :push, '-p', 'Push to origin'
26
24
  option :tag, '-t', 'Create a git tag and push --tags to origin'
27
- option :release, '-r', 'Build gem from a gemspec and push to rubygems.org'
28
25
  option :quiet, '-q', 'Do not output status messages'
29
26
  end
30
27
 
@@ -33,7 +30,7 @@ class Gem::Commands::BumpCommand < Gem::Command
33
30
 
34
31
  # enforce option dependencies
35
32
  options[:push] = options[:push] || options[:tag]
36
- options[:commit] = options[:commit] || options[:push] || options[:release]
33
+ options[:commit] = options[:commit] || options[:push]
37
34
 
38
35
  in_gemspec_dirs do
39
36
  bump
@@ -44,7 +41,6 @@ class Gem::Commands::BumpCommand < Gem::Command
44
41
  else
45
42
  commit if options[:commit]
46
43
  push if options[:push]
47
- release if options[:release]
48
44
  tag if options[:tag]
49
45
  end
50
46
  end
@@ -73,10 +69,6 @@ class Gem::Commands::BumpCommand < Gem::Command
73
69
  `git push`
74
70
  end
75
71
 
76
- def release
77
- ReleaseCommand.new.invoke
78
- end
79
-
80
72
  def tag
81
73
  TagCommand.new.invoke
82
74
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem-release
3
3
  version: !ruby/object:Gem::Version
4
- hash: 53
4
+ hash: 51
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 21
10
- version: 0.0.21
9
+ - 22
10
+ version: 0.0.22
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sven Fuchs