tienda 2.1.0 → 2.1.1

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: b97ea39013c44c15d7d18bce2149a6a07bb2bc18
4
- data.tar.gz: 816df89676e8e4d64bf1699a23c101e0ea8268ba
3
+ metadata.gz: 933f506f2bd775ae3c0f5d799a27d41d29d55c6e
4
+ data.tar.gz: 3f7b45825520d4627b312ec2961d5582d766625d
5
5
  SHA512:
6
- metadata.gz: ed72a17c07f45fc268b18f449c13f0ba9586ded6d3c85210ba431ece3e231ffcdcc9d801e429b58bef666d94aa227b5713165baf715110c67b9f7407a00964f6
7
- data.tar.gz: beea1c4e4b04efe87f531cfe7c6929605741697a3e0e87c3c07509bdf0205dbad9abaef3a60f008542d73304d333500cb5bdef77ee5126f45695230add127784
6
+ metadata.gz: 0cfa436a52083dec422649329cd0ce7850773e97b79e4ccc70437f4ed77eb0aef9a97c79967bbaa8ca25031d23ad972e38ec89387b6baaed9d21b21299ffc2cb
7
+ data.tar.gz: af034953e10a3b0f96f64939001ea0a42abb4b4e844ebbb187ffdde2ed37d6bb3af20edc30a843ec93c7bf91cc8806a9bba1a0c831561635c5e240b133f44b11
@@ -1,15 +1,17 @@
1
1
  CarrierWave.configure do |config|
2
- AWS_CONFIG = Rails.application.secrets.aws_config
2
+ unless Rails.env.test?
3
+ AWS_CONFIG = Rails.application.secrets.aws_config
3
4
 
4
- config.storage = :aws
5
- config.aws_bucket = AWS_CONFIG['s3_bucket_name']
6
- config.aws_acl = :'public-read'
7
- config.asset_host = 'https://cdn.masinfinitocasa.com'
8
- config.aws_authenticated_url_expiration = 60 * 60 * 24 * 365
5
+ config.storage = :aws
6
+ config.aws_bucket = AWS_CONFIG['s3_bucket_name']
7
+ config.aws_acl = :'public-read'
8
+ config.asset_host = AWS_CONFIG['s3_asset_url']
9
+ config.aws_authenticated_url_expiration = 60 * 60 * 24 * 365
9
10
 
10
- config.aws_credentials = {
11
- access_key_id: AWS_CONFIG['s3_key'],
12
- secret_access_key: AWS_CONFIG['s3_secret'],
13
- region: AWS_CONFIG['s3_region']
14
- }
11
+ config.aws_credentials = {
12
+ access_key_id: AWS_CONFIG['s3_key'],
13
+ secret_access_key: AWS_CONFIG['s3_secret'],
14
+ region: AWS_CONFIG['s3_region']
15
+ }
16
+ end
15
17
  end
@@ -1,3 +1,3 @@
1
1
  module Tienda
2
- VERSION = '2.1.0'
2
+ VERSION = '2.1.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tienda
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gonzalo Robaina
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-30 00:00:00.000000000 Z
11
+ date: 2015-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails