arproxy 0.2.4 → 0.2.5

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
  SHA256:
3
- metadata.gz: 190621334d4cd27d77fbabac0a4ac2098649e35ee77240f104f457ad9de69d60
4
- data.tar.gz: 0eebf6912d1cc49b86647475ae47d3e32cd67f5b664a2141de594fd72339c9b0
3
+ metadata.gz: d6bad1d813e8899d700ce4fc1d29fd5a436126cd713bf571266bce49fe7b75a4
4
+ data.tar.gz: 2328842a6a988ab248fade376ca3b04d571f4c127fa3551f81f984a459b0860a
5
5
  SHA512:
6
- metadata.gz: ffbb80662c09acc5852d7f7ab474daa1e9013f9f99b3bfd07679e637e51de1c133ea2818b56afbc848fa2f17aec09aeff5047e7aae7009a97db94d7738357eb0
7
- data.tar.gz: ce555ff8f6e147df0e8280e4167ffc69ed21f09c1ff66196d858b9d527892f8b915f1e43e0fe3b1168a1672bb33ec2d66d56b66871e9e3c02da07578be58f1bb
6
+ metadata.gz: 7e7820cf3953f6fb8dbdf89d45859db5f0ce8a056fb4f4ce1eaef650b211bc9ec4e60b9afefc1972c3143a8b609169a9145496977417305ade6418cf0b4397cc
7
+ data.tar.gz: dfec23ac1702c8bccde8777d7a64e7d6da3cccb7112b1d63631fb717cb2894a979783c8eaf07ead2d9d91e5ab94ca1066fa0db26d06f0402e5131522fb27a8e8
@@ -1,3 +1,6 @@
1
+ require "active_record"
2
+ require "active_record/base"
3
+
1
4
  module Arproxy
2
5
  class Config
3
6
  attr_accessor :adapter, :logger
@@ -1,3 +1,3 @@
1
1
  module Arproxy
2
- VERSION = '0.2.4'
2
+ VERSION = '0.2.5'
3
3
  end
data/lib/arproxy.rb CHANGED
@@ -1,5 +1,4 @@
1
1
  require "logger"
2
- require "active_record"
3
2
  require "arproxy/base"
4
3
  require "arproxy/config"
5
4
  require "arproxy/proxy_chain"
@@ -29,9 +28,6 @@ module Arproxy
29
28
  raise Arproxy::Error, "Arproxy should be configured"
30
29
  end
31
30
 
32
- # for lazy loading
33
- ::ActiveRecord::Base
34
-
35
31
  @proxy_chain = ProxyChain.new @config
36
32
  @proxy_chain.enable!
37
33
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arproxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Issei Naruta