wicked-focused 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. data/.rvmrc +19 -0
  2. data/.travis.yml +4 -0
  3. data/CHANGELOG.md +3 -0
  4. data/Gemfile +22 -0
  5. data/Gemfile.lock +122 -0
  6. data/MIT-LICENSE +20 -0
  7. data/README.md +253 -0
  8. data/Rakefile +50 -0
  9. data/VERSION +1 -0
  10. data/lib/wicked/action.rb +64 -0
  11. data/lib/wicked/controller/concerns/path.rb +29 -0
  12. data/lib/wicked/controller/concerns/render_redirect.rb +49 -0
  13. data/lib/wicked/controller/concerns/steps.rb +87 -0
  14. data/lib/wicked/engine.rb +4 -0
  15. data/lib/wicked/macros.rb +23 -0
  16. data/lib/wicked/wizard.rb +26 -0
  17. data/lib/wicked-focused.rb +25 -0
  18. data/test/dummy/Rakefile +7 -0
  19. data/test/dummy/app/controllers/application_controller.rb +3 -0
  20. data/test/dummy/app/controllers/bar_controller.rb +18 -0
  21. data/test/dummy/app/controllers/foo_controller.rb +19 -0
  22. data/test/dummy/app/controllers/jump_controller.rb +26 -0
  23. data/test/dummy/app/controllers/steps_controller.rb +18 -0
  24. data/test/dummy/app/helpers/application_helper.rb +2 -0
  25. data/test/dummy/app/models/bar.rb +9 -0
  26. data/test/dummy/app/views/bar/first.html.erb +5 -0
  27. data/test/dummy/app/views/bar/last_step.html.erb +3 -0
  28. data/test/dummy/app/views/bar/second.html.erb +3 -0
  29. data/test/dummy/app/views/foo/first.html.erb +1 -0
  30. data/test/dummy/app/views/foo/last_step.html.erb +1 -0
  31. data/test/dummy/app/views/foo/second.html.erb +1 -0
  32. data/test/dummy/app/views/jump/first.html.erb +1 -0
  33. data/test/dummy/app/views/jump/last_step.html.erb +1 -0
  34. data/test/dummy/app/views/jump/second.html.erb +1 -0
  35. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  36. data/test/dummy/app/views/step_positions/_step_position.html.erb +9 -0
  37. data/test/dummy/app/views/step_positions/first.html.erb +1 -0
  38. data/test/dummy/app/views/step_positions/last_step.html.erb +1 -0
  39. data/test/dummy/app/views/step_positions/second.html.erb +1 -0
  40. data/test/dummy/config/application.rb +45 -0
  41. data/test/dummy/config/boot.rb +10 -0
  42. data/test/dummy/config/database.yml +22 -0
  43. data/test/dummy/config/environment.rb +5 -0
  44. data/test/dummy/config/environments/development.rb +26 -0
  45. data/test/dummy/config/environments/production.rb +49 -0
  46. data/test/dummy/config/environments/test.rb +35 -0
  47. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  48. data/test/dummy/config/initializers/inflections.rb +10 -0
  49. data/test/dummy/config/initializers/mime_types.rb +5 -0
  50. data/test/dummy/config/initializers/secret_token.rb +7 -0
  51. data/test/dummy/config/initializers/session_store.rb +8 -0
  52. data/test/dummy/config/initializers/wicked.rb +2 -0
  53. data/test/dummy/config/locales/en.yml +5 -0
  54. data/test/dummy/config/routes.rb +8 -0
  55. data/test/dummy/config.ru +4 -0
  56. data/test/dummy/public/404.html +26 -0
  57. data/test/dummy/public/422.html +26 -0
  58. data/test/dummy/public/500.html +26 -0
  59. data/test/dummy/public/favicon.ico +0 -0
  60. data/test/dummy/public/index.html +1 -0
  61. data/test/dummy/public/javascripts/application.js +2 -0
  62. data/test/dummy/public/javascripts/controls.js +965 -0
  63. data/test/dummy/public/javascripts/dragdrop.js +974 -0
  64. data/test/dummy/public/javascripts/effects.js +1123 -0
  65. data/test/dummy/public/javascripts/prototype.js +6001 -0
  66. data/test/dummy/public/javascripts/rails.js +202 -0
  67. data/test/dummy/public/stylesheets/.gitkeep +0 -0
  68. data/test/dummy/script/rails +6 -0
  69. data/test/integration/helpers_test.rb +40 -0
  70. data/test/integration/jump_test.rb +16 -0
  71. data/test/integration/navigation_test.rb +88 -0
  72. data/test/integration/steps_test.rb +32 -0
  73. data/test/support/integration_case.rb +5 -0
  74. data/test/test_helper.rb +30 -0
  75. data/test/wicked_test.rb +7 -0
  76. data/wicked-focused.gemspec +138 -0
  77. metadata +270 -0
