jeweler 2.0.1 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ca52a3f8040bcaa253f31a699c192b1586f0f917
4
- data.tar.gz: d2b1ca9277153839f0eb058fa9bce517148baa68
3
+ metadata.gz: 2ccce1ea894852e4a3f73ef3131aabae0c4ed31d
4
+ data.tar.gz: 4beb47863b5dd6d11ce8ada31faed7fb9f9ebb13
5
5
  SHA512:
6
- metadata.gz: 89166646f490f81bea408c8f79a56d8f230f975b23c28ba333065958017803bc254829e3da5a5702302ea1ae92f4d236fb11838027c36ee542faaf4b1472f784
7
- data.tar.gz: 31e0b60d6a3625608b4095f297572e88ac2ec38d0f90287fe4d2a16f41f3e64a466f5f933ecac9fdad6a14778667b443dc830f466b2a8876b9d3779255c9e476
6
+ metadata.gz: 0d26594a92b21345df5986aaf9832f485b02eb0284376c147f6b7361c12444f6869aa28a90c0ac9dafdac78de1edd1eef33e2e6fe49039f73dc6245c08d81b22
7
+ data.tar.gz: e1ecb8c6cbb4e16595dacf107e600d3b38e111d27d488e8986275c07aa01041e8010fd1d7718e426219666ad0590e3d80c9293aeb3d34f6169a2178938c4fdea
data/.semver ADDED
@@ -0,0 +1,5 @@
1
+ ---
2
+ :major: 2
3
+ :minor: 1
4
+ :patch: 1
5
+ :special: ''
data/Gemfile CHANGED
@@ -1,6 +1,4 @@
1
1
  source "http://rubygems.org"
2
- source "http://gems.github.com"
3
-
4
2
 
5
3
  gem "rake"
6
4
  gem "git", ">= 1.2.5"
@@ -10,6 +8,7 @@ gem "highline", ">= 1.6.15"
10
8
  gem "bundler", ">= 1.0"
11
9
  gem "rdoc"
12
10
  gem "builder"
11
+ gem "semver"
13
12
 
14
13
  group :development do
15
14
  gem "yard", ">= 0.8.5"
@@ -37,6 +36,6 @@ group :xzibit do
37
36
  gem 'jeweler', :path => '.'
38
37
  end
39
38
 
40
-
41
39
  group :debug do
40
+ gem 'test-unit'
42
41
  end
@@ -1,3 +1,5 @@
1
+ *Jeweler maintenance has now shifted to Fred Mitchell*. I am now maintaining both Jeweler and its fork, juwelier. I will keep Jeweler at least functional with the latest Ruby releases, but put new features in Juwelier. Your input on this is more than welcome.
2
+
1
3
  # Jeweler: Craft the perfect RubyGem
2
4
 
3
5
  Jeweler provides the noble ruby developer with two primary features:
@@ -5,6 +7,11 @@ Jeweler provides the noble ruby developer with two primary features:
5
7
  * a library for managing and releasing RubyGem projects
6
8
  * a scaffold generator for starting new RubyGem projects
7
9
 
