arproxy 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/arproxy/config.rb +3 -0
- data/lib/arproxy/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a7ff06158ab3a572d3a6e15820bbf444e81d34129a602610c78ef83a26c56e9
|
4
|
+
data.tar.gz: b7587a01156a5cec84a16b4f071da38e6d5c552904931692e48b474eaf2412a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 339a1e01af4262c8c88de50828f72318eb55c961e7f541a7893c3f5cadb511b13296647883a8780eb0ad6e0ab7947660fb5feb5a36e27e1cb9a89de9e3253112
|
7
|
+
data.tar.gz: 2555f86f77d2121586f003713bbe735da92972ab8e59b9fdd7095feef34480d7549cf23e29a5dc4077b95d51926be94ae8d2110117ae44bfb9e1217f53fc7355
|
data/lib/arproxy/config.rb
CHANGED
@@ -28,6 +28,9 @@ module Arproxy
|
|
28
28
|
case @adapter
|
29
29
|
when String, Symbol
|
30
30
|
camelized_adapter_name = @adapter.to_s.split("_").map(&:capitalize).join
|
31
|
+
if camelized_adapter_name == "Sqlite3"
|
32
|
+
camelized_adapter_name = "SQLite3"
|
33
|
+
end
|
31
34
|
eval "::ActiveRecord::ConnectionAdapters::#{camelized_adapter_name}Adapter"
|
32
35
|
when Class
|
33
36
|
@adapter
|
data/lib/arproxy/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arproxy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Issei Naruta
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|