metadata ADDED
@@ -0,0 +1,270 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: wicked-focused
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - kristianmandrup
9
+ - schneems
10
+ autorequire:
11
+ bindir: bin
12
+ cert_chain: []
13
+ date: 2012-08-06 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: activesupport
17
+ requirement: !ruby/object:Gem::Requirement
18
+ none: false
19
+ requirements:
20
+ - - ! '>='
21
+ - !ruby/object:Gem::Version
22
+ version: 3.0.7
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
27
+ requirements:
28
+ - - ! '>='
29
+ - !ruby/object:Gem::Version
30
+ version: 3.0.7
31
+ - !ruby/object:Gem::Dependency
32
+ name: rails
33
+ requirement: !ruby/object:Gem::Requirement
34
+ none: false
35
+ requirements:
36
+ - - ! '>='
37
+ - !ruby/object:Gem::Version
38
+ version: 3.0.7
39
+ type: :runtime
40
+ prerelease: false
41
+ version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ! '>='
45
+ - !ruby/object:Gem::Version
46
+ version: 3.0.7
47
+ - !ruby/object:Gem::Dependency
48
+ name: focused_controller
49
+ requirement: !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ type: :runtime
56
+ prerelease: false
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ none: false
59
+ requirements:
60
+ - - ! '>='
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ - !ruby/object:Gem::Dependency
64
+ name: rake
65
+ requirement: !ruby/object:Gem::Requirement
66
+ none: false
67
+ requirements:
68
+ - - ! '>='
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
71
+ type: :development
72
+ prerelease: false
73
+ version_requirements: !ruby/object:Gem::Requirement
74
+ none: false
75
+ requirements:
76
+ - - ! '>='
77
+ - !ruby/object:Gem::Version
78
+ version: '0'
79
+ - !ruby/object:Gem::Dependency
80
+ name: jeweler
81
+ requirement: !ruby/object:Gem::Requirement
82
+ none: false
83
+ requirements:
84
+ - - ~>
85
+ - !ruby/object:Gem::Version
86
+ version: 1.8.4
87
+ type: :development
88
+ prerelease: false
89
+ version_requirements: !ruby/object:Gem::Requirement
90
+ none: false
91
+ requirements:
92
+ - - ~>
93
+ - !ruby/object:Gem::Version
94
+ version: 1.8.4
95
+ - !ruby/object:Gem::Dependency
96
+ name: rcov
97
+ requirement: !ruby/object:Gem::Requirement
98
+ none: false
99
+ requirements:
100
+ - - ! '>='
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ type: :development
104
+ prerelease: false
105
+ version_requirements: !ruby/object:Gem::Requirement
106
+ none: false
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: capybara
113
+ requirement: !ruby/object:Gem::Requirement
114
+ none: false
115
+ requirements:
116
+ - - ! '>='
117
+ - !ruby/object:Gem::Version
118
+ version: 1.0.0
119
+ type: :development
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ none: false
123
+ requirements:
124
+ - - ! '>='
125
+ - !ruby/object:Gem::Version
126
+ version: 1.0.0
127
+ - !ruby/object:Gem::Dependency
128
+ name: sqlite3
129
+ requirement: !ruby/object:Gem::Requirement
130
+ none: false
131
+ requirements:
132
+ - - ! '>='
133
+ - !ruby/object:Gem::Version
134
+ version: '0'
135
+ type: :development
136
+ prerelease: false
137
+ version_requirements: !ruby/object:Gem::Requirement
138
+ none: false
139
+ requirements:
140
+ - - ! '>='
141
+ - !ruby/object:Gem::Version
142
+ version: '0'
143
+ - !ruby/object:Gem::Dependency
144
+ name: launchy
145
+ requirement: !ruby/object:Gem::Requirement
146
+ none: false
147
+ requirements:
148
+ - - ! '>='
149
+ - !ruby/object:Gem::Version
150
+ version: '0'
151
+ type: :development
152
+ prerelease: false
153
+ version_requirements: !ruby/object:Gem::Requirement
154
+ none: false
155
+ requirements:
156
+ - - ! '>='
157
+ - !ruby/object:Gem::Version
158
+ version: '0'
159
+ description: Rails engine for producing Focused Controller based wizards
160
+ email: kmandrup@gmail.com
161
+ executables: []
162
+ extensions: []
163
+ extra_rdoc_files:
164
+ - README.md
165
+ files:
166
+ - .rvmrc
167
+ - .travis.yml
168
+ - CHANGELOG.md
169
+ - Gemfile
170
+ - Gemfile.lock
171
+ - MIT-LICENSE
172
+ - README.md
173
+ - Rakefile
174
+ - VERSION
175
+ - lib/wicked-focused.rb
176
+ - lib/wicked/action.rb
177
+ - lib/wicked/controller/concerns/path.rb
178
+ - lib/wicked/controller/concerns/render_redirect.rb
179
+ - lib/wicked/controller/concerns/steps.rb
180
+ - lib/wicked/engine.rb
181
+ - lib/wicked/macros.rb
182
+ - lib/wicked/wizard.rb
183
+ - test/dummy/Rakefile
184
+ - test/dummy/app/controllers/application_controller.rb
185
+ - test/dummy/app/controllers/bar_controller.rb
186
+ - test/dummy/app/controllers/foo_controller.rb
187
+ - test/dummy/app/controllers/jump_controller.rb
188
+ - test/dummy/app/controllers/steps_controller.rb
189
+ - test/dummy/app/helpers/application_helper.rb
190
+ - test/dummy/app/models/bar.rb
191
+ - test/dummy/app/views/bar/first.html.erb
192
+ - test/dummy/app/views/bar/last_step.html.erb
193
+ - test/dummy/app/views/bar/second.html.erb
194
+ - test/dummy/app/views/foo/first.html.erb
195
+ - test/dummy/app/views/foo/last_step.html.erb
196
+ - test/dummy/app/views/foo/second.html.erb
197
+ - test/dummy/app/views/jump/first.html.erb
198
+ - test/dummy/app/views/jump/last_step.html.erb
199
+ - test/dummy/app/views/jump/second.html.erb
200
+ - test/dummy/app/views/layouts/application.html.erb
201
+ - test/dummy/app/views/step_positions/_step_position.html.erb
202
+ - test/dummy/app/views/step_positions/first.html.erb
203
+ - test/dummy/app/views/step_positions/last_step.html.erb
204
+ - test/dummy/app/views/step_positions/second.html.erb
205
+ - test/dummy/config.ru
206
+ - test/dummy/config/application.rb
207
+ - test/dummy/config/boot.rb
208
+ - test/dummy/config/database.yml
209
+ - test/dummy/config/environment.rb
210
+ - test/dummy/config/environments/development.rb
211
+ - test/dummy/config/environments/production.rb
212
+ - test/dummy/config/environments/test.rb
213
+ - test/dummy/config/initializers/backtrace_silencers.rb
214
+ - test/dummy/config/initializers/inflections.rb
215
+ - test/dummy/config/initializers/mime_types.rb
216
+ - test/dummy/config/initializers/secret_token.rb
217
+ - test/dummy/config/initializers/session_store.rb
218
+ - test/dummy/config/initializers/wicked.rb
219
+ - test/dummy/config/locales/en.yml
220
+ - test/dummy/config/routes.rb
221
+ - test/dummy/public/404.html
222
+ - test/dummy/public/422.html
223
+ - test/dummy/public/500.html
224
+ - test/dummy/public/favicon.ico
225
+ - test/dummy/public/index.html
226
+ - test/dummy/public/javascripts/application.js
227
+ - test/dummy/public/javascripts/controls.js
228
+ - test/dummy/public/javascripts/dragdrop.js
229
+ - test/dummy/public/javascripts/effects.js
230
+ - test/dummy/public/javascripts/prototype.js
231
+ - test/dummy/public/javascripts/rails.js
232
+ - test/dummy/public/stylesheets/.gitkeep
233
+ - test/dummy/script/rails
234
+ - test/integration/helpers_test.rb
235
+ - test/integration/jump_test.rb
236
+ - test/integration/navigation_test.rb
237
+ - test/integration/steps_test.rb
238
+ - test/support/integration_case.rb
239
+ - test/test_helper.rb
240
+ - test/wicked_test.rb
241
+ - wicked-focused.gemspec
242
+ homepage: http://github.com/schneems/wicked
243
+ licenses:
244
+ - MIT
245
+ post_install_message:
246
+ rdoc_options: []
247
+ require_paths:
248
+ - lib
249
+ required_ruby_version: !ruby/object:Gem::Requirement
250
+ none: false
251
+ requirements:
252
+ - - ! '>='
253
+ - !ruby/object:Gem::Version
254
+ version: '0'
255
+ segments:
256
+ - 0
257
+ hash: 446861709014674562
258
+ required_rubygems_version: !ruby/object:Gem::Requirement
259
+ none: false
260
+ requirements:
261
+ - - ! '>='
262
+ - !ruby/object:Gem::Version
263
+ version: '0'
264
+ requirements: []
265
+ rubyforge_project:
266
+ rubygems_version: 1.8.24
267
+ signing_key:
268
+ specification_version: 3
269
+ summary: Use Wicked to turn your Focused Controller into a wizard
270
+ test_files: []