ocean-rails 2.11.1 → 2.11.2

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: e65974075d4560d7f8ec08829b674ae3efe69c3c
4
- data.tar.gz: 62484168192588513d334385303fbc4a0fae1c2c
3
+ metadata.gz: 46221dda65adcd87c2dc8f09929ec19bc84cc6a0
4
+ data.tar.gz: d679f3ce49157feeac23f36d0f65dedfb0c14bb7
5
5
  SHA512:
6
- metadata.gz: 6ff9ba803b356e60e380d46254001cdd2582c898470234a9d49cca7399d9174edef45722e3270bf7353fb19ea03df7e2ea89379964bcecb6f182580fb07e1171
7
- data.tar.gz: 34c7afeb5eeb6933b45d38fa19414325c1b1a84b39f51f6ad5617767e4328f439dcd26e0da6fef5cb17927012a1968155e019751638b8158f120f6e76daafbab
6
+ metadata.gz: ab2e28bd1f0e49290f5b6d67a889e3a7033b2b457052d1c9102e1ed57e7640129dce5c2d6d6af691adc15ab863a65989caa458f5d52ef180d50870b1e259eec4
7
+ data.tar.gz: 5e003b8a27f6411be5b7da7418d48edf26aae1c7b8fd5fbf766861f8b976ff254e1b83cb3674ed148ee5fe0c33a33b302f4e9bf61647479f321754896d0e7d84
@@ -16,7 +16,7 @@
16
16
  # Thus, if you are a frontend developer, you override the string
17
17
  # constant here to reflect the Chef environment (master, staging)
18
18
  # you wish to run your local tests against by defining the environment
19
- # variable OVERRIDE_OCEAN_API_HOST.
19
+ # variable OCEAN_API_HOST.
20
20
  #
21
21
  # When TeamCity runs its tests, it will set these constants to values
22
22
  # appropriate for the Chef environment for which the tests are run.
@@ -28,10 +28,10 @@
28
28
 
29
29
  BASE_DOMAIN = "example.com" unless defined?(BASE_DOMAIN) # For the Rails template generator
30
30
 
31
- OCEAN_API_HOST = (Rails.env == 'test' && "forbidden.#{BASE_DOMAIN}") ||
32
- (ENV['OVERRIDE_OCEAN_API_HOST'] ||
33
- ENV['OCEAN_API_HOST'] ||
34
- "master-api.#{BASE_DOMAIN}").sub("<default>", "master")
31
+ OCEAN_API_HOST = (ENV['OCEAN_API_HOST'] ||
32
+ (Rails.env == 'test' && "forbidden.#{BASE_DOMAIN}") ||
33
+ "master-api.#{BASE_DOMAIN}"
34
+ ).sub("<default>", "master")
35
35
 
36
36
  OCEAN_API_URL = "https://#{OCEAN_API_HOST}"
37
37
 
data/lib/ocean/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ocean
2
- VERSION = "2.11.1"
2
+ VERSION = "2.11.2"
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.11.1
4
+ version: 2.11.2
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-04-16 00:00:00.000000000 Z
11
+ date: 2014-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus