ocean-rails 2.3.5 → 2.4.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: f3eb02e8ee7770b0b91c3971d43866f1cd4e2669
4
- data.tar.gz: a43355395081917ed4d027d93d2a292247347a8e
3
+ metadata.gz: 64675634c20a08b28e7e2f0195bc6e127c8fdf96
4
+ data.tar.gz: 02d7822699140d76070831993e277de19dff1150
5
5
  SHA512:
6
- metadata.gz: f8801496045dbe46b8a5591756ac7c9ac76f6751d20e28d1ae2ea379a8ce0cbcf6606bbb9a8545d7f4a81717b176109cedce50fef8dd60035686871d33c33b1b
7
- data.tar.gz: 6e718f82d590ca5d2ed08b4aa05cfb8930fe21e1512cec87620f4d60ef464db584048332bf00ed6363b6f70015fbb4889c119d9d854ad7db47b8aa50e9b327e8
6
+ metadata.gz: 04ecd71eb49c13e05256a7bfd60be3a615adc1c739789e833ea0b30b0309d4ae92650e2b39d7ee08945f04d2dc8d07dd1c41c5c62a0b9b10ff4e8ca59f0c9382
7
+ data.tar.gz: 0deea387a4dbffc8a442da376c8e2f7b06684ae7e897ae76a36dc3fdf9cdfccb2e7c7c2dd3ed8e2f7e46ca32f14687a61d1841aff6474a965b05049b2b459507
@@ -15,7 +15,9 @@ if File.exists?(ef)
15
15
 
16
16
  # If there is a file to process, do so
17
17
  if f
18
- AWS.config YAML.load(File.read(f))[Rails.env]
18
+ options = YAML.load(File.read(f))[Rails.env]
19
+ AWS.config options if defined? AWS
20
+ Aws.config = options if defined? Aws
19
21
  else
20
22
  # Otherwise print an error message and abort.
21
23
  puts
data/lib/ocean/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ocean
2
- VERSION = "2.3.5"
2
+ VERSION = "2.4.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ocean-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.5
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Bengtson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-21 00:00:00.000000000 Z
11
+ date: 2014-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -250,7 +250,7 @@ files:
250
250
  - app/controllers/errors_controller.rb
251
251
  - app/helpers/application_helper.rb
252
252
  - config/initializers/api_constants.rb
253
- - config/initializers/aws_constants.rb
253
+ - config/initializers/aws_config.rb
254
254
  - config/initializers/ocean_constants.rb
255
255
  - config/initializers/zeromq_logger.rb
256
256
  - config/routes.rb