matthewtodd-shoe 0.1.3 → 0.1.4
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.
- data/Rakefile +1 -1
- data/bin/shoe +7 -5
- data/lib/shoe.rb +1 -1
- metadata +3 -3
data/Rakefile
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'lib'))
|
|
2
2
|
require 'shoe'
|
|
3
3
|
|
|
4
|
-
Shoe.tie('shoe', '0.1.
|
|
4
|
+
Shoe.tie('shoe', '0.1.4', "You probably don't want to use Shoe.") do |spec|
|
|
5
5
|
spec.remove_development_dependency_on_shoe
|
|
6
6
|
spec.add_runtime_dependency 'cucumber'
|
|
7
7
|
spec.add_runtime_dependency 'rake'
|
data/bin/shoe
CHANGED
|
@@ -6,16 +6,18 @@ end
|
|
|
6
6
|
|
|
7
7
|
File.open('Rakefile', 'w') do |file|
|
|
8
8
|
file.write <<-END_RAKEFILE.gsub('NAME', File.basename(File.expand_path(Dir.pwd)))
|
|
9
|
-
|
|
10
|
-
gem 'matthewtodd-shoe'
|
|
11
|
-
rescue Gem::LoadError
|
|
12
|
-
abort <<-END
|
|
9
|
+
this_rakefile_uses_shoe = <<END
|
|
13
10
|
----------------------------------------
|
|
14
11
|
Please install Shoe:
|
|
15
12
|
gem sources --add http://gems.github.com
|
|
16
13
|
gem install matthewtodd-shoe
|
|
17
14
|
----------------------------------------
|
|
18
|
-
|
|
15
|
+
END
|
|
16
|
+
|
|
17
|
+
begin
|
|
18
|
+
gem 'matthewtodd-shoe'
|
|
19
|
+
rescue Gem::LoadError
|
|
20
|
+
abort this_rakefile_uses_shoe
|
|
19
21
|
else
|
|
20
22
|
require 'shoe'
|
|
21
23
|
end
|
data/lib/shoe.rb
CHANGED
|
@@ -18,7 +18,7 @@ class Shoe
|
|
|
18
18
|
spec.name = name
|
|
19
19
|
spec.version = version
|
|
20
20
|
spec.summary = summary
|
|
21
|
-
spec.files = FileList['Rakefile', '*.rdoc', 'bin/**/*', 'features/**/*', 'lib/**/*', 'test/**/*'].to_a
|
|
21
|
+
spec.files = FileList['Rakefile', '*.rdoc', 'bin/**/*', 'features/**/*', 'lib/**/*', 'resources**/*', 'test/**/*'].to_a
|
|
22
22
|
spec.executables = executables
|
|
23
23
|
spec.rdoc_options = %W(--main README.rdoc --title #{name}-#{version} --inline-source)
|
|
24
24
|
spec.extra_rdoc_files = FileList['*.rdoc'].to_a
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: matthewtodd-shoe
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matthew Todd
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-07-
|
|
12
|
+
date: 2009-07-20 00:00:00 -07:00
|
|
13
13
|
default_executable: shoe
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
@@ -52,7 +52,7 @@ rdoc_options:
|
|
|
52
52
|
- --main
|
|
53
53
|
- README.rdoc
|
|
54
54
|
- --title
|
|
55
|
-
- shoe-0.1.
|
|
55
|
+
- shoe-0.1.4
|
|
56
56
|
- --inline-source
|
|
57
57
|
require_paths:
|
|
58
58
|
- lib
|