incredible 0.0.7.pre → 0.0.8.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/incredible/rule.rb +3 -1
- data/lib/incredible/version.rb +1 -1
- data/lib/incredible/wizard.rb +1 -1
- metadata +35 -35
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a72f9542bb530eb38e4caac850f2467ebfe70ba
|
4
|
+
data.tar.gz: 2d6f97d707af105efb96a41c0db2805331a127ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cad77921d9430a11864ba59f8b7adeb1d81a807a70f8e06f232afbfb1c79bb7c22bd49a3cfc905593d66ec6349984b3e684faf681094ea4da83802d2ca83f4a4
|
7
|
+
data.tar.gz: a8fcf2f285b24b73ddee0c9554d4ba89a1ac3370d8e9f73022659d9fd15406ced048a19277d4ad23cb2f6ce4917c474edfe063c6c297e070d3f9ee0433de9051
|
data/lib/incredible/rule.rb
CHANGED
data/lib/incredible/version.rb
CHANGED
data/lib/incredible/wizard.rb
CHANGED
@@ -22,7 +22,7 @@ module Incredible
|
|
22
22
|
|
23
23
|
def load_next_step
|
24
24
|
if incredible_step.rule
|
25
|
-
@rule = incredible_step.rule.send(:new, params)
|
25
|
+
@rule = incredible_step.rule.send(:new, params, request)
|
26
26
|
process_rule
|
27
27
|
elsif incredible_step.next_step
|
28
28
|
jump_to incredible_step.next_step
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: incredible
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- pezholio
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -228,51 +228,51 @@ signing_key:
|
|
228
228
|
specification_version: 4
|
229
229
|
summary: Build multi-page forms like a General
|
230
230
|
test_files:
|
231
|
-
- spec/loader_spec.rb
|
232
231
|
- spec/form_spec.rb
|
233
232
|
- spec/spec_helper.rb
|
233
|
+
- spec/controllers/forms_controller_spec.rb
|
234
234
|
- spec/step_spec.rb
|
235
|
-
- spec/
|
236
|
-
- spec/dummy/config
|
237
|
-
- spec/dummy/
|
238
|
-
- spec/dummy/
|
239
|
-
- spec/dummy/
|
240
|
-
- spec/dummy/
|
235
|
+
- spec/loader_spec.rb
|
236
|
+
- spec/dummy/config.ru
|
237
|
+
- spec/dummy/Rakefile
|
238
|
+
- spec/dummy/app/models/application_record.rb
|
239
|
+
- spec/dummy/app/models/stub_model.rb
|
240
|
+
- spec/dummy/app/rules/step3_rule.rb
|
241
|
+
- spec/dummy/app/rules/step1_rule.rb
|
242
|
+
- spec/dummy/app/controllers/application_controller.rb
|
243
|
+
- spec/dummy/app/controllers/forms_controller.rb
|
244
|
+
- spec/dummy/app/controllers/things_controller.rb
|
245
|
+
- spec/dummy/app/views/forms/foo.html.erb
|
246
|
+
- spec/dummy/app/views/forms/bar.html.erb
|
247
|
+
- spec/dummy/app/views/layouts/mailer.html.erb
|
248
|
+
- spec/dummy/app/views/layouts/mailer.text.erb
|
249
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
241
250
|
- spec/dummy/config/secrets.yml
|
251
|
+
- spec/dummy/config/application.rb
|
242
252
|
- spec/dummy/config/environment.rb
|
253
|
+
- spec/dummy/config/forms/form.yml
|
254
|
+
- spec/dummy/config/forms/bad-yaml.yml
|
243
255
|
- spec/dummy/config/puma.rb
|
244
256
|
- spec/dummy/config/cable.yml
|
257
|
+
- spec/dummy/config/routes.rb
|
258
|
+
- spec/dummy/config/locales/en.yml
|
245
259
|
- spec/dummy/config/spring.rb
|
260
|
+
- spec/dummy/config/initializers/application_controller_renderer.rb
|
246
261
|
- spec/dummy/config/initializers/mime_types.rb
|
262
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
263
|
+
- spec/dummy/config/initializers/inflections.rb
|
247
264
|
- spec/dummy/config/initializers/cookies_serializer.rb
|
248
|
-
- spec/dummy/config/initializers/assets.rb
|
249
265
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
250
|
-
- spec/dummy/config/initializers/
|
251
|
-
- spec/dummy/config/initializers/inflections.rb
|
252
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
266
|
+
- spec/dummy/config/initializers/assets.rb
|
253
267
|
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
268
|
+
- spec/dummy/config/environments/development.rb
|
269
|
+
- spec/dummy/config/environments/production.rb
|
270
|
+
- spec/dummy/config/environments/test.rb
|
254
271
|
- spec/dummy/config/boot.rb
|
255
|
-
- spec/dummy/
|
256
|
-
- spec/dummy/config/forms/form.yml
|
257
|
-
- spec/dummy/config/forms/bad-yaml.yml
|
258
|
-
- spec/dummy/app/rules/step1_rule.rb
|
259
|
-
- spec/dummy/app/rules/step3_rule.rb
|
260
|
-
- spec/dummy/app/models/application_record.rb
|
261
|
-
- spec/dummy/app/models/stub_model.rb
|
262
|
-
- spec/dummy/app/controllers/forms_controller.rb
|
263
|
-
- spec/dummy/app/controllers/application_controller.rb
|
264
|
-
- spec/dummy/app/controllers/things_controller.rb
|
265
|
-
- spec/dummy/app/views/layouts/mailer.html.erb
|
266
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
267
|
-
- spec/dummy/app/views/layouts/mailer.text.erb
|
268
|
-
- spec/dummy/app/views/forms/foo.html.erb
|
269
|
-
- spec/dummy/app/views/forms/bar.html.erb
|
270
|
-
- spec/dummy/Rakefile
|
271
|
-
- spec/dummy/bin/rails
|
272
|
-
- spec/dummy/bin/bundle
|
273
|
-
- spec/dummy/bin/update
|
274
|
-
- spec/dummy/bin/setup
|
272
|
+
- spec/dummy/package.json
|
275
273
|
- spec/dummy/bin/rake
|
274
|
+
- spec/dummy/bin/setup
|
275
|
+
- spec/dummy/bin/update
|
276
276
|
- spec/dummy/bin/yarn
|
277
|
-
- spec/dummy/
|
278
|
-
- spec/
|
277
|
+
- spec/dummy/bin/rails
|
278
|
+
- spec/dummy/bin/bundle
|