nacelle 0.4.1 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a2aa341119fd0201b70a71abf8f366b608223fb74e2db9e9985f7aff735c8a6b
4
- data.tar.gz: 02c91e3e00d8cf95c4ade75d2290aa65912f6d4d0cbe735a95216220dda95a55
3
+ metadata.gz: 149ec09f11d092901205917fe830613e48928b109d1f306b3ead009603c0c16b
4
+ data.tar.gz: 926f46c7a25c0f0fd11b1c2d066be53516932691df831cb12bc0d6e6a7a76f42
5
5
  SHA512:
6
- metadata.gz: 43573106f5ccbe4c14ac8e28fff16d224ca9ed46fb7b237059299bec498a08dd19bcdfb3d4c78a23d3024ba496c9e9dca11414d9df7c8dedd995dc69522fac01
7
- data.tar.gz: ba61e2ef31e91148fefd8dbea30852478e8c2dcad34a6563894465038a0b9ddd004d24b5fdd54a42b1488c7743a0d26aa9621e9df3eb3c08b147a5512aa57d0e
6
+ metadata.gz: b616c08dc70b7590733542be6c37ddba074c82f5790d26ca8790ddb8b793b47a2b37e6823e07eb1502e8ee6bcb9c908e385e741337ec48e0f3936c631e48314d
7
+ data.tar.gz: cef7e5fb3816f4cd577d905b4e8c1e41f504035c3e21fb218d39d5511853cd05c1d4229cbadf07f46e7c0fdbab189400812ff41f413566c2f6048bbdf8ec18da
@@ -5,23 +5,8 @@ jobs:
5
5
  strategy:
6
6
  fail-fast: false
7
7
  matrix:
8
- gemfile: [ rails_5.1, rails_5.2, rails_6.0, rails_6.1, rails_7.0 ]
9
- ruby: [ 2.4, 2.5, 2.6, 2.7, '3.0' ]
10
- exclude:
11
- - gemfile: rails_5.1
12
- ruby: 3.0
13
- - gemfile: rails_5.2
14
- ruby: 3.0
15
- - gemfile: rails_6.0
16
- ruby: 2.4
17
- - gemfile: rails_6.1
18
- ruby: 2.4
19
- - gemfile: rails_7.0
20
- ruby: 2.4
21
- - gemfile: rails_7.0
22
- ruby: 2.5
23
- - gemfile: rails_7.0
24
- ruby: 2.6
8
+ gemfile: [ rails_6.0, rails_6.1, rails_7.0 ]
9
+ ruby: [ 2.7, '3.0', 3.1 ]
25
10
 
26
11
  runs-on: ubuntu-latest
27
12
  env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
data/Appraisals CHANGED
@@ -1,23 +1,11 @@
1
- appraise "rails-5.1" do
2
- gem "rails", "~>5.1.0"
3
- gem "sprockets", "~>3.0"
4
- end
5
-
6
- appraise "rails-5.2" do
7
- gem "rails", "~>5.2.0"
8
- gem "sprockets", "~>3.0"
9
- end
10
-
11
1
  appraise "rails-6.0" do
12
2
  gem "rails", "~>6.0.0"
13
3
  gem "sprockets", "~>3.0"
14
- gem "capybara", "~>3.35.0" # 3.36 requires ruby 2.6+
15
4
  end
16
5
 
17
6
  appraise "rails-6.1" do
18
7
  gem "rails", "~>6.1.0"
19
8
  gem "sprockets", "~>3.0"
20
- gem "capybara", "~>3.35.0" # 3.36 requires ruby 2.6+
21
9
  end
22
10
 
23
11
  appraise "rails-7.0" do
data/Gemfile CHANGED
@@ -3,5 +3,5 @@ source 'https://rubygems.org'
3
3
  # Specify your gem's dependencies in nacelle.gemspec
4
4
  gemspec
5
5
 
6
- gem "rails", "~>6.1.0"
6
+ gem "rails", "~>7.0.0"
7
7
  gem "sprockets", "~>3.0"
@@ -78,6 +78,14 @@ CKEDITOR.dialog.add("cellDialog", function(editor) {
78
78
  } else {
79
79
  return values[0]
80
80
  }
81
+ break;
82
+ case 'select-multiple':
83
+ return Array.from(element.options)
84
+ .filter(o => o.selected)
85
+ .map(o => o.value)
86
+ .join(",")
87
+ break;
88
+
81
89
  default:
82
90
  return element.value
83
91
  }