10
+ PLEASE NOTE that if you are starting afresh, please use the successor [Juwelier](https://github.com/flajann2/juwelier)
11
+ I (Fred Mitchell, flajann2) will be maintaining both Jeweler and Juwelier, but will be adding new features to
12
+ Juwelier, and eventually "merge" this one into Juwelier after some namespace issues
13
+ are dealt with.
14
+
8
15
  [![Build Status](https://travis-ci.org/technicalpickles/jeweler.png)](https://travis-ci.org/technicalpickles/jeweler)
9
16
  [![Coverage Status](https://coveralls.io/repos/technicalpickles/jeweler/badge.png)](https://coveralls.io/r/technicalpickles/jeweler)
10
17
  [![Dependency Status](https://www.versioneye.com/ruby/jeweler/2.0.0/badge.png)](https://www.versioneye.com/ruby/jeweler/2.0.0)
@@ -108,7 +115,7 @@ You can customize your gem by updating your `Rakefile`. With a newly generated p
108
115
 
109
116
  require 'jeweler'
110
117
  Jeweler::Tasks.new do |gem|
111
- # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
118
+ # gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
112
119
  gem.name = "whatwhatwhat"
113
120
  gem.summary = %Q{TODO: one-line summary of your gem}
114
121
  gem.description = %Q{TODO: longer description of your gem}
@@ -118,13 +125,13 @@ You can customize your gem by updating your `Rakefile`. With a newly generated p
118
125
  end
119
126
  Jeweler::RubygemsDotOrgTasks.new
120
127
 
121
- It's crucial to understand the `gem` object is just a Gem::Specification. You can read up about it at [docs.rubygems.org/read/chapter/20](http://docs.rubygems.org/read/chapter/20). This is the most basic way of specifying a gem, Jeweler-managed or not. Jeweler just exposes this to you, in addition to providing some reasonable defaults, which we'll explore now.
128
+ It's crucial to understand the `gem` object is just a Gem::Specification. You can read up about it at [guides.rubygems.org/specification-reference](http://guides.rubygems.org/specification-reference/). This is the most basic way of specifying a gem, Jeweler-managed or not. Jeweler just exposes this to you, in addition to providing some reasonable defaults, which we'll explore now.
122
129
 
123
130
  ### Project information
124
131
 
125
132
  gem.name = "whatwhatwhat"
126
133
 
127
- Every gem has a name. Among other things, the gem name is how you are able to `gem install` it. [Reference](http://docs.rubygems.org/read/chapter/20#name)
134
+ Every gem has a name. Among other things, the gem name is how you are able to `gem install` it. [Reference](http://guides.rubygems.org/specification-reference/#name)
128
135
 
129
136
  gem.summary = %Q{TODO: one-line summary of your gem}
130
137
 
@@ -161,7 +168,7 @@ If that's not enough, you can just set `gem.files` outright
161
168
 
162
169
  ### Dependencies
163
170
 
164
- Dependencies let you define other gems that your gem needs to function. `gem install your-gem` will install your-gem's dependencies along with it, and when you use your-gem in an application, the dependencies will be made available. Use `gem.add_dependency` to register them. [Reference](http://docs.rubygems.org/read/chapter/20#dependencies)
171
+ Dependencies let you define other gems that your gem needs to function. `gem install your-gem` will install your-gem's dependencies along with it, and when you use your-gem in an application, the dependencies will be made available. Use `gem.add_dependency` to register them. [Reference](http://guides.rubygems.org/specification-reference/#add_development_dependency)
165
172
 
166
173
  gem.add_dependency 'nokogiri'
167
174
 
@@ -231,4 +238,5 @@ That means you can define your own namespaces, tasks, or use third party Rake li
231
238
 
232
239
  ## Copyright
233
240
 
234
- Copyright (c) 2008-2010 Josh Nichols. See LICENSE for details.
241
+ Copyright (c) 2008-2010 Josh Nichols.
242
+ Copyright (c) 2016 Fred Mitchell. See LICENSE for details.
data/Rakefile CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  require 'rubygems'
4
4
  require 'bundler'
5
+ require 'semver'
6
+
7
+ def s_version
8
+ SemVer.find.format "%M.%m.%p%s"
9
+ end
5
10
 
6
11
  begin
7
12
  Bundler.setup(:default, :xzibit, :development)
@@ -16,13 +21,13 @@ require 'jeweler'
16
21
 
17
22
  Jeweler::Tasks.new do |gem|
18
23
  gem.name = "jeweler"
19
- gem.version = Jeweler::Version::STRING
24
+ gem.version = s_version
20
25
  gem.homepage = "http://github.com/technicalpickles/jeweler"
21
26
  gem.summary = "Opinionated tool for creating and managing RubyGem projects"
22
27
  gem.description = "Simple and opinionated helper for creating Rubygem projects on GitHub"
23
28
  gem.license = "MIT"
24
- gem.authors = ["Josh Nichols", "Yusuke Murata"]
25
- gem.email = ["josh@technicalpickles.com", "info@muratayusuke.com"]
29
+ gem.authors = ["Fred Mitchell", "Josh Nichols", "Yusuke Murata"]
30
+ gem.email = ["fred.mitchell@gmx.de", "fred.mitchell@gmx.com", "info@muratayusuke.com"]
26
31
  gem.files.include %w(lib/jeweler/templates/.document lib/jeweler/templates/.gitignore)
27
32
 
28
33
  # dependencies defined in Gemfile
@@ -2,16 +2,18 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
+ # stub: jeweler 2.1.1 ruby lib
5
6
 
6
7
  Gem::Specification.new do |s|
7
8
  s.name = "jeweler"
8
- s.version = "2.0.1"
9
+ s.version = "2.1.1"
9
10
 
10
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Josh Nichols", "Yusuke Murata"]
12
- s.date = "2014-01-29"
12
+ s.require_paths = ["lib"]
13
+ s.authors = ["Fred Mitchell", "Josh Nichols", "Yusuke Murata"]
14
+ s.date = "2016-04-04"
13
15
  s.description = "Simple and opinionated helper for creating Rubygem projects on GitHub"
14
- s.email = ["josh@technicalpickles.com", "info@muratayusuke.com"]
16
+ s.email = ["fred.mitchell@gmx.de", "fred.mitchell@gmx.com", "info@muratayusuke.com"]
15
17
  s.executables = ["jeweler"]
16
18
  s.extra_rdoc_files = [
17
19
  "ChangeLog.markdown",
@@ -21,6 +23,7 @@ Gem::Specification.new do |s|
21
23
  s.files = [
22
24
  ".coveralls.yml",
23
25
  ".document",
26
+ ".semver",
24
27
  ".travis.yml",
25
28
  ".yardopts",
26
29
  "ChangeLog.markdown",
@@ -183,8 +186,7 @@ Gem::Specification.new do |s|
183
186
  ]
184
187
  s.homepage = "http://github.com/technicalpickles/jeweler"
185
188
  s.licenses = ["MIT"]
186
- s.require_paths = ["lib"]
187
- s.rubygems_version = "2.0.3"
189
+ s.rubygems_version = "2.5.1"
188
190
  s.summary = "Opinionated tool for creating and managing RubyGem projects"
189
191
 
190
192
  if s.respond_to? :specification_version then
@@ -199,6 +201,7 @@ Gem::Specification.new do |s|
199
201
  s.add_runtime_dependency(%q<bundler>, [">= 1.0"])
200
202
  s.add_runtime_dependency(%q<rdoc>, [">= 0"])
201
203
  s.add_runtime_dependency(%q<builder>, [">= 0"])
204
+ s.add_runtime_dependency(%q<semver>, [">= 0"])
202
205
  s.add_development_dependency(%q<yard>, [">= 0.8.5"])
203
206
  s.add_development_dependency(%q<bluecloth>, [">= 0"])
204
207
  s.add_development_dependency(%q<cucumber>, [">= 1.1.4"])
@@ -212,6 +215,7 @@ Gem::Specification.new do |s|
212
215
  s.add_dependency(%q<bundler>, [">= 1.0"])
213
216
  s.add_dependency(%q<rdoc>, [">= 0"])
214
217
  s.add_dependency(%q<builder>, [">= 0"])
218
+ s.add_dependency(%q<semver>, [">= 0"])
215
219
  s.add_dependency(%q<yard>, [">= 0.8.5"])
216
220
  s.add_dependency(%q<bluecloth>, [">= 0"])
217
221
  s.add_dependency(%q<cucumber>, [">= 1.1.4"])
@@ -226,6 +230,7 @@ Gem::Specification.new do |s|
226
230
  s.add_dependency(%q<bundler>, [">= 1.0"])
227
231
  s.add_dependency(%q<rdoc>, [">= 0"])
228
232
  s.add_dependency(%q<builder>, [">= 0"])
233
+ s.add_dependency(%q<semver>, [">= 0"])
229
234
  s.add_dependency(%q<yard>, [">= 0.8.5"])
230
235
  s.add_dependency(%q<bluecloth>, [">= 0"])
231
236
  s.add_dependency(%q<cucumber>, [">= 1.1.4"])
@@ -48,7 +48,7 @@ class Jeweler
48
48
  def parse
49
49
  data = self.to_ruby
50
50
  parsed_gemspec = nil
51
- Thread.new { parsed_gemspec = eval("$SAFE = 3\n#{data}", binding, path) }.join
51
+ Thread.new { parsed_gemspec = eval("$SAFE = 1\n#{data}", binding, path) }.join
52
52
  parsed_gemspec
53
53
  end
54
54
 
@@ -33,7 +33,7 @@ class Jeweler
33
33
  # The block variable gem is actually a Gem::Specification, so you can
34
34
  # do anything you would normally do with a Gem::Specification.
35
35
  # For more details, see the official gemspec reference:
36
- # http://docs.rubygems.org/read/chapter/20
36
+ # http://guides.rubygems.org/specification-reference
37
37
  #
38
38
  # In addition, it provides reasonable defaults for several values. See Jeweler::Specification for more details.
39
39
  class Tasks < ::Rake::TaskLib
@@ -1,4 +1,4 @@
1
- source "http://rubygems.org"
1
+ source "https://rubygems.org"
2
2
  # Add dependencies required to use your gem here.
3
3
  # Example:
4
4
  # gem "activesupport", ">= 2.3.5"
metadata CHANGED
@@ -1,187 +1,203 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jeweler
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
+ - Fred Mitchell
7
8
  - Josh Nichols
8
9
  - Yusuke Murata
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 2014-01-29 00:00:00.000000000 Z
13
+ date: 2016-04-04 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: rake
16
17
  requirement: !ruby/object:Gem::Requirement
17
18
  requirements:
18
- - - '>='
19
+ - - ">="
19
20
  - !ruby/object:Gem::Version
20
21
  version: '0'
21
22
  type: :runtime
22
23
  prerelease: false
23
24
  version_requirements: !ruby/object:Gem::Requirement
24
25
  requirements:
25
- - - '>='
26
+ - - ">="
26
27
  - !ruby/object:Gem::Version
27
28
  version: '0'
28
29
  - !ruby/object:Gem::Dependency
29
30
  name: git
30
31
  requirement: !ruby/object:Gem::Requirement
31
32
  requirements:
32
- - - '>='
33
+ - - ">="
33
34
  - !ruby/object:Gem::Version
34
35
  version: 1.2.5
35
36
  type: :runtime
36
37
  prerelease: false
37
38
  version_requirements: !ruby/object:Gem::Requirement
38
39
  requirements:
39
- - - '>='
40
+ - - ">="
40
41
  - !ruby/object:Gem::Version
41
42
  version: 1.2.5
42
43
  - !ruby/object:Gem::Dependency
43
44
  name: nokogiri
44
45
  requirement: !ruby/object:Gem::Requirement
45
46
  requirements:
46
- - - '>='
47
+ - - ">="
47
48
  - !ruby/object:Gem::Version
48
49
  version: 1.5.10
49
50
  type: :runtime
50
51
  prerelease: false
51
52
  version_requirements: !ruby/object:Gem::Requirement
52
53
  requirements:
53
- - - '>='
54
+ - - ">="
54
55
  - !ruby/object:Gem::Version
55
56
  version: 1.5.10
56
57
  - !ruby/object:Gem::Dependency
57
58
  name: github_api
58
59
  requirement: !ruby/object:Gem::Requirement
59
60
  requirements:
60
- - - '>='
61
+ - - ">="
61
62
  - !ruby/object:Gem::Version
62
63
  version: '0'
63
64
  type: :runtime
64
65
  prerelease: false
65
66
  version_requirements: !ruby/object:Gem::Requirement
66
67
  requirements:
67
- - - '>='
68
+ - - ">="
68
69
  - !ruby/object:Gem::Version
69
70
  version: '0'
70
71
  - !ruby/object:Gem::Dependency
71
72
  name: highline
72
73
  requirement: !ruby/object:Gem::Requirement
73
74
  requirements:
74
- - - '>='
75
+ - - ">="
75
76
  - !ruby/object:Gem::Version
76
77
  version: 1.6.15
77
78
  type: :runtime
78
79
  prerelease: false
79
80
  version_requirements: !ruby/object:Gem::Requirement
80
81
  requirements:
81
- - - '>='
82
+ - - ">="
82
83
  - !ruby/object:Gem::Version
83
84
  version: 1.6.15
84
85
  - !ruby/object:Gem::Dependency
85
86
  name: bundler
86
87
  requirement: !ruby/object:Gem::Requirement
87
88
  requirements:
88
- - - '>='
89
+ - - ">="
89
90
  - !ruby/object:Gem::Version
90
91
  version: '1.0'
91
92
  type: :runtime
92
93
  prerelease: false
93
94
  version_requirements: !ruby/object:Gem::Requirement
94
95
  requirements:
95
- - - '>='
96
+ - - ">="
96
97
  - !ruby/object:Gem::Version
97
98
  version: '1.0'
98
99
  - !ruby/object:Gem::Dependency
99
100
  name: rdoc
100
101
  requirement: !ruby/object:Gem::Requirement
101
102
  requirements:
102
- - - '>='
103
+ - - ">="
103
104
  - !ruby/object:Gem::Version
104
105
  version: '0'
105
106
  type: :runtime
106
107
  prerelease: false
107
108
  version_requirements: !ruby/object:Gem::Requirement
108
109
  requirements:
109
- - - '>='
110
+ - - ">="
110
111
  - !ruby/object:Gem::Version
111
112
  version: '0'
112
113
  - !ruby/object:Gem::Dependency
113
114
  name: builder
114
115
  requirement: !ruby/object:Gem::Requirement
115
116
  requirements:
116
- - - '>='
117
+ - - ">="
117
118
  - !ruby/object:Gem::Version
118
119
  version: '0'
119
120
  type: :runtime
120
121
  prerelease: false
121
122
  version_requirements: !ruby/object:Gem::Requirement
122
123
  requirements:
123
- - - '>='
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ version: '0'
127
+ - !ruby/object:Gem::Dependency
128
+ name: semver
129
+ requirement: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - ">="
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ type: :runtime
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - ">="
124
139
  - !ruby/object:Gem::Version
125
140
  version: '0'
126
141
  - !ruby/object:Gem::Dependency
127
142
  name: yard
128
143
  requirement: !ruby/object:Gem::Requirement
129
144
  requirements:
130
- - - '>='
145
+ - - ">="
131
146
  - !ruby/object:Gem::Version
132
147
  version: 0.8.5
133
148
  type: :development
134
149
  prerelease: false
135
150
  version_requirements: !ruby/object:Gem::Requirement
136
151
  requirements:
137
- - - '>='
152
+ - - ">="
138
153
  - !ruby/object:Gem::Version
139
154
  version: 0.8.5
140
155
  - !ruby/object:Gem::Dependency
141
156
  name: bluecloth
142
157
  requirement: !ruby/object:Gem::Requirement
143
158
  requirements:
144
- - - '>='
159
+ - - ">="
145
160
  - !ruby/object:Gem::Version
146
161
  version: '0'
147
162
  type: :development
148
163
  prerelease: false
149
164
  version_requirements: !ruby/object:Gem::Requirement
150
165
  requirements:
151
- - - '>='
166
+ - - ">="
152
167
  - !ruby/object:Gem::Version
153
168
  version: '0'
154
169
  - !ruby/object:Gem::Dependency
155
170
  name: cucumber
156
171
  requirement: !ruby/object:Gem::Requirement
157
172
  requirements:
158
- - - '>='
173
+ - - ">="
159
174
  - !ruby/object:Gem::Version
160
175
  version: 1.1.4
161
176
  type: :development
162
177
  prerelease: false
163
178
  version_requirements: !ruby/object:Gem::Requirement
164
179
  requirements:
165
- - - '>='
180
+ - - ">="
166
181
  - !ruby/object:Gem::Version
167
182
  version: 1.1.4
168
183
  - !ruby/object:Gem::Dependency
169
184
  name: simplecov
170
185
  requirement: !ruby/object:Gem::Requirement
171
186
  requirements:
172
- - - '>='
187
+ - - ">="
173
188
  - !ruby/object:Gem::Version
174
189
  version: '0'
175
190
  type: :development
176
191
  prerelease: false
177
192
  version_requirements: !ruby/object:Gem::Requirement
178
193
  requirements:
179
- - - '>='
194
+ - - ">="
180
195
  - !ruby/object:Gem::Version
181
196
  version: '0'
182
197
  description: Simple and opinionated helper for creating Rubygem projects on GitHub
183
198
  email:
184
- - josh@technicalpickles.com
199
+ - fred.mitchell@gmx.de
200
+ - fred.mitchell@gmx.com
185
201
  - info@muratayusuke.com
186
202
  executables:
187
203
  - jeweler
@@ -191,10 +207,11 @@ extra_rdoc_files:
191
207
  - LICENSE.txt
192
208
  - README.markdown
193
209
  files:
194
- - .coveralls.yml
195
- - .document
196
- - .travis.yml
197
- - .yardopts
210
+ - ".coveralls.yml"
211
+ - ".document"
212
+ - ".semver"
213
+ - ".travis.yml"
214
+ - ".yardopts"
198
215
  - ChangeLog.markdown
199
216
  - Gemfile
200
217
  - LICENSE.txt
@@ -362,17 +379,17 @@ require_paths:
362
379
  - lib
363
380
  required_ruby_version: !ruby/object:Gem::Requirement
364
381
  requirements:
365
- - - '>='
382
+ - - ">="
366
383
  - !ruby/object:Gem::Version
367
384
  version: '0'
368
385
  required_rubygems_version: !ruby/object:Gem::Requirement
369
386
  requirements:
370
- - - '>='
387
+ - - ">="
371
388
  - !ruby/object:Gem::Version
372
389
  version: '0'
373
390
  requirements: []
374
391
  rubyforge_project:
375
- rubygems_version: 2.0.3
392
+ rubygems_version: 2.5.1
376
393
  signing_key:
377
394
  specification_version: 4
378
395
  summary: Opinionated tool for creating and managing RubyGem projects