sessionm-cassandra_object 2.3.1 → 2.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,7 +12,7 @@ module CassandraObject
12
12
  begin
13
13
  spec = connection_spec.dup
14
14
 
15
- if EM.reactor_running?
15
+ if const_defined?(:EM) && EM.reactor_running?
16
16
  require 'thrift_client/event_machine'
17
17
  spec[:thrift].merge!(:transport => Thrift::EventMachineTransport,
18
18
  :transport_wrapper => nil)
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'sessionm-cassandra_object'
5
- s.version = '2.3.1'
5
+ s.version = '2.3.2'
6
6
  s.description = 'Cassandra ActiveModel'
7
7
  s.summary = 'Cassandra ActiveModel'
8
8
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sessionm-cassandra_object
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1
4
+ version: 2.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-11-26 00:00:00.000000000 Z
14
+ date: 2012-11-30 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rails