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 CHANGED
@@ -1 +1 @@
1
- 0.1.2
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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "factory_scenarios"
8
- s.version = "0.1.2"
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
- version: 0.1.2
5
- prerelease:
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
- date: 2012-03-16 00:00:00.000000000Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
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
- requirement: &2161300820 !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
19
25
  - - ~>
20
- - !ruby/object:Gem::Version
21
- version: '3.0'
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 3
29
+ - 0
30
+ version: "3.0"
22
31
  type: :runtime
23
- prerelease: false
24
- version_requirements: *2161300820
25
- - !ruby/object:Gem::Dependency
32
+ version_requirements: *id001
33
+ - !ruby/object:Gem::Dependency
26
34
  name: dkastner-moneta
27
- requirement: &2161300340 !ruby/object:Gem::Requirement
28
- none: false
29
- requirements:
35
+ prerelease: false
36
+ requirement: &id002 !ruby/object:Gem::Requirement
37
+ requirements:
30
38
  - - ~>
31
- - !ruby/object:Gem::Version
32
- version: '0.7'
39
+ - !ruby/object:Gem::Version
40
+ segments:
41
+ - 0
42
+ - 7
43
+ version: "0.7"
33
44
  type: :runtime
34
- prerelease: false
35
- version_requirements: *2161300340
36
- - !ruby/object:Gem::Dependency
45
+ version_requirements: *id002
46
+ - !ruby/object:Gem::Dependency
37
47
  name: factory_girl
38
- requirement: &2161299860 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
48
+ prerelease: false
49
+ requirement: &id003 !ruby/object:Gem::Requirement
50
+ requirements:
41
51
  - - ~>
42
- - !ruby/object:Gem::Version
43
- version: '2'
52
+ - !ruby/object:Gem::Version
53
+ segments:
54
+ - 2
55
+ version: "2"
44
56
  type: :runtime
45
- prerelease: false
46
- version_requirements: *2161299860
47
- - !ruby/object:Gem::Dependency
57
+ version_requirements: *id003
58
+ - !ruby/object:Gem::Dependency
48
59
  name: warden
49
- requirement: &2161299380 !ruby/object:Gem::Requirement
50
- none: false
51
- requirements:
60
+ prerelease: false
61
+ requirement: &id004 !ruby/object:Gem::Requirement
62
+ requirements:
52
63
  - - ~>
53
- - !ruby/object:Gem::Version
54
- version: '1.0'
64
+ - !ruby/object:Gem::Version
65
+ segments:
66
+ - 1
67
+ - 0
68
+ version: "1.0"
55
69
  type: :runtime
56
- prerelease: false
57
- version_requirements: *2161299380
58
- - !ruby/object:Gem::Dependency
70
+ version_requirements: *id004
71
+ - !ruby/object:Gem::Dependency
59
72
  name: haml
60
- requirement: &2161298900 !ruby/object:Gem::Requirement
61
- none: false
62
- requirements:
73
+ prerelease: false
74
+ requirement: &id005 !ruby/object:Gem::Requirement
75
+ requirements:
63
76
  - - ~>
64
- - !ruby/object:Gem::Version
65
- version: '3.0'
77
+ - !ruby/object:Gem::Version
78
+ segments:
79
+ - 3
80
+ - 0
81
+ version: "3.0"
66
82
  type: :runtime
67
- prerelease: false
68
- version_requirements: *2161298900
69
- - !ruby/object:Gem::Dependency
83
+ version_requirements: *id005
84
+ - !ruby/object:Gem::Dependency
70
85
  name: hashie
71
- requirement: &2161298420 !ruby/object:Gem::Requirement
72
- none: false
73
- requirements:
86
+ prerelease: false
87
+ requirement: &id006 !ruby/object:Gem::Requirement
88
+ requirements:
74
89
  - - ~>
75
- - !ruby/object:Gem::Version
76
- version: '1.1'
90
+ - !ruby/object:Gem::Version
91
+ segments:
92
+ - 1
93
+ - 1
94
+ version: "1.1"
77
95
  type: :runtime
78
- prerelease: false
79
- version_requirements: *2161298420
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
- version_requirements: *2161297940
91
- - !ruby/object:Gem::Dependency
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
- requirement: &2161297460 !ruby/object:Gem::Requirement
94
- none: false
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
- prerelease: false
101
- version_requirements: *2161297460
102
- - !ruby/object:Gem::Dependency
122
+ version_requirements: *id008
123
+ - !ruby/object:Gem::Dependency
103
124
  name: jeweler
104
- requirement: &2161296980 !ruby/object:Gem::Requirement
105
- none: false
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
- prerelease: false
112
- version_requirements: *2161296980
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
- version_requirements: *2161296500
124
- description: Build your factory and log-in in a single click. Also see what your emails
125
- look like and enter your workflows by clickig on the links in the email
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
- extra_rdoc_files:
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
- require_paths:
191
+
192
+ require_paths:
164
193
  - lib
165
- required_ruby_version: !ruby/object:Gem::Requirement
166
- none: false
167
- requirements:
168
- - - ! '>='
169
- - !ruby/object:Gem::Version
170
- version: '0'
171
- required_rubygems_version: !ruby/object:Gem::Requirement
172
- none: false
173
- requirements:
174
- - - ! '>='
175
- - !ruby/object:Gem::Version
176
- version: '0'
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.8.10
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
+