dupe 0.5.1 → 0.5.3
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/README.rdoc +13 -2
- metadata +46 -11
data/README.rdoc
CHANGED
|
@@ -15,7 +15,7 @@ If you want to install this for use in something other than a rails project, sim
|
|
|
15
15
|
|
|
16
16
|
# gem install dupe
|
|
17
17
|
|
|
18
|
-
If you're going to use this in a rails project, add this to your cucumber.rb environment (config/environments/cucumber.rb)
|
|
18
|
+
If you're going to use this in a rails (2.3.*) project, add this to your cucumber.rb environment (config/environments/cucumber.rb)
|
|
19
19
|
|
|
20
20
|
config.gem 'dupe'
|
|
21
21
|
|
|
@@ -36,7 +36,18 @@ That last command will create the following directories:
|
|
|
36
36
|
It will also place example Dupe definitions in RAILS_ROOT/features/dupe/definitions/definitions.rb as well as example custom mocks in RAILS_ROOT/features/dupe/custom_mocks/custom_mocks.rb
|
|
37
37
|
|
|
38
38
|
Lastly, it will add a load_dupe.rb file (that loads up the definitions and custom mocks) to RAILS_ROOT/features/support/load_dupe.rb
|
|
39
|
-
|
|
39
|
+
|
|
40
|
+
== Rails 3
|
|
41
|
+
|
|
42
|
+
{Thorbjørn Hermansen}[http://github.com/thhermansen] has contributed a branch[http://github.com/moonmaster9000/dupe/tree/rails3] for rails 3 compatibility!
|
|
43
|
+
If you need Dupe for a rails 3 project, give it a whirl. Simply add something like the following to your bundler file:
|
|
44
|
+
|
|
45
|
+
gem 'dupe', :git => 'git://github.com/moonmaster9000/dupe.git', :branch => 'rails3'
|
|
46
|
+
|
|
47
|
+
"script/generate dupe" doesn't yet work in Rails3.
|
|
48
|
+
|
|
49
|
+
Once Rails3 goes production, we'll be merging this branch into master and only supporting Rails3 from that point on. (Of course, if
|
|
50
|
+
anyone at that point still has a need to use Dupe in a rails 2.3 project, they will still be able to use one of the older versions).
|
|
40
51
|
|
|
41
52
|
= Tutorial
|
|
42
53
|
|
metadata
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dupe
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
4
|
+
hash: 13
|
|
5
|
+
prerelease: false
|
|
6
|
+
segments:
|
|
7
|
+
- 0
|
|
8
|
+
- 5
|
|
9
|
+
- 3
|
|
10
|
+
version: 0.5.3
|
|
5
11
|
platform: ruby
|
|
6
12
|
authors:
|
|
7
13
|
- Matt Parker
|
|
@@ -9,19 +15,24 @@ autorequire:
|
|
|
9
15
|
bindir: bin
|
|
10
16
|
cert_chain: []
|
|
11
17
|
|
|
12
|
-
date: 2010-
|
|
18
|
+
date: 2010-10-26 00:00:00 -04:00
|
|
13
19
|
default_executable:
|
|
14
20
|
dependencies:
|
|
15
21
|
- !ruby/object:Gem::Dependency
|
|
16
22
|
name: activeresource
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
23
|
+
prerelease: false
|
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
|
25
|
+
none: false
|
|
20
26
|
requirements:
|
|
21
|
-
- -
|
|
27
|
+
- - ~>
|
|
22
28
|
- !ruby/object:Gem::Version
|
|
23
|
-
|
|
24
|
-
|
|
29
|
+
hash: 5
|
|
30
|
+
segments:
|
|
31
|
+
- 2
|
|
32
|
+
- 3
|
|
33
|
+
version: "2.3"
|
|
34
|
+
type: :runtime
|
|
35
|
+
version_requirements: *id001
|
|
25
36
|
description: |-
|
|
26
37
|
Dupe rides on top of ActiveResource to allow you to cuke the client side of
|
|
27
38
|
a service-oriented app without having to worry about whether or not the service
|
|
@@ -58,6 +69,24 @@ files:
|
|
|
58
69
|
- rails_generators/dupe/templates/custom_mocks.rb
|
|
59
70
|
- rails_generators/dupe/templates/definitions.rb
|
|
60
71
|
- rails_generators/dupe/templates/load_dupe.rb
|
|
72
|
+
- spec/lib_specs/active_resource_extensions_spec.rb
|
|
73
|
+
- spec/lib_specs/attribute_template_spec.rb
|
|
74
|
+
- spec/lib_specs/database_spec.rb
|
|
75
|
+
- spec/lib_specs/dupe_spec.rb
|
|
76
|
+
- spec/lib_specs/hash_pruner_spec.rb
|
|
77
|
+
- spec/lib_specs/log_spec.rb
|
|
78
|
+
- spec/lib_specs/logged_request_spec.rb
|
|
79
|
+
- spec/lib_specs/mock_definitions_spec.rb
|
|
80
|
+
- spec/lib_specs/mock_spec.rb
|
|
81
|
+
- spec/lib_specs/model_spec.rb
|
|
82
|
+
- spec/lib_specs/network_spec.rb
|
|
83
|
+
- spec/lib_specs/record_spec.rb
|
|
84
|
+
- spec/lib_specs/rest_validation_spec.rb
|
|
85
|
+
- spec/lib_specs/schema_spec.rb
|
|
86
|
+
- spec/lib_specs/sequence_spec.rb
|
|
87
|
+
- spec/lib_specs/string_spec.rb
|
|
88
|
+
- spec/lib_specs/symbol_spec.rb
|
|
89
|
+
- spec/spec_helper.rb
|
|
61
90
|
has_rdoc: true
|
|
62
91
|
homepage: http://github.com/moonmaster9000/dupe
|
|
63
92
|
licenses: []
|
|
@@ -68,21 +97,27 @@ rdoc_options:
|
|
|
68
97
|
require_paths:
|
|
69
98
|
- lib
|
|
70
99
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
100
|
+
none: false
|
|
71
101
|
requirements:
|
|
72
102
|
- - ">="
|
|
73
103
|
- !ruby/object:Gem::Version
|
|
104
|
+
hash: 3
|
|
105
|
+
segments:
|
|
106
|
+
- 0
|
|
74
107
|
version: "0"
|
|
75
|
-
version:
|
|
76
108
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
|
+
none: false
|
|
77
110
|
requirements:
|
|
78
111
|
- - ">="
|
|
79
112
|
- !ruby/object:Gem::Version
|
|
113
|
+
hash: 3
|
|
114
|
+
segments:
|
|
115
|
+
- 0
|
|
80
116
|
version: "0"
|
|
81
|
-
version:
|
|
82
117
|
requirements: []
|
|
83
118
|
|
|
84
119
|
rubyforge_project:
|
|
85
|
-
rubygems_version: 1.3.
|
|
120
|
+
rubygems_version: 1.3.7
|
|
86
121
|
signing_key:
|
|
87
122
|
specification_version: 3
|
|
88
123
|
summary: A tool that helps you mock services while cuking.
|