ds_media_library 0.6.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.ruby-version +1 -1
- data/.travis.yml +6 -1
- data/Appraisals +1 -0
- data/Gemfile.lock +72 -62
- data/app/assets/stylesheets/_preview-media.sass +1 -0
- data/ds_media_library.gemspec +7 -5
- data/gemfiles/capybara_2.gemfile.lock +91 -79
- data/gemfiles/capybara_3.gemfile.lock +91 -79
- data/gemfiles/rails_5.0.gemfile +1 -0
- data/gemfiles/rails_5.0.gemfile.lock +85 -73
- data/gemfiles/rails_5.1.gemfile.lock +86 -74
- data/gemfiles/rails_5.2.gemfile.lock +91 -79
- data/lib/ds_media_library/engine.rb +22 -18
- data/lib/ds_media_library/version.rb +1 -1
- metadata +46 -19
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
ds_media_library (0.
|
4
|
+
ds_media_library (0.7.1)
|
5
5
|
awesome_nested_set
|
6
6
|
coffee-rails
|
7
7
|
ds_node
|
@@ -10,52 +10,52 @@ PATH
|
|
10
10
|
jquery-rails
|
11
11
|
jquery-ui-rails
|
12
12
|
rails
|
13
|
-
|
13
|
+
sassc-rails
|
14
14
|
slim
|
15
15
|
|
16
16
|
GEM
|
17
17
|
remote: https://rubygems.org/
|
18
18
|
specs:
|
19
|
-
actioncable (5.1.
|
20
|
-
actionpack (= 5.1.
|
19
|
+
actioncable (5.1.7)
|
20
|
+
actionpack (= 5.1.7)
|
21
21
|
nio4r (~> 2.0)
|
22
22
|
websocket-driver (~> 0.6.1)
|
23
|
-
actionmailer (5.1.
|
24
|
-
actionpack (= 5.1.
|
25
|
-
actionview (= 5.1.
|
26
|
-
activejob (= 5.1.
|
23
|
+
actionmailer (5.1.7)
|
24
|
+
actionpack (= 5.1.7)
|
25
|
+
actionview (= 5.1.7)
|
26
|
+
activejob (= 5.1.7)
|
27
27
|
mail (~> 2.5, >= 2.5.4)
|
28
28
|
rails-dom-testing (~> 2.0)
|
29
|
-
actionpack (5.1.
|
30
|
-
actionview (= 5.1.
|
31
|
-
activesupport (= 5.1.
|
29
|
+
actionpack (5.1.7)
|
30
|
+
actionview (= 5.1.7)
|
31
|
+
activesupport (= 5.1.7)
|
32
32
|
rack (~> 2.0)
|
33
33
|
rack-test (>= 0.6.3)
|
34
34
|
rails-dom-testing (~> 2.0)
|
35
35
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
36
|
-
actionview (5.1.
|
37
|
-
activesupport (= 5.1.
|
36
|
+
actionview (5.1.7)
|
37
|
+
activesupport (= 5.1.7)
|
38
38
|
builder (~> 3.1)
|
39
39
|
erubi (~> 1.4)
|
40
40
|
rails-dom-testing (~> 2.0)
|
41
41
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
42
42
|
active_record-json_associations (0.6.11)
|
43
43
|
activerecord
|
44
|
-
activejob (5.1.
|
45
|
-
activesupport (= 5.1.
|
44
|
+
activejob (5.1.7)
|
45
|
+
activesupport (= 5.1.7)
|
46
46
|
globalid (>= 0.3.6)
|
47
|
-
activemodel (5.1.
|
48
|
-
activesupport (= 5.1.
|
49
|
-
activerecord (5.1.
|
50
|
-
activemodel (= 5.1.
|
51
|
-
activesupport (= 5.1.
|
47
|
+
activemodel (5.1.7)
|
48
|
+
activesupport (= 5.1.7)
|
49
|
+
activerecord (5.1.7)
|
50
|
+
activemodel (= 5.1.7)
|
51
|
+
activesupport (= 5.1.7)
|
52
52
|
arel (~> 8.0)
|
53
|
-
activesupport (5.1.
|
53
|
+
activesupport (5.1.7)
|
54
54
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
55
55
|
i18n (>= 0.7, < 2)
|
56
56
|
minitest (~> 5.1)
|
57
57
|
tzinfo (~> 1.1)
|
58
|
-
addressable (2.
|
58
|
+
addressable (2.6.0)
|
59
59
|
public_suffix (>= 2.0.2, < 4.0)
|
60
60
|
appraisal (2.2.0)
|
61
61
|
bundler
|
@@ -64,7 +64,7 @@ GEM
|
|
64
64
|
arel (8.0.0)
|
65
65
|
awesome_nested_set (3.1.4)
|
66
66
|
activerecord (>= 4.0.0, < 5.3)
|
67
|
-
backports (3.
|
67
|
+
backports (3.12.0)
|
68
68
|
builder (3.2.3)
|
69
69
|
byebug (10.0.2)
|
70
70
|
capybara (3.1.1)
|
@@ -74,14 +74,18 @@ GEM
|
|
74
74
|
rack (>= 1.6.0)
|
75
75
|
rack-test (>= 0.6.3)
|
76
76
|
xpath (~> 3.0)
|
77
|
-
capybara-
|
77
|
+
capybara-headless_chrome (0.6.0)
|
78
|
+
capybara
|
79
|
+
webdrivers
|
80
|
+
capybara-screenshot (1.0.22)
|
78
81
|
capybara (>= 1.0, < 4)
|
79
82
|
launchy
|
80
|
-
|
83
|
+
childprocess (0.9.0)
|
84
|
+
ffi (~> 1.0, >= 1.0.11)
|
85
|
+
chop (0.23.7)
|
81
86
|
activerecord
|
82
87
|
capybara
|
83
88
|
cucumber
|
84
|
-
cliver (0.3.2)
|
85
89
|
coffee-rails (4.2.2)
|
86
90
|
coffee-script (>= 2.2.0)
|
87
91
|
railties (>= 4.0.0)
|
@@ -89,7 +93,7 @@ GEM
|
|
89
93
|
coffee-script-source
|
90
94
|
execjs
|
91
95
|
coffee-script-source (1.12.2)
|
92
|
-
concurrent-ruby (1.
|
96
|
+
concurrent-ruby (1.1.5)
|
93
97
|
crass (1.0.4)
|
94
98
|
cucumber (3.1.2)
|
95
99
|
builder (>= 2.1.2)
|
@@ -119,19 +123,19 @@ GEM
|
|
119
123
|
active_record-json_associations
|
120
124
|
activerecord
|
121
125
|
mime-types
|
122
|
-
erubi (1.
|
126
|
+
erubi (1.8.0)
|
123
127
|
execjs (2.7.0)
|
124
128
|
ffi (1.9.25)
|
125
129
|
font-awesome-rails (4.7.0.4)
|
126
130
|
railties (>= 3.2, < 6.0)
|
127
131
|
gherkin (5.1.0)
|
128
|
-
globalid (0.4.
|
132
|
+
globalid (0.4.2)
|
129
133
|
activesupport (>= 4.2.0)
|
130
|
-
handlebars_assets (0.23.
|
134
|
+
handlebars_assets (0.23.3)
|
131
135
|
execjs (~> 2.0)
|
132
136
|
sprockets (>= 2.0.0)
|
133
137
|
tilt (>= 1.2)
|
134
|
-
i18n (1.1
|
138
|
+
i18n (1.5.1)
|
135
139
|
concurrent-ruby (~> 1.0)
|
136
140
|
jquery-rails (4.3.3)
|
137
141
|
rails-dom-testing (>= 1, < 3)
|
@@ -141,59 +145,55 @@ GEM
|
|
141
145
|
railties (>= 3.2.16)
|
142
146
|
launchy (2.4.3)
|
143
147
|
addressable (~> 2.3)
|
144
|
-
loofah (2.2.
|
148
|
+
loofah (2.2.3)
|
145
149
|
crass (~> 1.0.2)
|
146
150
|
nokogiri (>= 1.5.9)
|
147
|
-
mail (2.7.
|
151
|
+
mail (2.7.1)
|
148
152
|
mini_mime (>= 0.1.1)
|
149
|
-
method_source (0.9.
|
153
|
+
method_source (0.9.2)
|
150
154
|
mime-types (3.2.2)
|
151
155
|
mime-types-data (~> 3.2015)
|
152
|
-
mime-types-data (3.
|
156
|
+
mime-types-data (3.2019.0331)
|
153
157
|
mini_mime (1.0.1)
|
154
|
-
mini_portile2 (2.
|
158
|
+
mini_portile2 (2.4.0)
|
155
159
|
minitest (5.11.3)
|
156
160
|
multi_json (1.13.1)
|
157
161
|
multi_test (0.1.2)
|
162
|
+
net_http_ssl_fix (0.0.10)
|
158
163
|
nio4r (2.3.1)
|
159
|
-
nokogiri (1.
|
160
|
-
mini_portile2 (~> 2.
|
161
|
-
phantomjs (2.1.1.0)
|
162
|
-
poltergeist (1.18.1)
|
163
|
-
capybara (>= 2.1, < 4)
|
164
|
-
cliver (~> 0.3.1)
|
165
|
-
websocket-driver (>= 0.2.0)
|
164
|
+
nokogiri (1.9.1)
|
165
|
+
mini_portile2 (~> 2.4.0)
|
166
166
|
public_suffix (3.0.3)
|
167
|
-
rack (2.0.
|
167
|
+
rack (2.0.6)
|
168
168
|
rack-test (1.1.0)
|
169
169
|
rack (>= 1.0, < 3)
|
170
|
-
rails (5.1.
|
171
|
-
actioncable (= 5.1.
|
172
|
-
actionmailer (= 5.1.
|
173
|
-
actionpack (= 5.1.
|
174
|
-
actionview (= 5.1.
|
175
|
-
activejob (= 5.1.
|
176
|
-
activemodel (= 5.1.
|
177
|
-
activerecord (= 5.1.
|
178
|
-
activesupport (= 5.1.
|
170
|
+
rails (5.1.7)
|
171
|
+
actioncable (= 5.1.7)
|
172
|
+
actionmailer (= 5.1.7)
|
173
|
+
actionpack (= 5.1.7)
|
174
|
+
actionview (= 5.1.7)
|
175
|
+
activejob (= 5.1.7)
|
176
|
+
activemodel (= 5.1.7)
|
177
|
+
activerecord (= 5.1.7)
|
178
|
+
activesupport (= 5.1.7)
|
179
179
|
bundler (>= 1.3.0)
|
180
|
-
railties (= 5.1.
|
180
|
+
railties (= 5.1.7)
|
181
181
|
sprockets-rails (>= 2.0.0)
|
182
182
|
rails-dom-testing (2.0.3)
|
183
183
|
activesupport (>= 4.2.0)
|
184
184
|
nokogiri (>= 1.6)
|
185
185
|
rails-html-sanitizer (1.0.4)
|
186
186
|
loofah (~> 2.2, >= 2.2.2)
|
187
|
-
railties (5.1.
|
188
|
-
actionpack (= 5.1.
|
189
|
-
activesupport (= 5.1.
|
187
|
+
railties (5.1.7)
|
188
|
+
actionpack (= 5.1.7)
|
189
|
+
activesupport (= 5.1.7)
|
190
190
|
method_source
|
191
191
|
rake (>= 0.8.7)
|
192
192
|
thor (>= 0.18.1, < 2.0)
|
193
193
|
rake (10.5.0)
|
194
194
|
rb-fsevent (0.10.3)
|
195
|
-
rb-inotify (0.
|
196
|
-
ffi (
|
195
|
+
rb-inotify (0.10.0)
|
196
|
+
ffi (~> 1.0)
|
197
197
|
rspec (3.8.0)
|
198
198
|
rspec-core (~> 3.8.0)
|
199
199
|
rspec-expectations (~> 3.8.0)
|
@@ -207,17 +207,25 @@ GEM
|
|
207
207
|
diff-lcs (>= 1.2.0, < 2.0)
|
208
208
|
rspec-support (~> 3.8.0)
|
209
209
|
rspec-support (3.8.0)
|
210
|
-
|
210
|
+
rubyzip (1.2.2)
|
211
|
+
sass (3.7.3)
|
211
212
|
sass-listen (~> 4.0.0)
|
212
213
|
sass-listen (4.0.0)
|
213
214
|
rb-fsevent (~> 0.9, >= 0.9.4)
|
214
215
|
rb-inotify (~> 0.9, >= 0.9.7)
|
215
|
-
|
216
|
-
|
217
|
-
sass (
|
218
|
-
|
219
|
-
|
220
|
-
|
216
|
+
sassc (1.12.1)
|
217
|
+
ffi (~> 1.9.6)
|
218
|
+
sass (>= 3.3.0)
|
219
|
+
sassc-rails (1.3.0)
|
220
|
+
railties (>= 4.0.0)
|
221
|
+
sass
|
222
|
+
sassc (~> 1.9)
|
223
|
+
sprockets (> 2.11)
|
224
|
+
sprockets-rails
|
225
|
+
tilt
|
226
|
+
selenium-webdriver (3.141.0)
|
227
|
+
childprocess (~> 0.5)
|
228
|
+
rubyzip (~> 1.2, >= 1.2.2)
|
221
229
|
slim (4.0.1)
|
222
230
|
temple (>= 0.7.6, < 0.9)
|
223
231
|
tilt (>= 2.0.6, < 2.1)
|
@@ -228,14 +236,19 @@ GEM
|
|
228
236
|
actionpack (>= 4.0)
|
229
237
|
activesupport (>= 4.0)
|
230
238
|
sprockets (>= 3.0.0)
|
231
|
-
sqlite3 (1.
|
232
|
-
temple (0.8.
|
233
|
-
thor (0.20.
|
239
|
+
sqlite3 (1.4.0)
|
240
|
+
temple (0.8.1)
|
241
|
+
thor (0.20.3)
|
234
242
|
thread_safe (0.3.6)
|
235
|
-
tilt (2.0.
|
243
|
+
tilt (2.0.9)
|
236
244
|
timecop (0.9.1)
|
237
245
|
tzinfo (1.2.5)
|
238
246
|
thread_safe (~> 0.1)
|
247
|
+
webdrivers (3.7.1)
|
248
|
+
net_http_ssl_fix
|
249
|
+
nokogiri (~> 1.6)
|
250
|
+
rubyzip (~> 1.0)
|
251
|
+
selenium-webdriver (~> 3.0)
|
239
252
|
websocket-driver (0.6.5)
|
240
253
|
websocket-extensions (>= 0.1.0)
|
241
254
|
websocket-extensions (0.1.3)
|
@@ -247,15 +260,14 @@ PLATFORMS
|
|
247
260
|
|
248
261
|
DEPENDENCIES
|
249
262
|
appraisal
|
250
|
-
bundler
|
263
|
+
bundler
|
251
264
|
byebug
|
265
|
+
capybara-headless_chrome
|
252
266
|
capybara-screenshot
|
253
267
|
chop
|
254
268
|
cucumber-rails
|
255
269
|
database_cleaner
|
256
270
|
ds_media_library!
|
257
|
-
phantomjs
|
258
|
-
poltergeist
|
259
271
|
rails (~> 5.1.0)
|
260
272
|
rake (~> 10.0)
|
261
273
|
rspec (~> 3.0)
|
@@ -263,4 +275,4 @@ DEPENDENCIES
|
|
263
275
|
timecop
|
264
276
|
|
265
277
|
BUNDLED WITH
|
266
|
-
1.
|
278
|
+
1.17.3
|
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: ..
|
3
3
|
specs:
|
4
|
-
ds_media_library (0.
|
4
|
+
ds_media_library (0.7.1)
|
5
5
|
awesome_nested_set
|
6
6
|
coffee-rails
|
7
7
|
ds_node
|
@@ -10,56 +10,56 @@ PATH
|
|
10
10
|
jquery-rails
|
11
11
|
jquery-ui-rails
|
12
12
|
rails
|
13
|
-
|
13
|
+
sassc-rails
|
14
14
|
slim
|
15
15
|
|
16
16
|
GEM
|
17
17
|
remote: https://rubygems.org/
|
18
18
|
specs:
|
19
|
-
actioncable (5.2.
|
20
|
-
actionpack (= 5.2.
|
19
|
+
actioncable (5.2.3)
|
20
|
+
actionpack (= 5.2.3)
|
21
21
|
nio4r (~> 2.0)
|
22
22
|
websocket-driver (>= 0.6.1)
|
23
|
-
actionmailer (5.2.
|
24
|
-
actionpack (= 5.2.
|
25
|
-
actionview (= 5.2.
|
26
|
-
activejob (= 5.2.
|
23
|
+
actionmailer (5.2.3)
|
24
|
+
actionpack (= 5.2.3)
|
25
|
+
actionview (= 5.2.3)
|
26
|
+
activejob (= 5.2.3)
|
27
27
|
mail (~> 2.5, >= 2.5.4)
|
28
28
|
rails-dom-testing (~> 2.0)
|
29
|
-
actionpack (5.2.
|
30
|
-
actionview (= 5.2.
|
31
|
-
activesupport (= 5.2.
|
29
|
+
actionpack (5.2.3)
|
30
|
+
actionview (= 5.2.3)
|
31
|
+
activesupport (= 5.2.3)
|
32
32
|
rack (~> 2.0)
|
33
33
|
rack-test (>= 0.6.3)
|
34
34
|
rails-dom-testing (~> 2.0)
|
35
35
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
36
|
-
actionview (5.2.
|
37
|
-
activesupport (= 5.2.
|
36
|
+
actionview (5.2.3)
|
37
|
+
activesupport (= 5.2.3)
|
38
38
|
builder (~> 3.1)
|
39
39
|
erubi (~> 1.4)
|
40
40
|
rails-dom-testing (~> 2.0)
|
41
41
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
42
42
|
active_record-json_associations (0.6.11)
|
43
43
|
activerecord
|
44
|
-
activejob (5.2.
|
45
|
-
activesupport (= 5.2.
|
44
|
+
activejob (5.2.3)
|
45
|
+
activesupport (= 5.2.3)
|
46
46
|
globalid (>= 0.3.6)
|
47
|
-
activemodel (5.2.
|
48
|
-
activesupport (= 5.2.
|
49
|
-
activerecord (5.2.
|
50
|
-
activemodel (= 5.2.
|
51
|
-
activesupport (= 5.2.
|
47
|
+
activemodel (5.2.3)
|
48
|
+
activesupport (= 5.2.3)
|
49
|
+
activerecord (5.2.3)
|
50
|
+
activemodel (= 5.2.3)
|
51
|
+
activesupport (= 5.2.3)
|
52
52
|
arel (>= 9.0)
|
53
|
-
activestorage (5.2.
|
54
|
-
actionpack (= 5.2.
|
55
|
-
activerecord (= 5.2.
|
53
|
+
activestorage (5.2.3)
|
54
|
+
actionpack (= 5.2.3)
|
55
|
+
activerecord (= 5.2.3)
|
56
56
|
marcel (~> 0.3.1)
|
57
|
-
activesupport (5.2.
|
57
|
+
activesupport (5.2.3)
|
58
58
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
59
59
|
i18n (>= 0.7, < 2)
|
60
60
|
minitest (~> 5.1)
|
61
61
|
tzinfo (~> 1.1)
|
62
|
-
addressable (2.
|
62
|
+
addressable (2.6.0)
|
63
63
|
public_suffix (>= 2.0.2, < 4.0)
|
64
64
|
appraisal (2.2.0)
|
65
65
|
bundler
|
@@ -68,7 +68,7 @@ GEM
|
|
68
68
|
arel (9.0.0)
|
69
69
|
awesome_nested_set (3.1.4)
|
70
70
|
activerecord (>= 4.0.0, < 5.3)
|
71
|
-
backports (3.
|
71
|
+
backports (3.12.0)
|
72
72
|
builder (3.2.3)
|
73
73
|
byebug (10.0.2)
|
74
74
|
capybara (3.1.1)
|
@@ -78,14 +78,18 @@ GEM
|
|
78
78
|
rack (>= 1.6.0)
|
79
79
|
rack-test (>= 0.6.3)
|
80
80
|
xpath (~> 3.0)
|
81
|
-
capybara-
|
81
|
+
capybara-headless_chrome (0.6.0)
|
82
|
+
capybara
|
83
|
+
webdrivers
|
84
|
+
capybara-screenshot (1.0.22)
|
82
85
|
capybara (>= 1.0, < 4)
|
83
86
|
launchy
|
84
|
-
|
87
|
+
childprocess (0.9.0)
|
88
|
+
ffi (~> 1.0, >= 1.0.11)
|
89
|
+
chop (0.23.7)
|
85
90
|
activerecord
|
86
91
|
capybara
|
87
92
|
cucumber
|
88
|
-
cliver (0.3.2)
|
89
93
|
coffee-rails (4.2.2)
|
90
94
|
coffee-script (>= 2.2.0)
|
91
95
|
railties (>= 4.0.0)
|
@@ -93,7 +97,7 @@ GEM
|
|
93
97
|
coffee-script-source
|
94
98
|
execjs
|
95
99
|
coffee-script-source (1.12.2)
|
96
|
-
concurrent-ruby (1.
|
100
|
+
concurrent-ruby (1.1.5)
|
97
101
|
crass (1.0.4)
|
98
102
|
cucumber (3.1.2)
|
99
103
|
builder (>= 2.1.2)
|
@@ -123,19 +127,19 @@ GEM
|
|
123
127
|
active_record-json_associations
|
124
128
|
activerecord
|
125
129
|
mime-types
|
126
|
-
erubi (1.
|
130
|
+
erubi (1.8.0)
|
127
131
|
execjs (2.7.0)
|
128
132
|
ffi (1.9.25)
|
129
133
|
font-awesome-rails (4.7.0.4)
|
130
134
|
railties (>= 3.2, < 6.0)
|
131
135
|
gherkin (5.1.0)
|
132
|
-
globalid (0.4.
|
136
|
+
globalid (0.4.2)
|
133
137
|
activesupport (>= 4.2.0)
|
134
|
-
handlebars_assets (0.23.
|
138
|
+
handlebars_assets (0.23.3)
|
135
139
|
execjs (~> 2.0)
|
136
140
|
sprockets (>= 2.0.0)
|
137
141
|
tilt (>= 1.2)
|
138
|
-
i18n (1.1
|
142
|
+
i18n (1.5.1)
|
139
143
|
concurrent-ruby (~> 1.0)
|
140
144
|
jquery-rails (4.3.3)
|
141
145
|
rails-dom-testing (>= 1, < 3)
|
@@ -145,63 +149,59 @@ GEM
|
|
145
149
|
railties (>= 3.2.16)
|
146
150
|
launchy (2.4.3)
|
147
151
|
addressable (~> 2.3)
|
148
|
-
loofah (2.2.
|
152
|
+
loofah (2.2.3)
|
149
153
|
crass (~> 1.0.2)
|
150
154
|
nokogiri (>= 1.5.9)
|
151
|
-
mail (2.7.
|
155
|
+
mail (2.7.1)
|
152
156
|
mini_mime (>= 0.1.1)
|
153
157
|
marcel (0.3.3)
|
154
158
|
mimemagic (~> 0.3.2)
|
155
|
-
method_source (0.9.
|
159
|
+
method_source (0.9.2)
|
156
160
|
mime-types (3.2.2)
|
157
161
|
mime-types-data (~> 3.2015)
|
158
|
-
mime-types-data (3.
|
159
|
-
mimemagic (0.3.
|
162
|
+
mime-types-data (3.2019.0331)
|
163
|
+
mimemagic (0.3.3)
|
160
164
|
mini_mime (1.0.1)
|
161
|
-
mini_portile2 (2.
|
165
|
+
mini_portile2 (2.4.0)
|
162
166
|
minitest (5.11.3)
|
163
167
|
multi_json (1.13.1)
|
164
168
|
multi_test (0.1.2)
|
169
|
+
net_http_ssl_fix (0.0.10)
|
165
170
|
nio4r (2.3.1)
|
166
|
-
nokogiri (1.
|
167
|
-
mini_portile2 (~> 2.
|
168
|
-
phantomjs (2.1.1.0)
|
169
|
-
poltergeist (1.18.1)
|
170
|
-
capybara (>= 2.1, < 4)
|
171
|
-
cliver (~> 0.3.1)
|
172
|
-
websocket-driver (>= 0.2.0)
|
171
|
+
nokogiri (1.9.1)
|
172
|
+
mini_portile2 (~> 2.4.0)
|
173
173
|
public_suffix (3.0.3)
|
174
|
-
rack (2.0.
|
174
|
+
rack (2.0.6)
|
175
175
|
rack-test (1.1.0)
|
176
176
|
rack (>= 1.0, < 3)
|
177
|
-
rails (5.2.
|
178
|
-
actioncable (= 5.2.
|
179
|
-
actionmailer (= 5.2.
|
180
|
-
actionpack (= 5.2.
|
181
|
-
actionview (= 5.2.
|
182
|
-
activejob (= 5.2.
|
183
|
-
activemodel (= 5.2.
|
184
|
-
activerecord (= 5.2.
|
185
|
-
activestorage (= 5.2.
|
186
|
-
activesupport (= 5.2.
|
177
|
+
rails (5.2.3)
|
178
|
+
actioncable (= 5.2.3)
|
179
|
+
actionmailer (= 5.2.3)
|
180
|
+
actionpack (= 5.2.3)
|
181
|
+
actionview (= 5.2.3)
|
182
|
+
activejob (= 5.2.3)
|
183
|
+
activemodel (= 5.2.3)
|
184
|
+
activerecord (= 5.2.3)
|
185
|
+
activestorage (= 5.2.3)
|
186
|
+
activesupport (= 5.2.3)
|
187
187
|
bundler (>= 1.3.0)
|
188
|
-
railties (= 5.2.
|
188
|
+
railties (= 5.2.3)
|
189
189
|
sprockets-rails (>= 2.0.0)
|
190
190
|
rails-dom-testing (2.0.3)
|
191
191
|
activesupport (>= 4.2.0)
|
192
192
|
nokogiri (>= 1.6)
|
193
193
|
rails-html-sanitizer (1.0.4)
|
194
194
|
loofah (~> 2.2, >= 2.2.2)
|
195
|
-
railties (5.2.
|
196
|
-
actionpack (= 5.2.
|
197
|
-
activesupport (= 5.2.
|
195
|
+
railties (5.2.3)
|
196
|
+
actionpack (= 5.2.3)
|
197
|
+
activesupport (= 5.2.3)
|
198
198
|
method_source
|
199
199
|
rake (>= 0.8.7)
|
200
200
|
thor (>= 0.19.0, < 2.0)
|
201
201
|
rake (10.5.0)
|
202
202
|
rb-fsevent (0.10.3)
|
203
|
-
rb-inotify (0.
|
204
|
-
ffi (
|
203
|
+
rb-inotify (0.10.0)
|
204
|
+
ffi (~> 1.0)
|
205
205
|
rspec (3.8.0)
|
206
206
|
rspec-core (~> 3.8.0)
|
207
207
|
rspec-expectations (~> 3.8.0)
|
@@ -215,17 +215,25 @@ GEM
|
|
215
215
|
diff-lcs (>= 1.2.0, < 2.0)
|
216
216
|
rspec-support (~> 3.8.0)
|
217
217
|
rspec-support (3.8.0)
|
218
|
-
|
218
|
+
rubyzip (1.2.2)
|
219
|
+
sass (3.7.3)
|
219
220
|
sass-listen (~> 4.0.0)
|
220
221
|
sass-listen (4.0.0)
|
221
222
|
rb-fsevent (~> 0.9, >= 0.9.4)
|
222
223
|
rb-inotify (~> 0.9, >= 0.9.7)
|
223
|
-
|
224
|
-
|
225
|
-
sass (
|
226
|
-
|
227
|
-
|
228
|
-
|
224
|
+
sassc (1.12.1)
|
225
|
+
ffi (~> 1.9.6)
|
226
|
+
sass (>= 3.3.0)
|
227
|
+
sassc-rails (1.3.0)
|
228
|
+
railties (>= 4.0.0)
|
229
|
+
sass
|
230
|
+
sassc (~> 1.9)
|
231
|
+
sprockets (> 2.11)
|
232
|
+
sprockets-rails
|
233
|
+
tilt
|
234
|
+
selenium-webdriver (3.141.0)
|
235
|
+
childprocess (~> 0.5)
|
236
|
+
rubyzip (~> 1.2, >= 1.2.2)
|
229
237
|
slim (4.0.1)
|
230
238
|
temple (>= 0.7.6, < 0.9)
|
231
239
|
tilt (>= 2.0.6, < 2.1)
|
@@ -236,14 +244,19 @@ GEM
|
|
236
244
|
actionpack (>= 4.0)
|
237
245
|
activesupport (>= 4.0)
|
238
246
|
sprockets (>= 3.0.0)
|
239
|
-
sqlite3 (1.
|
240
|
-
temple (0.8.
|
241
|
-
thor (0.20.
|
247
|
+
sqlite3 (1.4.0)
|
248
|
+
temple (0.8.1)
|
249
|
+
thor (0.20.3)
|
242
250
|
thread_safe (0.3.6)
|
243
|
-
tilt (2.0.
|
251
|
+
tilt (2.0.9)
|
244
252
|
timecop (0.9.1)
|
245
253
|
tzinfo (1.2.5)
|
246
254
|
thread_safe (~> 0.1)
|
255
|
+
webdrivers (3.7.1)
|
256
|
+
net_http_ssl_fix
|
257
|
+
nokogiri (~> 1.6)
|
258
|
+
rubyzip (~> 1.0)
|
259
|
+
selenium-webdriver (~> 3.0)
|
247
260
|
websocket-driver (0.7.0)
|
248
261
|
websocket-extensions (>= 0.1.0)
|
249
262
|
websocket-extensions (0.1.3)
|
@@ -255,15 +268,14 @@ PLATFORMS
|
|
255
268
|
|
256
269
|
DEPENDENCIES
|
257
270
|
appraisal
|
258
|
-
bundler
|
271
|
+
bundler
|
259
272
|
byebug
|
273
|
+
capybara-headless_chrome
|
260
274
|
capybara-screenshot
|
261
275
|
chop
|
262
276
|
cucumber-rails
|
263
277
|
database_cleaner
|
264
278
|
ds_media_library!
|
265
|
-
phantomjs
|
266
|
-
poltergeist
|
267
279
|
rails (~> 5.2.0)
|
268
280
|
rake (~> 10.0)
|
269
281
|
rspec (~> 3.0)
|
@@ -271,4 +283,4 @@ DEPENDENCIES
|
|
271
283
|
timecop
|
272
284
|
|
273
285
|
BUNDLED WITH
|
274
|
-
1.
|
286
|
+
1.17.3
|
@@ -1,6 +1,6 @@
|
|
1
1
|
require "ds_node"
|
2
2
|
require "slim"
|
3
|
-
require "
|
3
|
+
require "sassc-rails"
|
4
4
|
require "font-awesome-rails"
|
5
5
|
require "jquery-rails"
|
6
6
|
require "jquery-ui-rails"
|
@@ -9,31 +9,35 @@ require "coffee-rails"
|
|
9
9
|
module DSMediaLibrary
|
10
10
|
class Engine < Rails::Engine
|
11
11
|
initializer "ds_media_library.form_helper" do
|
12
|
-
|
13
|
-
|
12
|
+
config.after_initialize do
|
13
|
+
ActionView::Helpers::FormBuilder.class_eval do
|
14
|
+
prepend FormHelper
|
15
|
+
end
|
14
16
|
end
|
15
17
|
end
|
16
18
|
|
17
19
|
initializer "ds_media_library.ds_node" do
|
18
|
-
|
19
|
-
|
20
|
+
config.after_initialize do
|
21
|
+
DSNode::Resource.class_eval do
|
22
|
+
belongs_to :folder, class_name: "DSMediaLibrary::Folder", required: false
|
20
23
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
+
def css_class
|
25
|
+
"dsml-media-link"
|
26
|
+
end
|
24
27
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
28
|
+
def type_name
|
29
|
+
case media_type
|
30
|
+
when "i" then "Image"
|
31
|
+
when "v" then "Video"
|
32
|
+
when "a" then "Audio"
|
33
|
+
when "p" then "PDF"
|
34
|
+
else "Unknown"
|
35
|
+
end
|
32
36
|
end
|
33
|
-
end
|
34
37
|
|
35
|
-
|
36
|
-
|
38
|
+
def updated_on
|
39
|
+
updated_at.try(:to_date)
|
40
|
+
end
|
37
41
|
end
|
38
42
|
end
|
39
43
|
end
|