nacelle 0.2.2 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +36 -0
- data/.gitignore +1 -0
- data/Appraisals +27 -0
- data/Gemfile +3 -0
- data/README.md +2 -0
- data/app/assets/javascripts/ckeditor/plugins/cells/dialogs/cells.js +125 -0
- data/app/assets/javascripts/ckeditor/plugins/cells/plugin.js +19 -0
- data/gemfiles/.bundle/config +2 -0
- data/gemfiles/rails_5.1.gemfile +8 -0
- data/gemfiles/rails_5.1.gemfile.lock +165 -0
- data/gemfiles/rails_5.2.gemfile +8 -0
- data/gemfiles/rails_5.2.gemfile.lock +171 -0
- data/gemfiles/rails_6.0.gemfile +9 -0
- data/gemfiles/rails_6.0.gemfile.lock +189 -0
- data/gemfiles/rails_6.1.gemfile +9 -0
- data/gemfiles/rails_6.1.gemfile.lock +190 -0
- data/gemfiles/rails_7.0.gemfile +8 -0
- data/gemfiles/rails_7.0.gemfile.lock +192 -0
- data/lib/nacelle/cell.rb +8 -0
- data/lib/nacelle/cells_serializer.rb +7 -0
- data/lib/nacelle/middleware.rb +5 -0
- data/lib/nacelle/version.rb +1 -1
- data/lib/nacelle.rb +1 -0
- data/nacelle.gemspec +4 -2
- metadata +54 -15
- data/.byebug_history +0 -22
- data/.travis.yml +0 -3
- data/app/assets/javascripts/ckeditor/plugins/cells/dialogs/cells.js.coffee +0 -25
- data/app/assets/javascripts/ckeditor/plugins/cells/plugin.js.coffee +0 -16
@@ -0,0 +1,189 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
nacelle (0.3.0)
|
5
|
+
cells (~> 3.0)
|
6
|
+
rails
|
7
|
+
sprockets-rails
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
actioncable (6.0.4.4)
|
13
|
+
actionpack (= 6.0.4.4)
|
14
|
+
nio4r (~> 2.0)
|
15
|
+
websocket-driver (>= 0.6.1)
|
16
|
+
actionmailbox (6.0.4.4)
|
17
|
+
actionpack (= 6.0.4.4)
|
18
|
+
activejob (= 6.0.4.4)
|
19
|
+
activerecord (= 6.0.4.4)
|
20
|
+
activestorage (= 6.0.4.4)
|
21
|
+
activesupport (= 6.0.4.4)
|
22
|
+
mail (>= 2.7.1)
|
23
|
+
actionmailer (6.0.4.4)
|
24
|
+
actionpack (= 6.0.4.4)
|
25
|
+
actionview (= 6.0.4.4)
|
26
|
+
activejob (= 6.0.4.4)
|
27
|
+
mail (~> 2.5, >= 2.5.4)
|
28
|
+
rails-dom-testing (~> 2.0)
|
29
|
+
actionpack (6.0.4.4)
|
30
|
+
actionview (= 6.0.4.4)
|
31
|
+
activesupport (= 6.0.4.4)
|
32
|
+
rack (~> 2.0, >= 2.0.8)
|
33
|
+
rack-test (>= 0.6.3)
|
34
|
+
rails-dom-testing (~> 2.0)
|
35
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
36
|
+
actiontext (6.0.4.4)
|
37
|
+
actionpack (= 6.0.4.4)
|
38
|
+
activerecord (= 6.0.4.4)
|
39
|
+
activestorage (= 6.0.4.4)
|
40
|
+
activesupport (= 6.0.4.4)
|
41
|
+
nokogiri (>= 1.8.5)
|
42
|
+
actionview (6.0.4.4)
|
43
|
+
activesupport (= 6.0.4.4)
|
44
|
+
builder (~> 3.1)
|
45
|
+
erubi (~> 1.4)
|
46
|
+
rails-dom-testing (~> 2.0)
|
47
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
48
|
+
activejob (6.0.4.4)
|
49
|
+
activesupport (= 6.0.4.4)
|
50
|
+
globalid (>= 0.3.6)
|
51
|
+
activemodel (6.0.4.4)
|
52
|
+
activesupport (= 6.0.4.4)
|
53
|
+
activerecord (6.0.4.4)
|
54
|
+
activemodel (= 6.0.4.4)
|
55
|
+
activesupport (= 6.0.4.4)
|
56
|
+
activestorage (6.0.4.4)
|
57
|
+
actionpack (= 6.0.4.4)
|
58
|
+
activejob (= 6.0.4.4)
|
59
|
+
activerecord (= 6.0.4.4)
|
60
|
+
marcel (~> 1.0.0)
|
61
|
+
activesupport (6.0.4.4)
|
62
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
63
|
+
i18n (>= 0.7, < 2)
|
64
|
+
minitest (~> 5.1)
|
65
|
+
tzinfo (~> 1.1)
|
66
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
67
|
+
addressable (2.8.0)
|
68
|
+
public_suffix (>= 2.0.2, < 5.0)
|
69
|
+
appraisal (2.4.1)
|
70
|
+
bundler
|
71
|
+
rake
|
72
|
+
thor (>= 0.14.0)
|
73
|
+
builder (3.2.4)
|
74
|
+
byebug (11.1.3)
|
75
|
+
capybara (3.35.3)
|
76
|
+
addressable
|
77
|
+
mini_mime (>= 0.1.3)
|
78
|
+
nokogiri (~> 1.8)
|
79
|
+
rack (>= 1.6.0)
|
80
|
+
rack-test (>= 0.6.3)
|
81
|
+
regexp_parser (>= 1.5, < 3.0)
|
82
|
+
xpath (~> 3.2)
|
83
|
+
cells (3.11.3)
|
84
|
+
actionpack (>= 3.0)
|
85
|
+
railties (>= 3.0)
|
86
|
+
uber (~> 0.0.8)
|
87
|
+
concurrent-ruby (1.1.9)
|
88
|
+
crass (1.0.6)
|
89
|
+
diff-lcs (1.5.0)
|
90
|
+
erubi (1.10.0)
|
91
|
+
globalid (1.0.0)
|
92
|
+
activesupport (>= 5.0)
|
93
|
+
i18n (1.8.11)
|
94
|
+
concurrent-ruby (~> 1.0)
|
95
|
+
loofah (2.13.0)
|
96
|
+
crass (~> 1.0.2)
|
97
|
+
nokogiri (>= 1.5.9)
|
98
|
+
mail (2.7.1)
|
99
|
+
mini_mime (>= 0.1.1)
|
100
|
+
marcel (1.0.2)
|
101
|
+
method_source (1.0.0)
|
102
|
+
mini_mime (1.1.2)
|
103
|
+
mini_portile2 (2.6.1)
|
104
|
+
minitest (5.15.0)
|
105
|
+
nio4r (2.5.8)
|
106
|
+
nokogiri (1.12.5)
|
107
|
+
mini_portile2 (~> 2.6.1)
|
108
|
+
racc (~> 1.4)
|
109
|
+
public_suffix (4.0.6)
|
110
|
+
racc (1.6.0)
|
111
|
+
rack (2.2.3)
|
112
|
+
rack-test (1.1.0)
|
113
|
+
rack (>= 1.0, < 3)
|
114
|
+
rails (6.0.4.4)
|
115
|
+
actioncable (= 6.0.4.4)
|
116
|
+
actionmailbox (= 6.0.4.4)
|
117
|
+
actionmailer (= 6.0.4.4)
|
118
|
+
actionpack (= 6.0.4.4)
|
119
|
+
actiontext (= 6.0.4.4)
|
120
|
+
actionview (= 6.0.4.4)
|
121
|
+
activejob (= 6.0.4.4)
|
122
|
+
activemodel (= 6.0.4.4)
|
123
|
+
activerecord (= 6.0.4.4)
|
124
|
+
activestorage (= 6.0.4.4)
|
125
|
+
activesupport (= 6.0.4.4)
|
126
|
+
bundler (>= 1.3.0)
|
127
|
+
railties (= 6.0.4.4)
|
128
|
+
sprockets-rails (>= 2.0.0)
|
129
|
+
rails-dom-testing (2.0.3)
|
130
|
+
activesupport (>= 4.2.0)
|
131
|
+
nokogiri (>= 1.6)
|
132
|
+
rails-html-sanitizer (1.4.2)
|
133
|
+
loofah (~> 2.3)
|
134
|
+
railties (6.0.4.4)
|
135
|
+
actionpack (= 6.0.4.4)
|
136
|
+
activesupport (= 6.0.4.4)
|
137
|
+
method_source
|
138
|
+
rake (>= 0.8.7)
|
139
|
+
thor (>= 0.20.3, < 2.0)
|
140
|
+
rake (13.0.6)
|
141
|
+
regexp_parser (2.2.0)
|
142
|
+
rspec (3.10.0)
|
143
|
+
rspec-core (~> 3.10.0)
|
144
|
+
rspec-expectations (~> 3.10.0)
|
145
|
+
rspec-mocks (~> 3.10.0)
|
146
|
+
rspec-core (3.10.1)
|
147
|
+
rspec-support (~> 3.10.0)
|
148
|
+
rspec-expectations (3.10.1)
|
149
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
150
|
+
rspec-support (~> 3.10.0)
|
151
|
+
rspec-mocks (3.10.2)
|
152
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
153
|
+
rspec-support (~> 3.10.0)
|
154
|
+
rspec-support (3.10.3)
|
155
|
+
sprockets (3.7.2)
|
156
|
+
concurrent-ruby (~> 1.0)
|
157
|
+
rack (> 1, < 3)
|
158
|
+
sprockets-rails (3.4.2)
|
159
|
+
actionpack (>= 5.2)
|
160
|
+
activesupport (>= 5.2)
|
161
|
+
sprockets (>= 3.0.0)
|
162
|
+
thor (1.1.0)
|
163
|
+
thread_safe (0.3.6)
|
164
|
+
tzinfo (1.2.9)
|
165
|
+
thread_safe (~> 0.1)
|
166
|
+
uber (0.0.15)
|
167
|
+
websocket-driver (0.7.5)
|
168
|
+
websocket-extensions (>= 0.1.0)
|
169
|
+
websocket-extensions (0.1.5)
|
170
|
+
xpath (3.2.0)
|
171
|
+
nokogiri (~> 1.8)
|
172
|
+
zeitwerk (2.5.2)
|
173
|
+
|
174
|
+
PLATFORMS
|
175
|
+
ruby
|
176
|
+
|
177
|
+
DEPENDENCIES
|
178
|
+
appraisal
|
179
|
+
bundler
|
180
|
+
byebug
|
181
|
+
capybara (~> 3.35.0)
|
182
|
+
nacelle!
|
183
|
+
rails (~> 6.0.0)
|
184
|
+
rake
|
185
|
+
rspec
|
186
|
+
sprockets (~> 3.0)
|
187
|
+
|
188
|
+
BUNDLED WITH
|
189
|
+
2.2.32
|
@@ -0,0 +1,190 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
nacelle (0.3.0)
|
5
|
+
cells (~> 3.0)
|
6
|
+
rails
|
7
|
+
sprockets-rails
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
actioncable (6.1.4.4)
|
13
|
+
actionpack (= 6.1.4.4)
|
14
|
+
activesupport (= 6.1.4.4)
|
15
|
+
nio4r (~> 2.0)
|
16
|
+
websocket-driver (>= 0.6.1)
|
17
|
+
actionmailbox (6.1.4.4)
|
18
|
+
actionpack (= 6.1.4.4)
|
19
|
+
activejob (= 6.1.4.4)
|
20
|
+
activerecord (= 6.1.4.4)
|
21
|
+
activestorage (= 6.1.4.4)
|
22
|
+
activesupport (= 6.1.4.4)
|
23
|
+
mail (>= 2.7.1)
|
24
|
+
actionmailer (6.1.4.4)
|
25
|
+
actionpack (= 6.1.4.4)
|
26
|
+
actionview (= 6.1.4.4)
|
27
|
+
activejob (= 6.1.4.4)
|
28
|
+
activesupport (= 6.1.4.4)
|
29
|
+
mail (~> 2.5, >= 2.5.4)
|
30
|
+
rails-dom-testing (~> 2.0)
|
31
|
+
actionpack (6.1.4.4)
|
32
|
+
actionview (= 6.1.4.4)
|
33
|
+
activesupport (= 6.1.4.4)
|
34
|
+
rack (~> 2.0, >= 2.0.9)
|
35
|
+
rack-test (>= 0.6.3)
|
36
|
+
rails-dom-testing (~> 2.0)
|
37
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
38
|
+
actiontext (6.1.4.4)
|
39
|
+
actionpack (= 6.1.4.4)
|
40
|
+
activerecord (= 6.1.4.4)
|
41
|
+
activestorage (= 6.1.4.4)
|
42
|
+
activesupport (= 6.1.4.4)
|
43
|
+
nokogiri (>= 1.8.5)
|
44
|
+
actionview (6.1.4.4)
|
45
|
+
activesupport (= 6.1.4.4)
|
46
|
+
builder (~> 3.1)
|
47
|
+
erubi (~> 1.4)
|
48
|
+
rails-dom-testing (~> 2.0)
|
49
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
50
|
+
activejob (6.1.4.4)
|
51
|
+
activesupport (= 6.1.4.4)
|
52
|
+
globalid (>= 0.3.6)
|
53
|
+
activemodel (6.1.4.4)
|
54
|
+
activesupport (= 6.1.4.4)
|
55
|
+
activerecord (6.1.4.4)
|
56
|
+
activemodel (= 6.1.4.4)
|
57
|
+
activesupport (= 6.1.4.4)
|
58
|
+
activestorage (6.1.4.4)
|
59
|
+
actionpack (= 6.1.4.4)
|
60
|
+
activejob (= 6.1.4.4)
|
61
|
+
activerecord (= 6.1.4.4)
|
62
|
+
activesupport (= 6.1.4.4)
|
63
|
+
marcel (~> 1.0.0)
|
64
|
+
mini_mime (>= 1.1.0)
|
65
|
+
activesupport (6.1.4.4)
|
66
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
67
|
+
i18n (>= 1.6, < 2)
|
68
|
+
minitest (>= 5.1)
|
69
|
+
tzinfo (~> 2.0)
|
70
|
+
zeitwerk (~> 2.3)
|
71
|
+
addressable (2.8.0)
|
72
|
+
public_suffix (>= 2.0.2, < 5.0)
|
73
|
+
appraisal (2.4.1)
|
74
|
+
bundler
|
75
|
+
rake
|
76
|
+
thor (>= 0.14.0)
|
77
|
+
builder (3.2.4)
|
78
|
+
byebug (11.1.3)
|
79
|
+
capybara (3.35.3)
|
80
|
+
addressable
|
81
|
+
mini_mime (>= 0.1.3)
|
82
|
+
nokogiri (~> 1.8)
|
83
|
+
rack (>= 1.6.0)
|
84
|
+
rack-test (>= 0.6.3)
|
85
|
+
regexp_parser (>= 1.5, < 3.0)
|
86
|
+
xpath (~> 3.2)
|
87
|
+
cells (3.11.3)
|
88
|
+
actionpack (>= 3.0)
|
89
|
+
railties (>= 3.0)
|
90
|
+
uber (~> 0.0.8)
|
91
|
+
concurrent-ruby (1.1.9)
|
92
|
+
crass (1.0.6)
|
93
|
+
diff-lcs (1.5.0)
|
94
|
+
erubi (1.10.0)
|
95
|
+
globalid (1.0.0)
|
96
|
+
activesupport (>= 5.0)
|
97
|
+
i18n (1.8.11)
|
98
|
+
concurrent-ruby (~> 1.0)
|
99
|
+
loofah (2.13.0)
|
100
|
+
crass (~> 1.0.2)
|
101
|
+
nokogiri (>= 1.5.9)
|
102
|
+
mail (2.7.1)
|
103
|
+
mini_mime (>= 0.1.1)
|
104
|
+
marcel (1.0.2)
|
105
|
+
method_source (1.0.0)
|
106
|
+
mini_mime (1.1.2)
|
107
|
+
minitest (5.15.0)
|
108
|
+
nio4r (2.5.8)
|
109
|
+
nokogiri (1.12.5-x86_64-linux)
|
110
|
+
racc (~> 1.4)
|
111
|
+
public_suffix (4.0.6)
|
112
|
+
racc (1.6.0)
|
113
|
+
rack (2.2.3)
|
114
|
+
rack-test (1.1.0)
|
115
|
+
rack (>= 1.0, < 3)
|
116
|
+
rails (6.1.4.4)
|
117
|
+
actioncable (= 6.1.4.4)
|
118
|
+
actionmailbox (= 6.1.4.4)
|
119
|
+
actionmailer (= 6.1.4.4)
|
120
|
+
actionpack (= 6.1.4.4)
|
121
|
+
actiontext (= 6.1.4.4)
|
122
|
+
actionview (= 6.1.4.4)
|
123
|
+
activejob (= 6.1.4.4)
|
124
|
+
activemodel (= 6.1.4.4)
|
125
|
+
activerecord (= 6.1.4.4)
|
126
|
+
activestorage (= 6.1.4.4)
|
127
|
+
activesupport (= 6.1.4.4)
|
128
|
+
bundler (>= 1.15.0)
|
129
|
+
railties (= 6.1.4.4)
|
130
|
+
sprockets-rails (>= 2.0.0)
|
131
|
+
rails-dom-testing (2.0.3)
|
132
|
+
activesupport (>= 4.2.0)
|
133
|
+
nokogiri (>= 1.6)
|
134
|
+
rails-html-sanitizer (1.4.2)
|
135
|
+
loofah (~> 2.3)
|
136
|
+
railties (6.1.4.4)
|
137
|
+
actionpack (= 6.1.4.4)
|
138
|
+
activesupport (= 6.1.4.4)
|
139
|
+
method_source
|
140
|
+
rake (>= 0.13)
|
141
|
+
thor (~> 1.0)
|
142
|
+
rake (13.0.6)
|
143
|
+
regexp_parser (2.2.0)
|
144
|
+
rspec (3.10.0)
|
145
|
+
rspec-core (~> 3.10.0)
|
146
|
+
rspec-expectations (~> 3.10.0)
|
147
|
+
rspec-mocks (~> 3.10.0)
|
148
|
+
rspec-core (3.10.1)
|
149
|
+
rspec-support (~> 3.10.0)
|
150
|
+
rspec-expectations (3.10.1)
|
151
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
152
|
+
rspec-support (~> 3.10.0)
|
153
|
+
rspec-mocks (3.10.2)
|
154
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
155
|
+
rspec-support (~> 3.10.0)
|
156
|
+
rspec-support (3.10.3)
|
157
|
+
sprockets (3.7.2)
|
158
|
+
concurrent-ruby (~> 1.0)
|
159
|
+
rack (> 1, < 3)
|
160
|
+
sprockets-rails (3.4.2)
|
161
|
+
actionpack (>= 5.2)
|
162
|
+
activesupport (>= 5.2)
|
163
|
+
sprockets (>= 3.0.0)
|
164
|
+
thor (1.1.0)
|
165
|
+
tzinfo (2.0.4)
|
166
|
+
concurrent-ruby (~> 1.0)
|
167
|
+
uber (0.0.15)
|
168
|
+
websocket-driver (0.7.5)
|
169
|
+
websocket-extensions (>= 0.1.0)
|
170
|
+
websocket-extensions (0.1.5)
|
171
|
+
xpath (3.2.0)
|
172
|
+
nokogiri (~> 1.8)
|
173
|
+
zeitwerk (2.5.2)
|
174
|
+
|
175
|
+
PLATFORMS
|
176
|
+
ruby
|
177
|
+
|
178
|
+
DEPENDENCIES
|
179
|
+
appraisal
|
180
|
+
bundler
|
181
|
+
byebug
|
182
|
+
capybara (~> 3.35.0)
|
183
|
+
nacelle!
|
184
|
+
rails (~> 6.1.0)
|
185
|
+
rake
|
186
|
+
rspec
|
187
|
+
sprockets (~> 3.0)
|
188
|
+
|
189
|
+
BUNDLED WITH
|
190
|
+
2.2.32
|
@@ -0,0 +1,192 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ..
|
3
|
+
specs:
|
4
|
+
nacelle (0.3.0)
|
5
|
+
cells (~> 3.0)
|
6
|
+
rails
|
7
|
+
sprockets-rails
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
actioncable (7.0.0)
|
13
|
+
actionpack (= 7.0.0)
|
14
|
+
activesupport (= 7.0.0)
|
15
|
+
nio4r (~> 2.0)
|
16
|
+
websocket-driver (>= 0.6.1)
|
17
|
+
actionmailbox (7.0.0)
|
18
|
+
actionpack (= 7.0.0)
|
19
|
+
activejob (= 7.0.0)
|
20
|
+
activerecord (= 7.0.0)
|
21
|
+
activestorage (= 7.0.0)
|
22
|
+
activesupport (= 7.0.0)
|
23
|
+
mail (>= 2.7.1)
|
24
|
+
actionmailer (7.0.0)
|
25
|
+
actionpack (= 7.0.0)
|
26
|
+
actionview (= 7.0.0)
|
27
|
+
activejob (= 7.0.0)
|
28
|
+
activesupport (= 7.0.0)
|
29
|
+
mail (~> 2.5, >= 2.5.4)
|
30
|
+
rails-dom-testing (~> 2.0)
|
31
|
+
actionpack (7.0.0)
|
32
|
+
actionview (= 7.0.0)
|
33
|
+
activesupport (= 7.0.0)
|
34
|
+
rack (~> 2.0, >= 2.2.0)
|
35
|
+
rack-test (>= 0.6.3)
|
36
|
+
rails-dom-testing (~> 2.0)
|
37
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
38
|
+
actiontext (7.0.0)
|
39
|
+
actionpack (= 7.0.0)
|
40
|
+
activerecord (= 7.0.0)
|
41
|
+
activestorage (= 7.0.0)
|
42
|
+
activesupport (= 7.0.0)
|
43
|
+
globalid (>= 0.6.0)
|
44
|
+
nokogiri (>= 1.8.5)
|
45
|
+
actionview (7.0.0)
|
46
|
+
activesupport (= 7.0.0)
|
47
|
+
builder (~> 3.1)
|
48
|
+
erubi (~> 1.4)
|
49
|
+
rails-dom-testing (~> 2.0)
|
50
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
51
|
+
activejob (7.0.0)
|
52
|
+
activesupport (= 7.0.0)
|
53
|
+
globalid (>= 0.3.6)
|
54
|
+
activemodel (7.0.0)
|
55
|
+
activesupport (= 7.0.0)
|
56
|
+
activerecord (7.0.0)
|
57
|
+
activemodel (= 7.0.0)
|
58
|
+
activesupport (= 7.0.0)
|
59
|
+
activestorage (7.0.0)
|
60
|
+
actionpack (= 7.0.0)
|
61
|
+
activejob (= 7.0.0)
|
62
|
+
activerecord (= 7.0.0)
|
63
|
+
activesupport (= 7.0.0)
|
64
|
+
marcel (~> 1.0)
|
65
|
+
mini_mime (>= 1.1.0)
|
66
|
+
activesupport (7.0.0)
|
67
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
68
|
+
i18n (>= 1.6, < 2)
|
69
|
+
minitest (>= 5.1)
|
70
|
+
tzinfo (~> 2.0)
|
71
|
+
addressable (2.8.0)
|
72
|
+
public_suffix (>= 2.0.2, < 5.0)
|
73
|
+
appraisal (2.4.1)
|
74
|
+
bundler
|
75
|
+
rake
|
76
|
+
thor (>= 0.14.0)
|
77
|
+
builder (3.2.4)
|
78
|
+
byebug (11.1.3)
|
79
|
+
capybara (3.36.0)
|
80
|
+
addressable
|
81
|
+
matrix
|
82
|
+
mini_mime (>= 0.1.3)
|
83
|
+
nokogiri (~> 1.8)
|
84
|
+
rack (>= 1.6.0)
|
85
|
+
rack-test (>= 0.6.3)
|
86
|
+
regexp_parser (>= 1.5, < 3.0)
|
87
|
+
xpath (~> 3.2)
|
88
|
+
cells (3.11.3)
|
89
|
+
actionpack (>= 3.0)
|
90
|
+
railties (>= 3.0)
|
91
|
+
uber (~> 0.0.8)
|
92
|
+
concurrent-ruby (1.1.9)
|
93
|
+
crass (1.0.6)
|
94
|
+
diff-lcs (1.5.0)
|
95
|
+
erubi (1.10.0)
|
96
|
+
globalid (1.0.0)
|
97
|
+
activesupport (>= 5.0)
|
98
|
+
i18n (1.8.11)
|
99
|
+
concurrent-ruby (~> 1.0)
|
100
|
+
loofah (2.13.0)
|
101
|
+
crass (~> 1.0.2)
|
102
|
+
nokogiri (>= 1.5.9)
|
103
|
+
mail (2.7.1)
|
104
|
+
mini_mime (>= 0.1.1)
|
105
|
+
marcel (1.0.2)
|
106
|
+
matrix (0.4.2)
|
107
|
+
method_source (1.0.0)
|
108
|
+
mini_mime (1.1.2)
|
109
|
+
minitest (5.15.0)
|
110
|
+
nio4r (2.5.8)
|
111
|
+
nokogiri (1.12.5-x86_64-linux)
|
112
|
+
racc (~> 1.4)
|
113
|
+
public_suffix (4.0.6)
|
114
|
+
racc (1.6.0)
|
115
|
+
rack (2.2.3)
|
116
|
+
rack-test (1.1.0)
|
117
|
+
rack (>= 1.0, < 3)
|
118
|
+
rails (7.0.0)
|
119
|
+
actioncable (= 7.0.0)
|
120
|
+
actionmailbox (= 7.0.0)
|
121
|
+
actionmailer (= 7.0.0)
|
122
|
+
actionpack (= 7.0.0)
|
123
|
+
actiontext (= 7.0.0)
|
124
|
+
actionview (= 7.0.0)
|
125
|
+
activejob (= 7.0.0)
|
126
|
+
activemodel (= 7.0.0)
|
127
|
+
activerecord (= 7.0.0)
|
128
|
+
activestorage (= 7.0.0)
|
129
|
+
activesupport (= 7.0.0)
|
130
|
+
bundler (>= 1.15.0)
|
131
|
+
railties (= 7.0.0)
|
132
|
+
rails-dom-testing (2.0.3)
|
133
|
+
activesupport (>= 4.2.0)
|
134
|
+
nokogiri (>= 1.6)
|
135
|
+
rails-html-sanitizer (1.4.2)
|
136
|
+
loofah (~> 2.3)
|
137
|
+
railties (7.0.0)
|
138
|
+
actionpack (= 7.0.0)
|
139
|
+
activesupport (= 7.0.0)
|
140
|
+
method_source
|
141
|
+
rake (>= 12.2)
|
142
|
+
thor (~> 1.0)
|
143
|
+
zeitwerk (~> 2.5)
|
144
|
+
rake (13.0.6)
|
145
|
+
regexp_parser (2.2.0)
|
146
|
+
rspec (3.10.0)
|
147
|
+
rspec-core (~> 3.10.0)
|
148
|
+
rspec-expectations (~> 3.10.0)
|
149
|
+
rspec-mocks (~> 3.10.0)
|
150
|
+
rspec-core (3.10.1)
|
151
|
+
rspec-support (~> 3.10.0)
|
152
|
+
rspec-expectations (3.10.1)
|
153
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
154
|
+
rspec-support (~> 3.10.0)
|
155
|
+
rspec-mocks (3.10.2)
|
156
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
157
|
+
rspec-support (~> 3.10.0)
|
158
|
+
rspec-support (3.10.3)
|
159
|
+
sprockets (3.7.2)
|
160
|
+
concurrent-ruby (~> 1.0)
|
161
|
+
rack (> 1, < 3)
|
162
|
+
sprockets-rails (3.4.2)
|
163
|
+
actionpack (>= 5.2)
|
164
|
+
activesupport (>= 5.2)
|
165
|
+
sprockets (>= 3.0.0)
|
166
|
+
thor (1.1.0)
|
167
|
+
tzinfo (2.0.4)
|
168
|
+
concurrent-ruby (~> 1.0)
|
169
|
+
uber (0.0.15)
|
170
|
+
websocket-driver (0.7.5)
|
171
|
+
websocket-extensions (>= 0.1.0)
|
172
|
+
websocket-extensions (0.1.5)
|
173
|
+
xpath (3.2.0)
|
174
|
+
nokogiri (~> 1.8)
|
175
|
+
zeitwerk (2.5.2)
|
176
|
+
|
177
|
+
PLATFORMS
|
178
|
+
x86_64-linux
|
179
|
+
|
180
|
+
DEPENDENCIES
|
181
|
+
appraisal
|
182
|
+
bundler
|
183
|
+
byebug
|
184
|
+
capybara
|
185
|
+
nacelle!
|
186
|
+
rails (~> 7.0.0)
|
187
|
+
rake
|
188
|
+
rspec
|
189
|
+
sprockets (~> 3.0)
|
190
|
+
|
191
|
+
BUNDLED WITH
|
192
|
+
2.2.32
|
data/lib/nacelle/cell.rb
CHANGED
@@ -14,6 +14,7 @@ class Nacelle::CellsSerializer
|
|
14
14
|
{
|
15
15
|
id: "#{cell}/#{action}",
|
16
16
|
name: "#{cell_name} #{action_name}",
|
17
|
+
form: settings_html_for(cell, action),
|
17
18
|
}
|
18
19
|
end
|
19
20
|
end
|
@@ -30,4 +31,10 @@ class Nacelle::CellsSerializer
|
|
30
31
|
cell_files = Dir[::Rails.root.join('app/cells/*.rb')]
|
31
32
|
cell_files.each(&method(:require))
|
32
33
|
end
|
34
|
+
|
35
|
+
def settings_html_for cell, action
|
36
|
+
path = ::Rails.root.join("app/cells/#{cell}/#{action}_form.html.erb")
|
37
|
+
ERB.new(File.read(path)).result
|
38
|
+
rescue Errno::ENOENT
|
39
|
+
end
|
33
40
|
end
|
data/lib/nacelle/middleware.rb
CHANGED
data/lib/nacelle/version.rb
CHANGED
data/lib/nacelle.rb
CHANGED
data/nacelle.gemspec
CHANGED
@@ -19,12 +19,14 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
|
-
spec.add_development_dependency "bundler"
|
23
|
-
spec.add_development_dependency "
|
22
|
+
spec.add_development_dependency "bundler"
|
23
|
+
spec.add_development_dependency "appraisal"
|
24
|
+
spec.add_development_dependency "rake"
|
24
25
|
spec.add_development_dependency "rspec"
|
25
26
|
spec.add_development_dependency "capybara"
|
26
27
|
spec.add_development_dependency "byebug"
|
27
28
|
|
28
29
|
spec.add_dependency "rails"
|
30
|
+
spec.add_dependency "sprockets-rails"
|
29
31
|
spec.add_dependency "cells", "~>3.0"
|
30
32
|
end
|