pickle 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +16 -5
- data/Gemfile +1 -18
- data/Gemfile.lock.development +151 -0
- data/History.txt +8 -0
- data/README.rdoc +6 -6
- data/Rakefile.d/cucumber.rake +6 -4
- data/Rakefile.d/release.rake +44 -0
- data/Rakefile.d/rspec.rake +2 -6
- data/autotest/discover.rb +9 -0
- data/features/app/app.rb +11 -15
- data/features/generator/generators.feature +5 -5
- data/features/step_definitions/extra_email_steps.rb +2 -2
- data/features/step_definitions/generator_steps.rb +2 -2
- data/features/step_definitions/path_steps.rb +1 -1
- data/features/support/env.rb +17 -12
- data/lib/pickle/version.rb +1 -7
- data/pickle.gemspec +32 -129
- data/spec/pickle/adapter_spec.rb +4 -28
- data/spec/pickle/config_spec.rb +1 -1
- data/spec/pickle/email/parser_spec.rb +1 -1
- data/spec/pickle/email_spec.rb +1 -1
- data/spec/pickle/parser/matchers_spec.rb +1 -1
- data/spec/pickle/parser_spec.rb +1 -1
- data/spec/pickle/path_spec.rb +1 -1
- data/spec/pickle/session_spec.rb +5 -9
- data/spec/pickle_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +222 -36
- data/Gemfile.lock +0 -98
- data/Rakefile.d/jeweler.rake +0 -23
- data/Rakefile.d/rcov.rake +0 -18
- data/VERSION +0 -1
data/features/support/env.rb
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
# instead of editing this one. Cucumber will automatically load all features/**/*.rb
|
5
5
|
# files.
|
6
6
|
|
7
|
-
ENV["RAILS_ENV"] ||= "
|
7
|
+
ENV["RAILS_ENV"] ||= "test"
|
8
8
|
require File.expand_path(File.dirname(__FILE__) + '/../../cucumber_test_app/config/environment')
|
9
9
|
|
10
10
|
require 'cucumber/formatter/unicode' # Remove this line if you don't want Cucumber Unicode support
|
@@ -12,14 +12,15 @@ require 'cucumber/rails/world'
|
|
12
12
|
require 'cucumber/rails/active_record'
|
13
13
|
require 'cucumber/web/tableish'
|
14
14
|
|
15
|
-
require '
|
16
|
-
require '
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
15
|
+
require 'capybara/rails'
|
16
|
+
require 'capybara/cucumber'
|
17
|
+
require 'capybara/session'
|
18
|
+
require 'cucumber/rails/capybara_javascript_emulation' # Lets you click links with onclick javascript handlers without using @culerity or @javascript
|
19
|
+
# Capybara defaults to XPath selectors rather than Webrat's default of CSS3. In
|
20
|
+
# order to ease the transition to Capybara we set the default here. If you'd
|
21
|
+
# prefer to use XPath just remove this line and adjust any selectors in your
|
22
|
+
# steps to use the XPath syntax.
|
23
|
+
Capybara.default_selector = :css
|
23
24
|
|
24
25
|
# If you set this to false, any error raised from within your app will bubble
|
25
26
|
# up to your step definition and out to cucumber unless you catch it somewhere
|
@@ -45,8 +46,12 @@ ActionController::Base.allow_rescue = false
|
|
45
46
|
# subsequent scenarios. If you do this, we recommend you create a Before
|
46
47
|
# block that will explicitly put your database in a known state.
|
47
48
|
Cucumber::Rails::World.use_transactional_fixtures = true
|
48
|
-
|
49
49
|
# How to clean your database when transactions are turned off. See
|
50
50
|
# http://github.com/bmabey/database_cleaner for more info.
|
51
|
-
|
52
|
-
|
51
|
+
if defined?(ActiveRecord::Base)
|
52
|
+
begin
|
53
|
+
require 'database_cleaner'
|
54
|
+
DatabaseCleaner.strategy = :truncation
|
55
|
+
rescue LoadError => ignore_if_database_cleaner_not_present
|
56
|
+
end
|
57
|
+
end
|
data/lib/pickle/version.rb
CHANGED
data/pickle.gemspec
CHANGED
@@ -1,134 +1,37 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
-
# -*- encoding: utf-8 -*-
|
1
|
+
$:.push File.expand_path("../lib", __FILE__)
|
2
|
+
require "pickle/version"
|
5
3
|
|
6
4
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version =
|
9
|
-
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
5
|
+
s.name = "pickle"
|
6
|
+
s.version = Pickle::VERSION.dup
|
7
|
+
s.platform = Gem::Platform::RUBY
|
11
8
|
s.authors = ["Ian White"]
|
12
|
-
s.
|
13
|
-
s.
|
14
|
-
s.email =
|
15
|
-
s.
|
16
|
-
"README.rdoc"
|
17
|
-
]
|
18
|
-
s.files = [
|
19
|
-
".gitignore",
|
20
|
-
"Gemfile",
|
21
|
-
"Gemfile.lock",
|
22
|
-
"History.txt",
|
23
|
-
"License.txt",
|
24
|
-
"README.rdoc",
|
25
|
-
"Rakefile",
|
26
|
-
"Rakefile.d/cucumber.rake",
|
27
|
-
"Rakefile.d/jeweler.rake",
|
28
|
-
"Rakefile.d/rcov.rake",
|
29
|
-
"Rakefile.d/rspec.rake",
|
30
|
-
"Rakefile.d/yard.rake",
|
31
|
-
"Todo.txt",
|
32
|
-
"VERSION",
|
33
|
-
"features/app/app.rb",
|
34
|
-
"features/app/blueprints.rb",
|
35
|
-
"features/app/factories.rb",
|
36
|
-
"features/app/views/notifier/email.erb",
|
37
|
-
"features/app/views/notifier/user_email.erb",
|
38
|
-
"features/email/email.feature",
|
39
|
-
"features/generator/generators.feature",
|
40
|
-
"features/path/models_page.feature",
|
41
|
-
"features/path/named_route_page.feature",
|
42
|
-
"features/pickle/create_from_active_record.feature",
|
43
|
-
"features/pickle/create_from_factory_girl.feature",
|
44
|
-
"features/pickle/create_from_machinist.feature",
|
45
|
-
"features/step_definitions/email_steps.rb",
|
46
|
-
"features/step_definitions/extra_email_steps.rb",
|
47
|
-
"features/step_definitions/fork_steps.rb",
|
48
|
-
"features/step_definitions/generator_steps.rb",
|
49
|
-
"features/step_definitions/path_steps.rb",
|
50
|
-
"features/step_definitions/pickle_steps.rb",
|
51
|
-
"features/step_definitions/raise_error_steps.rb",
|
52
|
-
"features/support/email.rb",
|
53
|
-
"features/support/env.rb",
|
54
|
-
"features/support/paths.rb",
|
55
|
-
"features/support/pickle.rb",
|
56
|
-
"features/support/pickle_app.rb",
|
57
|
-
"init.rb",
|
58
|
-
"lib/generators/pickle_generator.rb",
|
59
|
-
"lib/pickle.rb",
|
60
|
-
"lib/pickle/adapter.rb",
|
61
|
-
"lib/pickle/adapters/active_record.rb",
|
62
|
-
"lib/pickle/adapters/data_mapper.rb",
|
63
|
-
"lib/pickle/adapters/mongoid.rb",
|
64
|
-
"lib/pickle/config.rb",
|
65
|
-
"lib/pickle/email.rb",
|
66
|
-
"lib/pickle/email/parser.rb",
|
67
|
-
"lib/pickle/email/world.rb",
|
68
|
-
"lib/pickle/parser.rb",
|
69
|
-
"lib/pickle/parser/matchers.rb",
|
70
|
-
"lib/pickle/path.rb",
|
71
|
-
"lib/pickle/path/world.rb",
|
72
|
-
"lib/pickle/session.rb",
|
73
|
-
"lib/pickle/session/parser.rb",
|
74
|
-
"lib/pickle/version.rb",
|
75
|
-
"lib/pickle/world.rb",
|
76
|
-
"pickle.gemspec",
|
77
|
-
"rails_generators/pickle/pickle_generator.rb",
|
78
|
-
"rails_generators/pickle/templates/email.rb",
|
79
|
-
"rails_generators/pickle/templates/email_steps.rb",
|
80
|
-
"rails_generators/pickle/templates/paths.rb",
|
81
|
-
"rails_generators/pickle/templates/pickle.rb",
|
82
|
-
"rails_generators/pickle/templates/pickle_steps.rb",
|
83
|
-
"spec/pickle/adapter_spec.rb",
|
84
|
-
"spec/pickle/config_spec.rb",
|
85
|
-
"spec/pickle/email/parser_spec.rb",
|
86
|
-
"spec/pickle/email_spec.rb",
|
87
|
-
"spec/pickle/parser/matchers_spec.rb",
|
88
|
-
"spec/pickle/parser_spec.rb",
|
89
|
-
"spec/pickle/path_spec.rb",
|
90
|
-
"spec/pickle/session_spec.rb",
|
91
|
-
"spec/pickle_spec.rb",
|
92
|
-
"spec/spec_helper.rb"
|
93
|
-
]
|
94
|
-
s.homepage = %q{http://github.com/ianwhite/pickle/tree}
|
95
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
96
|
-
s.require_paths = ["lib"]
|
97
|
-
s.rubygems_version = %q{1.3.7}
|
98
|
-
s.summary = %q{Easy model creation and reference in your cucumber features}
|
99
|
-
s.test_files = [
|
100
|
-
"spec/pickle/adapter_spec.rb",
|
101
|
-
"spec/pickle/config_spec.rb",
|
102
|
-
"spec/pickle/email/parser_spec.rb",
|
103
|
-
"spec/pickle/email_spec.rb",
|
104
|
-
"spec/pickle/parser/matchers_spec.rb",
|
105
|
-
"spec/pickle/parser_spec.rb",
|
106
|
-
"spec/pickle/path_spec.rb",
|
107
|
-
"spec/pickle/session_spec.rb",
|
108
|
-
"spec/pickle_spec.rb",
|
109
|
-
"spec/spec_helper.rb"
|
110
|
-
]
|
9
|
+
s.description = "Easy model creation and reference in your cucumber features"
|
10
|
+
s.summary = "Easy model creation and reference in your cucumber features."
|
11
|
+
s.email = "ian.w.white@gmail.com"
|
12
|
+
s.homepage = "http://github.com/ianwhite/pickle"
|
111
13
|
|
112
|
-
|
113
|
-
|
114
|
-
s.specification_version = 3
|
115
|
-
|
116
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
117
|
-
s.add_runtime_dependency(%q<rspec>, [">= 1.3"])
|
118
|
-
s.add_runtime_dependency(%q<cucumber>, [">= 0.8"])
|
119
|
-
s.add_runtime_dependency(%q<yard>, [">= 0"])
|
120
|
-
s.add_runtime_dependency(%q<rake>, [">= 0"])
|
121
|
-
else
|
122
|
-
s.add_dependency(%q<rspec>, [">= 1.3"])
|
123
|
-
s.add_dependency(%q<cucumber>, [">= 0.8"])
|
124
|
-
s.add_dependency(%q<yard>, [">= 0"])
|
125
|
-
s.add_dependency(%q<rake>, [">= 0"])
|
126
|
-
end
|
127
|
-
else
|
128
|
-
s.add_dependency(%q<rspec>, [">= 1.3"])
|
129
|
-
s.add_dependency(%q<cucumber>, [">= 0.8"])
|
130
|
-
s.add_dependency(%q<yard>, [">= 0"])
|
131
|
-
s.add_dependency(%q<rake>, [">= 0"])
|
132
|
-
end
|
133
|
-
end
|
14
|
+
s.rubyforge_project = "orm_adapter"
|
15
|
+
s.required_rubygems_version = ">= 1.3.6"
|
134
16
|
|
17
|
+
s.files = `git ls-files`.split("\n")
|
18
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
|
+
s.require_paths = ["lib"]
|
20
|
+
|
21
|
+
s.add_dependency "cucumber", ">=0.8"
|
22
|
+
s.add_dependency "rake"
|
23
|
+
|
24
|
+
s.add_development_dependency "rack", "~>1.2.1"
|
25
|
+
s.add_development_dependency "bundler"
|
26
|
+
s.add_development_dependency "git"
|
27
|
+
s.add_development_dependency "yard"
|
28
|
+
s.add_development_dependency "rspec-rails", "~>2.5.0"
|
29
|
+
s.add_development_dependency "rails", "~>3.0.5"
|
30
|
+
s.add_development_dependency "cucumber-rails", ">=0.3.2"
|
31
|
+
s.add_development_dependency "factory_girl"
|
32
|
+
s.add_development_dependency "machinist"
|
33
|
+
s.add_development_dependency "rcov"
|
34
|
+
s.add_development_dependency "database_cleaner"
|
35
|
+
s.add_development_dependency "capybara"
|
36
|
+
s.add_development_dependency "sqlite3-ruby"
|
37
|
+
end
|
data/spec/pickle/adapter_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require
|
1
|
+
require 'spec_helper'
|
2
2
|
|
3
3
|
require 'active_record'
|
4
4
|
require 'factory_girl'
|
@@ -18,30 +18,13 @@ describe Pickle::Adapter do
|
|
18
18
|
before do
|
19
19
|
Pickle::Adapter.model_classes = nil
|
20
20
|
end
|
21
|
-
|
22
|
-
it "should only include #suitable_for_pickle classes" do
|
23
|
-
klass1 = Class.new(ActiveRecord::Base)
|
24
|
-
klass2 = Class.new(ActiveRecord::Base)
|
25
|
-
klass3 = Class.new(ActiveRecord::Base)
|
26
|
-
klass4 = Class.new(ActiveRecord::Base)
|
27
|
-
klass5 = Class.new(ActiveRecord::Base)
|
28
|
-
klass6 = Class.new(ActiveRecord::Base)
|
29
|
-
[klass1, klass2, klass3, klass4, klass5, klass6].each { |k| k.stub!(:table_exists?).and_return(true) }
|
30
|
-
|
31
|
-
klass2.stub!(:name).and_return("CGI::Session::ActiveRecordStore::Session")
|
32
|
-
klass3.stub!(:name).and_return("ActiveRecord::SessionStore::Session")
|
33
|
-
klass4.stub!(:table_exists?).and_return(false)
|
34
|
-
klass5.stub!(:abstract_class?).and_return(true)
|
35
|
-
Pickle::Adapter.model_classes.should include(klass1, klass6)
|
36
|
-
Pickle::Adapter.model_classes.should_not include(klass2, klass3, klass4, klass5)
|
37
|
-
end
|
38
21
|
end
|
39
22
|
|
40
23
|
describe "adapters: " do
|
41
24
|
before do
|
42
|
-
@klass1 =
|
43
|
-
@klass2 =
|
44
|
-
@klass3 =
|
25
|
+
@klass1 = Class.new(ActiveRecord::Base).tap { |k| k.stub!(:name).and_return('One') }
|
26
|
+
@klass2 = Class.new(ActiveRecord::Base).tap { |k| k.stub!(:name).and_return('One::Two') }
|
27
|
+
@klass3 = Class.new(ActiveRecord::Base).tap { |k| k.stub!(:name).and_return('Three') }
|
45
28
|
end
|
46
29
|
|
47
30
|
describe 'ActiveRecord' do
|
@@ -55,13 +38,6 @@ describe Pickle::Adapter do
|
|
55
38
|
|
56
39
|
ActiveRecord::Base::PickleAdapter.model_classes
|
57
40
|
end
|
58
|
-
|
59
|
-
it "calls .subclasses when .descendants doesn't respond" do
|
60
|
-
::ActiveRecord::Base.should_receive(:subclasses).and_return([])
|
61
|
-
|
62
|
-
ActiveRecord::Base::PickleAdapter.model_classes
|
63
|
-
end
|
64
|
-
|
65
41
|
end
|
66
42
|
|
67
43
|
describe 'with class stubs' do
|
data/spec/pickle/config_spec.rb
CHANGED
data/spec/pickle/email_spec.rb
CHANGED
data/spec/pickle/parser_spec.rb
CHANGED
data/spec/pickle/path_spec.rb
CHANGED
data/spec/pickle/session_spec.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require
|
1
|
+
require 'spec_helper'
|
2
2
|
|
3
3
|
# TODO: remove this and push AR stuff into ORM adapter
|
4
4
|
module ActiveRecord
|
@@ -30,7 +30,7 @@ describe Pickle::Session do
|
|
30
30
|
config.stub(:factories).and_return('user' => user_factory)
|
31
31
|
end
|
32
32
|
|
33
|
-
|
33
|
+
shared_examples_for "Pickle::Session proxy missing methods to parser" do
|
34
34
|
it "should forward to pickle_parser it responds_to them" do
|
35
35
|
subject.pickle_parser.should_receive(:parse_model)
|
36
36
|
subject.parse_model
|
@@ -51,15 +51,13 @@ describe Pickle::Session do
|
|
51
51
|
|
52
52
|
describe "extending Pickle::Session" do
|
53
53
|
subject do
|
54
|
-
|
55
|
-
object.extend Pickle::Session
|
56
|
-
end
|
54
|
+
Object.new.tap {|object| object.extend Pickle::Session }
|
57
55
|
end
|
58
56
|
|
59
57
|
it_should_behave_like "Pickle::Session proxy missing methods to parser"
|
60
58
|
end
|
61
59
|
|
62
|
-
|
60
|
+
shared_examples_for "after storing a single user" do
|
63
61
|
it "created_models('user') should be array containing the original user" do
|
64
62
|
created_models('user').should == [user]
|
65
63
|
end
|
@@ -80,9 +78,7 @@ describe Pickle::Session do
|
|
80
78
|
|
81
79
|
describe "(found from db)" do
|
82
80
|
let :user_from_db do
|
83
|
-
|
84
|
-
from_db.stub!(:id).and_return(100)
|
85
|
-
end
|
81
|
+
user.dup.tap {|from_db| from_db.stub!(:id).and_return(100) }
|
86
82
|
end
|
87
83
|
|
88
84
|
before do
|
data/spec/pickle_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pickle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 5
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 5
|
10
|
+
version: 0.4.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ian White
|
@@ -15,43 +15,58 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-03-14 00:00:00 +00:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
|
-
name:
|
22
|
+
name: cucumber
|
23
23
|
prerelease: false
|
24
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
29
|
+
hash: 27
|
30
30
|
segments:
|
31
|
-
-
|
32
|
-
-
|
33
|
-
version: "
|
31
|
+
- 0
|
32
|
+
- 8
|
33
|
+
version: "0.8"
|
34
34
|
type: :runtime
|
35
35
|
version_requirements: *id001
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
|
-
name:
|
37
|
+
name: rake
|
38
38
|
prerelease: false
|
39
39
|
requirement: &id002 !ruby/object:Gem::Requirement
|
40
40
|
none: false
|
41
41
|
requirements:
|
42
42
|
- - ">="
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
hash:
|
44
|
+
hash: 3
|
45
45
|
segments:
|
46
46
|
- 0
|
47
|
-
|
48
|
-
version: "0.8"
|
47
|
+
version: "0"
|
49
48
|
type: :runtime
|
50
49
|
version_requirements: *id002
|
51
50
|
- !ruby/object:Gem::Dependency
|
52
|
-
name:
|
51
|
+
name: rack
|
53
52
|
prerelease: false
|
54
53
|
requirement: &id003 !ruby/object:Gem::Requirement
|
54
|
+
none: false
|
55
|
+
requirements:
|
56
|
+
- - ~>
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
hash: 29
|
59
|
+
segments:
|
60
|
+
- 1
|
61
|
+
- 2
|
62
|
+
- 1
|
63
|
+
version: 1.2.1
|
64
|
+
type: :development
|
65
|
+
version_requirements: *id003
|
66
|
+
- !ruby/object:Gem::Dependency
|
67
|
+
name: bundler
|
68
|
+
prerelease: false
|
69
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
55
70
|
none: false
|
56
71
|
requirements:
|
57
72
|
- - ">="
|
@@ -60,12 +75,12 @@ dependencies:
|
|
60
75
|
segments:
|
61
76
|
- 0
|
62
77
|
version: "0"
|
63
|
-
type: :
|
64
|
-
version_requirements: *
|
78
|
+
type: :development
|
79
|
+
version_requirements: *id004
|
65
80
|
- !ruby/object:Gem::Dependency
|
66
|
-
name:
|
81
|
+
name: git
|
67
82
|
prerelease: false
|
68
|
-
requirement: &
|
83
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
69
84
|
none: false
|
70
85
|
requirements:
|
71
86
|
- - ">="
|
@@ -74,31 +89,176 @@ dependencies:
|
|
74
89
|
segments:
|
75
90
|
- 0
|
76
91
|
version: "0"
|
77
|
-
type: :
|
78
|
-
version_requirements: *
|
92
|
+
type: :development
|
93
|
+
version_requirements: *id005
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: yard
|
96
|
+
prerelease: false
|
97
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
98
|
+
none: false
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
hash: 3
|
103
|
+
segments:
|
104
|
+
- 0
|
105
|
+
version: "0"
|
106
|
+
type: :development
|
107
|
+
version_requirements: *id006
|
108
|
+
- !ruby/object:Gem::Dependency
|
109
|
+
name: rspec-rails
|
110
|
+
prerelease: false
|
111
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
112
|
+
none: false
|
113
|
+
requirements:
|
114
|
+
- - ~>
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
hash: 27
|
117
|
+
segments:
|
118
|
+
- 2
|
119
|
+
- 5
|
120
|
+
- 0
|
121
|
+
version: 2.5.0
|
122
|
+
type: :development
|
123
|
+
version_requirements: *id007
|
124
|
+
- !ruby/object:Gem::Dependency
|
125
|
+
name: rails
|
126
|
+
prerelease: false
|
127
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
128
|
+
none: false
|
129
|
+
requirements:
|
130
|
+
- - ~>
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
hash: 13
|
133
|
+
segments:
|
134
|
+
- 3
|
135
|
+
- 0
|
136
|
+
- 5
|
137
|
+
version: 3.0.5
|
138
|
+
type: :development
|
139
|
+
version_requirements: *id008
|
140
|
+
- !ruby/object:Gem::Dependency
|
141
|
+
name: cucumber-rails
|
142
|
+
prerelease: false
|
143
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
144
|
+
none: false
|
145
|
+
requirements:
|
146
|
+
- - ">="
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
hash: 23
|
149
|
+
segments:
|
150
|
+
- 0
|
151
|
+
- 3
|
152
|
+
- 2
|
153
|
+
version: 0.3.2
|
154
|
+
type: :development
|
155
|
+
version_requirements: *id009
|
156
|
+
- !ruby/object:Gem::Dependency
|
157
|
+
name: factory_girl
|
158
|
+
prerelease: false
|
159
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
160
|
+
none: false
|
161
|
+
requirements:
|
162
|
+
- - ">="
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
hash: 3
|
165
|
+
segments:
|
166
|
+
- 0
|
167
|
+
version: "0"
|
168
|
+
type: :development
|
169
|
+
version_requirements: *id010
|
170
|
+
- !ruby/object:Gem::Dependency
|
171
|
+
name: machinist
|
172
|
+
prerelease: false
|
173
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
174
|
+
none: false
|
175
|
+
requirements:
|
176
|
+
- - ">="
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
hash: 3
|
179
|
+
segments:
|
180
|
+
- 0
|
181
|
+
version: "0"
|
182
|
+
type: :development
|
183
|
+
version_requirements: *id011
|
184
|
+
- !ruby/object:Gem::Dependency
|
185
|
+
name: rcov
|
186
|
+
prerelease: false
|
187
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
188
|
+
none: false
|
189
|
+
requirements:
|
190
|
+
- - ">="
|
191
|
+
- !ruby/object:Gem::Version
|
192
|
+
hash: 3
|
193
|
+
segments:
|
194
|
+
- 0
|
195
|
+
version: "0"
|
196
|
+
type: :development
|
197
|
+
version_requirements: *id012
|
198
|
+
- !ruby/object:Gem::Dependency
|
199
|
+
name: database_cleaner
|
200
|
+
prerelease: false
|
201
|
+
requirement: &id013 !ruby/object:Gem::Requirement
|
202
|
+
none: false
|
203
|
+
requirements:
|
204
|
+
- - ">="
|
205
|
+
- !ruby/object:Gem::Version
|
206
|
+
hash: 3
|
207
|
+
segments:
|
208
|
+
- 0
|
209
|
+
version: "0"
|
210
|
+
type: :development
|
211
|
+
version_requirements: *id013
|
212
|
+
- !ruby/object:Gem::Dependency
|
213
|
+
name: capybara
|
214
|
+
prerelease: false
|
215
|
+
requirement: &id014 !ruby/object:Gem::Requirement
|
216
|
+
none: false
|
217
|
+
requirements:
|
218
|
+
- - ">="
|
219
|
+
- !ruby/object:Gem::Version
|
220
|
+
hash: 3
|
221
|
+
segments:
|
222
|
+
- 0
|
223
|
+
version: "0"
|
224
|
+
type: :development
|
225
|
+
version_requirements: *id014
|
226
|
+
- !ruby/object:Gem::Dependency
|
227
|
+
name: sqlite3-ruby
|
228
|
+
prerelease: false
|
229
|
+
requirement: &id015 !ruby/object:Gem::Requirement
|
230
|
+
none: false
|
231
|
+
requirements:
|
232
|
+
- - ">="
|
233
|
+
- !ruby/object:Gem::Version
|
234
|
+
hash: 3
|
235
|
+
segments:
|
236
|
+
- 0
|
237
|
+
version: "0"
|
238
|
+
type: :development
|
239
|
+
version_requirements: *id015
|
79
240
|
description: Easy model creation and reference in your cucumber features
|
80
241
|
email: ian.w.white@gmail.com
|
81
242
|
executables: []
|
82
243
|
|
83
244
|
extensions: []
|
84
245
|
|
85
|
-
extra_rdoc_files:
|
86
|
-
|
246
|
+
extra_rdoc_files: []
|
247
|
+
|
87
248
|
files:
|
88
249
|
- .gitignore
|
89
250
|
- Gemfile
|
90
|
-
- Gemfile.lock
|
251
|
+
- Gemfile.lock.development
|
91
252
|
- History.txt
|
92
253
|
- License.txt
|
93
254
|
- README.rdoc
|
94
255
|
- Rakefile
|
95
256
|
- Rakefile.d/cucumber.rake
|
96
|
-
- Rakefile.d/
|
97
|
-
- Rakefile.d/rcov.rake
|
257
|
+
- Rakefile.d/release.rake
|
98
258
|
- Rakefile.d/rspec.rake
|
99
259
|
- Rakefile.d/yard.rake
|
100
260
|
- Todo.txt
|
101
|
-
-
|
261
|
+
- autotest/discover.rb
|
102
262
|
- features/app/app.rb
|
103
263
|
- features/app/blueprints.rb
|
104
264
|
- features/app/factories.rb
|
@@ -160,12 +320,12 @@ files:
|
|
160
320
|
- spec/pickle_spec.rb
|
161
321
|
- spec/spec_helper.rb
|
162
322
|
has_rdoc: true
|
163
|
-
homepage: http://github.com/ianwhite/pickle
|
323
|
+
homepage: http://github.com/ianwhite/pickle
|
164
324
|
licenses: []
|
165
325
|
|
166
326
|
post_install_message:
|
167
|
-
rdoc_options:
|
168
|
-
|
327
|
+
rdoc_options: []
|
328
|
+
|
169
329
|
require_paths:
|
170
330
|
- lib
|
171
331
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -182,18 +342,44 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
182
342
|
requirements:
|
183
343
|
- - ">="
|
184
344
|
- !ruby/object:Gem::Version
|
185
|
-
hash:
|
345
|
+
hash: 23
|
186
346
|
segments:
|
187
|
-
-
|
188
|
-
|
347
|
+
- 1
|
348
|
+
- 3
|
349
|
+
- 6
|
350
|
+
version: 1.3.6
|
189
351
|
requirements: []
|
190
352
|
|
191
|
-
rubyforge_project:
|
192
|
-
rubygems_version: 1.
|
353
|
+
rubyforge_project: orm_adapter
|
354
|
+
rubygems_version: 1.5.1
|
193
355
|
signing_key:
|
194
356
|
specification_version: 3
|
195
|
-
summary: Easy model creation and reference in your cucumber features
|
357
|
+
summary: Easy model creation and reference in your cucumber features.
|
196
358
|
test_files:
|
359
|
+
- features/app/app.rb
|
360
|
+
- features/app/blueprints.rb
|
361
|
+
- features/app/factories.rb
|
362
|
+
- features/app/views/notifier/email.erb
|
363
|
+
- features/app/views/notifier/user_email.erb
|
364
|
+
- features/email/email.feature
|
365
|
+
- features/generator/generators.feature
|
366
|
+
- features/path/models_page.feature
|
367
|
+
- features/path/named_route_page.feature
|
368
|
+
- features/pickle/create_from_active_record.feature
|
369
|
+
- features/pickle/create_from_factory_girl.feature
|
370
|
+
- features/pickle/create_from_machinist.feature
|
371
|
+
- features/step_definitions/email_steps.rb
|
372
|
+
- features/step_definitions/extra_email_steps.rb
|
373
|
+
- features/step_definitions/fork_steps.rb
|
374
|
+
- features/step_definitions/generator_steps.rb
|
375
|
+
- features/step_definitions/path_steps.rb
|
376
|
+
- features/step_definitions/pickle_steps.rb
|
377
|
+
- features/step_definitions/raise_error_steps.rb
|
378
|
+
- features/support/email.rb
|
379
|
+
- features/support/env.rb
|
380
|
+
- features/support/paths.rb
|
381
|
+
- features/support/pickle.rb
|
382
|
+
- features/support/pickle_app.rb
|
197
383
|
- spec/pickle/adapter_spec.rb
|
198
384
|
- spec/pickle/config_spec.rb
|
199
385
|
- spec/pickle/email/parser_spec.rb
|