locomotivecms_mounter 1.5.6 → 1.5.7

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
  SHA1:
3
- metadata.gz: 5f1de144689d250c6e2a5229c1c4b6b82a75a343
4
- data.tar.gz: 78b521a58828f661452c14e370f1f06d3e49e526
3
+ metadata.gz: 0b02502174bb49e4a29cb686853db9f23ff1d14c
4
+ data.tar.gz: 9d3007436f0dcb7dfece507a4627d0106b0696bf
5
5
  SHA512:
6
- metadata.gz: 2b38ae450fff2924965a8c2761fc84be63c666af5cc7dbd7cc2a5dadfcbe36d6e642262b7a4e719144e644fba4f89491bf7dd9eab94a4400f84f09a1663b90b2
7
- data.tar.gz: ae89bc14a8010175aebcec29fe059489b0ec1b415519a3569f3380103fc9326bf6eda58df25b11fd924b6b49b8e1b5ec02dd7676aa78f47de4f6efeb441c9417
6
+ metadata.gz: 34cb1bead096ba6dcc49e9df9e60b24ef196ed62789b5cd0ce005a1bf49bec4236311b5ca137877361a456f61e245b852696c86e8f196bd72a33411d0d7e9740
7
+ data.tar.gz: c1ae671081b1046eebd8e1f84c9387d97e6abc63c657bb5d55ccdf8c380b236976ddac04aaafc0827de6d74c72a1ca7151d020c14a36225353128297163c0e20
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- locomotivecms_mounter (1.5.6)
4
+ locomotivecms_mounter (1.5.7)
5
5
  RedCloth (~> 4.2.3)
6
6
  activesupport (~> 3.2.21)
7
7
  chronic (~> 0.10.2)
@@ -28,7 +28,7 @@ GEM
28
28
  remote: http://rubygems.org/
29
29
  specs:
30
30
  RedCloth (4.2.9)
31
- activesupport (3.2.21)
31
+ activesupport (3.2.22)
32
32
  i18n (~> 0.6, >= 0.6.4)
33
33
  multi_json (~> 1.0)
34
34
  addressable (2.3.6)
@@ -55,9 +55,9 @@ GEM
55
55
  crack (0.4.2)
56
56
  safe_yaml (~> 1.0.0)
57
57
  diff-lcs (1.2.5)
58
- execjs (2.5.2)
59
- ffi (1.9.9)
60
- haml (4.0.6)
58
+ execjs (2.6.0)
59
+ ffi (1.9.10)
60
+ haml (4.0.7)
61
61
  tilt
62
62
  hike (1.2.3)
63
63
  httmultiparty (0.3.10)
@@ -94,8 +94,8 @@ GEM
94
94
  rspec-mocks (2.14.6)
95
95
  ruby-debug-wrapper (0.0.1)
96
96
  safe_yaml (1.0.4)
97
- sass (3.4.14)
98
- sprockets (2.12.3)
97
+ sass (3.4.18)
98
+ sprockets (2.12.4)
99
99
  hike (~> 1.2)
100
100
  multi_json (~> 1.0)
101
101
  rack (~> 1.0)
@@ -108,7 +108,7 @@ GEM
108
108
  libv8 (~> 3.16.14.0)
109
109
  ref
110
110
  tilt (1.4.1)
111
- tzinfo (0.3.43)
111
+ tzinfo (0.3.44)
112
112
  vcr (2.4.0)
113
113
  webmock (1.9.3)
114
114
  addressable (>= 2.2.7)
@@ -122,7 +122,7 @@ module Locomotive
122
122
  when :date, :date_time
123
123
  value.is_a?(String) ? Chronic.parse(value) : value
124
124
  when :file
125
- value.present? ? { 'url' => value } : nil
125
+ value.present? ? { 'url' => value, 'filename' => File.basename(value) } : nil
126
126
  when :belongs_to
127
127
  field.klass.find_entry(value)
128
128
  when :has_many
@@ -369,4 +369,4 @@ module Locomotive
369
369
 
370
370
  end
371
371
  end
372
- end
372
+ end
@@ -2,7 +2,7 @@
2
2
  module Locomotive
3
3
  module Mounter #:nodoc
4
4
 
5
- VERSION = '1.5.6'
5
+ VERSION = '1.5.7'
6
6
 
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: locomotivecms_mounter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.6
4
+ version: 1.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Didier Lafforgue
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-15 00:00:00.000000000 Z
11
+ date: 2015-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tilt