rom-http 0.2.0 → 0.3.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
  SHA1:
3
- metadata.gz: 7a1493971c487c003c8acc018a320c4ba9a2f87e
4
- data.tar.gz: 83738eb0cb11b73634e58098bcfe258e6b53e53f
3
+ metadata.gz: 07bc0cfdf28e02aa27e56ec8b7bc50f6395f53be
4
+ data.tar.gz: 51c4ce931f8c7534a966fc381cee37eb2ee244c6
5
5
  SHA512:
6
- metadata.gz: 3ab58a65e391975ae6d4ce823477e7b2599ef25f85e98248148e28dbda4caf3e55509cb8e2b4d7b323e9f7f741690fdc0f3232c11f4b637e4d863f26ae2d2cbb
7
- data.tar.gz: 4c9381547bbaa1c00ae7fe8c7f81c9fa2cb4f2fb252cbe2740959746ec0f3af8278c71647b89e4609c447a4df557a0979b04c6cfd88f2c2a12ca1da2a7944632
6
+ metadata.gz: d6e9531004d584c222ace31f71a01f2fb990a3cd83718d297b92544c466dc6a33d5d4240f738c38cda483d242033767e3bbe49c2e3f5d564b93d77c7d03f96b5
7
+ data.tar.gz: d61783f266984c46c252ae456bc5fc16a0ee246e07d8147409523eeabf8c95e660026050516088ac67473e747e252f1cdfb111fb93a46e5bd311ee368c36f894
data/README.md CHANGED
@@ -43,7 +43,7 @@ class Users < ROM::Relation[:http]
43
43
  dataset :users
44
44
 
45
45
  # You can also define a schema block
46
- # which will use dry-data's Dry::Data['hash']
46
+ # which will use dry-types' Dry::Types['hash']
47
47
  # coercion to pre-process your data
48
48
  schema do
49
49
  attribute 'id', 'strict.int'
@@ -1,5 +1,5 @@
1
1
  module ROM
2
2
  module HTTP
3
- VERSION = '0.2.0'.freeze
3
+ VERSION = '0.3.0'.freeze
4
4
  end
5
5
  end
@@ -1,4 +1,4 @@
1
- require 'dry/data'
1
+ require 'dry/types'
2
2
 
3
3
  module ROM
4
4
  module Plugins
@@ -23,7 +23,7 @@ module ROM
23
23
  new.tap { |schema| schema.instance_eval(&block) }
24
24
  end
25
25
 
26
- def initialize(schema = {}, coercer = Dry::Data['hash'])
26
+ def initialize(schema = {}, coercer = Dry::Types['hash'])
27
27
  @schema = schema
28
28
  @coercer = coercer
29
29
  end
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ['lib']
20
20
 
21
21
  spec.add_runtime_dependency 'thread_safe'
22
- spec.add_runtime_dependency 'dry-data'
22
+ spec.add_runtime_dependency 'dry-types'
23
23
  spec.add_runtime_dependency 'rom', '~> 1.0'
24
24
  spec.add_runtime_dependency 'dry-equalizer'
25
25
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rom-http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Solnica
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-01-30 00:00:00.000000000 Z
13
+ date: 2016-03-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: thread_safe
@@ -27,7 +27,7 @@ dependencies:
27
27
  - !ruby/object:Gem::Version
28
28
  version: '0'
29
29
  - !ruby/object:Gem::Dependency
30
- name: dry-data
30
+ name: dry-types
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
33
  - - ">="
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
180
180
  version: '0'
181
181
  requirements: []
182
182
  rubyforge_project:
183
- rubygems_version: 2.4.8
183
+ rubygems_version: 2.4.5.1
184
184
  signing_key:
185
185
  specification_version: 4
186
186
  summary: HTTP support for ROM