@@ -105,10 +113,14 @@ CKEDITOR.dialog.add("cellDialog", function(editor) {
105
113
  break;
106
114
 
107
115
  case 'select-multiple':
108
- var values = value.constructor === Array ? value : [value];
109
- for(var k = 0; k < element.options.length; k++) {
110
- element.options[k].selected = (values.indexOf(element.options[k].value) > -1 );
111
- }
116
+ var values = value.toString().split(",");
117
+ Array.from(element.options).forEach(option => {
118
+ if(values.includes(option.value)) {
119
+ option.setAttribute("selected", "selected")
120
+ } else {
121
+ option.removeAttribute("selected")
122
+ }
123
+ })
112
124
  break;
113
125
 
114
126
  case 'select':
@@ -4,6 +4,5 @@ source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "~>6.0.0"
6
6
  gem "sprockets", "~>3.0"
7
- gem "capybara", "~>3.35.0"
8
7
 
9
8
  gemspec path: "../"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- nacelle (0.4.1)
4
+ nacelle (0.4.2)
5
5
  cells (~> 3.0)
6
6
  rails
7
7
  sprockets-rails
@@ -9,71 +9,72 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- actioncable (6.0.4.4)
13
- actionpack (= 6.0.4.4)
12
+ actioncable (6.0.6.1)
13
+ actionpack (= 6.0.6.1)
14
14
  nio4r (~> 2.0)
15
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)
16
+ actionmailbox (6.0.6.1)
17
+ actionpack (= 6.0.6.1)
18
+ activejob (= 6.0.6.1)
19
+ activerecord (= 6.0.6.1)
20
+ activestorage (= 6.0.6.1)
21
+ activesupport (= 6.0.6.1)
22
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)
23
+ actionmailer (6.0.6.1)
24
+ actionpack (= 6.0.6.1)
25
+ actionview (= 6.0.6.1)
26
+ activejob (= 6.0.6.1)
27
27
  mail (~> 2.5, >= 2.5.4)
28
28
  rails-dom-testing (~> 2.0)
29
- actionpack (6.0.4.4)
30
- actionview (= 6.0.4.4)
31
- activesupport (= 6.0.4.4)
29
+ actionpack (6.0.6.1)
30
+ actionview (= 6.0.6.1)
31
+ activesupport (= 6.0.6.1)
32
32
  rack (~> 2.0, >= 2.0.8)
33
33
  rack-test (>= 0.6.3)
34
34
  rails-dom-testing (~> 2.0)
35
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)
36
+ actiontext (6.0.6.1)
37
+ actionpack (= 6.0.6.1)
38
+ activerecord (= 6.0.6.1)
39
+ activestorage (= 6.0.6.1)
40
+ activesupport (= 6.0.6.1)
41
41
  nokogiri (>= 1.8.5)
42
- actionview (6.0.4.4)
43
- activesupport (= 6.0.4.4)
42
+ actionview (6.0.6.1)
43
+ activesupport (= 6.0.6.1)
44
44
  builder (~> 3.1)
45
45
  erubi (~> 1.4)
46
46
  rails-dom-testing (~> 2.0)
47
47
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
48
- activejob (6.0.4.4)
49
- activesupport (= 6.0.4.4)
48
+ activejob (6.0.6.1)
49
+ activesupport (= 6.0.6.1)
50
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)
51
+ activemodel (6.0.6.1)
52
+ activesupport (= 6.0.6.1)
53
+ activerecord (6.0.6.1)
54
+ activemodel (= 6.0.6.1)
55
+ activesupport (= 6.0.6.1)
56
+ activestorage (6.0.6.1)
57
+ actionpack (= 6.0.6.1)
58
+ activejob (= 6.0.6.1)
59
+ activerecord (= 6.0.6.1)
60
+ marcel (~> 1.0)
61
+ activesupport (6.0.6.1)
62
62
  concurrent-ruby (~> 1.0, >= 1.0.2)
63
63
  i18n (>= 0.7, < 2)
64
64
  minitest (~> 5.1)
65
65
  tzinfo (~> 1.1)
66
66
  zeitwerk (~> 2.2, >= 2.2.2)
67
- addressable (2.8.0)
68
- public_suffix (>= 2.0.2, < 5.0)
67
+ addressable (2.8.1)
68
+ public_suffix (>= 2.0.2, < 6.0)
69
69
  appraisal (2.4.1)
70
70
  bundler
71
71
  rake
72
72
  thor (>= 0.14.0)
73
73
  builder (3.2.4)
74
74
  byebug (11.1.3)
75
- capybara (3.35.3)
75
+ capybara (3.38.0)
76
76
  addressable
77
+ matrix
77
78
  mini_mime (>= 0.1.3)
78
79
  nokogiri (~> 1.8)
79
80
  rack (>= 1.6.0)
@@ -84,74 +85,88 @@ GEM
84
85
  actionpack (>= 3.0)
85
86
  railties (>= 3.0)
86
87
  uber (~> 0.0.8)
87
- concurrent-ruby (1.1.9)
88
+ concurrent-ruby (1.2.2)
88
89
  crass (1.0.6)
90
+ date (3.3.3)
89
91
  diff-lcs (1.5.0)
90
- erubi (1.10.0)
91
- globalid (1.0.0)
92
+ erubi (1.12.0)
93
+ globalid (1.1.0)
92
94
  activesupport (>= 5.0)
93
- i18n (1.8.11)
95
+ i18n (1.12.0)
94
96
  concurrent-ruby (~> 1.0)
95
- loofah (2.13.0)
97
+ loofah (2.19.1)
96
98
  crass (~> 1.0.2)
97
99
  nokogiri (>= 1.5.9)
98
- mail (2.7.1)
100
+ mail (2.8.1)
99
101
  mini_mime (>= 0.1.1)
