stepper 0.0.1

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.
Files changed (71) hide show
  1. data/.document +5 -0
  2. data/Gemfile +15 -0
  3. data/Gemfile.lock +144 -0
  4. data/LICENSE.txt +20 -0
  5. data/README.rdoc +84 -0
  6. data/Rakefile +53 -0
  7. data/VERSION +1 -0
  8. data/app/views/stepper/_fields.html.erb +17 -0
  9. data/config/locales/stepper.yml +6 -0
  10. data/lib/stepper.rb +3 -0
  11. data/lib/stepper/controllers/controller_additions.rb +75 -0
  12. data/lib/stepper/controllers/controller_resource.rb +58 -0
  13. data/lib/stepper/engine.rb +4 -0
  14. data/lib/stepper/exceptions.rb +4 -0
  15. data/lib/stepper/helper/action_view_additions.rb +14 -0
  16. data/lib/stepper/models/active_record_additions.rb +96 -0
  17. data/lib/stepper/railtie.rb +26 -0
  18. data/stepper.gemspec +136 -0
  19. data/test/controllers/controller_additions_test.rb +16 -0
  20. data/test/controllers/controller_resource_test.rb +49 -0
  21. data/test/controllers/controller_test.rb +138 -0
  22. data/test/helper.rb +20 -0
  23. data/test/helpers/helper_test.rb +49 -0
  24. data/test/integration/steps_test.rb +39 -0
  25. data/test/models/assigns_test.rb +15 -0
  26. data/test/models/instance_test.rb +65 -0
  27. data/test/models/models_test.rb +26 -0
  28. data/test/models/validation_test.rb +36 -0
  29. data/test/rails_app/Rakefile +7 -0
  30. data/test/rails_app/app/controllers/application_controller.rb +3 -0
  31. data/test/rails_app/app/controllers/companies_controller.rb +11 -0
  32. data/test/rails_app/app/helpers/application_helper.rb +2 -0
  33. data/test/rails_app/app/mailers/.gitkeep +0 -0
  34. data/test/rails_app/app/models/.gitkeep +0 -0
  35. data/test/rails_app/app/models/company.rb +18 -0
  36. data/test/rails_app/app/models/users.rb +3 -0
  37. data/test/rails_app/app/views/companies/_step1_step.html.erb +2 -0
  38. data/test/rails_app/app/views/companies/_step2_step.html.erb +2 -0
  39. data/test/rails_app/app/views/companies/_step3_step.html.erb +2 -0
  40. data/test/rails_app/app/views/companies/index.html.erb +1 -0
  41. data/test/rails_app/app/views/companies/new.html.erb +14 -0
  42. data/test/rails_app/app/views/companies/show.html.erb +1 -0
  43. data/test/rails_app/app/views/layouts/application.html.erb +14 -0
  44. data/test/rails_app/config.ru +4 -0
  45. data/test/rails_app/config/application.rb +43 -0
  46. data/test/rails_app/config/boot.rb +6 -0
  47. data/test/rails_app/config/database.yml +13 -0
  48. data/test/rails_app/config/environment.rb +5 -0
  49. data/test/rails_app/config/environments/development.rb +30 -0
  50. data/test/rails_app/config/environments/production.rb +60 -0
  51. data/test/rails_app/config/environments/test.rb +42 -0
  52. data/test/rails_app/config/initializers/backtrace_silencers.rb +7 -0
  53. data/test/rails_app/config/initializers/inflections.rb +10 -0
  54. data/test/rails_app/config/initializers/mime_types.rb +5 -0
  55. data/test/rails_app/config/initializers/secret_token.rb +7 -0
  56. data/test/rails_app/config/initializers/session_store.rb +8 -0
  57. data/test/rails_app/config/initializers/wrap_parameters.rb +14 -0
  58. data/test/rails_app/config/locales/en.yml +10 -0
  59. data/test/rails_app/config/routes.rb +3 -0
  60. data/test/rails_app/db/migrate/20110928102949_create_tables.rb +25 -0
  61. data/test/rails_app/db/schema.rb +20 -0
  62. data/test/rails_app/lib/assets/.gitkeep +0 -0
  63. data/test/rails_app/lib/tasks/.gitkeep +0 -0
  64. data/test/rails_app/public/404.html +26 -0
  65. data/test/rails_app/public/422.html +26 -0
  66. data/test/rails_app/public/500.html +26 -0
  67. data/test/rails_app/public/favicon.ico +0 -0
  68. data/test/rails_app/public/index.html +241 -0
  69. data/test/rails_app/public/robots.txt +5 -0
  70. data/test/rails_app/script/rails +6 -0
  71. metadata +232 -0
