technicalpickles-jeweler 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog.markdown +9 -0
- data/VERSION.yml +1 -1
- data/lib/jeweler/tasks.rb +3 -0
- data/lib/jeweler/templates/Rakefile +9 -6
- data/test/test_tasks.rb +1 -0
- metadata +2 -2
data/ChangeLog.markdown
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
# jeweler 0.7.2
|
2
|
+
|
3
|
+
* Added rake task 'version:bump' which is shorthand for 'version:bump:patch'
|
4
|
+
* Generated projects no longer assume RCov is installed.
|
5
|
+
|
6
|
+
# jeweler 0.7.1
|
7
|
+
|
8
|
+
* Fixed yaml not being required
|
9
|
+
|
1
10
|
# jeweler 0.7.0
|
2
11
|
|
3
12
|
* Added support to generator for specifying a description
|
data/VERSION.yml
CHANGED
data/lib/jeweler/tasks.rb
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
require 'rake'
|
2
2
|
require 'rake/testtask'
|
3
3
|
require 'rake/rdoctask'
|
4
|
-
require 'rcov/rcovtask'
|
5
4
|
|
6
5
|
begin
|
7
6
|
require 'jeweler'
|
@@ -31,10 +30,14 @@ Rake::RDocTask.new do |rdoc|
|
|
31
30
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
32
31
|
end
|
33
32
|
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
33
|
+
begin
|
34
|
+
require 'rcov/rcovtask'
|
35
|
+
Rcov::RcovTask.new do |t|
|
36
|
+
t.libs << '<%= testspec %>'
|
37
|
+
t.test_files = FileList['<%= testspec %>/**/*_<%= testspec %>.rb']
|
38
|
+
t.verbose = true
|
39
|
+
end
|
40
|
+
rescue LoadError
|
38
41
|
end
|
39
42
|
|
40
|
-
task :default => :
|
43
|
+
task :default => :test
|
data/test/test_tasks.rb
CHANGED
@@ -30,6 +30,7 @@ class TestTasks < Test::Unit::TestCase
|
|
30
30
|
assert Task.task_defined?(:version)
|
31
31
|
assert Task.task_defined?(:'version:write')
|
32
32
|
assert Task.task_defined?(:'version:display')
|
33
|
+
assert Task.task_defined?(:'version:bump')
|
33
34
|
assert Task.task_defined?(:'version:bump:major')
|
34
35
|
assert Task.task_defined?(:'version:bump:minor')
|
35
36
|
assert Task.task_defined?(:'version:bump:patch')
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: technicalpickles-jeweler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Josh Nichols
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-01-
|
12
|
+
date: 2009-01-29 00:00:00 -08:00
|
13
13
|
default_executable: jeweler
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|