102
+ net-imap
103
+ net-pop
104
+ net-smtp
100
105
  marcel (1.0.2)
106
+ matrix (0.4.2)
101
107
  method_source (1.0.0)
102
108
  mini_mime (1.1.2)
103
- mini_portile2 (2.6.1)
104
- minitest (5.15.0)
109
+ mini_portile2 (2.8.1)
110
+ minitest (5.18.0)
111
+ net-imap (0.3.4)
112
+ date
113
+ net-protocol
114
+ net-pop (0.1.2)
115
+ net-protocol
116
+ net-protocol (0.2.1)
117
+ timeout
118
+ net-smtp (0.3.3)
119
+ net-protocol
105
120
  nio4r (2.5.8)
106
- nokogiri (1.12.5)
107
- mini_portile2 (~> 2.6.1)
121
+ nokogiri (1.14.2)
122
+ mini_portile2 (~> 2.8.0)
108
123
  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)
124
+ public_suffix (5.0.1)
125
+ racc (1.6.2)
126
+ rack (2.2.6.4)
127
+ rack-test (2.1.0)
128
+ rack (>= 1.3)
129
+ rails (6.0.6.1)
130
+ actioncable (= 6.0.6.1)
131
+ actionmailbox (= 6.0.6.1)
132
+ actionmailer (= 6.0.6.1)
133
+ actionpack (= 6.0.6.1)
134
+ actiontext (= 6.0.6.1)
135
+ actionview (= 6.0.6.1)
136
+ activejob (= 6.0.6.1)
137
+ activemodel (= 6.0.6.1)
138
+ activerecord (= 6.0.6.1)
139
+ activestorage (= 6.0.6.1)
140
+ activesupport (= 6.0.6.1)
126
141
  bundler (>= 1.3.0)
127
- railties (= 6.0.4.4)
142
+ railties (= 6.0.6.1)
128
143
  sprockets-rails (>= 2.0.0)
129
144
  rails-dom-testing (2.0.3)
130
145
  activesupport (>= 4.2.0)
131
146
  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)
147
+ rails-html-sanitizer (1.5.0)
148
+ loofah (~> 2.19, >= 2.19.1)
149
+ railties (6.0.6.1)
150
+ actionpack (= 6.0.6.1)
151
+ activesupport (= 6.0.6.1)
137
152
  method_source
138
153
  rake (>= 0.8.7)
139
154
  thor (>= 0.20.3, < 2.0)
140
155
  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)
156
+ regexp_parser (2.7.0)
157
+ rspec (3.12.0)
158
+ rspec-core (~> 3.12.0)
159
+ rspec-expectations (~> 3.12.0)
160
+ rspec-mocks (~> 3.12.0)
161
+ rspec-core (3.12.1)
162
+ rspec-support (~> 3.12.0)
163
+ rspec-expectations (3.12.2)
149
164
  diff-lcs (>= 1.2.0, < 2.0)
150
- rspec-support (~> 3.10.0)
151
- rspec-mocks (3.10.2)
165
+ rspec-support (~> 3.12.0)
166
+ rspec-mocks (3.12.4)
152
167
  diff-lcs (>= 1.2.0, < 2.0)
153
- rspec-support (~> 3.10.0)
154
- rspec-support (3.10.3)
168
+ rspec-support (~> 3.12.0)
169
+ rspec-support (3.12.0)
155
170
  sprockets (3.7.2)
156
171
  concurrent-ruby (~> 1.0)
157
172
  rack (> 1, < 3)
@@ -159,9 +174,10 @@ GEM
159
174
  actionpack (>= 5.2)
160
175
  activesupport (>= 5.2)
161
176
  sprockets (>= 3.0.0)
162
- thor (1.1.0)
177
+ thor (1.2.1)
163
178
  thread_safe (0.3.6)
164
- tzinfo (1.2.9)
179
+ timeout (0.3.2)
180
+ tzinfo (1.2.11)
165
181
  thread_safe (~> 0.1)
166
182
  uber (0.0.15)
167
183
  websocket-driver (0.7.5)
@@ -169,7 +185,7 @@ GEM
169
185
  websocket-extensions (0.1.5)
170
186
  xpath (3.2.0)
171
187
  nokogiri (~> 1.8)
172
- zeitwerk (2.5.2)
188
+ zeitwerk (2.6.7)
173
189
 
174
190
  PLATFORMS
175
191
  ruby
@@ -178,7 +194,7 @@ DEPENDENCIES
178
194
  appraisal
179
195
  bundler
180
196
  byebug
181
- capybara (~> 3.35.0)
197
+ capybara
182
198
  nacelle!
183
199
  rails (~> 6.0.0)
184
200
  rake
@@ -186,4 +202,4 @@ DEPENDENCIES
186
202
  sprockets (~> 3.0)
187
203
 
188
204
  BUNDLED WITH
189
- 2.2.32
205
+ 2.4.10
@@ -4,6 +4,5 @@ source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "~>6.1.0"
6
6
  gem "sprockets", "~>3.0"
7
- gem "capybara", "~>3.35.0"
8
7
 
9
8
  gemspec path: "../"