ratchetio 0.4.9 → 0.4.10

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.
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Change Log
2
2
 
3
+ **0.4.10**
4
+ - Fix compatability issue with ruby 1.8
5
+
3
6
  **0.4.9**
4
7
  - Start including a UUID in reported exceptions
5
8
  - Fix issue with scrub_fields, and add `:password_confirmation` to the default list
@@ -1,3 +1,3 @@
1
1
  module Ratchetio
2
- VERSION = "0.4.9"
2
+ VERSION = "0.4.10"
3
3
  end
data/lib/ratchetio.rb CHANGED
@@ -257,7 +257,7 @@ module Ratchetio
257
257
  }
258
258
  }
259
259
 
260
- if defined?(SecureRandom)
260
+ if defined?(SecureRandom) and SecureRandom.respond_to?(:uuid)
261
261
  data[:uuid] = SecureRandom.uuid
262
262
  end
263
263
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ratchetio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.9
4
+ version: 0.4.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: