active_record-write 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_record-write.rb +0 -1
- data/lib/active_record/write/version.rb +1 -1
- metadata +1 -2
- data/lib/active_record/base.rb +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad1d111426b59a67395f7a9e76c9f4d4975d7555
|
4
|
+
data.tar.gz: 6937803329eedd16c1f1050dee1909844c659080
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a356d06d8e8b6c57958b7bfb1ca1aea1488bd9634c865481f1a1cd10da9447db9fe9c9d310d928020a00486df599a88ec4007bdd7fc767e8b793dd454d7b165
|
7
|
+
data.tar.gz: 5ee90dbfe767b52593d55f20c38e46bf0af7cca1dd46d098dfdcbdf3c937214cb5d0f4232a4ec9f9b80edc66b8967afe52c66362abd28b0a25f538de8f6fc06c
|
data/lib/active_record-write.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_record-write
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kurtis Rainbolt-Greene
|
@@ -116,7 +116,6 @@ extensions: []
|
|
116
116
|
extra_rdoc_files: []
|
117
117
|
files:
|
118
118
|
- lib/active_record-write.rb
|
119
|
-
- lib/active_record/base.rb
|
120
119
|
- lib/active_record/write.rb
|
121
120
|
- lib/active_record/write/version.rb
|
122
121
|
- spec/lib/active_record/write/version_spec.rb
|
data/lib/active_record/base.rb
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
module ActiveRecord
|
2
|
-
class Base
|
3
|
-
def self.write(columns:, query: self, target: self.table_name, size: Write::DEFAULT_SIZE, serializer: Write::DEFAULT_SERIALIZER, &iteration)
|
4
|
-
ActiveRecord::Write.new(columns: columns, query: query, target: target, size: size, serializer: serializer, &iteration).pool
|
5
|
-
end
|
6
|
-
end
|
7
|
-
end
|