matthewtodd-shoe 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/bin/shoe +4 -4
  3. metadata +2 -2
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.0', "You probably don't want to use Shoe.") do |spec|
4
+ Shoe.tie('shoe', '0.1.1', "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
@@ -2,12 +2,10 @@
2
2
 
3
3
  if File.exists?('Rakefile')
4
4
  abort 'Rakefile exists. Not clobbering.'
5
- else
6
- project_name = File.basename(File.expand_path(Dir.pwd))
7
- File.open('Rakefile', 'w') { |file| file.write(DATA.read.gsub('NAME', project_name)) }
8
5
  end
9
6
 
10
- __END__
7
+ File.open('Rakefile', 'w') do |file|
8
+ file.write <<-END_RAKEFILE.gsub('NAME', File.basename(File.expand_path(Dir.pwd)))
11
9
  begin
12
10
  gem 'matthewtodd-shoe'
13
11
  rescue Gem::LoadError
@@ -24,4 +22,6 @@ end
24
22
 
25
23
  Shoe.tie('NAME', '0.1.0', 'TODO write a summary of NAME here.') do |spec|
26
24
  # spec.add_development_dependency 'thoughtbot-shoulda'
25
+ end
26
+ END_RAKEFILE
27
27
  end
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.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Todd
@@ -52,7 +52,7 @@ rdoc_options:
52
52
  - --main
53
53
  - README.rdoc
54
54
  - --title
55
- - shoe-0.1.0
55
+ - shoe-0.1.1
56
56
  - --inline-source
57
57
  require_paths:
58
58
  - lib