alive_state 0.1.1 → 0.2.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c600b8270bb278d6db17fa0c91c053e3adf01ea2
4
- data.tar.gz: 18a858c93b19f457c584d6f30fdf08e00ce7ad83
3
+ metadata.gz: d11d0ad5dd316412ed5566289b896c60d9a53c14
4
+ data.tar.gz: da3e0fb58eb06b9b66220fdf5f1d77aaa801c9f0
5
5
  SHA512:
6
- metadata.gz: 558c2170eae8241f0ec2679eb9640c73dfca91808fc94570d8cfaab58c9c29220a0dadf55dc2b050404ec7cefe0aa8fd9ea4678ebd11ccb138ac9c95f1e7b0f7
7
- data.tar.gz: 644c482422670d1d57259ba3cb3afcbf6623dfe87b986fbacf2f0fa1251853bcf26acca3899a3b1797194c93d570d4dc2f96ae74b963cc36d7a03279e6581081
6
+ metadata.gz: b94ffd06266d5d732a8c679b71d6eb7998644e72c60d6796aa8d68cc70cd637d521ad5c0c23efae24be5e04c819ee5c407a6fc55deecb0ba58a23f3b2fdb6866
7
+ data.tar.gz: 3296bfc90f27cb61c5133a232d4b91fdfb98caada6c4be1168fbebec286661e566dd17399734c93c37ca9f49d03cc57e63f69d994b8c0f0127dc003a1a355923
@@ -31,7 +31,7 @@ end
31
31
  AliveState::Configure.setup
32
32
 
33
33
  AliveState.application do
34
- active_record { ActiveRecord::Base.connection.execute('select 1') }
34
+ active_record { ActiveRecord::Base.connection.execute('select 1') } if defined? ActiveRecord
35
35
  end
36
36
 
37
37
  require 'alive_state/rails' if defined? Rails::Railtie
@@ -1,3 +1,3 @@
1
1
  module AliveState
2
- VERSION = '0.1.1'.freeze
2
+ VERSION = '0.2.0'.freeze
3
3
  end
@@ -1,4 +1,4 @@
1
+ require 'active_record'
1
2
  require 'alive_state'
2
3
 
3
- require 'active_record'
4
4
  ActiveRecord::Base.establish_connection(adapter: 'sqlite3', database: ':memory:')
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alive_state
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ogom
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-01 00:00:00.000000000 Z
11
+ date: 2014-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler