administrate-field-carrierwave 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/administrate-field-carrierwave.gemspec +1 -1
- data/app/views/fields/carrierwave/_form.html.erb +1 -1
- data/app/views/fields/carrierwave/_preview.html.erb +1 -1
- data/app/views/fields/carrierwave/_show.html.erb +1 -1
- data/lib/administrate/field/carrierwave.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a1717d7fe72c576d5abfa8bf124e4d06aa287ff4
|
|
4
|
+
data.tar.gz: d42a7557e8138438a623b5e5a772b81ce544f0f6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 676084a803681761b6034240d7c090bf0c013ec65f10b755537a5591154a340d5fcfa75b72677fdcf817a8bdcf964f6427fae8cc3e359fefe3c1bab63dd3d01b
|
|
7
|
+
data.tar.gz: 473f01457a42b5f521fa925b5b912696f4e323262c0d8cdaac5f2dbfb8afe757f39e0fe66c76514207fe0208015bbebb95425fb39a8abcef8908fcc731c67927
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [v0.0.3](https://github.com/z-productions/administrate-field-carrierwave/tree/v0.0.3) (2016-11-29)
|
|
4
|
+
[Full Changelog](https://github.com/z-productions/administrate-field-carrierwave/compare/v0.0.2...v0.0.3)
|
|
5
|
+
|
|
6
|
+
* Improve attachment name visualization
|
|
7
|
+
|
|
3
8
|
## [v0.0.2](https://github.com/z-productions/administrate-field-carrierwave/tree/v0.0.2) (2016-11-29)
|
|
4
9
|
[Full Changelog](https://github.com/z-productions/administrate-field-carrierwave/compare/v0.0.1...v0.0.2)
|
|
5
10
|
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -2,7 +2,7 @@ $:.push File.expand_path('../lib', __FILE__)
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |gem|
|
|
4
4
|
gem.name = 'administrate-field-carrierwave'
|
|
5
|
-
gem.version = '0.0.
|
|
5
|
+
gem.version = '0.0.3'
|
|
6
6
|
gem.authors = ['Michele Gerarduzzi']
|
|
7
7
|
gem.email = ['michele.gerarduzzi@gmail.com']
|
|
8
8
|
gem.homepage = 'https://github.com/z-productions/administrate-field-carrierwave'
|
|
@@ -20,7 +20,7 @@ This partial renders a file input field.
|
|
|
20
20
|
<br />
|
|
21
21
|
<%- if field.uploaded? -%>
|
|
22
22
|
<%= render 'fields/carrierwave/preview', field: field %>
|
|
23
|
-
<%= link_to field.
|
|
23
|
+
<%= link_to field.basename, field.url, title: field.filename, target: '_blank' %>
|
|
24
24
|
<%- else -%>
|
|
25
25
|
<span>No file uploaded yet</span>
|
|
26
26
|
<%- end -%>
|
|
@@ -12,4 +12,4 @@ opens in a new window/tab, and an optional image preview
|
|
|
12
12
|
%>
|
|
13
13
|
|
|
14
14
|
<%= render 'fields/carrierwave/preview', field: field %>
|
|
15
|
-
<%= link_to field.
|
|
15
|
+
<%= link_to field.basename, field.url, title: field.filename, target: '_blank' %>
|