sob-has_force 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/CHANGELOG.rdoc +3 -0
  2. data/lib/force/has_force.rb +1 -1
  3. metadata +1 -1
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,6 @@
1
+ == 1.0.2, Released 2009-02-10
2
+ * always run tests before version bumping
3
+
1
4
  == 1.0.1, Released 2009-02-10
2
5
  * to_salesforce now returns true automatically if RAILS_ENV == 'test' [sob]
3
6
  * added missing documentation to has_force methods [sob]
@@ -65,7 +65,7 @@ module Force
65
65
 
66
66
  # always return true in the test environment
67
67
  # prevents massive spam from SalesForce during tests
68
- return true if RAILS_ENV == 'test'
68
+ return true if (ENV['RAILS_ENV'] == 'test')
69
69
  begin
70
70
  response = http.request(request)
71
71
  case response
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sob-has_force
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean O'Brien