gem-release 0.2.0 → 0.2.1
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/lib/gem_release/version.rb
CHANGED
@@ -20,7 +20,7 @@ class Gem::Commands::BumpCommand < Gem::Command
|
|
20
20
|
|
21
21
|
option :version, '-v', 'Target version: next [major|minor|patch] or a given version number [x.x.x]'
|
22
22
|
option :commit, '-c', 'Perform a commit after incrementing gem version'
|
23
|
-
option :push, '-p', 'Push to origin'
|
23
|
+
option :push, '-p', 'Push to the origin git repository'
|
24
24
|
option :quiet, '-q', 'Do not output status messages'
|
25
25
|
end
|
26
26
|
|
@@ -62,7 +62,7 @@ class Gem::Commands::BumpCommand < Gem::Command
|
|
62
62
|
end
|
63
63
|
|
64
64
|
def push
|
65
|
-
say "Pushing to origin" unless quiet?
|
66
|
-
`git push`
|
65
|
+
say "Pushing to the origin git repository" unless quiet?
|
66
|
+
`git push origin`
|
67
67
|
end
|
68
68
|
end
|
@@ -27,7 +27,10 @@ class Gem::Commands::TagCommand < Gem::Command
|
|
27
27
|
end
|
28
28
|
|
29
29
|
def push
|
30
|
-
say "Pushing
|
30
|
+
say "Pushing to the origin git repository" unless quiet?
|
31
|
+
`git push origin`
|
32
|
+
|
33
|
+
say "Pushing --tags to the origin git repository" unless quiet?
|
31
34
|
`git push --tags origin`
|
32
35
|
end
|
33
36
|
|
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.2.
|
4
|
+
version: 0.2.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-03-12 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: test_declarative
|
16
|
-
requirement: &
|
16
|
+
requirement: &70361597478200 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.0.2
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70361597478200
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: mocha
|
27
|
-
requirement: &
|
27
|
+
requirement: &70361597477220 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: 0.9.8
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70361597477220
|
36
36
|
description: Release your ruby gems with ease. (What a bold statement for such a tiny
|
37
37
|
plugin ...)
|
38
38
|
email: svenfuchs@artweb-design.de
|