gem_publisher 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gem_publisher/publisher.rb +0 -8
- data/lib/gem_publisher/version.rb +1 -1
- metadata +4 -4
@@ -25,7 +25,6 @@ module GemPublisher
|
|
25
25
|
}
|
26
26
|
end
|
27
27
|
|
28
|
-
private
|
29
28
|
def version_released?
|
30
29
|
releases = @git_remote.tags.
|
31
30
|
select { |t| t =~ /^v\d+(\.\d+)+/ }.
|
@@ -33,12 +32,5 @@ module GemPublisher
|
|
33
32
|
this_release = @version.split(/\./).map(&:to_i)
|
34
33
|
releases.include?(this_release)
|
35
34
|
end
|
36
|
-
|
37
|
-
def tag_remote
|
38
|
-
return
|
39
|
-
sha1 = `git rev-parse HEAD`
|
40
|
-
system "git update-ref refs/tags/v#@version #{sha1}"
|
41
|
-
system "git push origin tag v#@version"
|
42
|
-
end
|
43
35
|
end
|
44
36
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: gem_publisher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.
|
5
|
+
version: 1.3.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Paul Battley
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-07-29 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: mocha
|
@@ -73,7 +73,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
73
73
|
requirements:
|
74
74
|
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
hash:
|
76
|
+
hash: 298962477350743974
|
77
77
|
segments:
|
78
78
|
- 0
|
79
79
|
version: "0"
|
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
82
|
requirements:
|
83
83
|
- - ">="
|
84
84
|
- !ruby/object:Gem::Version
|
85
|
-
hash:
|
85
|
+
hash: 298962477350743974
|
86
86
|
segments:
|
87
87
|
- 0
|
88
88
|
version: "0"
|