trusty-clipped-extension 2.0.9 → 2.0.10

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: 49f82d36e4dad63d8a5ec428de0c356478558f5a
4
- data.tar.gz: d88d7dda99a91c10168e4be5b3df98218fee6bbf
3
+ metadata.gz: 851aa4faf4df1b2e2ae1acf4af3d9733d00bcfcd
4
+ data.tar.gz: 0b1d14cb1c5b167ff22017082a2878b97ac1f834
5
5
  SHA512:
6
- metadata.gz: 3ccb00fb239c99c02c7f3883116f0cb7bb30ea2b169efa6df78a208448fc91410a6a594a8a3707327bb603e5bf2191056b01513f403a254941b3d6a67f0b5732
7
- data.tar.gz: 169175eb105613ec89729226c1b94abf1c0dd177c3e35e539009f5d890e43a7be582907c1eef17040dba161abbea74be4298ff832fec1d17debafecc7481a44f
6
+ metadata.gz: f394ec9bd67cc3f2453524f071db30d1951edd73cbca795a9f4ce0d12965a6eeaf547ccea182faae111a0e04e2153958a521ba038a790a4f8eee8718114d9816
7
+ data.tar.gz: 41d3eecb2823dcd0537413447a3532fa2a447b60836bfaf8343c99e2de886938a4602ce08419bd20a366a90c396bce3a3679add22e1220afc6692118a63ff1a4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- trusty-clipped-extension (2.0.9)
4
+ trusty-clipped-extension (2.0.10)
5
5
  acts_as_list (~> 0.4.0)
6
6
  cocaine (~> 0.5)
7
7
  paperclip (~> 4.2)
@@ -249,7 +249,7 @@ GEM
249
249
  thor (0.19.1)
250
250
  thread_safe (0.3.5)
251
251
  tilt (1.4.1)
252
- trusty-cms (2.0.19)
252
+ trusty-cms (2.0.20)
253
253
  RedCloth (~> 4.2)
254
254
  acts_as_tree (~> 2.1)
255
255
  bundler (~> 1.7)
data/app/models/asset.rb CHANGED
@@ -185,7 +185,7 @@ private
185
185
  end
186
186
 
187
187
  def assign_title
188
- self.title = title
188
+ self.title = self.asset_file_name.sub(self.original_extension, "").sub(".", "")
189
189
  end
190
190
 
191
191
  def assign_uuid
@@ -1,5 +1,5 @@
1
1
  module TrustyCmsClippedExtension
2
- VERSION = "2.0.9"
2
+ VERSION = "2.0.10"
3
3
  SUMMARY = %q{Assets for TrustyCms CMS}
4
4
  DESCRIPTION = %q{Asset-management derived from Keith Bingman's Paperclipped extension.}
5
5
  URL = "https://github.com/pgharts/trusty-clipped-extension"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trusty-clipped-extension
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.9
4
+ version: 2.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Keith Bingman
@@ -15,7 +15,7 @@ authors:
15
15
  autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
- date: 2016-03-30 00:00:00.000000000 Z
18
+ date: 2016-04-15 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: acts_as_list