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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed1ac63bf425a0d6b32c6657b05391b2855c60f17313dbb5f0474db7031797d9
4
- data.tar.gz: 768a3c634709bd4cdbab6fe6dc8c0a9203c9e98e41e66c923eba85eaf7f59c9f
3
+ metadata.gz: e381c394b04f502f9af8ba27192e898d4e1f1214e85e441b50182f5f353e1137
4
+ data.tar.gz: 4a6b6a0e270c0229f5bed96d51d2b4a41bd1a66bd2b80293a61e1cab74803d52
5
5
  SHA512:
6
- metadata.gz: 15c35ed92488b90304978ff44c029b4058eee7de078cb62cda44b7f25a076dc9b04bddef1d98a3b071fa7f16c2c7aaff2b3c1d49c24f1c4549bdf8c21c12c1c0
7
- data.tar.gz: 4d3818b186417407e00510ddc8704f9e5e79f50c922427f2e73ac2c82ffe24a4dcfd663e005bc9ea7acd288171000cacac78722c625c94190ec1f83e34958b90
6
+ metadata.gz: dfeeff838ca34e37a5741cb7ac7829a7be52248b8b5a8fe16c7d7dbef32e13dffe7d543e668bc1cfb674daeeb75d7d144bab1b5caf15d892b4a427b1dedf7e44
7
+ data.tar.gz: 154949ab53a0508659db1d47acc9b9f797870724d554c2935fb92764e6156308ab00c5d5ec33629b8f3c37204c5fda4cb2bae879b5f87cd3b6d879889bf39ecb
@@ -5,9 +5,9 @@ jobs:
5
5
  strategy:
6
6
  fail-fast: false
7
7
  matrix:
8
- ruby: [2.5, 2.6]
9
- active_record: [5.0, 5.2, 6.0]
10
- dry_types: [0.13, 0.14, 0.15, 1.0, 1.1, 1.2]
8
+ ruby: [2.6]
9
+ active_record: [5.2, 6.0]
10
+ dry_types: [1.0, 1.2]
11
11
 
12
12
  include:
13
13
  - ruby: 2.7
data/CHANGES.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.6.1
2
+
3
+ * Remove `**options` argument from `#property` as it's inconsistent with underlying gems.
4
+
1
5
  # 0.6.0
2
6
 
3
7
  * Remove `uber` gem.
data/Gemfile CHANGED
@@ -7,6 +7,6 @@ gem "minitest-line"
7
7
  gem gem_name, dependency
8
8
  end
9
9
 
10
- gem "sqlite3"#, ENV.fetch('ACTIVERECORD', '5.2').to_f >= 6 ? '~> 1.4' : '~> 1.3.0'
10
+ gem "sqlite3", ENV.fetch('ACTIVERECORD', '5.2').to_f >= 6 ? '~> 1.4' : '~> 1.3.0'
11
11
 
12
12
  # gem "declarative-builder"
@@ -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, **options, &block)
56
- property(name, **options.merge(collection: true), &block)
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"
@@ -1,3 +1,3 @@
1
1
  module Disposable
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
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.0
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-18 00:00:00.000000000 Z
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.2.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