@@ -0,0 +1,5 @@
1
+ # See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
2
+ #
3
+ # To ban all spiders from the entire site uncomment the next two lines:
4
+ # User-Agent: *
5
+ # Disallow: /
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
metadata ADDED
@@ -0,0 +1,232 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: stepper
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Anton Versal
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-09-30 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: &70136783476040 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 3.1.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *70136783476040
25
+ - !ruby/object:Gem::Dependency
26
+ name: ruby-debug19
27
+ requirement: &70136783475560 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: *70136783475560
36
+ - !ruby/object:Gem::Dependency
37
+ name: sqlite3
38
+ requirement: &70136783475020 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ type: :development
45
+ prerelease: false
46
+ version_requirements: *70136783475020
47
+ - !ruby/object:Gem::Dependency
48
+ name: shoulda
49
+ requirement: &70136783474420 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *70136783474420
58
+ - !ruby/object:Gem::Dependency
59
+ name: bundler
60
+ requirement: &70136783473820 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ~>
64
+ - !ruby/object:Gem::Version
65
+ version: 1.0.0
66
+ type: :development
67
+ prerelease: false
68
+ version_requirements: *70136783473820
69
+ - !ruby/object:Gem::Dependency
70
+ name: jeweler
71
+ requirement: &70136783473220 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ~>
75
+ - !ruby/object:Gem::Version
76
+ version: 1.6.4
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: *70136783473220
80
+ - !ruby/object:Gem::Dependency
81
+ name: rcov
82
+ requirement: &70136783472620 !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ type: :development
89
+ prerelease: false
90
+ version_requirements: *70136783472620
91
+ - !ruby/object:Gem::Dependency
92
+ name: mocha
93
+ requirement: &70136783472020 !ruby/object:Gem::Requirement
94
+ none: false
95
+ requirements:
96
+ - - ! '>='
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
99
+ type: :development
100
+ prerelease: false
101
+ version_requirements: *70136783472020
102
+ - !ruby/object:Gem::Dependency
103
+ name: capybara
104
+ requirement: &70136783471420 !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: *70136783471420
113
+ - !ruby/object:Gem::Dependency
114
+ name: launchy
115
+ requirement: &70136783470820 !ruby/object:Gem::Requirement
116
+ none: false
117
+ requirements:
118
+ - - ! '>='
119
+ - !ruby/object:Gem::Version
120
+ version: '0'
121
+ type: :development
122
+ prerelease: false
123
+ version_requirements: *70136783470820
124
+ description: Stepper is multistep form (wizard) solution for Rails 3. Stepper allows
125
+ you to split up your large form into series of pages that users can navigate through
126
+ to complete the form and save it state.
127
+ email: ant.ver@gmail.com
128
+ executables: []
129
+ extensions: []
130
+ extra_rdoc_files:
131
+ - LICENSE.txt
132
+ - README.rdoc
133
+ files:
134
+ - .document
135
+ - Gemfile
136
+ - Gemfile.lock
137
+ - LICENSE.txt
138
+ - README.rdoc
139
+ - Rakefile
140
+ - VERSION
141
+ - app/views/stepper/_fields.html.erb
142
+ - config/locales/stepper.yml
143
+ - lib/stepper.rb
144
+ - lib/stepper/controllers/controller_additions.rb
145
+ - lib/stepper/controllers/controller_resource.rb
146
+ - lib/stepper/engine.rb
147
+ - lib/stepper/exceptions.rb
148
+ - lib/stepper/helper/action_view_additions.rb
149
+ - lib/stepper/models/active_record_additions.rb
150
+ - lib/stepper/railtie.rb
151
+ - stepper.gemspec
152
+ - test/controllers/controller_additions_test.rb
153
+ - test/controllers/controller_resource_test.rb
154
+ - test/controllers/controller_test.rb
155
+ - test/helper.rb
156
+ - test/helpers/helper_test.rb
157
+ - test/integration/steps_test.rb
158
+ - test/models/assigns_test.rb
159
+ - test/models/instance_test.rb
160
+ - test/models/models_test.rb
161
+ - test/models/validation_test.rb
162
+ - test/rails_app/Rakefile
163
+ - test/rails_app/app/controllers/application_controller.rb
164
+ - test/rails_app/app/controllers/companies_controller.rb
165
+ - test/rails_app/app/helpers/application_helper.rb
166
+ - test/rails_app/app/mailers/.gitkeep
167
+ - test/rails_app/app/models/.gitkeep
168
+ - test/rails_app/app/models/company.rb
169
+ - test/rails_app/app/models/users.rb
170
+ - test/rails_app/app/views/companies/_step1_step.html.erb
171
+ - test/rails_app/app/views/companies/_step2_step.html.erb
172
+ - test/rails_app/app/views/companies/_step3_step.html.erb
173
+ - test/rails_app/app/views/companies/index.html.erb
174
+ - test/rails_app/app/views/companies/new.html.erb
175
+ - test/rails_app/app/views/companies/show.html.erb
176
+ - test/rails_app/app/views/layouts/application.html.erb
177
+ - test/rails_app/config.ru
178
+ - test/rails_app/config/application.rb
179
+ - test/rails_app/config/boot.rb
180
+ - test/rails_app/config/database.yml
181
+ - test/rails_app/config/environment.rb
182
+ - test/rails_app/config/environments/development.rb
183
+ - test/rails_app/config/environments/production.rb
184
+ - test/rails_app/config/environments/test.rb
185
+ - test/rails_app/config/initializers/backtrace_silencers.rb
186
+ - test/rails_app/config/initializers/inflections.rb
187
+ - test/rails_app/config/initializers/mime_types.rb
188
+ - test/rails_app/config/initializers/secret_token.rb
189
+ - test/rails_app/config/initializers/session_store.rb
190
+ - test/rails_app/config/initializers/wrap_parameters.rb
191
+ - test/rails_app/config/locales/en.yml
192
+ - test/rails_app/config/routes.rb
193
+ - test/rails_app/db/migrate/20110928102949_create_tables.rb
194
+ - test/rails_app/db/schema.rb
195
+ - test/rails_app/lib/assets/.gitkeep
196
+ - test/rails_app/lib/tasks/.gitkeep
197
+ - test/rails_app/public/404.html
198
+ - test/rails_app/public/422.html
199
+ - test/rails_app/public/500.html
200
+ - test/rails_app/public/favicon.ico
201
+ - test/rails_app/public/index.html
202
+ - test/rails_app/public/robots.txt
203
+ - test/rails_app/script/rails
204
+ homepage: http://github.com/antonversal/stepper
205
+ licenses:
206
+ - MIT
207
+ post_install_message:
208
+ rdoc_options: []
209
+ require_paths:
210
+ - lib
211
+ required_ruby_version: !ruby/object:Gem::Requirement
212
+ none: false
213
+ requirements:
214
+ - - ! '>='
215
+ - !ruby/object:Gem::Version
216
+ version: '0'
217
+ segments:
218
+ - 0
219
+ hash: 2910134889132030582
220
+ required_rubygems_version: !ruby/object:Gem::Requirement
221
+ none: false
222
+ requirements:
223
+ - - ! '>='
224
+ - !ruby/object:Gem::Version
225
+ version: '0'
226
+ requirements: []
227
+ rubyforge_project:
228
+ rubygems_version: 1.8.6
229
+ signing_key:
230
+ specification_version: 3
231
+ summary: Stepper is multistep form (wizard) solution for Rails 3.
232
+ test_files: []