rom-changeset 1.0.2 → 5.0.0

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: 30ed7d02ec34d5ed40439c6caf8dd758f3080b384d4e9cc7fa7cee78dbe45a6b
4
- data.tar.gz: 48225c328364fc8e6198bac68330c74a6e0347c2f6a8e62c4438f782fdb99925
3
+ metadata.gz: fe72ef1c399ec181c1d2cb69465f1d78c67dc745b8aa60851e37be47652e0088
4
+ data.tar.gz: f97f8b6785590f8cb8590d5dfb7fd7e5ff2cfb3124b27a7605b0374873158470
5
5
  SHA512:
6
- metadata.gz: cf765d50103881d83fff151dfd82c6b4870db4045ba189caea5a4a0ea48f9e055fa24a7838be32615d4e06ae764f6f42168794ad0a33291d1414ac31c4d93e6e
7
- data.tar.gz: eaa9b7c5fb038b4bed268358db08d48abb1175e882c6121519b20aa37a04121426cce7a98e5a3e400fe492ef9f1c601d4143d677859546ab5fce4a71f147e22f
6
+ metadata.gz: 6e6e76d028bbd85047f8abf49de103967745653ecfab99a7fd2614073868d5e59cb2e1cb1f8d30fb05705e5febed27fc292d074295aa1c00cd2cea7d6ed1d453
7
+ data.tar.gz: ceab6394cc2feba66a26de9b845fa1ce1b6c16646c002888dd29a2bd25e95254861d516e6a0c186fe4ec120dc395031ae1c50a0c1bcfc98cd2fb286ea12d94dc
data/README.md CHANGED
@@ -1,10 +1,8 @@
1
1
  [gem]: https://rubygems.org/gems/rom-changeset
2
- [gemnasium]: https://gemnasium.com/rom-rb/rom-changeset
3
2
 
4
3
  # rom-changeset
5
4
 
6
5
  [![Gem Version](https://badge.fury.io/rb/rom-changeset.svg)][gem]
7
- [![Dependency Status](https://gemnasium.com/rom-rb/rom-changeset.svg)][gemnasium]
8
6
 
9
7
  Changesets for [rom-rb](https://github.com/rom-rb/rom) integrated with relations.
10
8
 
@@ -1,2 +1,4 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rom/changeset'
2
4
  require 'rom/plugins/relation/changeset'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'dry/core/class_attributes'
2
4
  require 'dry/core/cache'
3
5
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rom/initializer'
2
4
 
3
5
  module ROM
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module ROM
2
4
  class Changeset
3
5
  # Changeset specialization for create commands
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module ROM
2
4
  class Changeset
3
5
  # Changeset specialization for delete commands
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'transproc/all'
2
4
  require 'transproc/registry'
3
5
  require 'transproc/transformer'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rom/changeset/pipe'
2
4
 
3
5
  module ROM
@@ -216,7 +218,7 @@ module ROM
216
218
  # new_task.associate(user, :users)
217
219
  #
218
220
  # @param [#to_hash, Changeset] other Other changeset or hash-like object
219
- # @param [Symbol] assoc The association identifier from schema
221
+ # @param [Symbol] name The association identifier from schema
220
222
  #
221
223
  # @api public
222
224
  def associate(other, name = Associated.infer_assoc_name(other))
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module ROM
2
4
  class Changeset
3
5
  # Changeset specialization for update commands
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module ROM
2
4
  class Changeset
3
- VERSION = '1.0.2'.freeze
5
+ VERSION = '5.0.0'
4
6
  end
5
7
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rom/support/notifications'
2
4
 
3
5
  require 'rom/changeset/create'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rom-changeset
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 5.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Solnica
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-29 00:00:00.000000000 Z
11
+ date: 2019-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-core
@@ -36,14 +36,14 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '4.0'
39
+ version: '5.0'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '4.0'
46
+ version: '5.0'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: transproc
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -124,8 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
124
  - !ruby/object:Gem::Version
125
125
  version: '0'
126
126
  requirements: []
127
- rubyforge_project:
128
- rubygems_version: 2.7.4
127
+ rubygems_version: 3.0.3
129
128
  signing_key:
130
129
  specification_version: 4
131
130
  summary: Changeset abstraction for rom-rb