require 0.2.5 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/require/tasks.rb +7 -5
  2. data/require.rb +1 -1
  3. metadata +2 -2
@@ -108,8 +108,10 @@ namespace :gems do
108
108
  end
109
109
  end
110
110
 
111
- desc "Run specs"
112
- Spec::Rake::SpecTask.new do |t|
113
- t.spec_opts = ["--format", "specdoc", "--colour"]
114
- t.spec_files = Dir["#{Require.root}/spec/**/*_spec.rb"]
115
- end
111
+ if defined?(Spec)
112
+ desc "Run specs"
113
+ Spec::Rake::SpecTask.new do |t|
114
+ t.spec_opts = ["--format", "specdoc", "--colour"]
115
+ t.spec_files = Dir["#{Require.root}/spec/**/*_spec.rb"]
116
+ end
117
+ end
data/require.rb CHANGED
@@ -11,7 +11,7 @@ Require do
11
11
  name 'require'
12
12
  homepage "http://github.com/winton/#{name}"
13
13
  summary "Manage your project's dependencies with a pretty DSL"
14
- version '0.2.5'
14
+ version '0.2.6'
15
15
  end
16
16
 
17
17
  rakefile do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: require
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Winton Welsh
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-03-10 00:00:00 -08:00
12
+ date: 2010-03-11 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies: []
15
15