gem-release 0.0.20 → 0.0.21

Sign up to get free protection for your applications and to get access to all the features.
@@ -43,6 +43,11 @@ module GemRelease
43
43
  end
44
44
 
45
45
  def gem_version
46
+ # After a version file has been changed, the new version will strangely not be obtained by reloading the spec with
47
+ # Gem::Specification.load(). Therefore, let's obtain the version from the version file directly, and only use
48
+ # gemspec.version if this fails.
49
+ VersionFile.new.old_number
50
+ rescue
46
51
  gemspec.version.to_s
47
52
  end
48
53
 
@@ -1,5 +1,5 @@
1
1
  module GemRelease
2
- VERSION = '0.0.20'
2
+ VERSION = '0.0.21'
3
3
 
4
4
  class Version < Template
5
5
  attr_reader :version
metadata CHANGED
@@ -1,45 +1,64 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: gem-release
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.20
3
+ version: !ruby/object:Gem::Version
4
+ hash: 53
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 21
10
+ version: 0.0.21
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Sven Fuchs
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2011-09-10 00:00:00.000000000Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2011-09-23 00:00:00 -04:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
15
22
  name: test_declarative
16
- requirement: &70249055850780 !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
17
25
  none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 27
30
+ segments:
31
+ - 0
32
+ - 0
33
+ - 2
21
34
  version: 0.0.2
22
35
  type: :development
23
- prerelease: false
24
- version_requirements: *70249055850780
25
- - !ruby/object:Gem::Dependency
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
26
38
  name: mocha
27
- requirement: &70249055850000 !ruby/object:Gem::Requirement
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
28
41
  none: false
29
- requirements:
30
- - - ! '>='
31
- - !ruby/object:Gem::Version
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ hash: 43
46
+ segments:
47
+ - 0
48
+ - 9
49
+ - 8
32
50
  version: 0.9.8
33
51
  type: :development
34
- prerelease: false
35
- version_requirements: *70249055850000
36
- description: Release your ruby gems with ease. (What a bold statement for such a tiny
37
- plugin ...)
52
+ version_requirements: *id002
53
+ description: Release your ruby gems with ease. (What a bold statement for such a tiny plugin ...)
38
54
  email: svenfuchs@artweb-design.de
39
55
  executables: []
56
+
40
57
  extensions: []
58
+
41
59
  extra_rdoc_files: []
42
- files:
60
+
61
+ files:
43
62
  - lib/core_ext/kernel/silence.rb
44
63
  - lib/core_ext/string/camelize.rb
45
64
  - lib/gem_release.rb
@@ -63,28 +82,41 @@ files:
63
82
  - lib/rubygems/commands/release_command.rb
64
83
  - lib/rubygems/commands/tag_command.rb
65
84
  - lib/rubygems_plugin.rb
85
+ has_rdoc: true
66
86
  homepage: http://github.com/svenfuchs/gem-release
67
87
  licenses: []
88
+
68
89
  post_install_message:
69
90
  rdoc_options: []
70
- require_paths:
91
+
92
+ require_paths:
71
93
  - lib
72
- required_ruby_version: !ruby/object:Gem::Requirement
94
+ required_ruby_version: !ruby/object:Gem::Requirement
73
95
  none: false
74
- requirements:
75
- - - ! '>='
76
- - !ruby/object:Gem::Version
77
- version: '0'
78
- required_rubygems_version: !ruby/object:Gem::Requirement
96
+ requirements:
97
+ - - ">="
98
+ - !ruby/object:Gem::Version
99
+ hash: 3
100
+ segments:
101
+ - 0
102
+ version: "0"
103
+ required_rubygems_version: !ruby/object:Gem::Requirement
79
104
  none: false
80
- requirements:
81
- - - ! '>='
82
- - !ruby/object:Gem::Version
105
+ requirements:
106
+ - - ">="
107
+ - !ruby/object:Gem::Version
108
+ hash: 23
109
+ segments:
110
+ - 1
111
+ - 3
112
+ - 6
83
113
  version: 1.3.6
84
114
  requirements: []
85
- rubyforge_project: ! '[none]'
86
- rubygems_version: 1.8.6
115
+
116
+ rubyforge_project: "[none]"
117
+ rubygems_version: 1.4.2
87
118
  signing_key:
88
119
  specification_version: 3
89
120
  summary: Release your ruby gems with ease
90
121
  test_files: []
122
+