factory_scenarios 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/app/helpers/factory_scenarios/scenarios_helper.rb +17 -0
- data/factory_scenarios.gemspec +2 -1
- metadata +139 -106
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module FactoryScenarios
|
2
|
+
module ScenariosHelper
|
3
|
+
|
4
|
+
def scenario_link(scenario)
|
5
|
+
link_to "Login", enact_scenario_path(scenario),
|
6
|
+
:target => :dynamic, :id => "enact_#{scenario.name}",
|
7
|
+
'data-open-in-iframe' => FactoryScenarios.config.open_in_iframe
|
8
|
+
end
|
9
|
+
|
10
|
+
def reload_scenario_link(scenario)
|
11
|
+
link_to "Reset data & Login", enact_scenario_path(scenario, :clear => true),
|
12
|
+
:class => :reload, :target => :dynamic, :id => "reload_#{scenario.name}",
|
13
|
+
'data-open-in-iframe' => FactoryScenarios.config.open_in_iframe
|
14
|
+
end
|
15
|
+
|
16
|
+
end
|
17
|
+
end
|
data/factory_scenarios.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "factory_scenarios"
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Collin Miller"]
|
@@ -32,6 +32,7 @@ Gem::Specification.new do |s|
|
|
32
32
|
"app/views/factory_scenarios/mail_previews/index.html.haml",
|
33
33
|
"app/views/factory_scenarios/mail_previews/show.html.haml",
|
34
34
|
"app/views/factory_scenarios/scenarios/index.html.haml",
|
35
|
+
"app/helpers/factory_scenarios/scenarios_helper.rb",
|
35
36
|
"config/routes.rb",
|
36
37
|
"factory_scenarios.gemspec",
|
37
38
|
"lib/factory_scenarios.rb",
|
metadata
CHANGED
@@ -1,134 +1,160 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: factory_scenarios
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 1
|
8
|
+
- 3
|
9
|
+
version: 0.1.3
|
6
10
|
platform: ruby
|
7
|
-
authors:
|
11
|
+
authors:
|
8
12
|
- Collin Miller
|
9
13
|
autorequire:
|
10
14
|
bindir: bin
|
11
15
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
16
|
+
|
17
|
+
date: 2012-03-16 00:00:00 -04:00
|
18
|
+
default_executable:
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
15
21
|
name: rails
|
16
|
-
|
17
|
-
|
18
|
-
requirements:
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
19
25
|
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 3
|
29
|
+
- 0
|
30
|
+
version: "3.0"
|
22
31
|
type: :runtime
|
23
|
-
|
24
|
-
|
25
|
-
- !ruby/object:Gem::Dependency
|
32
|
+
version_requirements: *id001
|
33
|
+
- !ruby/object:Gem::Dependency
|
26
34
|
name: dkastner-moneta
|
27
|
-
|
28
|
-
|
29
|
-
requirements:
|
35
|
+
prerelease: false
|
36
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
30
38
|
- - ~>
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
segments:
|
41
|
+
- 0
|
42
|
+
- 7
|
43
|
+
version: "0.7"
|
33
44
|
type: :runtime
|
34
|
-
|
35
|
-
|
36
|
-
- !ruby/object:Gem::Dependency
|
45
|
+
version_requirements: *id002
|
46
|
+
- !ruby/object:Gem::Dependency
|
37
47
|
name: factory_girl
|
38
|
-
|
39
|
-
|
40
|
-
requirements:
|
48
|
+
prerelease: false
|
49
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
41
51
|
- - ~>
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
segments:
|
54
|
+
- 2
|
55
|
+
version: "2"
|
44
56
|
type: :runtime
|
45
|
-
|
46
|
-
|
47
|
-
- !ruby/object:Gem::Dependency
|
57
|
+
version_requirements: *id003
|
58
|
+
- !ruby/object:Gem::Dependency
|
48
59
|
name: warden
|
49
|
-
|
50
|
-
|
51
|
-
requirements:
|
60
|
+
prerelease: false
|
61
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
62
|
+
requirements:
|
52
63
|
- - ~>
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
segments:
|
66
|
+
- 1
|
67
|
+
- 0
|
68
|
+
version: "1.0"
|
55
69
|
type: :runtime
|
56
|
-
|
57
|
-
|
58
|
-
- !ruby/object:Gem::Dependency
|
70
|
+
version_requirements: *id004
|
71
|
+
- !ruby/object:Gem::Dependency
|
59
72
|
name: haml
|
60
|
-
|
61
|
-
|
62
|
-
requirements:
|
73
|
+
prerelease: false
|
74
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
75
|
+
requirements:
|
63
76
|
- - ~>
|
64
|
-
- !ruby/object:Gem::Version
|
65
|
-
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
segments:
|
79
|
+
- 3
|
80
|
+
- 0
|
81
|
+
version: "3.0"
|
66
82
|
type: :runtime
|
67
|
-
|
68
|
-
|
69
|
-
- !ruby/object:Gem::Dependency
|
83
|
+
version_requirements: *id005
|
84
|
+
- !ruby/object:Gem::Dependency
|
70
85
|
name: hashie
|
71
|
-
|
72
|
-
|
73
|
-
requirements:
|
86
|
+
prerelease: false
|
87
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
74
89
|
- - ~>
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
segments:
|
92
|
+
- 1
|
93
|
+
- 1
|
94
|
+
version: "1.1"
|
77
95
|
type: :runtime
|
78
|
-
|
79
|
-
|
80
|
-
- !ruby/object:Gem::Dependency
|
96
|
+
version_requirements: *id006
|
97
|
+
- !ruby/object:Gem::Dependency
|
81
98
|
name: shoulda
|
82
|
-
requirement: &2161297940 !ruby/object:Gem::Requirement
|
83
|
-
none: false
|
84
|
-
requirements:
|
85
|
-
- - ! '>='
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
version: '0'
|
88
|
-
type: :development
|
89
99
|
prerelease: false
|
90
|
-
|
91
|
-
|
100
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
segments:
|
105
|
+
- 0
|
106
|
+
version: "0"
|
107
|
+
type: :development
|
108
|
+
version_requirements: *id007
|
109
|
+
- !ruby/object:Gem::Dependency
|
92
110
|
name: bundler
|
93
|
-
|
94
|
-
|
95
|
-
requirements:
|
111
|
+
prerelease: false
|
112
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
96
114
|
- - ~>
|
97
|
-
- !ruby/object:Gem::Version
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
segments:
|
117
|
+
- 1
|
118
|
+
- 1
|
119
|
+
- rc8
|
98
120
|
version: 1.1.rc8
|
99
121
|
type: :development
|
100
|
-
|
101
|
-
|
102
|
-
- !ruby/object:Gem::Dependency
|
122
|
+
version_requirements: *id008
|
123
|
+
- !ruby/object:Gem::Dependency
|
103
124
|
name: jeweler
|
104
|
-
|
105
|
-
|
106
|
-
requirements:
|
125
|
+
prerelease: false
|
126
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
107
128
|
- - ~>
|
108
|
-
- !ruby/object:Gem::Version
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
segments:
|
131
|
+
- 1
|
132
|
+
- 8
|
133
|
+
- 3
|
109
134
|
version: 1.8.3
|
110
135
|
type: :development
|
111
|
-
|
112
|
-
|
113
|
-
- !ruby/object:Gem::Dependency
|
136
|
+
version_requirements: *id009
|
137
|
+
- !ruby/object:Gem::Dependency
|
114
138
|
name: test_engine
|
115
|
-
requirement: &2161296500 !ruby/object:Gem::Requirement
|
116
|
-
none: false
|
117
|
-
requirements:
|
118
|
-
- - ! '>='
|
119
|
-
- !ruby/object:Gem::Version
|
120
|
-
version: '0'
|
121
|
-
type: :development
|
122
139
|
prerelease: false
|
123
|
-
|
124
|
-
|
125
|
-
|
140
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - ">="
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
segments:
|
145
|
+
- 0
|
146
|
+
version: "0"
|
147
|
+
type: :development
|
148
|
+
version_requirements: *id010
|
149
|
+
description: Build your factory and log-in in a single click. Also see what your emails look like and enter your workflows by clickig on the links in the email
|
126
150
|
email: collintmiller@gmail.com
|
127
151
|
executables: []
|
152
|
+
|
128
153
|
extensions: []
|
129
|
-
|
154
|
+
|
155
|
+
extra_rdoc_files:
|
130
156
|
- LICENSE.txt
|
131
|
-
files:
|
157
|
+
files:
|
132
158
|
- .document
|
133
159
|
- Gemfile
|
134
160
|
- Gemfile.lock
|
@@ -145,6 +171,7 @@ files:
|
|
145
171
|
- app/views/factory_scenarios/mail_previews/index.html.haml
|
146
172
|
- app/views/factory_scenarios/mail_previews/show.html.haml
|
147
173
|
- app/views/factory_scenarios/scenarios/index.html.haml
|
174
|
+
- app/helpers/factory_scenarios/scenarios_helper.rb
|
148
175
|
- config/routes.rb
|
149
176
|
- factory_scenarios.gemspec
|
150
177
|
- lib/factory_scenarios.rb
|
@@ -155,29 +182,35 @@ files:
|
|
155
182
|
- test/helper.rb
|
156
183
|
- test/test_factory_scenarios.rb
|
157
184
|
- test/unit/test_scenario.rb
|
185
|
+
has_rdoc: true
|
158
186
|
homepage: http://github.com/collin/factory_scenarios
|
159
|
-
licenses:
|
187
|
+
licenses:
|
160
188
|
- MIT
|
161
189
|
post_install_message:
|
162
190
|
rdoc_options: []
|
163
|
-
|
191
|
+
|
192
|
+
require_paths:
|
164
193
|
- lib
|
165
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
requirements:
|
174
|
-
- -
|
175
|
-
- !ruby/object:Gem::Version
|
176
|
-
|
194
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
195
|
+
requirements:
|
196
|
+
- - ">="
|
197
|
+
- !ruby/object:Gem::Version
|
198
|
+
segments:
|
199
|
+
- 0
|
200
|
+
version: "0"
|
201
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
202
|
+
requirements:
|
203
|
+
- - ">="
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
segments:
|
206
|
+
- 0
|
207
|
+
version: "0"
|
177
208
|
requirements: []
|
209
|
+
|
178
210
|
rubyforge_project:
|
179
|
-
rubygems_version: 1.
|
211
|
+
rubygems_version: 1.3.6
|
180
212
|
signing_key:
|
181
213
|
specification_version: 3
|
182
214
|
summary: Use your factories to help you navigate your application state.
|
183
215
|
test_files: []
|
216
|
+
|