active_record_host_pool 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9e48bcf35e8ac749c0b576cc314f936e77d6cda0
4
- data.tar.gz: b18961c4654d98d8a9ffce35ec472a535a6e237f
3
+ metadata.gz: 273a6f34855e9d46a75b01acfc92c8e221a32fca
4
+ data.tar.gz: 8f5b37264165a3ce1aa63fe92419b4f51d36a3df
5
5
  SHA512:
6
- metadata.gz: e18c73fa7ade1da87b4faeda2a76705c928a31706288a6264fd6a9d3315b4e889ea0a6cfbd9f37a856ae9422c8110fb638bb1794c5e6721b3cd7909bc2845668
7
- data.tar.gz: febcbd225b0e79d8895ec23a223dc8c17dc06a241f7adc238dced5f0906ee77313f65878a2dc045dd98c1d8915675e561470611905c928d0fb27847b4bb6cd3e
6
+ metadata.gz: 512ab8015ac7d4c338d5f69daf057f9011081a0a3d49e70c5144bad3ea091e43077f12469cf30c463ee0e5b9781fd1e138fbb63e9c040558ac5dce50c4cf5f4c
7
+ data.tar.gz: 9de71ffdbe484508dc325033ff5a81e9900240fe1a7645ac72a459ccb6179fddc224e9e41b5bcc5a379cce50e12fdb16876f35c26dd01689b987b02fc6f6fa06
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require 'active_record'
2
3
  require 'active_record/base'
3
4
  require 'active_record/connection_adapters/abstract_adapter'
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  ['mysql_adapter', 'mysql2_adapter'].each do |adapter|
2
3
  begin
3
4
  require "active_record/connection_adapters/#{adapter}"
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require 'delegate'
2
3
 
3
4
  # the ConnectionProxy sits between user-code and a real connection and says "I expect to be on this database"
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require 'delegate'
2
3
  require 'active_record'
3
4
  require 'active_record_host_pool/connection_adapter_mixin'
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  module ActiveRecordHostPool
2
- VERSION = "0.9.2"
3
+ VERSION = "0.9.3"
3
4
  end
data/test/helper.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require 'bundler/setup'
2
3
  require 'minitest/autorun'
3
4
 
data/test/schema.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  ActiveRecord::Schema.define(:version => 1) do
2
3
  create_table "tests" do |t|
3
4
  t.string "val"
data/test/test_arhp.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  require_relative 'helper'
2
3
 
3
4
  class ActiveRecordHostPoolTest < Minitest::Test
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_record_host_pool
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Osheroff
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-08 00:00:00.000000000 Z
11
+ date: 2016-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord