activerecord-nulldb-adapter 0.5.0 → 0.5.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: e780de7d78de64745ed62212e2adeaef5459888c79ce93bc4329661fa28004c6
|
|
4
|
+
data.tar.gz: fdbb0918d50b97d6c1fdb8a14463812bff0521d3e1bfa35356883844ec1673bb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 18fd320b4f78637b7dae988fcf811ee5e68806903fd57b5acc90a8016c8d49a3272e756428375431a530d3caeea6cb8bc120fdcdd7149b6e5c743c47db667ebd
|
|
7
|
+
data.tar.gz: 9ea3e21644ba7fb2d6fb14a3a07d0b6e840b9bc181fea79bf3aff3c5c0d51a0b721f903c0060d490ca9412ee14a0ef8a6dce1a4ecd0575a96feb94a50bda28c1
|
data/CHANGES.md
CHANGED
|
@@ -8,10 +8,10 @@ Gem::Specification.new do |s|
|
|
|
8
8
|
s.version = NullDB::VERSION
|
|
9
9
|
|
|
10
10
|
s.require_paths = ["lib"]
|
|
11
|
-
s.authors = ["Avdi Grimm", "Myron Marston"]
|
|
11
|
+
s.authors = ["Avdi Grimm", "Myron Marston", "Danilo Cabello"]
|
|
12
12
|
s.summary = "The Null Object pattern as applied to ActiveRecord database adapters"
|
|
13
13
|
s.description = "A database backend that translates database interactions into no-ops. Using NullDB enables you to test your model business logic - including after_save hooks - without ever touching a real database."
|
|
14
|
-
s.email = "
|
|
14
|
+
s.email = "cabello@users.noreply.github.com"
|
|
15
15
|
s.extra_rdoc_files = [
|
|
16
16
|
"LICENSE",
|
|
17
17
|
"README.rdoc"
|
|
@@ -2,6 +2,7 @@ class ActiveRecord::ConnectionAdapters::NullDBAdapter
|
|
|
2
2
|
|
|
3
3
|
class TableDefinition < ActiveRecord::ConnectionAdapters::TableDefinition
|
|
4
4
|
attr_accessor :name
|
|
5
|
+
alias_method :uuid, :string
|
|
5
6
|
alias_method :citext, :text
|
|
6
7
|
alias_method :interval, :text
|
|
7
8
|
alias_method :geometry, :text
|
data/lib/nulldb/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activerecord-nulldb-adapter
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Avdi Grimm
|
|
8
8
|
- Myron Marston
|
|
9
|
+
- Danilo Cabello
|
|
9
10
|
autorequire:
|
|
10
11
|
bindir: bin
|
|
11
12
|
cert_chain: []
|
|
12
|
-
date: 2020-
|
|
13
|
+
date: 2020-11-25 00:00:00.000000000 Z
|
|
13
14
|
dependencies:
|
|
14
15
|
- !ruby/object:Gem::Dependency
|
|
15
16
|
name: activerecord
|
|
@@ -112,7 +113,7 @@ dependencies:
|
|
|
112
113
|
description: A database backend that translates database interactions into no-ops.
|
|
113
114
|
Using NullDB enables you to test your model business logic - including after_save
|
|
114
115
|
hooks - without ever touching a real database.
|
|
115
|
-
email:
|
|
116
|
+
email: cabello@users.noreply.github.com
|
|
116
117
|
executables: []
|
|
117
118
|
extensions: []
|
|
118
119
|
extra_rdoc_files:
|