caboose-cms 0.6.4 → 0.6.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZjY2OTExNDIwOGJmNTA4ZGVjYjY0ODgxZWJlNDNjMzBmZTYxMDY4MA==
4
+ YWMwNGE5MzMwM2M5YzliNTA3ZDcyNDQwMTljZGZlMTQxMTZkOWE2MA==
5
5
  data.tar.gz: !binary |-
6
- ZWQxMGVjZTU0Nzg5NjJiNDM3M2RhNWQyNjMyNWNjMjdhMDViYTRhYg==
6
+ NTk3NDg3MDlmMTVhZWFlY2E1MmJiY2MwZWI2YWViMzk1MWM1NDZkNQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- N2RmZDdmNjUyNzBjZDVlNmUwNjk3Y2M1OTg1Zjk2OWM0YzQyYTZkZjNjMTlh
10
- ZmExODA4MTU4MWIzYWY0MDhlYmZkZjJmN2FmZWIyMDg3NTViYjA0OGM1Yzk5
11
- OTMzYzljOWZiMGEzNDc1NjFmYWQyMjJhYmFiYTlkYjIyNjdmN2Y=
9
+ ZmM0ZjE0NmI3MjI2ZmUyMzJhM2FlYmQ0YmNkZmQ5ZGIzZDZmNmMyMDA3ZmUw
10
+ NmI1YzI3ODJhMDhhMWM4MjJkOGUxOTE0ODJmZGNkNWJlZGU3NWVmZWU2Yjk1
11
+ MTNmOGEwZTUxNDBjODY4ODUxYTU0NDcxYThiMDkzZDUzM2QyNzA=
12
12
  data.tar.gz: !binary |-
13
- N2ZiZTc2NzI3ZjY5NzFlZGQwNjU4YTFjMGRmNzhkZjAyYjFjZTQzZGE5M2E3
14
- NDNlNTNiZTNlZTMyMDFlMzFkMWFlMDQ1ZWJmMmU4MjY2YWM4NWU3Zjk4NTJi
15
- NDQ0NDJlZjkwOWQwYTgzNjZlYjgxZmM3MzY0ZmRiZjQzZTY1ZDI=
13
+ M2ZkMmIzMjNkMTk1MjI5MzAwMzk3N2UzM2I2ZDY2ZTk4ZTQ5M2ExZmE3OTJj
14
+ Mzg5MDIwY2RkNDNmM2YxNmYyYTlhMDQzMzczYWVmY2IzNmJlZmZmNDc3MzFk
15
+ NDRiYTNkNmViNGFmMWNlNzVmYTUxNTZkODQ5ZmQ4MjFiNDlkYzc=
@@ -39,6 +39,7 @@ class Caboose::Media < ActiveRecord::Base
39
39
  bucket = config['bucket']
40
40
 
41
41
  key = "#{self.media_category_id}_#{self.original_name}"
42
+ key = URI.encode(key.gsub(' ', '+'))
42
43
  uri = "http://#{bucket}-uploads.s3.amazonaws.com/#{key}"
43
44
 
44
45
  image_extensions = ['.jpg', '.jpeg', '.gif', '.png', '.tif']
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.6.4'
2
+ VERSION = '0.6.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.4
4
+ version: 0.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry