bullet_train-super_scaffolding 1.0.9 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/account/scaffolding/absolutely_abstract/creative_concepts/collaborators_controller.rb +81 -0
- data/app/controllers/account/scaffolding/absolutely_abstract/creative_concepts_controller.rb +82 -0
- data/app/controllers/account/scaffolding/completely_concrete/tangible_things_controller.rb +107 -0
- data/app/controllers/api/v1/scaffolding/absolutely_abstract/creative_concepts_endpoint.rb +103 -0
- data/app/controllers/api/v1/scaffolding/absolutely_abstract.rb +2 -0
- data/app/controllers/api/v1/scaffolding/completely_concrete/tangible_things_endpoint.rb +136 -0
- data/app/controllers/api/v1/scaffolding/completely_concrete.rb +2 -0
- data/app/controllers/api/v1/scaffolding.rb +2 -0
- data/app/controllers/api/v1.rb +2 -0
- data/app/controllers/api.rb +2 -0
- data/app/controllers/concerns/scaffolding/absolutely_abstract/creative_concepts/controller_support.rb +11 -0
- data/app/models/scaffolding/absolutely_abstract/creative_concept.rb +42 -0
- data/app/models/scaffolding/absolutely_abstract/creative_concepts/collaborator.rb +39 -0
- data/app/models/scaffolding/absolutely_abstract/creative_concepts.rb +5 -0
- data/app/models/scaffolding/absolutely_abstract.rb +5 -0
- data/app/models/scaffolding/completely_concrete/tangible_thing.rb +42 -0
- data/app/models/scaffolding/completely_concrete/tangible_things/assignment.rb +22 -0
- data/app/models/scaffolding/completely_concrete/tangible_things.rb +5 -0
- data/app/models/scaffolding/completely_concrete.rb +5 -0
- data/app/models/scaffolding.rb +5 -0
- data/app/serializers/api/v1/scaffolding/absolutely_abstract/creative_concept_serializer.rb +14 -0
- data/app/serializers/api/v1/scaffolding/completely_concrete/tangible_thing_serializer.rb +30 -0
- data/app/views/account/scaffolding/absolutely_abstract/creative_concepts/_breadcrumbs.html.erb +8 -0
- data/app/views/account/scaffolding/absolutely_abstract/creative_concepts/_creative_concept.json.jbuilder +8 -0
- data/app/views/account/scaffolding/absolutely_abstract/creative_concepts/_form.html.erb +18 -0
- data/app/views/account/scaffolding/absolutely_abstract/creative_concepts/_index.html.erb +56 -0
- data/app/views/account/scaffolding/absolutely_abstract/creative_concepts/_menu_item.html.erb +10 -0
- data/app/views/account/scaffolding/absolutely_abstract/creative_concepts/collaborators/_breadcrumbs.html.erb +8 -0
- data/app/views/account/scaffolding/absolutely_abstract/creative_concepts/collaborators/_collaborator.json.jbuilder +9 -0
- data/app/views/account/scaffolding/absolutely_abstract/creative_concepts/collaborators/_form.html.erb +19 -0
- data/app/views/account/scaffolding/absolutely_abstract/creative_concepts/collaborators/_index.html.erb +69 -0
- data/app/views/account/scaffolding/absolutely_abstract/creative_concepts/collaborators/_menu_item.html.erb +10 -0
- data/app/views/account/scaffolding/absolutely_abstract/creative_concepts/collaborators/edit.html.erb +12 -0
- data/app/views/account/scaffolding/absolutely_abstract/creative_concepts/collaborators/index.html.erb +6 -0
- data/app/views/account/scaffolding/absolutely_abstract/creative_concepts/collaborators/index.json.jbuilder +1 -0
- data/app/views/account/scaffolding/absolutely_abstract/creative_concepts/collaborators/new.html.erb +12 -0
- data/app/views/account/scaffolding/absolutely_abstract/creative_concepts/collaborators/show.html.erb +31 -0
- data/app/views/account/scaffolding/absolutely_abstract/creative_concepts/collaborators/show.json.jbuilder +1 -0
- data/app/views/account/scaffolding/absolutely_abstract/creative_concepts/edit.html.erb +12 -0
- data/app/views/account/scaffolding/absolutely_abstract/creative_concepts/index.html.erb +6 -0
- data/app/views/account/scaffolding/absolutely_abstract/creative_concepts/index.json.jbuilder +1 -0
- data/app/views/account/scaffolding/absolutely_abstract/creative_concepts/new.html.erb +12 -0
- data/app/views/account/scaffolding/absolutely_abstract/creative_concepts/show.html.erb +65 -0
- data/app/views/account/scaffolding/absolutely_abstract/creative_concepts/show.json.jbuilder +1 -0
- data/app/views/account/scaffolding/completely_concrete/tangible_things/_breadcrumbs.html.erb +8 -0
- data/app/views/account/scaffolding/completely_concrete/tangible_things/_form.html.erb +66 -0
- data/app/views/account/scaffolding/completely_concrete/tangible_things/_index.html.erb +72 -0
- data/app/views/account/scaffolding/completely_concrete/tangible_things/_menu_item.html.erb +10 -0
- data/app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.json.jbuilder +23 -0
- data/app/views/account/scaffolding/completely_concrete/tangible_things/edit.html.erb +12 -0
- data/app/views/account/scaffolding/completely_concrete/tangible_things/index.html.erb +6 -0
- data/app/views/account/scaffolding/completely_concrete/tangible_things/index.json.jbuilder +1 -0
- data/app/views/account/scaffolding/completely_concrete/tangible_things/new.html.erb +12 -0
- data/app/views/account/scaffolding/completely_concrete/tangible_things/show.html.erb +45 -0
- data/app/views/account/scaffolding/completely_concrete/tangible_things/show.json.jbuilder +1 -0
- data/config/locales/en/scaffolding/absolutely_abstract/creative_concepts/collaborators.en.yml +98 -0
- data/config/locales/en/scaffolding/absolutely_abstract/creative_concepts.en.yml +111 -0
- data/config/locales/en/scaffolding/completely_concrete/tangible_things.en.yml +229 -0
- data/config/routes.rb +28 -0
- data/db/migrate/20190124040656_add_csv_import_to_scaffolding_things.rb +5 -0
- data/db/migrate/20191021215724_add_example_fields_to_scaffolding_things.rb +14 -0
- data/db/migrate/20191021233425_add_ckeditor_value_to_scaffolding_things.rb +5 -0
- data/db/migrate/20191204020251_create_scaffolding_absolutely_abstract_creative_concepts.rb +11 -0
- data/db/migrate/20191204020913_create_scaffolding_completely_concrete_tangible_things.rb +21 -0
- data/db/migrate/20191225224034_add_sort_order_to_scaffolding_completely_concrete_tangible_things.rb +5 -0
- data/db/migrate/20200101203645_drop_scaffolding_things.rb +9 -0
- data/db/migrate/20210101210524_create_scaffolding_absolutely_abstract_creative_concepts_collaborators.rb +10 -0
- data/db/migrate/20210101231429_add_roles_to_scaffolding_absolutely_abstract_creative_concepts_collaborators.rb +5 -0
- data/db/migrate/20210224234445_remove_select_value_from_scaffolding_completely_concrete_tangible_things.rb +5 -0
- data/db/migrate/20210513013030_add_color_value_to_scaffolding_completely_concrete_tangible_things.rb +5 -0
- data/db/migrate/20210602230736_add_option_fields_to_scaffolding_completely_concrete_tangible_things.rb +6 -0
- data/lib/bullet_train/super_scaffolding/engine.rb +7 -0
- data/lib/bullet_train/super_scaffolding/version.rb +1 -1
- metadata +72 -2
@@ -0,0 +1,14 @@
|
|
1
|
+
class AddExampleFieldsToScaffoldingThings < ActiveRecord::Migration[6.0]
|
2
|
+
def change
|
3
|
+
add_column :scaffolding_things, :button_value, :string
|
4
|
+
add_column :scaffolding_things, :cloudinary_image_value, :string
|
5
|
+
add_column :scaffolding_things, :date_field_value, :date
|
6
|
+
add_column :scaffolding_things, :email_field_value, :string
|
7
|
+
add_column :scaffolding_things, :password_field_value, :string
|
8
|
+
add_column :scaffolding_things, :phone_field_value, :string
|
9
|
+
add_column :scaffolding_things, :select_value, :string
|
10
|
+
add_column :scaffolding_things, :super_select_value, :string
|
11
|
+
add_column :scaffolding_things, :text_area_value, :text
|
12
|
+
add_column :scaffolding_things, :trix_editor_value, :text
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
class CreateScaffoldingAbsolutelyAbstractCreativeConcepts < ActiveRecord::Migration[6.0]
|
2
|
+
def change
|
3
|
+
create_table :scaffolding_absolutely_abstract_creative_concepts do |t|
|
4
|
+
t.references :team, null: false, foreign_key: true, index: {name: "index_absolutely_abstract_creative_concepts_on_team_id"}
|
5
|
+
t.string :name
|
6
|
+
t.text :description
|
7
|
+
|
8
|
+
t.timestamps
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
class CreateScaffoldingCompletelyConcreteTangibleThings < ActiveRecord::Migration[6.0]
|
2
|
+
def change
|
3
|
+
create_table :scaffolding_completely_concrete_tangible_things do |t|
|
4
|
+
t.references :absolutely_abstract_creative_concept, null: false, foreign_key: {to_table: "scaffolding_absolutely_abstract_creative_concepts"}, index: {name: "index_tangible_things_on_creative_concept_id"}
|
5
|
+
t.string :text_field_value
|
6
|
+
t.string :button_value
|
7
|
+
t.string :cloudinary_image_value
|
8
|
+
t.date :date_field_value
|
9
|
+
t.string :email_field_value
|
10
|
+
t.string :password_field_value
|
11
|
+
t.string :phone_field_value
|
12
|
+
t.string :select_value
|
13
|
+
t.string :super_select_value
|
14
|
+
t.text :text_area_value
|
15
|
+
t.text :trix_editor_value
|
16
|
+
t.text :ckeditor_value
|
17
|
+
|
18
|
+
t.timestamps
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
class CreateScaffoldingAbsolutelyAbstractCreativeConceptsCollaborators < ActiveRecord::Migration[6.1]
|
2
|
+
def change
|
3
|
+
create_table :scaffolding_absolutely_abstract_creative_concepts_collaborators do |t|
|
4
|
+
t.references :creative_concept, null: false, foreign_key: {to_table: "scaffolding_absolutely_abstract_creative_concepts"}, index: {name: "index_creative_concepts_collaborators_on_creative_concept_id"}
|
5
|
+
t.references :membership, null: false, foreign_key: {to_table: "memberships"}, index: {name: "index_creative_concepts_collaborators_on_membership_id"}
|
6
|
+
|
7
|
+
t.timestamps
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|
@@ -0,0 +1,6 @@
|
|
1
|
+
class AddOptionFieldsToScaffoldingCompletelyConcreteTangibleThings < ActiveRecord::Migration[6.1]
|
2
|
+
def change
|
3
|
+
add_column :scaffolding_completely_concrete_tangible_things, :option_value, :string
|
4
|
+
add_column :scaffolding_completely_concrete_tangible_things, :multiple_option_values, :jsonb, default: []
|
5
|
+
end
|
6
|
+
end
|
@@ -9,6 +9,13 @@ module BulletTrain
|
|
9
9
|
# Register the base path of this package with the Super Scaffolding engine.
|
10
10
|
BulletTrain::SuperScaffolding.template_paths << File.expand_path("../../../..", __FILE__)
|
11
11
|
end
|
12
|
+
|
13
|
+
initializer "bullet_train.super_scaffolding.templates.register_api_endpoints" do |app|
|
14
|
+
if BulletTrain::Api
|
15
|
+
BulletTrain::Api.endpoints << "Api::V1::Scaffolding::AbsolutelyAbstract::CreativeConceptsEndpoint"
|
16
|
+
BulletTrain::Api.endpoints << "Api::V1::Scaffolding::CompletelyConcrete::TangibleThingsEndpoint"
|
17
|
+
end
|
18
|
+
end
|
12
19
|
end
|
13
20
|
end
|
14
21
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bullet_train-super_scaffolding
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Culver
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-02-
|
11
|
+
date: 2022-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -35,7 +35,77 @@ files:
|
|
35
35
|
- README.md
|
36
36
|
- Rakefile
|
37
37
|
- app/assets/config/bullet_train_super_scaffolding_manifest.js
|
38
|
+
- app/controllers/account/scaffolding/absolutely_abstract/creative_concepts/collaborators_controller.rb
|
39
|
+
- app/controllers/account/scaffolding/absolutely_abstract/creative_concepts_controller.rb
|
40
|
+
- app/controllers/account/scaffolding/completely_concrete/tangible_things_controller.rb
|
41
|
+
- app/controllers/api.rb
|
42
|
+
- app/controllers/api/v1.rb
|
43
|
+
- app/controllers/api/v1/scaffolding.rb
|
44
|
+
- app/controllers/api/v1/scaffolding/absolutely_abstract.rb
|
45
|
+
- app/controllers/api/v1/scaffolding/absolutely_abstract/creative_concepts_endpoint.rb
|
46
|
+
- app/controllers/api/v1/scaffolding/completely_concrete.rb
|
47
|
+
- app/controllers/api/v1/scaffolding/completely_concrete/tangible_things_endpoint.rb
|
48
|
+
- app/controllers/concerns/scaffolding/absolutely_abstract/creative_concepts/controller_support.rb
|
49
|
+
- app/models/scaffolding.rb
|
50
|
+
- app/models/scaffolding/absolutely_abstract.rb
|
51
|
+
- app/models/scaffolding/absolutely_abstract/creative_concept.rb
|
52
|
+
- app/models/scaffolding/absolutely_abstract/creative_concepts.rb
|
53
|
+
- app/models/scaffolding/absolutely_abstract/creative_concepts/collaborator.rb
|
54
|
+
- app/models/scaffolding/completely_concrete.rb
|
55
|
+
- app/models/scaffolding/completely_concrete/tangible_thing.rb
|
56
|
+
- app/models/scaffolding/completely_concrete/tangible_things.rb
|
57
|
+
- app/models/scaffolding/completely_concrete/tangible_things/assignment.rb
|
58
|
+
- app/serializers/api/v1/scaffolding/absolutely_abstract/creative_concept_serializer.rb
|
59
|
+
- app/serializers/api/v1/scaffolding/completely_concrete/tangible_thing_serializer.rb
|
60
|
+
- app/views/account/scaffolding/absolutely_abstract/creative_concepts/_breadcrumbs.html.erb
|
61
|
+
- app/views/account/scaffolding/absolutely_abstract/creative_concepts/_creative_concept.json.jbuilder
|
62
|
+
- app/views/account/scaffolding/absolutely_abstract/creative_concepts/_form.html.erb
|
63
|
+
- app/views/account/scaffolding/absolutely_abstract/creative_concepts/_index.html.erb
|
64
|
+
- app/views/account/scaffolding/absolutely_abstract/creative_concepts/_menu_item.html.erb
|
65
|
+
- app/views/account/scaffolding/absolutely_abstract/creative_concepts/collaborators/_breadcrumbs.html.erb
|
66
|
+
- app/views/account/scaffolding/absolutely_abstract/creative_concepts/collaborators/_collaborator.json.jbuilder
|
67
|
+
- app/views/account/scaffolding/absolutely_abstract/creative_concepts/collaborators/_form.html.erb
|
68
|
+
- app/views/account/scaffolding/absolutely_abstract/creative_concepts/collaborators/_index.html.erb
|
69
|
+
- app/views/account/scaffolding/absolutely_abstract/creative_concepts/collaborators/_menu_item.html.erb
|
70
|
+
- app/views/account/scaffolding/absolutely_abstract/creative_concepts/collaborators/edit.html.erb
|
71
|
+
- app/views/account/scaffolding/absolutely_abstract/creative_concepts/collaborators/index.html.erb
|
72
|
+
- app/views/account/scaffolding/absolutely_abstract/creative_concepts/collaborators/index.json.jbuilder
|
73
|
+
- app/views/account/scaffolding/absolutely_abstract/creative_concepts/collaborators/new.html.erb
|
74
|
+
- app/views/account/scaffolding/absolutely_abstract/creative_concepts/collaborators/show.html.erb
|
75
|
+
- app/views/account/scaffolding/absolutely_abstract/creative_concepts/collaborators/show.json.jbuilder
|
76
|
+
- app/views/account/scaffolding/absolutely_abstract/creative_concepts/edit.html.erb
|
77
|
+
- app/views/account/scaffolding/absolutely_abstract/creative_concepts/index.html.erb
|
78
|
+
- app/views/account/scaffolding/absolutely_abstract/creative_concepts/index.json.jbuilder
|
79
|
+
- app/views/account/scaffolding/absolutely_abstract/creative_concepts/new.html.erb
|
80
|
+
- app/views/account/scaffolding/absolutely_abstract/creative_concepts/show.html.erb
|
81
|
+
- app/views/account/scaffolding/absolutely_abstract/creative_concepts/show.json.jbuilder
|
82
|
+
- app/views/account/scaffolding/completely_concrete/tangible_things/_breadcrumbs.html.erb
|
83
|
+
- app/views/account/scaffolding/completely_concrete/tangible_things/_form.html.erb
|
84
|
+
- app/views/account/scaffolding/completely_concrete/tangible_things/_index.html.erb
|
85
|
+
- app/views/account/scaffolding/completely_concrete/tangible_things/_menu_item.html.erb
|
86
|
+
- app/views/account/scaffolding/completely_concrete/tangible_things/_tangible_thing.json.jbuilder
|
87
|
+
- app/views/account/scaffolding/completely_concrete/tangible_things/edit.html.erb
|
88
|
+
- app/views/account/scaffolding/completely_concrete/tangible_things/index.html.erb
|
89
|
+
- app/views/account/scaffolding/completely_concrete/tangible_things/index.json.jbuilder
|
90
|
+
- app/views/account/scaffolding/completely_concrete/tangible_things/new.html.erb
|
91
|
+
- app/views/account/scaffolding/completely_concrete/tangible_things/show.html.erb
|
92
|
+
- app/views/account/scaffolding/completely_concrete/tangible_things/show.json.jbuilder
|
93
|
+
- config/locales/en/scaffolding/absolutely_abstract/creative_concepts.en.yml
|
94
|
+
- config/locales/en/scaffolding/absolutely_abstract/creative_concepts/collaborators.en.yml
|
95
|
+
- config/locales/en/scaffolding/completely_concrete/tangible_things.en.yml
|
38
96
|
- config/routes.rb
|
97
|
+
- db/migrate/20190124040656_add_csv_import_to_scaffolding_things.rb
|
98
|
+
- db/migrate/20191021215724_add_example_fields_to_scaffolding_things.rb
|
99
|
+
- db/migrate/20191021233425_add_ckeditor_value_to_scaffolding_things.rb
|
100
|
+
- db/migrate/20191204020251_create_scaffolding_absolutely_abstract_creative_concepts.rb
|
101
|
+
- db/migrate/20191204020913_create_scaffolding_completely_concrete_tangible_things.rb
|
102
|
+
- db/migrate/20191225224034_add_sort_order_to_scaffolding_completely_concrete_tangible_things.rb
|
103
|
+
- db/migrate/20200101203645_drop_scaffolding_things.rb
|
104
|
+
- db/migrate/20210101210524_create_scaffolding_absolutely_abstract_creative_concepts_collaborators.rb
|
105
|
+
- db/migrate/20210101231429_add_roles_to_scaffolding_absolutely_abstract_creative_concepts_collaborators.rb
|
106
|
+
- db/migrate/20210224234445_remove_select_value_from_scaffolding_completely_concrete_tangible_things.rb
|
107
|
+
- db/migrate/20210513013030_add_color_value_to_scaffolding_completely_concrete_tangible_things.rb
|
108
|
+
- db/migrate/20210602230736_add_option_fields_to_scaffolding_completely_concrete_tangible_things.rb
|
39
109
|
- lib/bullet_train/super_scaffolding.rb
|
40
110
|
- lib/bullet_train/super_scaffolding/engine.rb
|
41
111
|
- lib/bullet_train/super_scaffolding/scaffolder.rb
|