rom-sql 2.0.0.rc1 → 2.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
  SHA1:
3
- metadata.gz: 6220c48972476b2eb922c0520c59eab29768cd3d
4
- data.tar.gz: 4cc6885f74372fd464ffe85600350c6c64ba29ba
3
+ metadata.gz: 33d9d062a6396ba9cf578abc3181d5d7aadfc2b9
4
+ data.tar.gz: 5940f64e388cd42a0dbe28a0f6d3517622154fcc
5
5
  SHA512:
6
- metadata.gz: 44814022262e8f88ae6e7def5049f3e18790c71bab8fcd5f0c1bc1a06934ebac57715f511ac0929ad276055d185ab229e29e3312c8c38f4269d2eaf9273d22d7
7
- data.tar.gz: 4e37a732f6291c6e37349262dccda67842441c3c34ead4076c9ca8a6ca8ed7d54d3c5bc6da92e76793bf2ad4714102a9406a6b6f2314d93860e872d565031618
6
+ metadata.gz: 22a3d5592b184cb7de84439a7312c0ed97cee07f85e02a876c0c0d6e97758c9f4da65e3ba070183aa2e06640fac4dcf3ea9fdcf5b3989199d37441bbdf04385f
7
+ data.tar.gz: d300f4387513f789f3840be6bd561657419ff572de6ceb1decf3a470207448acf36d3d039c2284658c8e11c1445bd0412c6a572e7788f8883d32cb574a868cdd
@@ -1,4 +1,4 @@
1
- ## v2.0.0 to-be-released
1
+ ## v2.0.0 2017-10-18
2
2
 
3
3
  ### Added
4
4
 
@@ -13,7 +13,8 @@ module ROM
13
13
  #
14
14
  # @api public
15
15
  def [](wrapped)
16
- type = wrapped.optional? ? wrapped.right : wrapped
16
+ type = wrapped.default? ? wrapped.type : wrapped
17
+ type = type.optional? ? type.right : type
17
18
  @types[type.meta[:database]][type.meta[:db_type]] || EMPTY_HASH
18
19
  end
19
20
 
@@ -1,5 +1,5 @@
1
1
  module ROM
2
2
  module SQL
3
- VERSION = '2.0.0.rc1'.freeze
3
+ VERSION = '2.0.0'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rom-sql
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.rc1
4
+ version: 2.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: 2017-09-15 00:00:00.000000000 Z
11
+ date: 2017-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sequel
@@ -45,6 +45,9 @@ dependencies:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0.12'
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: 0.12.1
48
51
  type: :runtime
49
52
  prerelease: false
50
53
  version_requirements: !ruby/object:Gem::Requirement
@@ -52,6 +55,9 @@ dependencies:
52
55
  - - "~>"
53
56
  - !ruby/object:Gem::Version
54
57
  version: '0.12'
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: 0.12.1
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: dry-core
57
63
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +78,14 @@ dependencies:
72
78
  requirements:
73
79
  - - "~>"
74
80
  - !ruby/object:Gem::Version
75
- version: 4.0.0.rc
81
+ version: '4.0'
76
82
  type: :runtime
77
83
  prerelease: false
78
84
  version_requirements: !ruby/object:Gem::Requirement
79
85
  requirements:
80
86
  - - "~>"
81
87
  - !ruby/object:Gem::Version
82
- version: 4.0.0.rc
88
+ version: '4.0'
83
89
  - !ruby/object:Gem::Dependency
84
90
  name: bundler
85
91
  requirement: !ruby/object:Gem::Requirement
@@ -225,9 +231,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
225
231
  version: 2.3.0
226
232
  required_rubygems_version: !ruby/object:Gem::Requirement
227
233
  requirements:
228
- - - ">"
234
+ - - ">="
229
235
  - !ruby/object:Gem::Version
230
- version: 1.3.1
236
+ version: '0'
231
237
  requirements: []
232
238
  rubyforge_project:
233
239
  rubygems_version: 2.6.11