rom-repository 2.0.0 → 2.0.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
  SHA1:
3
- metadata.gz: 6ed6baea11b6f63e869d64a080d3a90c24b4ca0f
4
- data.tar.gz: 8b3072957d1d9aabd6a3f30c03154c9b1eb0b020
3
+ metadata.gz: 269f25b8dc7f6a80bd90455bc6370e527d0226a1
4
+ data.tar.gz: c4b61c021bdef84f3f3de9025b1dd73e94e32d3c
5
5
  SHA512:
6
- metadata.gz: 713b0dc2b9217ca1dc51a166779fa4dfd976ac47160fcabf024fb43370eb9dee099919da2e2c1391ff6d46d94898c3a23fdf57a406c3025e50b586488c0d7fa2
7
- data.tar.gz: e7bf38f79919a740677df8841168d3eb77d4ee1c2068c33660c7bbeb21cd1973b383cf3a695c2ecf8120de89290e92bc95fdc7f20a64ca277cd0c5e86dfeac25
6
+ metadata.gz: 86e6430e2f474ba5f9e94bc82482daee62b87096d8c8a9b1aeae6ce4456589cbcf6691f95816cb8ebf275c012c9489ad3f213805f8647e9df5644ee5b14f5444
7
+ data.tar.gz: 0ac0ffa90d7f54accf11d57c47d8461b963dd160071dd79151b7c6e9e7529f346609926ba32812a28343e2f26aa971992bdbcf4368ece34a1b5024b9df6774fe
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # v2.0.1 2017-11-02
2
+
3
+ ## Fixed
4
+
5
+ * YARD docs for `Repository::Root` no longer mention `Repository#changeset` as it was removed in 4.0.0 (solnic)
6
+ * Correct runtime dependencies were added (solnic)
7
+
1
8
  # v2.0.0 2017-10-18
2
9
 
3
10
  ### Changed
@@ -22,8 +22,7 @@ module ROM
22
22
  #
23
23
  # user = user_repo.create(name: "Jane")
24
24
  #
25
- # changeset = user_repo.changeset(user.id, name: "Jane Doe")
26
- # user_repo.update(user.id, changeset)
25
+ # user_repo.update(user.id, name: "Jane Doe")
27
26
  #
28
27
  # user_repo.delete(user.id)
29
28
  #
@@ -83,7 +82,7 @@ module ROM
83
82
  # @param [Hash] Association options for nested aggregates
84
83
  #
85
84
  # @overload aggregate(options)
86
- # Composes an aggregate by delegating to combine_children method.
85
+ # Composes an aggregate by delegating to combine method.
87
86
  #
88
87
  # @example
89
88
  # user_repo.aggregate(tasks: :labels)
@@ -1,5 +1,5 @@
1
1
  module ROM
2
2
  class Repository
3
- VERSION = '2.0.0'.freeze
3
+ VERSION = '2.0.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,31 +1,31 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rom-repository
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Solnica
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-18 00:00:00.000000000 Z
11
+ date: 2017-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: rom-mapper
14
+ name: dry-initializer
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.0'
19
+ version: '2.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.0'
26
+ version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: dry-struct
28
+ name: dry-core
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rom-core
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '4.0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '4.0'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: rake
43
57
  requirement: !ruby/object:Gem::Requirement