script_core 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitattributes +1 -1
- data/.gitignore +15 -1
- data/.rubocop.yml +10 -2
- data/.ruby-version +1 -1
- data/.travis.yml +6 -0
- data/Gemfile +32 -0
- data/README.md +169 -6
- data/Rakefile +11 -0
- data/Vagrantfile +1 -1
- data/bin/rails +25 -0
- data/bootstrap.sh +2 -3
- data/dev.yml +4 -4
- data/ext/enterprise_script_service/Rakefile +5 -4
- data/ext/enterprise_script_service/mruby_config.rb +1 -0
- data/lib/script_core.rb +17 -15
- data/lib/script_core/engine.rb +1 -0
- data/lib/script_core/executable.rb +1 -1
- data/lib/script_core/railtie.rb +8 -0
- data/lib/script_core/spawner.rb +1 -0
- data/lib/script_core/version.rb +1 -1
- data/lib/tasks/mruby/engine.gembox.example +19 -0
- data/lib/tasks/mruby/lib/.keep +0 -0
- data/lib/tasks/script_core.rake +111 -0
- data/script/regression +7 -5
- data/script_core.gemspec +2 -2
- data/spec/dummy/Rakefile +8 -0
- data/spec/dummy/app/assets/config/manifest.js +3 -0
- data/spec/dummy/app/assets/images/.keep +0 -0
- data/spec/dummy/app/assets/javascripts/application.es6 +56 -0
- data/spec/dummy/app/assets/stylesheets/application.scss +65 -0
- data/spec/dummy/app/controllers/application_controller.rb +4 -0
- data/spec/dummy/app/controllers/concerns/.keep +0 -0
- data/spec/dummy/app/controllers/fields/application_controller.rb +25 -0
- data/spec/dummy/app/controllers/fields/options_controller.rb +26 -0
- data/spec/dummy/app/controllers/fields/validations_controller.rb +26 -0
- data/spec/dummy/app/controllers/forms/application_controller.rb +14 -0
- data/spec/dummy/app/controllers/forms/fields_controller.rb +56 -0
- data/spec/dummy/app/controllers/forms/formulas/application_controller.rb +19 -0
- data/spec/dummy/app/controllers/forms/formulas/playgrounds_controller.rb +29 -0
- data/spec/dummy/app/controllers/forms/formulas_controller.rb +56 -0
- data/spec/dummy/app/controllers/forms_controller.rb +58 -0
- data/spec/dummy/app/controllers/home_controller.rb +7 -0
- data/spec/dummy/app/controllers/nested_forms/application_controller.rb +12 -0
- data/spec/dummy/app/controllers/nested_forms/fields_controller.rb +50 -0
- data/spec/dummy/app/controllers/playgrounds_controller.rb +29 -0
- data/spec/dummy/app/decorators/.keep +0 -0
- data/spec/dummy/app/helpers/application_helper.rb +21 -0
- data/spec/dummy/app/helpers/fields_helper.rb +32 -0
- data/spec/dummy/app/helpers/forms_helper.rb +14 -0
- data/spec/dummy/app/jobs/application_job.rb +4 -0
- data/spec/dummy/app/lib/script_engine.rb +22 -0
- data/spec/dummy/app/models/application_record.rb +8 -0
- data/spec/dummy/app/models/concerns/.keep +0 -0
- data/spec/dummy/app/models/concerns/acts_as_default_value.rb +152 -0
- data/spec/dummy/app/models/concerns/enum_attribute_localizable.rb +32 -0
- data/spec/dummy/app/models/concerns/fields/validations/acceptance.rb +18 -0
- data/spec/dummy/app/models/concerns/fields/validations/confirmation.rb +18 -0
- data/spec/dummy/app/models/concerns/fields/validations/exclusion.rb +35 -0
- data/spec/dummy/app/models/concerns/fields/validations/format.rb +45 -0
- data/spec/dummy/app/models/concerns/fields/validations/inclusion.rb +35 -0
- data/spec/dummy/app/models/concerns/fields/validations/length.rb +59 -0
- data/spec/dummy/app/models/concerns/fields/validations/numericality.rb +56 -0
- data/spec/dummy/app/models/concerns/fields/validations/presence.rb +18 -0
- data/spec/dummy/app/models/concerns/form_core/acts_as_default_value.rb +143 -0
- data/spec/dummy/app/models/field.rb +67 -0
- data/spec/dummy/app/models/field_options.rb +90 -0
- data/spec/dummy/app/models/fields.rb +10 -0
- data/spec/dummy/app/models/fields/boolean_field.rb +12 -0
- data/spec/dummy/app/models/fields/decimal_field.rb +12 -0
- data/spec/dummy/app/models/fields/integer_field.rb +20 -0
- data/spec/dummy/app/models/fields/multiple_nested_form_field.rb +35 -0
- data/spec/dummy/app/models/fields/nested_form_field.rb +37 -0
- data/spec/dummy/app/models/fields/options/boolean_field.rb +6 -0
- data/spec/dummy/app/models/fields/options/decimal_field.rb +12 -0
- data/spec/dummy/app/models/fields/options/integer_field.rb +13 -0
- data/spec/dummy/app/models/fields/options/multiple_nested_form_field.rb +6 -0
- data/spec/dummy/app/models/fields/options/nested_form_field.rb +6 -0
- data/spec/dummy/app/models/fields/options/text_field.rb +7 -0
- data/spec/dummy/app/models/fields/text_field.rb +12 -0
- data/spec/dummy/app/models/fields/validations/boolean_field.rb +7 -0
- data/spec/dummy/app/models/fields/validations/decimal_field.rb +8 -0
- data/spec/dummy/app/models/fields/validations/integer_field.rb +8 -0
- data/spec/dummy/app/models/fields/validations/multiple_nested_form_field.rb +8 -0
- data/spec/dummy/app/models/fields/validations/nested_form_field.rb +7 -0
- data/spec/dummy/app/models/fields/validations/text_field.rb +9 -0
- data/spec/dummy/app/models/form.rb +8 -0
- data/spec/dummy/app/models/formula.rb +8 -0
- data/spec/dummy/app/models/metal_form.rb +9 -0
- data/spec/dummy/app/models/nested_form.rb +5 -0
- data/spec/dummy/app/models/virtual_model.rb +23 -0
- data/spec/dummy/app/presenters/application_presenter.rb +11 -0
- data/spec/dummy/app/presenters/concerns/fields/presenter_for_number_field.rb +36 -0
- data/spec/dummy/app/presenters/fields/boolean_field_presenter.rb +13 -0
- data/spec/dummy/app/presenters/fields/composite_field_presenter.rb +13 -0
- data/spec/dummy/app/presenters/fields/decimal_field_presenter.rb +7 -0
- data/spec/dummy/app/presenters/fields/field_presenter.rb +44 -0
- data/spec/dummy/app/presenters/fields/integer_field_presenter.rb +11 -0
- data/spec/dummy/app/presenters/fields/multiple_nested_form_field_presenter.rb +9 -0
- data/spec/dummy/app/presenters/fields/nested_form_field_presenter.rb +9 -0
- data/spec/dummy/app/presenters/fields/text_field_presenter.rb +10 -0
- data/spec/dummy/app/views/_form_core/field_options/_decimal_field.html.erb +9 -0
- data/spec/dummy/app/views/_form_core/field_options/_integer_field.html.erb +10 -0
- data/spec/dummy/app/views/_form_core/field_options/_text_field.html.erb +12 -0
- data/spec/dummy/app/views/_form_core/fields/_boolean_field.html.erb +11 -0
- data/spec/dummy/app/views/_form_core/fields/_decimal_field.html.erb +9 -0
- data/spec/dummy/app/views/_form_core/fields/_integer_field.html.erb +9 -0
- data/spec/dummy/app/views/_form_core/fields/_multiple_nested_form_field.html.erb +23 -0
- data/spec/dummy/app/views/_form_core/fields/_nested_form.html.erb +37 -0
- data/spec/dummy/app/views/_form_core/fields/_nested_form_field.html.erb +42 -0
- data/spec/dummy/app/views/_form_core/fields/_text_field.html.erb +13 -0
- data/spec/dummy/app/views/_form_core/preview/_form.html.erb +17 -0
- data/spec/dummy/app/views/_form_core/preview/_nested_form.html.erb +22 -0
- data/spec/dummy/app/views/_form_core/render/_form.html.erb +39 -0
- data/spec/dummy/app/views/_form_core/validations/_acceptance.html.erb +12 -0
- data/spec/dummy/app/views/_form_core/validations/_confirmation.html.erb +12 -0
- data/spec/dummy/app/views/_form_core/validations/_exclusion.html.erb +2 -0
- data/spec/dummy/app/views/_form_core/validations/_format.html.erb +37 -0
- data/spec/dummy/app/views/_form_core/validations/_inclusion.html.erb +2 -0
- data/spec/dummy/app/views/_form_core/validations/_length.html.erb +44 -0
- data/spec/dummy/app/views/_form_core/validations/_numericality.html.erb +45 -0
- data/spec/dummy/app/views/_form_core/validations/_presence.html.erb +12 -0
- data/spec/dummy/app/views/fields/options/_form.html.erb +29 -0
- data/spec/dummy/app/views/fields/options/edit.html.erb +6 -0
- data/spec/dummy/app/views/fields/validations/_form.html.erb +34 -0
- data/spec/dummy/app/views/fields/validations/edit.html.erb +6 -0
- data/spec/dummy/app/views/forms/_form.html.erb +41 -0
- data/spec/dummy/app/views/forms/edit.html.erb +6 -0
- data/spec/dummy/app/views/forms/fields/_form.html.erb +71 -0
- data/spec/dummy/app/views/forms/fields/edit.html.erb +6 -0
- data/spec/dummy/app/views/forms/fields/index.html.erb +42 -0
- data/spec/dummy/app/views/forms/fields/new.html.erb +6 -0
- data/spec/dummy/app/views/forms/formulas/_form.html.erb +41 -0
- data/spec/dummy/app/views/forms/formulas/edit.html.erb +6 -0
- data/spec/dummy/app/views/forms/formulas/index.html.erb +28 -0
- data/spec/dummy/app/views/forms/formulas/new.html.erb +6 -0
- data/spec/dummy/app/views/forms/formulas/playgrounds/create.html.erb +48 -0
- data/spec/dummy/app/views/forms/formulas/playgrounds/show.html.erb +14 -0
- data/spec/dummy/app/views/forms/index.html.erb +31 -0
- data/spec/dummy/app/views/forms/new.html.erb +6 -0
- data/spec/dummy/app/views/home/index.html.erb +5 -0
- data/spec/dummy/app/views/layouts/_alert.html.erb +4 -0
- data/spec/dummy/app/views/layouts/_footer.html.erb +13 -0
- data/spec/dummy/app/views/layouts/_nav.html.erb +11 -0
- data/spec/dummy/app/views/layouts/_notice.html.erb +4 -0
- data/spec/dummy/app/views/layouts/application.html.erb +25 -0
- data/spec/dummy/app/views/layouts/forms.html.erb +33 -0
- data/spec/dummy/app/views/nested_forms/fields/_form.html.erb +68 -0
- data/spec/dummy/app/views/nested_forms/fields/edit.html.erb +6 -0
- data/spec/dummy/app/views/nested_forms/fields/index.html.erb +39 -0
- data/spec/dummy/app/views/nested_forms/fields/new.html.erb +6 -0
- data/spec/dummy/app/views/playgrounds/_form.html.erb +13 -0
- data/spec/dummy/app/views/playgrounds/create.html.erb +51 -0
- data/spec/dummy/app/views/playgrounds/show.html.erb +7 -0
- data/spec/dummy/bin/bundle +5 -0
- data/spec/dummy/bin/rails +6 -0
- data/spec/dummy/bin/rake +6 -0
- data/spec/dummy/bin/setup +40 -0
- data/spec/dummy/bin/update +35 -0
- data/spec/dummy/bin/yarn +13 -0
- data/spec/dummy/config.ru +7 -0
- data/spec/dummy/config/application.rb +35 -0
- data/spec/dummy/config/boot.rb +7 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +7 -0
- data/spec/dummy/config/environments/development.rb +58 -0
- data/spec/dummy/config/environments/production.rb +85 -0
- data/spec/dummy/config/environments/test.rb +41 -0
- data/spec/dummy/config/initializers/application_controller_renderer.rb +10 -0
- data/spec/dummy/config/initializers/assets.rb +16 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +9 -0
- data/spec/dummy/config/initializers/content_security_policy.rb +27 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +7 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +6 -0
- data/spec/dummy/config/initializers/form_core.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +18 -0
- data/spec/dummy/config/initializers/mime_types.rb +6 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +16 -0
- data/spec/dummy/config/locales/en.yml +33 -0
- data/spec/dummy/config/puma.rb +36 -0
- data/spec/dummy/config/routes.rb +31 -0
- data/spec/dummy/config/spring.rb +8 -0
- data/spec/dummy/config/storage.yml +34 -0
- data/spec/dummy/db/migrate/20180916202025_create_forms.form_core.rb +12 -0
- data/spec/dummy/db/migrate/20180916202026_add_columns_to_forms.rb +10 -0
- data/spec/dummy/db/migrate/20180916202027_add_attachable_to_forms.rb +9 -0
- data/spec/dummy/db/migrate/20180916202030_create_fields.form_core.rb +17 -0
- data/spec/dummy/db/migrate/20180916202121_add_columns_to_fields.rb +10 -0
- data/spec/dummy/db/migrate/20180916202124_add_position_to_fields.rb +9 -0
- data/spec/dummy/db/migrate/20181111111412_create_formulas.rb +13 -0
- data/spec/dummy/db/schema.rb +52 -0
- data/spec/dummy/lib/assets/.keep +0 -0
- data/spec/dummy/lib/monkey_patches/active_support.rb +3 -0
- data/spec/dummy/lib/monkey_patches/active_support/concern+prependable.rb +28 -0
- data/spec/dummy/lib/monkey_patches/big_decimal.rb +8 -0
- data/spec/dummy/log/.keep +0 -0
- data/spec/dummy/mruby/engine.gembox +19 -0
- data/spec/dummy/mruby/lib/.keep +0 -0
- data/spec/dummy/mruby/lib/core_ext.rb +62 -0
- data/spec/dummy/mruby/lib/harden.rb +1 -0
- data/spec/dummy/mruby/lib/input.rb +20 -0
- data/spec/dummy/mruby/lib/io.rb +19 -0
- data/spec/dummy/mruby/lib/output.rb +35 -0
- data/spec/dummy/mruby/lib/script_kernel.rb +12 -0
- data/spec/dummy/package.json +5 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
- data/spec/dummy/public/apple-touch-icon.png +0 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/storage/.keep +0 -0
- data/spec/dummy/test/controllers/.keep +0 -0
- data/spec/dummy/test/fixtures/.keep +0 -0
- data/spec/dummy/test/models/.keep +0 -0
- data/spec/script_core_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +199 -5
- data/circle.yml +0 -9
@@ -0,0 +1,67 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
.rails-default-error-page {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
.rails-default-error-page div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
.rails-default-error-page div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
.rails-default-error-page h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
.rails-default-error-page div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body class="rails-default-error-page">
|
58
|
+
<!-- This file lives in public/422.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>The change you wanted was rejected.</h1>
|
62
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
63
|
+
</div>
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
65
|
+
</div>
|
66
|
+
</body>
|
67
|
+
</html>
|
@@ -0,0 +1,66 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
+
<style>
|
7
|
+
.rails-default-error-page {
|
8
|
+
background-color: #EFEFEF;
|
9
|
+
color: #2E2F30;
|
10
|
+
text-align: center;
|
11
|
+
font-family: arial, sans-serif;
|
12
|
+
margin: 0;
|
13
|
+
}
|
14
|
+
|
15
|
+
.rails-default-error-page div.dialog {
|
16
|
+
width: 95%;
|
17
|
+
max-width: 33em;
|
18
|
+
margin: 4em auto 0;
|
19
|
+
}
|
20
|
+
|
21
|
+
.rails-default-error-page div.dialog > div {
|
22
|
+
border: 1px solid #CCC;
|
23
|
+
border-right-color: #999;
|
24
|
+
border-left-color: #999;
|
25
|
+
border-bottom-color: #BBB;
|
26
|
+
border-top: #B00100 solid 4px;
|
27
|
+
border-top-left-radius: 9px;
|
28
|
+
border-top-right-radius: 9px;
|
29
|
+
background-color: white;
|
30
|
+
padding: 7px 12% 0;
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
+
}
|
33
|
+
|
34
|
+
.rails-default-error-page h1 {
|
35
|
+
font-size: 100%;
|
36
|
+
color: #730E15;
|
37
|
+
line-height: 1.5em;
|
38
|
+
}
|
39
|
+
|
40
|
+
.rails-default-error-page div.dialog > p {
|
41
|
+
margin: 0 0 1em;
|
42
|
+
padding: 1em;
|
43
|
+
background-color: #F7F7F7;
|
44
|
+
border: 1px solid #CCC;
|
45
|
+
border-right-color: #999;
|
46
|
+
border-left-color: #999;
|
47
|
+
border-bottom-color: #999;
|
48
|
+
border-bottom-left-radius: 4px;
|
49
|
+
border-bottom-right-radius: 4px;
|
50
|
+
border-top-color: #DADADA;
|
51
|
+
color: #666;
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
+
}
|
54
|
+
</style>
|
55
|
+
</head>
|
56
|
+
|
57
|
+
<body class="rails-default-error-page">
|
58
|
+
<!-- This file lives in public/500.html -->
|
59
|
+
<div class="dialog">
|
60
|
+
<div>
|
61
|
+
<h1>We're sorry, but something went wrong.</h1>
|
62
|
+
</div>
|
63
|
+
<p>If you are the application owner check the logs for more information.</p>
|
64
|
+
</div>
|
65
|
+
</body>
|
66
|
+
</html>
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/spec/script_core_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: script_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jasl
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: msgpack
|
@@ -121,6 +121,7 @@ files:
|
|
121
121
|
- ".rspec"
|
122
122
|
- ".rubocop.yml"
|
123
123
|
- ".ruby-version"
|
124
|
+
- ".travis.yml"
|
124
125
|
- CMakeLists.txt
|
125
126
|
- Gemfile
|
126
127
|
- LICENSE
|
@@ -130,11 +131,11 @@ files:
|
|
130
131
|
- bin/bundler
|
131
132
|
- bin/console
|
132
133
|
- bin/pry
|
134
|
+
- bin/rails
|
133
135
|
- bin/rake
|
134
136
|
- bin/rspec
|
135
137
|
- bin/sandbox
|
136
138
|
- bootstrap.sh
|
137
|
-
- circle.yml
|
138
139
|
- dev.yml
|
139
140
|
- ext/enterprise_script_service/Rakefile
|
140
141
|
- ext/enterprise_script_service/data.cpp
|
@@ -2809,6 +2810,7 @@ files:
|
|
2809
2810
|
- lib/script_core/executable.rb
|
2810
2811
|
- lib/script_core/message_processor.rb
|
2811
2812
|
- lib/script_core/protocol.rb
|
2813
|
+
- lib/script_core/railtie.rb
|
2812
2814
|
- lib/script_core/result.rb
|
2813
2815
|
- lib/script_core/runner.rb
|
2814
2816
|
- lib/script_core/service_channel.rb
|
@@ -2816,9 +2818,201 @@ files:
|
|
2816
2818
|
- lib/script_core/spawner.rb
|
2817
2819
|
- lib/script_core/stat.rb
|
2818
2820
|
- lib/script_core/version.rb
|
2821
|
+
- lib/tasks/mruby/engine.gembox.example
|
2822
|
+
- lib/tasks/mruby/lib/.keep
|
2823
|
+
- lib/tasks/script_core.rake
|
2819
2824
|
- script/mkmruby
|
2820
2825
|
- script/regression
|
2821
2826
|
- script_core.gemspec
|
2827
|
+
- spec/dummy/Rakefile
|
2828
|
+
- spec/dummy/app/assets/config/manifest.js
|
2829
|
+
- spec/dummy/app/assets/images/.keep
|
2830
|
+
- spec/dummy/app/assets/javascripts/application.es6
|
2831
|
+
- spec/dummy/app/assets/stylesheets/application.scss
|
2832
|
+
- spec/dummy/app/controllers/application_controller.rb
|
2833
|
+
- spec/dummy/app/controllers/concerns/.keep
|
2834
|
+
- spec/dummy/app/controllers/fields/application_controller.rb
|
2835
|
+
- spec/dummy/app/controllers/fields/options_controller.rb
|
2836
|
+
- spec/dummy/app/controllers/fields/validations_controller.rb
|
2837
|
+
- spec/dummy/app/controllers/forms/application_controller.rb
|
2838
|
+
- spec/dummy/app/controllers/forms/fields_controller.rb
|
2839
|
+
- spec/dummy/app/controllers/forms/formulas/application_controller.rb
|
2840
|
+
- spec/dummy/app/controllers/forms/formulas/playgrounds_controller.rb
|
2841
|
+
- spec/dummy/app/controllers/forms/formulas_controller.rb
|
2842
|
+
- spec/dummy/app/controllers/forms_controller.rb
|
2843
|
+
- spec/dummy/app/controllers/home_controller.rb
|
2844
|
+
- spec/dummy/app/controllers/nested_forms/application_controller.rb
|
2845
|
+
- spec/dummy/app/controllers/nested_forms/fields_controller.rb
|
2846
|
+
- spec/dummy/app/controllers/playgrounds_controller.rb
|
2847
|
+
- spec/dummy/app/decorators/.keep
|
2848
|
+
- spec/dummy/app/helpers/application_helper.rb
|
2849
|
+
- spec/dummy/app/helpers/fields_helper.rb
|
2850
|
+
- spec/dummy/app/helpers/forms_helper.rb
|
2851
|
+
- spec/dummy/app/jobs/application_job.rb
|
2852
|
+
- spec/dummy/app/lib/script_engine.rb
|
2853
|
+
- spec/dummy/app/models/application_record.rb
|
2854
|
+
- spec/dummy/app/models/concerns/.keep
|
2855
|
+
- spec/dummy/app/models/concerns/acts_as_default_value.rb
|
2856
|
+
- spec/dummy/app/models/concerns/enum_attribute_localizable.rb
|
2857
|
+
- spec/dummy/app/models/concerns/fields/validations/acceptance.rb
|
2858
|
+
- spec/dummy/app/models/concerns/fields/validations/confirmation.rb
|
2859
|
+
- spec/dummy/app/models/concerns/fields/validations/exclusion.rb
|
2860
|
+
- spec/dummy/app/models/concerns/fields/validations/format.rb
|
2861
|
+
- spec/dummy/app/models/concerns/fields/validations/inclusion.rb
|
2862
|
+
- spec/dummy/app/models/concerns/fields/validations/length.rb
|
2863
|
+
- spec/dummy/app/models/concerns/fields/validations/numericality.rb
|
2864
|
+
- spec/dummy/app/models/concerns/fields/validations/presence.rb
|
2865
|
+
- spec/dummy/app/models/concerns/form_core/acts_as_default_value.rb
|
2866
|
+
- spec/dummy/app/models/field.rb
|
2867
|
+
- spec/dummy/app/models/field_options.rb
|
2868
|
+
- spec/dummy/app/models/fields.rb
|
2869
|
+
- spec/dummy/app/models/fields/boolean_field.rb
|
2870
|
+
- spec/dummy/app/models/fields/decimal_field.rb
|
2871
|
+
- spec/dummy/app/models/fields/integer_field.rb
|
2872
|
+
- spec/dummy/app/models/fields/multiple_nested_form_field.rb
|
2873
|
+
- spec/dummy/app/models/fields/nested_form_field.rb
|
2874
|
+
- spec/dummy/app/models/fields/options/boolean_field.rb
|
2875
|
+
- spec/dummy/app/models/fields/options/decimal_field.rb
|
2876
|
+
- spec/dummy/app/models/fields/options/integer_field.rb
|
2877
|
+
- spec/dummy/app/models/fields/options/multiple_nested_form_field.rb
|
2878
|
+
- spec/dummy/app/models/fields/options/nested_form_field.rb
|
2879
|
+
- spec/dummy/app/models/fields/options/text_field.rb
|
2880
|
+
- spec/dummy/app/models/fields/text_field.rb
|
2881
|
+
- spec/dummy/app/models/fields/validations/boolean_field.rb
|
2882
|
+
- spec/dummy/app/models/fields/validations/decimal_field.rb
|
2883
|
+
- spec/dummy/app/models/fields/validations/integer_field.rb
|
2884
|
+
- spec/dummy/app/models/fields/validations/multiple_nested_form_field.rb
|
2885
|
+
- spec/dummy/app/models/fields/validations/nested_form_field.rb
|
2886
|
+
- spec/dummy/app/models/fields/validations/text_field.rb
|
2887
|
+
- spec/dummy/app/models/form.rb
|
2888
|
+
- spec/dummy/app/models/formula.rb
|
2889
|
+
- spec/dummy/app/models/metal_form.rb
|
2890
|
+
- spec/dummy/app/models/nested_form.rb
|
2891
|
+
- spec/dummy/app/models/virtual_model.rb
|
2892
|
+
- spec/dummy/app/presenters/application_presenter.rb
|
2893
|
+
- spec/dummy/app/presenters/concerns/fields/presenter_for_number_field.rb
|
2894
|
+
- spec/dummy/app/presenters/fields/boolean_field_presenter.rb
|
2895
|
+
- spec/dummy/app/presenters/fields/composite_field_presenter.rb
|
2896
|
+
- spec/dummy/app/presenters/fields/decimal_field_presenter.rb
|
2897
|
+
- spec/dummy/app/presenters/fields/field_presenter.rb
|
2898
|
+
- spec/dummy/app/presenters/fields/integer_field_presenter.rb
|
2899
|
+
- spec/dummy/app/presenters/fields/multiple_nested_form_field_presenter.rb
|
2900
|
+
- spec/dummy/app/presenters/fields/nested_form_field_presenter.rb
|
2901
|
+
- spec/dummy/app/presenters/fields/text_field_presenter.rb
|
2902
|
+
- spec/dummy/app/views/_form_core/field_options/_decimal_field.html.erb
|
2903
|
+
- spec/dummy/app/views/_form_core/field_options/_integer_field.html.erb
|
2904
|
+
- spec/dummy/app/views/_form_core/field_options/_text_field.html.erb
|
2905
|
+
- spec/dummy/app/views/_form_core/fields/_boolean_field.html.erb
|
2906
|
+
- spec/dummy/app/views/_form_core/fields/_decimal_field.html.erb
|
2907
|
+
- spec/dummy/app/views/_form_core/fields/_integer_field.html.erb
|
2908
|
+
- spec/dummy/app/views/_form_core/fields/_multiple_nested_form_field.html.erb
|
2909
|
+
- spec/dummy/app/views/_form_core/fields/_nested_form.html.erb
|
2910
|
+
- spec/dummy/app/views/_form_core/fields/_nested_form_field.html.erb
|
2911
|
+
- spec/dummy/app/views/_form_core/fields/_text_field.html.erb
|
2912
|
+
- spec/dummy/app/views/_form_core/preview/_form.html.erb
|
2913
|
+
- spec/dummy/app/views/_form_core/preview/_nested_form.html.erb
|
2914
|
+
- spec/dummy/app/views/_form_core/render/_form.html.erb
|
2915
|
+
- spec/dummy/app/views/_form_core/validations/_acceptance.html.erb
|
2916
|
+
- spec/dummy/app/views/_form_core/validations/_confirmation.html.erb
|
2917
|
+
- spec/dummy/app/views/_form_core/validations/_exclusion.html.erb
|
2918
|
+
- spec/dummy/app/views/_form_core/validations/_format.html.erb
|
2919
|
+
- spec/dummy/app/views/_form_core/validations/_inclusion.html.erb
|
2920
|
+
- spec/dummy/app/views/_form_core/validations/_length.html.erb
|
2921
|
+
- spec/dummy/app/views/_form_core/validations/_numericality.html.erb
|
2922
|
+
- spec/dummy/app/views/_form_core/validations/_presence.html.erb
|
2923
|
+
- spec/dummy/app/views/fields/options/_form.html.erb
|
2924
|
+
- spec/dummy/app/views/fields/options/edit.html.erb
|
2925
|
+
- spec/dummy/app/views/fields/validations/_form.html.erb
|
2926
|
+
- spec/dummy/app/views/fields/validations/edit.html.erb
|
2927
|
+
- spec/dummy/app/views/forms/_form.html.erb
|
2928
|
+
- spec/dummy/app/views/forms/edit.html.erb
|
2929
|
+
- spec/dummy/app/views/forms/fields/_form.html.erb
|
2930
|
+
- spec/dummy/app/views/forms/fields/edit.html.erb
|
2931
|
+
- spec/dummy/app/views/forms/fields/index.html.erb
|
2932
|
+
- spec/dummy/app/views/forms/fields/new.html.erb
|
2933
|
+
- spec/dummy/app/views/forms/formulas/_form.html.erb
|
2934
|
+
- spec/dummy/app/views/forms/formulas/edit.html.erb
|
2935
|
+
- spec/dummy/app/views/forms/formulas/index.html.erb
|
2936
|
+
- spec/dummy/app/views/forms/formulas/new.html.erb
|
2937
|
+
- spec/dummy/app/views/forms/formulas/playgrounds/create.html.erb
|
2938
|
+
- spec/dummy/app/views/forms/formulas/playgrounds/show.html.erb
|
2939
|
+
- spec/dummy/app/views/forms/index.html.erb
|
2940
|
+
- spec/dummy/app/views/forms/new.html.erb
|
2941
|
+
- spec/dummy/app/views/home/index.html.erb
|
2942
|
+
- spec/dummy/app/views/layouts/_alert.html.erb
|
2943
|
+
- spec/dummy/app/views/layouts/_footer.html.erb
|
2944
|
+
- spec/dummy/app/views/layouts/_nav.html.erb
|
2945
|
+
- spec/dummy/app/views/layouts/_notice.html.erb
|
2946
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
2947
|
+
- spec/dummy/app/views/layouts/forms.html.erb
|
2948
|
+
- spec/dummy/app/views/nested_forms/fields/_form.html.erb
|
2949
|
+
- spec/dummy/app/views/nested_forms/fields/edit.html.erb
|
2950
|
+
- spec/dummy/app/views/nested_forms/fields/index.html.erb
|
2951
|
+
- spec/dummy/app/views/nested_forms/fields/new.html.erb
|
2952
|
+
- spec/dummy/app/views/playgrounds/_form.html.erb
|
2953
|
+
- spec/dummy/app/views/playgrounds/create.html.erb
|
2954
|
+
- spec/dummy/app/views/playgrounds/show.html.erb
|
2955
|
+
- spec/dummy/bin/bundle
|
2956
|
+
- spec/dummy/bin/rails
|
2957
|
+
- spec/dummy/bin/rake
|
2958
|
+
- spec/dummy/bin/setup
|
2959
|
+
- spec/dummy/bin/update
|
2960
|
+
- spec/dummy/bin/yarn
|
2961
|
+
- spec/dummy/config.ru
|
2962
|
+
- spec/dummy/config/application.rb
|
2963
|
+
- spec/dummy/config/boot.rb
|
2964
|
+
- spec/dummy/config/database.yml
|
2965
|
+
- spec/dummy/config/environment.rb
|
2966
|
+
- spec/dummy/config/environments/development.rb
|
2967
|
+
- spec/dummy/config/environments/production.rb
|
2968
|
+
- spec/dummy/config/environments/test.rb
|
2969
|
+
- spec/dummy/config/initializers/application_controller_renderer.rb
|
2970
|
+
- spec/dummy/config/initializers/assets.rb
|
2971
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
2972
|
+
- spec/dummy/config/initializers/content_security_policy.rb
|
2973
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
2974
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
2975
|
+
- spec/dummy/config/initializers/form_core.rb
|
2976
|
+
- spec/dummy/config/initializers/inflections.rb
|
2977
|
+
- spec/dummy/config/initializers/mime_types.rb
|
2978
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
2979
|
+
- spec/dummy/config/locales/en.yml
|
2980
|
+
- spec/dummy/config/puma.rb
|
2981
|
+
- spec/dummy/config/routes.rb
|
2982
|
+
- spec/dummy/config/spring.rb
|
2983
|
+
- spec/dummy/config/storage.yml
|
2984
|
+
- spec/dummy/db/migrate/20180916202025_create_forms.form_core.rb
|
2985
|
+
- spec/dummy/db/migrate/20180916202026_add_columns_to_forms.rb
|
2986
|
+
- spec/dummy/db/migrate/20180916202027_add_attachable_to_forms.rb
|
2987
|
+
- spec/dummy/db/migrate/20180916202030_create_fields.form_core.rb
|
2988
|
+
- spec/dummy/db/migrate/20180916202121_add_columns_to_fields.rb
|
2989
|
+
- spec/dummy/db/migrate/20180916202124_add_position_to_fields.rb
|
2990
|
+
- spec/dummy/db/migrate/20181111111412_create_formulas.rb
|
2991
|
+
- spec/dummy/db/schema.rb
|
2992
|
+
- spec/dummy/lib/assets/.keep
|
2993
|
+
- spec/dummy/lib/monkey_patches/active_support.rb
|
2994
|
+
- spec/dummy/lib/monkey_patches/active_support/concern+prependable.rb
|
2995
|
+
- spec/dummy/lib/monkey_patches/big_decimal.rb
|
2996
|
+
- spec/dummy/log/.keep
|
2997
|
+
- spec/dummy/mruby/engine.gembox
|
2998
|
+
- spec/dummy/mruby/lib/.keep
|
2999
|
+
- spec/dummy/mruby/lib/core_ext.rb
|
3000
|
+
- spec/dummy/mruby/lib/harden.rb
|
3001
|
+
- spec/dummy/mruby/lib/input.rb
|
3002
|
+
- spec/dummy/mruby/lib/io.rb
|
3003
|
+
- spec/dummy/mruby/lib/output.rb
|
3004
|
+
- spec/dummy/mruby/lib/script_kernel.rb
|
3005
|
+
- spec/dummy/package.json
|
3006
|
+
- spec/dummy/public/404.html
|
3007
|
+
- spec/dummy/public/422.html
|
3008
|
+
- spec/dummy/public/500.html
|
3009
|
+
- spec/dummy/public/apple-touch-icon-precomposed.png
|
3010
|
+
- spec/dummy/public/apple-touch-icon.png
|
3011
|
+
- spec/dummy/public/favicon.ico
|
3012
|
+
- spec/dummy/storage/.keep
|
3013
|
+
- spec/dummy/test/controllers/.keep
|
3014
|
+
- spec/dummy/test/fixtures/.keep
|
3015
|
+
- spec/dummy/test/models/.keep
|
2822
3016
|
- spec/script_core/message_processor_spec.rb
|
2823
3017
|
- spec/script_core/runner_spec.rb
|
2824
3018
|
- spec/script_core/service_channel_spec.rb
|
@@ -3589,7 +3783,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
3589
3783
|
requirements:
|
3590
3784
|
- - ">="
|
3591
3785
|
- !ruby/object:Gem::Version
|
3592
|
-
version: '2.
|
3786
|
+
version: '2.4'
|
3593
3787
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
3594
3788
|
requirements:
|
3595
3789
|
- - ">="
|
@@ -3597,7 +3791,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
3597
3791
|
version: '0'
|
3598
3792
|
requirements: []
|
3599
3793
|
rubyforge_project:
|
3600
|
-
rubygems_version: 2.7.
|
3794
|
+
rubygems_version: 2.7.7
|
3601
3795
|
signing_key:
|
3602
3796
|
specification_version: 4
|
3603
3797
|
summary: A script engine powered by a mruby sandboxie, It's forked by Shopify's ESS.
|
data/circle.yml
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
machine:
|
2
|
-
ruby:
|
3
|
-
version: 2.5.0
|
4
|
-
dependencies:
|
5
|
-
pre:
|
6
|
-
- git submodule sync
|
7
|
-
- git submodule update --init --recursive || (rm -fr .git/config .git/modules && git submodule deinit -f . && git submodule update --init --recursive)
|
8
|
-
post:
|
9
|
-
- bundle exec rake compile
|