cavalle-pickle 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,9 +2,11 @@ class PickleGenerator < Rails::Generator::Base
2
2
  def manifest
3
3
  record do |m|
4
4
  m.directory 'spec/acceptance/support'
5
+ m.directory 'lib/tasks'
5
6
  m.file "acceptance_helper.rb", "spec/acceptance/acceptance_helper.rb"
6
7
  m.file "helpers.rb", "spec/acceptance/support/helpers.rb"
7
8
  m.file "paths.rb", "spec/acceptance/support/paths.rb"
9
+ m.file "pickle.rake", "lib/tasks/pickle.rake"
8
10
  end
9
11
  end
10
12
  end
@@ -0,0 +1,7 @@
1
+ namespace :spec
2
+ desc "Run the code examples in spec/acceptance"
3
+ Spec::Rake::SpecTask.new(:acceptance => spec_prereq) do |t|
4
+ t.spec_opts = ['--options', "\"#{RAILS_ROOT}/spec/spec.opts\""]
5
+ t.spec_files = FileList["spec/acceptance/**/*_spec.rb"]
6
+ end
7
+ end
@@ -17,6 +17,7 @@ feature "Pickle generator for rails", %q{
17
17
  File.exist?(rails_app + "/spec/acceptance/acceptance_helper.rb").should be_true
18
18
  File.exist?(rails_app + "/spec/acceptance/support/helpers.rb").should be_true
19
19
  File.exist?(rails_app + "/spec/acceptance/support/paths.rb").should be_true
20
+ File.exist?(rails_app + "/lib/tasks/pickle.rake").should be_true
20
21
 
21
22
  end
22
23
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cavalle-pickle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Luismi Cavall\xC3\xA9"
@@ -40,9 +40,11 @@ files:
40
40
  - generators/pickle/templates/acceptance_helper.rb
41
41
  - generators/pickle/templates/helpers.rb
42
42
  - generators/pickle/templates/paths.rb
43
+ - generators/pickle/templates/pickle.rake
43
44
  - lib/pickle.rb
44
- has_rdoc: false
45
+ has_rdoc: true
45
46
  homepage: http://github.com/cavalle/pickle
47
+ licenses:
46
48
  post_install_message:
47
49
  rdoc_options:
48
50
  - --charset=UTF-8
@@ -63,9 +65,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
65
  requirements: []
64
66
 
65
67
  rubyforge_project:
66
- rubygems_version: 1.2.0
68
+ rubygems_version: 1.3.5
67
69
  signing_key:
68
- specification_version: 3
70
+ specification_version: 2
69
71
  summary: A pickle is a cucumber fermented in vinegar or brine
70
72
  test_files:
71
73
  - spec/acceptance/acceptance_helper.rb