pickle 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/History.txt +6 -0
  2. data/README.rdoc +1 -3
  3. data/Rakefile +15 -22
  4. data/VERSION +1 -1
  5. data/pickle.gemspec +1 -1
  6. metadata +2 -2
data/History.txt CHANGED
@@ -1,3 +1,9 @@
1
+ == 0.2.7 - 5 Apr 2010
2
+
3
+ * 1 minor improvement
4
+ * just rake 'rake cucumber' and a rails app will be setup for you if required (rails 2.3 only ATM)
5
+
6
+
1
7
  == 0.2.6 - 5 Apr 2010
2
8
 
3
9
  * 2 improvements
data/README.rdoc CHANGED
@@ -49,11 +49,9 @@ To run the specs do:
49
49
 
50
50
  rake spec
51
51
 
52
- To run the features do:
52
+ To run the features (rails 2.3 only ATM):
53
53
 
54
54
  rake cucumber
55
-
56
- The first time you do this, instructions will appear about how to set up a test rails app.
57
55
 
58
56
  == Contributors
59
57
 
data/Rakefile CHANGED
@@ -42,31 +42,24 @@ end
42
42
 
43
43
  desc "setup a rails app for running cucumber"
44
44
  file "cucumber_test_app" do
45
- raise <<-EOD
46
-
47
- ** Please setup a test rails app in cucumber_test_app **
48
-
49
- Until this is automated, do something like:
50
-
51
- (make sure cucumber, cucumber-rails, rspec, rspec-rails, machinist, and factory_girl are all installed as gems)
52
-
53
- rails cucumber_test_app
54
- cd cucumber_test_app
55
- script/generate rspec
56
- script/generate cucumber
57
- cd vendor/plugins
58
- ln -s ../../.. pickle
59
- cd ../../..
60
-
61
- Then run
62
-
63
- rake cucumber
64
-
65
- ** thanks! **
45
+ puts "** setting up cucumber test app ** (rails 2.3 only at present)"
46
+ Rake::Task['cucumber:setup'].invoke
47
+ end
66
48
 
67
- EOD
49
+ namespace :cucumber do
50
+ task :setup do
51
+ rm_rf "cucumber_test_app"
52
+ sh "rails cucumber_test_app"
53
+ cd "cucumber_test_app" do
54
+ sh "script/generate rspec"
55
+ sh "script/generate cucumber"
56
+ end
57
+ sh "ln -s #{File.expand_path('.')} cucumber_test_app/vendor/plugins/pickle"
58
+ end
68
59
  end
69
60
 
61
+ task :ci => ['rcov:verify', 'cucumber']
62
+
70
63
  begin
71
64
  require 'jeweler'
72
65
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.6
1
+ 0.2.7
data/pickle.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{pickle}
8
- s.version = "0.2.6"
8
+ s.version = "0.2.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ian White"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 6
9
- version: 0.2.6
8
+ - 7
9
+ version: 0.2.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ian White