disposable 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +3 -3
- data/CHANGES.md +4 -0
- data/Gemfile +1 -1
- data/lib/disposable/twin.rb +3 -2
- data/lib/disposable/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e381c394b04f502f9af8ba27192e898d4e1f1214e85e441b50182f5f353e1137
|
4
|
+
data.tar.gz: 4a6b6a0e270c0229f5bed96d51d2b4a41bd1a66bd2b80293a61e1cab74803d52
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfeeff838ca34e37a5741cb7ac7829a7be52248b8b5a8fe16c7d7dbef32e13dffe7d543e668bc1cfb674daeeb75d7d144bab1b5caf15d892b4a427b1dedf7e44
|
7
|
+
data.tar.gz: 154949ab53a0508659db1d47acc9b9f797870724d554c2935fb92764e6156308ab00c5d5ec33629b8f3c37204c5fda4cb2bae879b5f87cd3b6d879889bf39ecb
|
data/.github/workflows/ci.yml
CHANGED
data/CHANGES.md
CHANGED
data/Gemfile
CHANGED
data/lib/disposable/twin.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# require "uber/inheritable_attr"
|
1
2
|
require "declarative/schema"
|
2
3
|
require "representable/decorator"
|
3
4
|
|
@@ -52,8 +53,8 @@ module Disposable
|
|
52
53
|
end
|
53
54
|
end
|
54
55
|
|
55
|
-
def collection(name,
|
56
|
-
property(name,
|
56
|
+
def collection(name, options={}, &block)
|
57
|
+
property(name, options.merge(collection: true), &block)
|
57
58
|
end
|
58
59
|
|
59
60
|
require "disposable/twin/property/unnest"
|
data/lib/disposable/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: disposable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Sutterer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: declarative
|
@@ -218,7 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
218
218
|
- !ruby/object:Gem::Version
|
219
219
|
version: '0'
|
220
220
|
requirements: []
|
221
|
-
rubygems_version: 3.
|
221
|
+
rubygems_version: 3.0.8
|
222
222
|
signing_key:
|
223
223
|
specification_version: 4
|
224
224
|
summary: Decorators on top of your ORM layer with change tracking, collection semantics
|