rom 3.2.1 → 3.2.2

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: 46b1295151bfce6eb65ba6ddc43c38ec02891a6b
4
- data.tar.gz: 00b551e3af83e06ca2b47e2cc341713f9c21412f
3
+ metadata.gz: dcffdcd66a5b0b8127eb767564652778c8061ca6
4
+ data.tar.gz: 27f25c3fae64b26b1ab8d6643a5a7f90cb4fb633
5
5
  SHA512:
6
- metadata.gz: 861f80190d88eb5946cc620557bae2ffff484abc46b7177f20c5e6a4dbc9c34e7e223db27705f55360587422f51776904a439e9610703b6ab57c60f45b09885c
7
- data.tar.gz: 731b82c742dedeb3c05f71b88703c6327d057bf55f8e6a2539738c5790a70ea695b269b93b645c1785efb92acf22e2bd9788f55a428151d0104ddc648001af24
6
+ metadata.gz: 83984e098b54e2e544b231be28aaf51157cae035c3f53f34d7509c42eb3e994796c47599feebf6a28cafcf284c64c1c6c61eeef046db7cc0216516f5d71ecbf6
7
+ data.tar.gz: 0aba220bf1b4667ff29d801dca1afd457e0fca1456d60353625ca3d72aa8903186d415e2de8c412ccbb69c5993f153930d4b85acde15f096e89b0ccc85d11185
@@ -7,18 +7,14 @@ script: "bundle exec rake ci"
7
7
  after_success:
8
8
  - '[ -d coverage ] && bundle exec codeclimate-test-reporter'
9
9
  rvm:
10
- - 2.2.6
11
- - 2.3.3
10
+ - 2.2.7
11
+ - 2.3.4
12
12
  - 2.4.1
13
- - rbx-3
14
13
  - jruby
15
14
  env:
16
15
  global:
17
16
  - JRUBY_OPTS='--dev -J-Xmx1024M'
18
17
  - COVERAGE='true'
19
- matrix:
20
- allow_failures:
21
- - rvm: rbx-3
22
18
  notifications:
23
19
  webhooks:
24
20
  urls:
@@ -1,3 +1,5 @@
1
+ require 'dry/core/class_attributes'
2
+
1
3
  require 'rom/initializer'
2
4
  require 'rom/relation/class_interface'
3
5
 
@@ -40,6 +42,13 @@ module ROM
40
42
  extend Initializer
41
43
  extend ClassInterface
42
44
 
45
+ extend Dry::Core::ClassAttributes
46
+ defines :schema_class, :schema_inferrer, :schema_dsl
47
+
48
+ schema_dsl Schema::DSL
49
+ schema_class Schema
50
+ schema_inferrer Schema::DEFAULT_INFERRER
51
+
43
52
  include Dry::Equalizer(:dataset)
44
53
  include Materializable
45
54
  include Pipeline
@@ -2,7 +2,6 @@ require 'set'
2
2
 
3
3
  require 'dry/core/inflector'
4
4
  require 'dry/core/constants'
5
- require 'dry/core/class_attributes'
6
5
 
7
6
  require 'rom/auto_curry'
8
7
  require 'rom/relation/curried'
@@ -30,12 +29,7 @@ module ROM
30
29
  "relation class +#{self}+ is missing the adapter identifier"
31
30
  end
32
31
 
33
- klass.extend Dry::Core::ClassAttributes
34
- klass.defines :adapter, :schema_class, :schema_inferrer, :schema_dsl
35
-
36
- klass.schema_dsl Schema::DSL
37
- klass.schema_class Schema
38
- klass.schema_inferrer Schema::DEFAULT_INFERRER
32
+ klass.defines :adapter
39
33
 
40
34
  # Extend with functionality required by adapters *only* if this is a direct
41
35
  # descendant of an adapter-specific relation subclass
@@ -1,3 +1,3 @@
1
1
  module ROM
2
- VERSION = '3.2.1'.freeze
2
+ VERSION = '3.2.2'.freeze
3
3
  end
@@ -1,5 +1,3 @@
1
- # encoding: utf-8
2
-
3
1
  require File.expand_path('../lib/rom/version', __FILE__)
4
2
 
5
3
  Gem::Specification.new do |gem|
@@ -18,9 +16,9 @@ Gem::Specification.new do |gem|
18
16
  gem.add_runtime_dependency 'concurrent-ruby', '~> 1.0'
19
17
  gem.add_runtime_dependency 'dry-equalizer', '~> 0.2'
20
18
  gem.add_runtime_dependency 'dry-types', '~> 0.9', '>= 0.9.4'
21
- gem.add_runtime_dependency 'dry-core', '~> 0.2', '>= 0.2.3'
19
+ gem.add_runtime_dependency 'dry-core', '~> 0.3'
22
20
  gem.add_runtime_dependency 'dry-initializer', '~> 1.3'
23
- gem.add_runtime_dependency 'rom-mapper', '~> 0.5'
21
+ gem.add_runtime_dependency 'rom-mapper', '~> 0.5', '>= 0.5.1'
24
22
 
25
23
  gem.add_development_dependency 'rake', '~> 10.3'
26
24
  gem.add_development_dependency 'rspec', '~> 3.5'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rom
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.1
4
+ version: 3.2.2
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-05-02 00:00:00.000000000 Z
11
+ date: 2017-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -64,20 +64,14 @@ dependencies:
64
64
  requirements:
65
65
  - - "~>"
66
66
  - !ruby/object:Gem::Version
67
- version: '0.2'
68
- - - ">="
69
- - !ruby/object:Gem::Version
70
- version: 0.2.3
67
+ version: '0.3'
71
68
  type: :runtime
72
69
  prerelease: false
73
70
  version_requirements: !ruby/object:Gem::Requirement
74
71
  requirements:
75
72
  - - "~>"
76
73
  - !ruby/object:Gem::Version
77
- version: '0.2'
78
- - - ">="
79
- - !ruby/object:Gem::Version
80
- version: 0.2.3
74
+ version: '0.3'
81
75
  - !ruby/object:Gem::Dependency
82
76
  name: dry-initializer
83
77
  requirement: !ruby/object:Gem::Requirement
@@ -99,6 +93,9 @@ dependencies:
99
93
  - - "~>"
100
94
  - !ruby/object:Gem::Version
101
95
  version: '0.5'
96
+ - - ">="
97
+ - !ruby/object:Gem::Version
98
+ version: 0.5.1
102
99
  type: :runtime
103
100
  prerelease: false
104
101
  version_requirements: !ruby/object:Gem::Requirement
@@ -106,6 +103,9 @@ dependencies:
106
103
  - - "~>"
107
104
  - !ruby/object:Gem::Version
108
105
  version: '0.5'
106
+ - - ">="
107
+ - !ruby/object:Gem::Version
108
+ version: 0.5.1
109
109
  - !ruby/object:Gem::Dependency
110
110
  name: rake
111
111
  requirement: !ruby/object:Gem::Requirement