the-perfect-gem 3.1.15 → 3.1.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Rakefile +12 -8
  2. data/VERSION.yml +1 -1
  3. data/the-perfect-gem.gemspec +5 -2
  4. metadata +2 -2
data/Rakefile CHANGED
@@ -1,8 +1,8 @@
1
1
  require 'rake'
2
2
  require 'rake/testtask'
3
- require 'rake/rdoctask'
4
3
  require 'rcov/rcovtask'
5
4
 
5
+ $LOAD_PATH.unshift "/Users/nichoj/code/active/jeweler/lib"
6
6
  begin
7
7
  require 'jeweler'
8
8
  Jeweler::Tasks.new do |s|
@@ -13,7 +13,9 @@ begin
13
13
  s.rubyforge_project = 'pickles'
14
14
  s.authors = ["Josh Nichols"]
15
15
  end
16
- Jeweler::RubyforgeTasks.new
16
+ Jeweler::RubyforgeTasks.new do |rubyforge|
17
+ rubyforge.doc_task = "yard"
18
+ end
17
19
  rescue LoadError
18
20
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
19
21
  end
@@ -24,14 +26,16 @@ Rake::TestTask.new do |t|
24
26
  t.verbose = false
25
27
  end
26
28
 
27
- Rake::RDocTask.new do |rdoc|
28
- rdoc.rdoc_dir = 'rdoc'
29
- rdoc.title = 'Jeweler'
30
- rdoc.options << '--line-numbers' << '--inline-source'
31
- rdoc.rdoc_files.include('README*')
32
- rdoc.rdoc_files.include('lib/**/*.rb')
29
+ begin
30
+ require 'yard'
31
+ YARD::Rake::YardocTask.new(:yardoc)
32
+ rescue LoadError
33
+ task :yardoc do
34
+ abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
35
+ end
33
36
  end
34
37
 
38
+
35
39
  Rcov::RcovTask.new do |t|
36
40
  t.libs << "test"
37
41
  t.test_files = FileList['test/*_test.rb']
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 15
2
+ :patch: 20
3
3
  :major: 3
4
4
  :minor: 1
@@ -1,12 +1,15 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
1
4
  # -*- encoding: utf-8 -*-
2
5
 
3
6
  Gem::Specification.new do |s|
4
7
  s.name = %q{the-perfect-gem}
5
- s.version = "3.1.15"
8
+ s.version = "3.1.20"
6
9
 
7
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
11
  s.authors = ["Josh Nichols"]
9
- s.date = %q{2009-08-01}
12
+ s.date = %q{2009-08-04}
10
13
  s.email = %q{josh@technicalpickles.com}
11
14
  s.extra_rdoc_files = [
12
15
  "LICENSE",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: the-perfect-gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.15
4
+ version: 3.1.20
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-08-01 00:00:00 -04:00
12
+ date: 2009-08-04 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies: []
15
15