right_support 2.8.33 → 2.8.34

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: fb9b8dbbf196cce60a01939073f03dd056ae8c22
4
- data.tar.gz: f1d9aaf339977d0124b0f0f658a47cd6e28e678c
3
+ metadata.gz: 2b33df20f4893e7f64ab22c00fd808086fc89095
4
+ data.tar.gz: 122a7c34399879bd12fcc742849516be36273e5a
5
5
  SHA512:
6
- metadata.gz: 357ee9fddedc435739e1aa355a23f01d1177557b9a10bcd2149e60d0e20e360ee0aeafb39d5b497fecbed7b920e952aa94a4d85041df5b5e338e2fe662fd1881
7
- data.tar.gz: 1a593d7bc80ef34e4fcabf650ed5c957f529bf9b9047fa27d46440f902d532163c72dbb39826b447e7f932a4faae58ef24bbb05c612776b2eb7ca626a2a9611b
6
+ metadata.gz: 584cc527971f1c292a2e2e6b7a52dcd1c1012c1ce28bced75664d7e1ee92428e1e9655ad013930a14416380354b75aa30df9ee21e8efd48a6180eb54a60eacc7
7
+ data.tar.gz: f27150448cc7b88daf33f25739137ec158c55a14c98393ca056d5c8ab8aa5ed8bd3b24a7f75687ac4cef52e191c8a09ba837a1f8f37664904baa411a5252b8b0
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.8.33
1
+ 2.8.34
@@ -217,14 +217,14 @@ module RightSupport::DB
217
217
  result
218
218
  end
219
219
 
220
+ # As part of constructing the keyspace name, determine if we have a trailing namespace to
221
+ # append. Applicable to rails_env test and integration, otherwise defaults to nil.
220
222
  def namespace(env)
221
- if env == 'test'
222
- nspace = "testns"
223
- else
224
- nspace = nil
225
- if File.file?("/etc/namespace")
226
- nspace = File.read("/etc/namespace").strip
227
- end
223
+ case env
224
+ when 'test'
225
+ nspace = 'testns'
226
+ when 'integration'
227
+ nspace = File.read('/etc/namespace').strip if File.file?('/etc/namespace')
228
228
  end
229
229
  nspace
230
230
  end
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: right_support 2.8.33 ruby lib
5
+ # stub: right_support 2.8.34 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "right_support"
9
- s.version = "2.8.33"
9
+ s.version = "2.8.34"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Tony Spataro", "Sergey Sergyenko", "Ryan Williamson", "Lee Kirchhoff", "Alexey Karpik", "Scott Messier"]
14
- s.date = "2014-10-18"
14
+ s.date = "2014-11-04"
15
15
  s.description = "A toolkit of useful, reusable foundation code created by RightScale."
16
16
  s.email = "support@rightscale.com"
17
17
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: right_support
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.8.33
4
+ version: 2.8.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Spataro
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2014-10-18 00:00:00.000000000 Z
16
+ date: 2014-11-04 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: rake