jeweler 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.coveralls.yml +1 -1
- data/Gemfile +1 -0
- data/README.markdown +1 -0
- data/features/generator/gemfile.feature +1 -0
- data/jeweler.gemspec +8 -4
- data/lib/jeweler/generator.rb +1 -1
- data/lib/jeweler/templates/bacon/helper.rb +1 -0
- data/lib/jeweler/templates/features/support/env.rb +1 -0
- data/lib/jeweler/templates/jeweler_tasks.erb +1 -1
- data/lib/jeweler/templates/micronaut/helper.rb +1 -0
- data/lib/jeweler/templates/minitest/helper.rb +1 -0
- data/lib/jeweler/templates/other_tasks.erb +4 -20
- data/lib/jeweler/templates/riot/helper.rb +1 -0
- data/lib/jeweler/templates/rspec/helper.rb +3 -1
- data/lib/jeweler/templates/shindo/helper.rb +1 -0
- data/lib/jeweler/templates/shoulda/helper.rb +1 -0
- data/lib/jeweler/templates/simplecov.erb +16 -0
- data/lib/jeweler/templates/testspec/helper.rb +1 -1
- data/lib/jeweler/templates/testunit/helper.rb +1 -0
- data/lib/jeweler/version.rb +1 -1
- metadata +44 -56
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: ca52a3f8040bcaa253f31a699c192b1586f0f917
|
4
|
+
data.tar.gz: d2b1ca9277153839f0eb058fa9bce517148baa68
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 89166646f490f81bea408c8f79a56d8f230f975b23c28ba333065958017803bc254829e3da5a5702302ea1ae92f4d236fb11838027c36ee542faaf4b1472f784
|
7
|
+
data.tar.gz: 31e0b60d6a3625608b4095f297572e88ac2ec38d0f90287fe4d2a16f41f3e64a466f5f933ecac9fdad6a14778667b443dc830f466b2a8876b9d3779255c9e476
|
data/.coveralls.yml
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
service_name: travis-ci
|
2
|
-
repo_token:
|
2
|
+
repo_token: AhkOkfc0MYCOqb24btF6YAac7cpKcm1Fw
|
data/Gemfile
CHANGED
data/README.markdown
CHANGED
@@ -7,6 +7,7 @@ Jeweler provides the noble ruby developer with two primary features:
|
|
7
7
|
|
8
8
|
[![Build Status](https://travis-ci.org/technicalpickles/jeweler.png)](https://travis-ci.org/technicalpickles/jeweler)
|
9
9
|
[![Coverage Status](https://coveralls.io/repos/technicalpickles/jeweler/badge.png)](https://coveralls.io/r/technicalpickles/jeweler)
|
10
|
+
[![Dependency Status](https://www.versioneye.com/ruby/jeweler/2.0.0/badge.png)](https://www.versioneye.com/ruby/jeweler/2.0.0)
|
10
11
|
|
11
12
|
## Hello, world
|
12
13
|
|
@@ -23,6 +23,7 @@ Feature: generated Gemfiel
|
|
23
23
|
And 'Gemfile' uses the gemcutter source
|
24
24
|
And 'Gemfile' has a development dependency on 'bundler'
|
25
25
|
And 'Gemfile' has a development dependency on the current version of jeweler
|
26
|
+
And 'Gemfile' has a development dependency on 'simplecov'
|
26
27
|
And 'Gemfile' has a development dependency on 'rcov'
|
27
28
|
And 'Gemfile' has a development dependency on 'rdoc'
|
28
29
|
And 'Gemfile' does not have a development dependency on 'yard'
|
data/jeweler.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "jeweler"
|
8
|
-
s.version = "2.0.
|
8
|
+
s.version = "2.0.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Josh Nichols", "Yusuke Murata"]
|
12
|
-
s.date = "2014-01-
|
12
|
+
s.date = "2014-01-29"
|
13
13
|
s.description = "Simple and opinionated helper for creating Rubygem projects on GitHub"
|
14
14
|
s.email = ["josh@technicalpickles.com", "info@muratayusuke.com"]
|
15
15
|
s.executables = ["jeweler"]
|
@@ -114,6 +114,7 @@ Gem::Specification.new do |s|
|
|
114
114
|
"lib/jeweler/templates/shindo/helper.rb",
|
115
115
|
"lib/jeweler/templates/shoulda/flunking.rb",
|
116
116
|
"lib/jeweler/templates/shoulda/helper.rb",
|
117
|
+
"lib/jeweler/templates/simplecov.erb",
|
117
118
|
"lib/jeweler/templates/testspec/flunking.rb",
|
118
119
|
"lib/jeweler/templates/testspec/helper.rb",
|
119
120
|
"lib/jeweler/templates/testunit/flunking.rb",
|
@@ -183,11 +184,11 @@ Gem::Specification.new do |s|
|
|
183
184
|
s.homepage = "http://github.com/technicalpickles/jeweler"
|
184
185
|
s.licenses = ["MIT"]
|
185
186
|
s.require_paths = ["lib"]
|
186
|
-
s.rubygems_version = "
|
187
|
+
s.rubygems_version = "2.0.3"
|
187
188
|
s.summary = "Opinionated tool for creating and managing RubyGem projects"
|
188
189
|
|
189
190
|
if s.respond_to? :specification_version then
|
190
|
-
s.specification_version =
|
191
|
+
s.specification_version = 4
|
191
192
|
|
192
193
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
193
194
|
s.add_runtime_dependency(%q<rake>, [">= 0"])
|
@@ -201,6 +202,7 @@ Gem::Specification.new do |s|
|
|
201
202
|
s.add_development_dependency(%q<yard>, [">= 0.8.5"])
|
202
203
|
s.add_development_dependency(%q<bluecloth>, [">= 0"])
|
203
204
|
s.add_development_dependency(%q<cucumber>, [">= 1.1.4"])
|
205
|
+
s.add_development_dependency(%q<simplecov>, [">= 0"])
|
204
206
|
else
|
205
207
|
s.add_dependency(%q<rake>, [">= 0"])
|
206
208
|
s.add_dependency(%q<git>, [">= 1.2.5"])
|
@@ -213,6 +215,7 @@ Gem::Specification.new do |s|
|
|
213
215
|
s.add_dependency(%q<yard>, [">= 0.8.5"])
|
214
216
|
s.add_dependency(%q<bluecloth>, [">= 0"])
|
215
217
|
s.add_dependency(%q<cucumber>, [">= 1.1.4"])
|
218
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
216
219
|
end
|
217
220
|
else
|
218
221
|
s.add_dependency(%q<rake>, [">= 0"])
|
@@ -226,6 +229,7 @@ Gem::Specification.new do |s|
|
|
226
229
|
s.add_dependency(%q<yard>, [">= 0.8.5"])
|
227
230
|
s.add_dependency(%q<bluecloth>, [">= 0"])
|
228
231
|
s.add_dependency(%q<cucumber>, [">= 1.1.4"])
|
232
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
229
233
|
end
|
230
234
|
end
|
231
235
|
|
data/lib/jeweler/generator.rb
CHANGED
@@ -107,7 +107,7 @@ class Jeweler
|
|
107
107
|
# TODO make bundler optional?
|
108
108
|
development_dependencies << ["bundler", "~> 1.0"]
|
109
109
|
development_dependencies << ["jeweler", "~> #{Jeweler::Version::STRING}"]
|
110
|
-
development_dependencies << ["
|
110
|
+
development_dependencies << ["simplecov", ">= 0"]
|
111
111
|
|
112
112
|
development_dependencies << ["reek", "~> 1.2.8"] if should_use_reek
|
113
113
|
development_dependencies << ["roodi", "~> 2.1.0"] if should_use_roodi
|
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'jeweler'
|
2
2
|
Jeweler::Tasks.new do |gem|
|
3
|
-
# gem is a Gem::Specification... see http://
|
3
|
+
# gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
|
4
4
|
gem.name = "<%= project_name %>"
|
5
5
|
gem.homepage = "<%= homepage %>"
|
6
6
|
gem.license = "MIT"
|
@@ -23,27 +23,11 @@ Rake::TestTask.new(:<%= test_task %>) do |<%= test_task %>|
|
|
23
23
|
end
|
24
24
|
<% end %>
|
25
25
|
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
spec.rcov = true
|
26
|
+
desc "Code coverage detail"
|
27
|
+
task :simplecov do
|
28
|
+
ENV['COVERAGE'] = "true"
|
29
|
+
Rake::Task['<%= test_task %>'].execute
|
31
30
|
end
|
32
|
-
<% when :micronaut %>
|
33
|
-
Micronaut::RakeTask.new(:rcov) do |examples|
|
34
|
-
examples.pattern = '<%= test_pattern %>'
|
35
|
-
examples.rcov_opts = '-Ilib -I<%= test_dir %>'
|
36
|
-
examples.rcov = true
|
37
|
-
end
|
38
|
-
<% else %>
|
39
|
-
require 'rcov/rcovtask'
|
40
|
-
Rcov::RcovTask.new do |<%= test_task %>|
|
41
|
-
<%= test_task %>.libs << '<%= test_dir %>'
|
42
|
-
<%= test_task %>.pattern = '<%= test_pattern %>'
|
43
|
-
<%= test_task %>.verbose = true
|
44
|
-
<%= test_task %>.rcov_opts << '--exclude "gems/*"'
|
45
|
-
end
|
46
|
-
<% end %>
|
47
31
|
|
48
32
|
<% if should_use_cucumber %>
|
49
33
|
require 'cucumber/rake/task'
|
@@ -1,5 +1,7 @@
|
|
1
|
+
<%= render_template 'simplecov.erb' %>
|
1
2
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
2
3
|
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
4
|
+
|
3
5
|
require 'rspec'
|
4
6
|
require '<%= require_name %>'
|
5
7
|
|
@@ -8,5 +10,5 @@ require '<%= require_name %>'
|
|
8
10
|
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
|
9
11
|
|
10
12
|
RSpec.configure do |config|
|
11
|
-
|
13
|
+
|
12
14
|
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'simplecov'
|
2
|
+
|
3
|
+
module SimpleCov::Configuration
|
4
|
+
def clean_filters
|
5
|
+
@filters = []
|
6
|
+
end
|
7
|
+
end
|
8
|
+
|
9
|
+
SimpleCov.configure do
|
10
|
+
clean_filters
|
11
|
+
load_adapter 'test_frameworks'
|
12
|
+
end
|
13
|
+
|
14
|
+
ENV["COVERAGE"] && SimpleCov.start do
|
15
|
+
add_filter "/.rvm/"
|
16
|
+
end
|
data/lib/jeweler/version.rb
CHANGED
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jeweler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
5
|
-
prerelease:
|
4
|
+
version: 2.0.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Josh Nichols
|
@@ -10,184 +9,176 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date: 2014-01-
|
12
|
+
date: 2014-01-29 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: rake
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
17
|
requirements:
|
20
|
-
- -
|
18
|
+
- - '>='
|
21
19
|
- !ruby/object:Gem::Version
|
22
20
|
version: '0'
|
23
21
|
type: :runtime
|
24
22
|
prerelease: false
|
25
23
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
24
|
requirements:
|
28
|
-
- -
|
25
|
+
- - '>='
|
29
26
|
- !ruby/object:Gem::Version
|
30
27
|
version: '0'
|
31
28
|
- !ruby/object:Gem::Dependency
|
32
29
|
name: git
|
33
30
|
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
31
|
requirements:
|
36
|
-
- -
|
32
|
+
- - '>='
|
37
33
|
- !ruby/object:Gem::Version
|
38
34
|
version: 1.2.5
|
39
35
|
type: :runtime
|
40
36
|
prerelease: false
|
41
37
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
38
|
requirements:
|
44
|
-
- -
|
39
|
+
- - '>='
|
45
40
|
- !ruby/object:Gem::Version
|
46
41
|
version: 1.2.5
|
47
42
|
- !ruby/object:Gem::Dependency
|
48
43
|
name: nokogiri
|
49
44
|
requirement: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
45
|
requirements:
|
52
|
-
- -
|
46
|
+
- - '>='
|
53
47
|
- !ruby/object:Gem::Version
|
54
48
|
version: 1.5.10
|
55
49
|
type: :runtime
|
56
50
|
prerelease: false
|
57
51
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
none: false
|
59
52
|
requirements:
|
60
|
-
- -
|
53
|
+
- - '>='
|
61
54
|
- !ruby/object:Gem::Version
|
62
55
|
version: 1.5.10
|
63
56
|
- !ruby/object:Gem::Dependency
|
64
57
|
name: github_api
|
65
58
|
requirement: !ruby/object:Gem::Requirement
|
66
|
-
none: false
|
67
59
|
requirements:
|
68
|
-
- -
|
60
|
+
- - '>='
|
69
61
|
- !ruby/object:Gem::Version
|
70
62
|
version: '0'
|
71
63
|
type: :runtime
|
72
64
|
prerelease: false
|
73
65
|
version_requirements: !ruby/object:Gem::Requirement
|
74
|
-
none: false
|
75
66
|
requirements:
|
76
|
-
- -
|
67
|
+
- - '>='
|
77
68
|
- !ruby/object:Gem::Version
|
78
69
|
version: '0'
|
79
70
|
- !ruby/object:Gem::Dependency
|
80
71
|
name: highline
|
81
72
|
requirement: !ruby/object:Gem::Requirement
|
82
|
-
none: false
|
83
73
|
requirements:
|
84
|
-
- -
|
74
|
+
- - '>='
|
85
75
|
- !ruby/object:Gem::Version
|
86
76
|
version: 1.6.15
|
87
77
|
type: :runtime
|
88
78
|
prerelease: false
|
89
79
|
version_requirements: !ruby/object:Gem::Requirement
|
90
|
-
none: false
|
91
80
|
requirements:
|
92
|
-
- -
|
81
|
+
- - '>='
|
93
82
|
- !ruby/object:Gem::Version
|
94
83
|
version: 1.6.15
|
95
84
|
- !ruby/object:Gem::Dependency
|
96
85
|
name: bundler
|
97
86
|
requirement: !ruby/object:Gem::Requirement
|
98
|
-
none: false
|
99
87
|
requirements:
|
100
|
-
- -
|
88
|
+
- - '>='
|
101
89
|
- !ruby/object:Gem::Version
|
102
90
|
version: '1.0'
|
103
91
|
type: :runtime
|
104
92
|
prerelease: false
|
105
93
|
version_requirements: !ruby/object:Gem::Requirement
|
106
|
-
none: false
|
107
94
|
requirements:
|
108
|
-
- -
|
95
|
+
- - '>='
|
109
96
|
- !ruby/object:Gem::Version
|
110
97
|
version: '1.0'
|
111
98
|
- !ruby/object:Gem::Dependency
|
112
99
|
name: rdoc
|
113
100
|
requirement: !ruby/object:Gem::Requirement
|
114
|
-
none: false
|
115
101
|
requirements:
|
116
|
-
- -
|
102
|
+
- - '>='
|
117
103
|
- !ruby/object:Gem::Version
|
118
104
|
version: '0'
|
119
105
|
type: :runtime
|
120
106
|
prerelease: false
|
121
107
|
version_requirements: !ruby/object:Gem::Requirement
|
122
|
-
none: false
|
123
108
|
requirements:
|
124
|
-
- -
|
109
|
+
- - '>='
|
125
110
|
- !ruby/object:Gem::Version
|
126
111
|
version: '0'
|
127
112
|
- !ruby/object:Gem::Dependency
|
128
113
|
name: builder
|
129
114
|
requirement: !ruby/object:Gem::Requirement
|
130
|
-
none: false
|
131
115
|
requirements:
|
132
|
-
- -
|
116
|
+
- - '>='
|
133
117
|
- !ruby/object:Gem::Version
|
134
118
|
version: '0'
|
135
119
|
type: :runtime
|
136
120
|
prerelease: false
|
137
121
|
version_requirements: !ruby/object:Gem::Requirement
|
138
|
-
none: false
|
139
122
|
requirements:
|
140
|
-
- -
|
123
|
+
- - '>='
|
141
124
|
- !ruby/object:Gem::Version
|
142
125
|
version: '0'
|
143
126
|
- !ruby/object:Gem::Dependency
|
144
127
|
name: yard
|
145
128
|
requirement: !ruby/object:Gem::Requirement
|
146
|
-
none: false
|
147
129
|
requirements:
|
148
|
-
- -
|
130
|
+
- - '>='
|
149
131
|
- !ruby/object:Gem::Version
|
150
132
|
version: 0.8.5
|
151
133
|
type: :development
|
152
134
|
prerelease: false
|
153
135
|
version_requirements: !ruby/object:Gem::Requirement
|
154
|
-
none: false
|
155
136
|
requirements:
|
156
|
-
- -
|
137
|
+
- - '>='
|
157
138
|
- !ruby/object:Gem::Version
|
158
139
|
version: 0.8.5
|
159
140
|
- !ruby/object:Gem::Dependency
|
160
141
|
name: bluecloth
|
161
142
|
requirement: !ruby/object:Gem::Requirement
|
162
|
-
none: false
|
163
143
|
requirements:
|
164
|
-
- -
|
144
|
+
- - '>='
|
165
145
|
- !ruby/object:Gem::Version
|
166
146
|
version: '0'
|
167
147
|
type: :development
|
168
148
|
prerelease: false
|
169
149
|
version_requirements: !ruby/object:Gem::Requirement
|
170
|
-
none: false
|
171
150
|
requirements:
|
172
|
-
- -
|
151
|
+
- - '>='
|
173
152
|
- !ruby/object:Gem::Version
|
174
153
|
version: '0'
|
175
154
|
- !ruby/object:Gem::Dependency
|
176
155
|
name: cucumber
|
177
156
|
requirement: !ruby/object:Gem::Requirement
|
178
|
-
none: false
|
179
157
|
requirements:
|
180
|
-
- -
|
158
|
+
- - '>='
|
181
159
|
- !ruby/object:Gem::Version
|
182
160
|
version: 1.1.4
|
183
161
|
type: :development
|
184
162
|
prerelease: false
|
185
163
|
version_requirements: !ruby/object:Gem::Requirement
|
186
|
-
none: false
|
187
164
|
requirements:
|
188
|
-
- -
|
165
|
+
- - '>='
|
189
166
|
- !ruby/object:Gem::Version
|
190
167
|
version: 1.1.4
|
168
|
+
- !ruby/object:Gem::Dependency
|
169
|
+
name: simplecov
|
170
|
+
requirement: !ruby/object:Gem::Requirement
|
171
|
+
requirements:
|
172
|
+
- - '>='
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: '0'
|
175
|
+
type: :development
|
176
|
+
prerelease: false
|
177
|
+
version_requirements: !ruby/object:Gem::Requirement
|
178
|
+
requirements:
|
179
|
+
- - '>='
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
version: '0'
|
191
182
|
description: Simple and opinionated helper for creating Rubygem projects on GitHub
|
192
183
|
email:
|
193
184
|
- josh@technicalpickles.com
|
@@ -295,6 +286,7 @@ files:
|
|
295
286
|
- lib/jeweler/templates/shindo/helper.rb
|
296
287
|
- lib/jeweler/templates/shoulda/flunking.rb
|
297
288
|
- lib/jeweler/templates/shoulda/helper.rb
|
289
|
+
- lib/jeweler/templates/simplecov.erb
|
298
290
|
- lib/jeweler/templates/testspec/flunking.rb
|
299
291
|
- lib/jeweler/templates/testspec/helper.rb
|
300
292
|
- lib/jeweler/templates/testunit/flunking.rb
|
@@ -363,29 +355,25 @@ files:
|
|
363
355
|
homepage: http://github.com/technicalpickles/jeweler
|
364
356
|
licenses:
|
365
357
|
- MIT
|
358
|
+
metadata: {}
|
366
359
|
post_install_message:
|
367
360
|
rdoc_options: []
|
368
361
|
require_paths:
|
369
362
|
- lib
|
370
363
|
required_ruby_version: !ruby/object:Gem::Requirement
|
371
|
-
none: false
|
372
364
|
requirements:
|
373
|
-
- -
|
365
|
+
- - '>='
|
374
366
|
- !ruby/object:Gem::Version
|
375
367
|
version: '0'
|
376
|
-
segments:
|
377
|
-
- 0
|
378
|
-
hash: -3046647141543094999
|
379
368
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
380
|
-
none: false
|
381
369
|
requirements:
|
382
|
-
- -
|
370
|
+
- - '>='
|
383
371
|
- !ruby/object:Gem::Version
|
384
372
|
version: '0'
|
385
373
|
requirements: []
|
386
374
|
rubyforge_project:
|
387
|
-
rubygems_version:
|
375
|
+
rubygems_version: 2.0.3
|
388
376
|
signing_key:
|
389
|
-
specification_version:
|
377
|
+
specification_version: 4
|
390
378
|
summary: Opinionated tool for creating and managing RubyGem projects
|
391
379
|
test_files: []
|