g4s_client 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/g4s/g4s.rb +2 -2
  2. data/lib/version.rb +1 -1
  3. metadata +2 -2
@@ -36,9 +36,9 @@ class G4s
36
36
  protected
37
37
 
38
38
  def g4s_env
39
- if ENV['G4S_TEST_MODE']==false
39
+ if ENV['G4S_TEST_MODE']=='false'
40
40
  ::G4s::LIVE
41
- elsif ENV['G4S_TEST_MODE']==true
41
+ elsif ENV['G4S_TEST_MODE']=='true'
42
42
  ::G4s::TEST
43
43
  elsif defined?(Rails) && (Rails.env.development? || Rails.env == "staging")
44
44
  ::G4s::TEST
@@ -1,5 +1,5 @@
1
1
  #puts "REQUIRING: #{Dir[__FILE__]}"
2
2
 
3
3
  module G4sClient
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.1'
5
5
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 0
9
- version: 0.2.0
8
+ - 1
9
+ version: 0.2.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Rob Tierney