woody-decorators 1.0.1 → 1.1.0

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: 7b279bd7973252af2b2c2c9e273bff57234ebc2a
4
- data.tar.gz: 2c10968e03dbe9d70a109528d1ce1b6682b006b9
3
+ metadata.gz: ac5b2ac5ee363283a16f62ebc06cdd69ad75efdc
4
+ data.tar.gz: 6635ae3788919d976b66f314f6685ed7adc059cd
5
5
  SHA512:
6
- metadata.gz: d83e5c99dcdc8a2be7f9a7187e432188d26dd1910935b3e06e0e96d38dd43af966a345f1cac4e9c5dc01a970c9802f85c3208b476471756f2b4c7a07cdb8147f
7
- data.tar.gz: a58fedbf9bbde8cc7b9f60bcffcd7ffabc9937d1610dd24b68f8c3307624db7b88c85a355e4e3dc3744c79a37ca528e00ac0d402e98ee559557217e77c992b4d
6
+ metadata.gz: 0ecc6e4c67865b8a82559157c645926e7468fccbfd943a1aaaefb0e554ef5ade34112a7da62eac5e9fee4b1948a9c94a4e6952848bf755bd4e1f5f12ad2d00d7
7
+ data.tar.gz: d5771a1be8fa965b9813def86b1997e83206299e04a5e33844a0fc370bc2bfece60a979f9eac2913ea8856956e7d379e9d0d9706a993f8759ed30f6d44f49b1b
@@ -1,5 +1,5 @@
1
1
  module Woody
2
2
  module Decorators
3
- VERSION = "1.0.1".freeze
3
+ VERSION = "1.1.0".freeze
4
4
  end
5
5
  end
@@ -38,14 +38,14 @@ module Woody
38
38
  r = rand(1..default_avatars)
39
39
  format(
40
40
  "%s/%s/%s/00%d.png",
41
- @config.s3_domain, @config.s3_bucket, @config.s3_avatar_path, r
41
+ @config.s3_domain, @config.public_s3_bucket, @config.s3_avatar_path, r
42
42
  )
43
43
  end
44
44
 
45
45
  def user_avatar
46
46
  format(
47
47
  "%s/%s/%s/%s.png",
48
- @config.s3_domain, @config.s3_bucket, @config.s3_avatar_path, id
48
+ @config.s3_domain, @config.public_s3_bucket, @config.s3_avatar_path, id
49
49
  )
50
50
  end
51
51
  end
@@ -78,7 +78,7 @@ module Woody
78
78
  def dev_url
79
79
  format(
80
80
  "%s/%s/%s",
81
- app_config["s3_domain"], app_config["s3_bucket"], @model.url_path
81
+ app_config["s3_domain"], app_config["private_s3_bucket"], @model.url_path
82
82
  )
83
83
  end
84
84
 
@@ -40,7 +40,7 @@ module Woody
40
40
  def s3_base
41
41
  [
42
42
  app_config["s3_domain"],
43
- app_config["s3_bucket"],
43
+ app_config["public_s3_bucket"],
44
44
  etc_config["base_prefix"]
45
45
  ].join("/")
46
46
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: woody-decorators
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-06 00:00:00.000000000 Z
11
+ date: 2016-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler