incredible 0.0.1.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +153 -0
- data/Rakefile +24 -0
- data/config/routes.rb +2 -0
- data/lib/incredible.rb +12 -0
- data/lib/incredible/engine.rb +9 -0
- data/lib/incredible/form.rb +26 -0
- data/lib/incredible/loader.rb +24 -0
- data/lib/incredible/step.rb +15 -0
- data/lib/incredible/version.rb +3 -0
- data/lib/incredible/wizard.rb +42 -0
- data/spec/controllers/forms_controller_spec.rb +33 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/controllers/forms_controller.rb +21 -0
- data/spec/dummy/app/models/application_record.rb +3 -0
- data/spec/dummy/app/models/stub_model.rb +9 -0
- data/spec/dummy/app/views/forms/bar.html.erb +0 -0
- data/spec/dummy/app/views/forms/foo.html.erb +0 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
- data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/setup +37 -0
- data/spec/dummy/bin/update +29 -0
- data/spec/dummy/bin/yarn +11 -0
- data/spec/dummy/config.ru +5 -0
- data/spec/dummy/config/application.rb +24 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/cable.yml +10 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +54 -0
- data/spec/dummy/config/environments/production.rb +91 -0
- data/spec/dummy/config/environments/test.rb +42 -0
- data/spec/dummy/config/forms/bad-yaml.yml +7 -0
- data/spec/dummy/config/forms/form.yml +28 -0
- data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -0
- data/spec/dummy/config/initializers/assets.rb +14 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +33 -0
- data/spec/dummy/config/puma.rb +56 -0
- data/spec/dummy/config/routes.rb +3 -0
- data/spec/dummy/config/secrets.yml +32 -0
- data/spec/dummy/config/spring.rb +6 -0
- data/spec/dummy/package.json +5 -0
- data/spec/form_spec.rb +36 -0
- data/spec/loader_spec.rb +36 -0
- data/spec/spec_helper.rb +21 -0
- data/spec/step_spec.rb +61 -0
- metadata +271 -0
@@ -0,0 +1,16 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Add new inflection rules using the following format. Inflections
|
4
|
+
# are locale specific, and you may define rules for as many different
|
5
|
+
# locales as you wish. All of these examples are active by default:
|
6
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
7
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
8
|
+
# inflect.singular /^(ox)en/i, '\1'
|
9
|
+
# inflect.irregular 'person', 'people'
|
10
|
+
# inflect.uncountable %w( fish sheep )
|
11
|
+
# end
|
12
|
+
|
13
|
+
# These inflection rules are supported but not enabled by default:
|
14
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
15
|
+
# inflect.acronym 'RESTful'
|
16
|
+
# end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
8
|
+
wrap_parameters format: [:json]
|
9
|
+
end
|
10
|
+
|
11
|
+
# To enable root element in JSON for ActiveRecord objects.
|
12
|
+
# ActiveSupport.on_load(:active_record) do
|
13
|
+
# self.include_root_in_json = true
|
14
|
+
# end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# Files in the config/locales directory are used for internationalization
|
2
|
+
# and are automatically loaded by Rails. If you want to use locales other
|
3
|
+
# than English, add the necessary files in this directory.
|
4
|
+
#
|
5
|
+
# To use the locales, use `I18n.t`:
|
6
|
+
#
|
7
|
+
# I18n.t 'hello'
|
8
|
+
#
|
9
|
+
# In views, this is aliased to just `t`:
|
10
|
+
#
|
11
|
+
# <%= t('hello') %>
|
12
|
+
#
|
13
|
+
# To use a different locale, set it with `I18n.locale`:
|
14
|
+
#
|
15
|
+
# I18n.locale = :es
|
16
|
+
#
|
17
|
+
# This would use the information in config/locales/es.yml.
|
18
|
+
#
|
19
|
+
# The following keys must be escaped otherwise they will not be retrieved by
|
20
|
+
# the default I18n backend:
|
21
|
+
#
|
22
|
+
# true, false, on, off, yes, no
|
23
|
+
#
|
24
|
+
# Instead, surround them with single quotes.
|
25
|
+
#
|
26
|
+
# en:
|
27
|
+
# 'true': 'foo'
|
28
|
+
#
|
29
|
+
# To learn more, please read the Rails Internationalization guide
|
30
|
+
# available at http://guides.rubyonrails.org/i18n.html.
|
31
|
+
|
32
|
+
en:
|
33
|
+
hello: "Hello world"
|
@@ -0,0 +1,56 @@
|
|
1
|
+
# Puma can serve each request in a thread from an internal thread pool.
|
2
|
+
# The `threads` method setting takes two numbers: a minimum and maximum.
|
3
|
+
# Any libraries that use thread pools should be configured to match
|
4
|
+
# the maximum value specified for Puma. Default is set to 5 threads for minimum
|
5
|
+
# and maximum; this matches the default thread size of Active Record.
|
6
|
+
#
|
7
|
+
threads_count = ENV.fetch('RAILS_MAX_THREADS') { 5 }
|
8
|
+
threads threads_count, threads_count
|
9
|
+
|
10
|
+
# Specifies the `port` that Puma will listen on to receive requests; default is 3000.
|
11
|
+
#
|
12
|
+
port ENV.fetch('PORT') { 3000 }
|
13
|
+
|
14
|
+
# Specifies the `environment` that Puma will run in.
|
15
|
+
#
|
16
|
+
environment ENV.fetch('RAILS_ENV') { 'development' }
|
17
|
+
|
18
|
+
# Specifies the number of `workers` to boot in clustered mode.
|
19
|
+
# Workers are forked webserver processes. If using threads and workers together
|
20
|
+
# the concurrency of the application would be max `threads` * `workers`.
|
21
|
+
# Workers do not work on JRuby or Windows (both of which do not support
|
22
|
+
# processes).
|
23
|
+
#
|
24
|
+
# workers ENV.fetch("WEB_CONCURRENCY") { 2 }
|
25
|
+
|
26
|
+
# Use the `preload_app!` method when specifying a `workers` number.
|
27
|
+
# This directive tells Puma to first boot the application and load code
|
28
|
+
# before forking the application. This takes advantage of Copy On Write
|
29
|
+
# process behavior so workers use less memory. If you use this option
|
30
|
+
# you need to make sure to reconnect any threads in the `on_worker_boot`
|
31
|
+
# block.
|
32
|
+
#
|
33
|
+
# preload_app!
|
34
|
+
|
35
|
+
# If you are preloading your application and using Active Record, it's
|
36
|
+
# recommended that you close any connections to the database before workers
|
37
|
+
# are forked to prevent connection leakage.
|
38
|
+
#
|
39
|
+
# before_fork do
|
40
|
+
# ActiveRecord::Base.connection_pool.disconnect! if defined?(ActiveRecord)
|
41
|
+
# end
|
42
|
+
|
43
|
+
# The code in the `on_worker_boot` will be called if you are using
|
44
|
+
# clustered mode by specifying a number of `workers`. After each worker
|
45
|
+
# process is booted, this block will be run. If you are using the `preload_app!`
|
46
|
+
# option, you will want to use this block to reconnect to any threads
|
47
|
+
# or connections that may have been created at application boot, as Ruby
|
48
|
+
# cannot share connections between processes.
|
49
|
+
#
|
50
|
+
# on_worker_boot do
|
51
|
+
# ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
|
52
|
+
# end
|
53
|
+
#
|
54
|
+
|
55
|
+
# Allow puma to be restarted by `rails restart` command.
|
56
|
+
plugin :tmp_restart
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Your secret key is used for verifying the integrity of signed cookies.
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
5
|
+
|
6
|
+
# Make sure the secret is at least 30 characters and all random,
|
7
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
8
|
+
# You can use `rails secret` to generate a secure secret key.
|
9
|
+
|
10
|
+
# Make sure the secrets in this file are kept private
|
11
|
+
# if you're sharing your code publicly.
|
12
|
+
|
13
|
+
# Shared secrets are available across all environments.
|
14
|
+
|
15
|
+
# shared:
|
16
|
+
# api_key: a1B2c3D4e5F6
|
17
|
+
|
18
|
+
# Environmental secrets are only available for that specific environment.
|
19
|
+
|
20
|
+
development:
|
21
|
+
secret_key_base: aa307e97e06e6bad124f6bbbf5be40bbaa8ede67961576a0c352e413440cf87d9c91e3ecbcc8a86ba0474a27fd0a397c95ccbc8b2e83122a2624889873d31349
|
22
|
+
|
23
|
+
test:
|
24
|
+
secret_key_base: 709522e0a2eed6d27c30b7414444e389b92201b9fa10ec55fc007813ca7971477e1e2ef803fc2324969977ec6d087d67debac5b643f904072aff2602f2e92a76
|
25
|
+
|
26
|
+
# Do not keep production secrets in the unencrypted secrets file.
|
27
|
+
# Instead, either read values from the environment.
|
28
|
+
# Or, use `bin/rails secrets:setup` to configure encrypted secrets
|
29
|
+
# and move the `production:` environment over there.
|
30
|
+
|
31
|
+
production:
|
32
|
+
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
data/spec/form_spec.rb
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Incredible::Form do
|
4
|
+
|
5
|
+
let(:subject) { Incredible::Form.new('form') }
|
6
|
+
|
7
|
+
describe '#step_names' do
|
8
|
+
|
9
|
+
it 'returns step names' do
|
10
|
+
expect(subject.step_names).to match_array(%w[step1 step2 step3])
|
11
|
+
end
|
12
|
+
|
13
|
+
end
|
14
|
+
|
15
|
+
describe '#steps' do
|
16
|
+
|
17
|
+
it 'returns the correct amount of steps' do
|
18
|
+
expect(subject.steps.count).to eq(3)
|
19
|
+
end
|
20
|
+
|
21
|
+
it 'returns steps as Steps' do
|
22
|
+
expect(subject.steps['step1']).to be_a(Incredible::Step)
|
23
|
+
expect(subject.steps['step2']).to be_a(Incredible::Step)
|
24
|
+
end
|
25
|
+
|
26
|
+
end
|
27
|
+
|
28
|
+
describe '#find_step' do
|
29
|
+
|
30
|
+
it 'finds a step by name' do
|
31
|
+
expect(subject.find_step('step1')).to eq(subject.steps['step1'])
|
32
|
+
end
|
33
|
+
|
34
|
+
end
|
35
|
+
|
36
|
+
end
|
data/spec/loader_spec.rb
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Incredible::Loader do
|
4
|
+
describe 'self.load' do
|
5
|
+
|
6
|
+
let(:form_name) { 'form' }
|
7
|
+
let(:form) { Incredible::Loader.load(form_name) }
|
8
|
+
|
9
|
+
it 'loads a form' do
|
10
|
+
expect(form).to be_a(Hash)
|
11
|
+
expect(form['form']['name']).to eq('Test form')
|
12
|
+
expect(form['form']['steps'].keys).to eq(%w[step1 step2 step3])
|
13
|
+
end
|
14
|
+
|
15
|
+
context 'with non-existent form' do
|
16
|
+
|
17
|
+
let(:form_name) { 'something' }
|
18
|
+
|
19
|
+
it 'raises an error' do
|
20
|
+
expect { form }.to raise_error(Incredible::Loader::FormNotFound)
|
21
|
+
end
|
22
|
+
|
23
|
+
end
|
24
|
+
|
25
|
+
context 'with badly formatted YAML' do
|
26
|
+
|
27
|
+
let(:form_name) { 'bad-yaml' }
|
28
|
+
|
29
|
+
it 'raises an error' do
|
30
|
+
expect { form }.to raise_error(Incredible::Loader::BadYAML)
|
31
|
+
end
|
32
|
+
|
33
|
+
end
|
34
|
+
|
35
|
+
end
|
36
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
require 'coveralls'
|
2
|
+
Coveralls.wear_merged!
|
3
|
+
|
4
|
+
ENV['RAILS_ENV'] ||= 'test'
|
5
|
+
|
6
|
+
require File.expand_path('../dummy/config/environment.rb', __FILE__)
|
7
|
+
require 'rspec/rails'
|
8
|
+
require 'rails-controller-testing'
|
9
|
+
Rails::Controller::Testing.install
|
10
|
+
|
11
|
+
Rails.backtrace_cleaner.remove_silencers!
|
12
|
+
|
13
|
+
# Load support files
|
14
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
15
|
+
|
16
|
+
RSpec.configure do |config|
|
17
|
+
config.mock_with :rspec
|
18
|
+
config.use_transactional_fixtures = true
|
19
|
+
config.infer_base_class_for_anonymous_controllers = false
|
20
|
+
config.order = 'random'
|
21
|
+
end
|
data/spec/step_spec.rb
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Incredible::Step do
|
4
|
+
|
5
|
+
let(:hash) do
|
6
|
+
{
|
7
|
+
questions: [
|
8
|
+
{
|
9
|
+
name: 'Your Name',
|
10
|
+
widget: 'text'
|
11
|
+
}
|
12
|
+
],
|
13
|
+
rules: {
|
14
|
+
name: {
|
15
|
+
'Someone' => :next_step,
|
16
|
+
'Someone else' => :last_step
|
17
|
+
}
|
18
|
+
},
|
19
|
+
template: 'my_template'
|
20
|
+
}
|
21
|
+
end
|
22
|
+
|
23
|
+
let(:subject) { Incredible::Step.new(hash) }
|
24
|
+
|
25
|
+
context '#questions' do
|
26
|
+
|
27
|
+
it 'returns the questions' do
|
28
|
+
expect(subject.questions).to eq(
|
29
|
+
[
|
30
|
+
{
|
31
|
+
name: 'Your Name',
|
32
|
+
widget: 'text'
|
33
|
+
}
|
34
|
+
]
|
35
|
+
)
|
36
|
+
end
|
37
|
+
|
38
|
+
end
|
39
|
+
|
40
|
+
context '#rules' do
|
41
|
+
|
42
|
+
it 'returns the rules' do
|
43
|
+
expect(subject.rules).to eq(
|
44
|
+
name: {
|
45
|
+
'Someone' => :next_step,
|
46
|
+
'Someone else' => :last_step
|
47
|
+
}
|
48
|
+
)
|
49
|
+
end
|
50
|
+
|
51
|
+
end
|
52
|
+
|
53
|
+
context '#template' do
|
54
|
+
|
55
|
+
it 'returns the template' do
|
56
|
+
expect(subject.template).to eq('my_template')
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
60
|
+
|
61
|
+
end
|
metadata
ADDED
@@ -0,0 +1,271 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: incredible
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1.pre
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- pezholio
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-03-05 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 5.1.4
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 5.1.4
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: wicked
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.3.2
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 1.3.2
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec-rails
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rubocop
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: sqlite3
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: pry
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rails-controller-testing
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rspec_junit_formatter
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: coveralls
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
description:
|
140
|
+
email:
|
141
|
+
- pezholio@gmail.com
|
142
|
+
executables: []
|
143
|
+
extensions: []
|
144
|
+
extra_rdoc_files: []
|
145
|
+
files:
|
146
|
+
- MIT-LICENSE
|
147
|
+
- README.md
|
148
|
+
- Rakefile
|
149
|
+
- config/routes.rb
|
150
|
+
- lib/incredible.rb
|
151
|
+
- lib/incredible/engine.rb
|
152
|
+
- lib/incredible/form.rb
|
153
|
+
- lib/incredible/loader.rb
|
154
|
+
- lib/incredible/step.rb
|
155
|
+
- lib/incredible/version.rb
|
156
|
+
- lib/incredible/wizard.rb
|
157
|
+
- spec/controllers/forms_controller_spec.rb
|
158
|
+
- spec/dummy/Rakefile
|
159
|
+
- spec/dummy/app/controllers/application_controller.rb
|
160
|
+
- spec/dummy/app/controllers/forms_controller.rb
|
161
|
+
- spec/dummy/app/models/application_record.rb
|
162
|
+
- spec/dummy/app/models/stub_model.rb
|
163
|
+
- spec/dummy/app/views/forms/bar.html.erb
|
164
|
+
- spec/dummy/app/views/forms/foo.html.erb
|
165
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
166
|
+
- spec/dummy/app/views/layouts/mailer.html.erb
|
167
|
+
- spec/dummy/app/views/layouts/mailer.text.erb
|
168
|
+
- spec/dummy/bin/bundle
|
169
|
+
- spec/dummy/bin/rails
|
170
|
+
- spec/dummy/bin/rake
|
171
|
+
- spec/dummy/bin/setup
|
172
|
+
- spec/dummy/bin/update
|
173
|
+
- spec/dummy/bin/yarn
|
174
|
+
- spec/dummy/config.ru
|
175
|
+
- spec/dummy/config/application.rb
|
176
|
+
- spec/dummy/config/boot.rb
|
177
|
+
- spec/dummy/config/cable.yml
|
178
|
+
- spec/dummy/config/environment.rb
|
179
|
+
- spec/dummy/config/environments/development.rb
|
180
|
+
- spec/dummy/config/environments/production.rb
|
181
|
+
- spec/dummy/config/environments/test.rb
|
182
|
+
- spec/dummy/config/forms/bad-yaml.yml
|
183
|
+
- spec/dummy/config/forms/form.yml
|
184
|
+
- spec/dummy/config/initializers/application_controller_renderer.rb
|
185
|
+
- spec/dummy/config/initializers/assets.rb
|
186
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
187
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
188
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
189
|
+
- spec/dummy/config/initializers/inflections.rb
|
190
|
+
- spec/dummy/config/initializers/mime_types.rb
|
191
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
192
|
+
- spec/dummy/config/locales/en.yml
|
193
|
+
- spec/dummy/config/puma.rb
|
194
|
+
- spec/dummy/config/routes.rb
|
195
|
+
- spec/dummy/config/secrets.yml
|
196
|
+
- spec/dummy/config/spring.rb
|
197
|
+
- spec/dummy/package.json
|
198
|
+
- spec/form_spec.rb
|
199
|
+
- spec/loader_spec.rb
|
200
|
+
- spec/spec_helper.rb
|
201
|
+
- spec/step_spec.rb
|
202
|
+
homepage: http://github.com/wearefuturegov/incredible
|
203
|
+
licenses:
|
204
|
+
- MIT
|
205
|
+
metadata: {}
|
206
|
+
post_install_message:
|
207
|
+
rdoc_options: []
|
208
|
+
require_paths:
|
209
|
+
- lib
|
210
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
211
|
+
requirements:
|
212
|
+
- - ">="
|
213
|
+
- !ruby/object:Gem::Version
|
214
|
+
version: '0'
|
215
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
216
|
+
requirements:
|
217
|
+
- - ">"
|
218
|
+
- !ruby/object:Gem::Version
|
219
|
+
version: 1.3.1
|
220
|
+
requirements: []
|
221
|
+
rubyforge_project:
|
222
|
+
rubygems_version: 2.6.13
|
223
|
+
signing_key:
|
224
|
+
specification_version: 4
|
225
|
+
summary: Build multi-page forms like a General
|
226
|
+
test_files:
|
227
|
+
- spec/dummy/package.json
|
228
|
+
- spec/dummy/Rakefile
|
229
|
+
- spec/dummy/config/spring.rb
|
230
|
+
- spec/dummy/config/application.rb
|
231
|
+
- spec/dummy/config/routes.rb
|
232
|
+
- spec/dummy/config/boot.rb
|
233
|
+
- spec/dummy/config/puma.rb
|
234
|
+
- spec/dummy/config/environments/production.rb
|
235
|
+
- spec/dummy/config/environments/test.rb
|
236
|
+
- spec/dummy/config/environments/development.rb
|
237
|
+
- spec/dummy/config/initializers/assets.rb
|
238
|
+
- spec/dummy/config/initializers/inflections.rb
|
239
|
+
- spec/dummy/config/initializers/mime_types.rb
|
240
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
241
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
242
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
243
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
244
|
+
- spec/dummy/config/initializers/application_controller_renderer.rb
|
245
|
+
- spec/dummy/config/cable.yml
|
246
|
+
- spec/dummy/config/environment.rb
|
247
|
+
- spec/dummy/config/secrets.yml
|
248
|
+
- spec/dummy/config/forms/form.yml
|
249
|
+
- spec/dummy/config/forms/bad-yaml.yml
|
250
|
+
- spec/dummy/config/locales/en.yml
|
251
|
+
- spec/dummy/config.ru
|
252
|
+
- spec/dummy/app/models/application_record.rb
|
253
|
+
- spec/dummy/app/models/stub_model.rb
|
254
|
+
- spec/dummy/app/controllers/forms_controller.rb
|
255
|
+
- spec/dummy/app/controllers/application_controller.rb
|
256
|
+
- spec/dummy/app/views/layouts/mailer.html.erb
|
257
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
258
|
+
- spec/dummy/app/views/layouts/mailer.text.erb
|
259
|
+
- spec/dummy/app/views/forms/bar.html.erb
|
260
|
+
- spec/dummy/app/views/forms/foo.html.erb
|
261
|
+
- spec/dummy/bin/rake
|
262
|
+
- spec/dummy/bin/bundle
|
263
|
+
- spec/dummy/bin/rails
|
264
|
+
- spec/dummy/bin/setup
|
265
|
+
- spec/dummy/bin/yarn
|
266
|
+
- spec/dummy/bin/update
|
267
|
+
- spec/spec_helper.rb
|
268
|
+
- spec/loader_spec.rb
|
269
|
+
- spec/form_spec.rb
|
270
|
+
- spec/controllers/forms_controller_spec.rb
|
271
|
+
- spec/step_spec.rb
|