activerecord-virgodb-adapter 0.1.0.dev.1424cbd → 0.1.1
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
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2506b4fecd647493533cf94951776ebbc4acef508a1bbf1a846001228cfc4bb2
|
|
4
|
+
data.tar.gz: 546b407b74267d0fbb6792fcfa26041da4f078f4c241e96919a7b89c3a4525f2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9f8c46262072bd70640666b45f9254902100f6bbde82af984655f5720131227119c768eb1d24bfc8fc7b0435d067e6438ab4b89eb835d5bf7b6664978218bf50
|
|
7
|
+
data.tar.gz: 12a8d38269b32b6af45e9dd637a47e1b9c74daa9419dea208a92c9f089bfa95b80630039c670399a9d515d03ca2470d01e7ac07515c0e21950f269025114aac2
|
data/lib/{active_record/connection_adapters/virgodb_adapter.rb → activerecord-virgodb-adapter.rb}
RENAMED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
+
# Lives at lib/activerecord-virgodb-adapter.rb (matching the gem name
|
|
4
|
+
# exactly), not the more conventional-looking
|
|
5
|
+
# lib/active_record/connection_adapters/virgodb_adapter.rb, so Bundler's
|
|
6
|
+
# default require (`require gem_name`, no `require:` option needed in the
|
|
7
|
+
# Gemfile) actually finds it. Rails' own ActiveRecord::ConnectionAdapters
|
|
8
|
+
# .resolve treats the path passed to .register below as an opaque string,
|
|
9
|
+
# not a real convention -- it's only ever exercised as a fallback if this
|
|
10
|
+
# file somehow loads without Bundler's default require path having run
|
|
11
|
+
# first, so it just points at wherever this file actually lives.
|
|
3
12
|
require "active_record/connection_adapters/sqlite3_adapter"
|
|
4
13
|
require "json"
|
|
5
14
|
|
|
@@ -201,7 +210,7 @@ end
|
|
|
201
210
|
ActiveRecord::ConnectionAdapters.register(
|
|
202
211
|
"virgodb",
|
|
203
212
|
"ActiveRecord::ConnectionAdapters::VirgodbAdapter",
|
|
204
|
-
"
|
|
213
|
+
"activerecord-virgodb-adapter"
|
|
205
214
|
)
|
|
206
215
|
|
|
207
216
|
module ActiveRecord
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activerecord-virgodb-adapter
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- virgodb
|
|
@@ -47,7 +47,7 @@ extensions: []
|
|
|
47
47
|
extra_rdoc_files: []
|
|
48
48
|
files:
|
|
49
49
|
- LICENSE
|
|
50
|
-
- lib/
|
|
50
|
+
- lib/activerecord-virgodb-adapter.rb
|
|
51
51
|
licenses:
|
|
52
52
|
- Nonstandard
|
|
53
53
|
metadata: {}
|