ds_media_library 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/ds_media_library.coffee +7 -5
- data/app/assets/javascripts/ds_media_library/handlebars.js +4840 -0
- data/app/views/ds_media_library/form_helper/_media_library_helper.html.slim +5 -1
- data/app/views/ds_media_library/manage/resources/_image_preview.html.slim +5 -4
- data/ds_media_library.gemspec +1 -0
- data/lib/ds_media_library/version.rb +1 -1
- metadata +17 -2
@@ -13,8 +13,9 @@
|
|
13
13
|
|
14
14
|
- unless defined?(hide_file_name) && hide_file_name
|
15
15
|
dt
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
16
|
+
figcaption
|
17
|
+
- if image.pdf?
|
18
|
+
= link_to image.original_file_name, image.url, class: "dsml-pdf-icon", target: "_blank"
|
19
|
+
- else
|
20
|
+
= image.original_file_name
|
20
21
|
|
data/ds_media_library.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ds_media_library
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Micah Geisel
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -304,6 +304,20 @@ dependencies:
|
|
304
304
|
- - ">="
|
305
305
|
- !ruby/object:Gem::Version
|
306
306
|
version: '0'
|
307
|
+
- !ruby/object:Gem::Dependency
|
308
|
+
name: handlebars_assets
|
309
|
+
requirement: !ruby/object:Gem::Requirement
|
310
|
+
requirements:
|
311
|
+
- - ">="
|
312
|
+
- !ruby/object:Gem::Version
|
313
|
+
version: '0'
|
314
|
+
type: :runtime
|
315
|
+
prerelease: false
|
316
|
+
version_requirements: !ruby/object:Gem::Requirement
|
317
|
+
requirements:
|
318
|
+
- - ">="
|
319
|
+
- !ruby/object:Gem::Version
|
320
|
+
version: '0'
|
307
321
|
description: Downstream Media Library Rails Engine
|
308
322
|
email:
|
309
323
|
- micah@botandrose.com
|
@@ -322,6 +336,7 @@ files:
|
|
322
336
|
- README.md
|
323
337
|
- Rakefile
|
324
338
|
- app/assets/javascripts/ds_media_library.coffee
|
339
|
+
- app/assets/javascripts/ds_media_library/handlebars.js
|
325
340
|
- app/assets/stylesheets/_breadcrumb-nav.sass
|
326
341
|
- app/assets/stylesheets/_help-text.sass
|
327
342
|
- app/assets/stylesheets/_media-tree.sass
|