rom-mapper 1.0.0 → 1.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: 0bab3fbf356319a3e3e057ec3aa75b96597a47b7
4
- data.tar.gz: 2ba353444deeb65f93131c6718b9b365116907c1
3
+ metadata.gz: 5edeeae7ea863cc980a169ade44c9fae877a460c
4
+ data.tar.gz: 8abb8101a8208f952c697e6e9709640d88b4fb8e
5
5
  SHA512:
6
- metadata.gz: 73f7aea39ddd006b93e01f50c0e41c2d82b2f87966b0e22420efd25701af2af3522ebee038fc197aba178a2e8aaac38d9eba6375a0b22f8e66f34b3b2b03bd67
7
- data.tar.gz: 2ca42e64a64a8408a39689e4ce71e8eb64ccd9fd8969698b6bce877598aa3eb335d24ead7ea34821506a7656f3236d7f4c50a93ac32b29f081b46a68427ce05b
6
+ metadata.gz: 0dc48c676e67eb105893f25a81be3a62b64e3ceb4e76725e8a0c532ea5791f1e5778cdfb9c60263a315aa74eb080a85b318131432c15d60467efec834162528a
7
+ data.tar.gz: 2c4c442538ea5af534a035a99c1be8ad4e8f0fd7941a1b80d99b54df121d735a10b06b262358ae4c0c8d87f1ec0d3fbe1bada924c0bd1200aa05e69f2ea2994a
@@ -1,3 +1,11 @@
1
+ # 1.0.1 2017-10-22
2
+
3
+ ### Added
4
+
5
+ * Support for inferred enum schema attributes (solnic)
6
+
7
+ [Compare v4.0.0..v4.0.1](https://github.com/rom-rb/rom-mapper/compare/v4.0.0...v4.0.1)
8
+
1
9
  # 1.0.0 2017-10-18
2
10
 
3
11
  ### Added
@@ -1,5 +1,5 @@
1
1
  module ROM
2
2
  class Mapper
3
- VERSION = '1.0.0'.freeze
3
+ VERSION = '1.0.1'.freeze
4
4
  end
5
5
  end
@@ -89,6 +89,12 @@ module ROM
89
89
  visit(definition)
90
90
  end
91
91
 
92
+ # @api private
93
+ def visit_enum(node)
94
+ type_node, * = node
95
+ visit(type_node)
96
+ end
97
+
92
98
  # @api private
93
99
  def build_class(name, parent, ns, &block)
94
100
  Dry::Core::ClassBuilder.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rom-mapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.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-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-equalizer