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 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
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 1
2
+ :patch: 2
3
3
  :major: 0
4
4
  :minor: 7
data/lib/jeweler/tasks.rb CHANGED
@@ -62,6 +62,9 @@ class Jeweler
62
62
  task :version => 'version:display'
63
63
 
64
64
  namespace :version do
65
+ desc "Bump the gemspec by a patch version."
66
+ task :bump => "bump:patch"
67
+
65
68
  desc "Setup initial version of 0.0.0"
66
69
  task :setup => "VERSION.yml"
67
70
 
@@ -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
- Rcov::RcovTask.new do |t|
35
- t.libs << '<%= testspec %>'
36
- t.test_files = FileList['<%= testspec %>/**/*_<%= testspec %>.rb']
37
- t.verbose = true
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 => :rcov
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.1
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-26 00:00:00 -08:00
12
+ date: 2009-01-29 00:00:00 -08:00
13
13
  default_executable: jeweler
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency