prolog-dry_types 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: 32a26be2140bf1cd30cc480eef7d09b5f6590cd3
4
- data.tar.gz: 4de91889e5f4a1f7e7e5df20229c9891df22c95c
3
+ metadata.gz: c2132e1c82b54929e405d85519438878917dd735
4
+ data.tar.gz: 99588ff6dbb4a51e1985fdb348ee5a701b45967e
5
5
  SHA512:
6
- metadata.gz: 2dbea9cbcd95e51f3dbced05eb38e781e7302fc52f31bd9a2db9257302d0fbaf718e06df4ebd9edfb7f99018e99c0846d62fe3aa65b5edd1e6be787f95982476
7
- data.tar.gz: 56114555b98e78634e0b604cb69d19f5a7d6b8404e02ccf8e06c09e370d8bc55ddb34f8b0903dd8ad4ee61ecee604b6b1bf650dfd815dfc2facbf0aa18523a7c
6
+ metadata.gz: e0041718cb05d5e4d2264c2f7b03ed529b92c0cbc347697ece342837b2befe81a4fa1d516bb669ce320186959fa184bd56ccc44eb75b32f7d801679cfa0c73e9
7
+ data.tar.gz: e79e4643eaae3b17c6a9374944ac437d90c64430e0b0cb5847342a89c53b95f28ce5bad6c03742dcd11b044ac3f9c2615b7fa799c4a02df99ec44c684a28f753
@@ -1,15 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'dry-types'
4
-
5
- require 'prolog/dry_types/version'
6
- require 'prolog/dry_types/range'
7
-
8
- # `Types` as a top-level namespace module seems to be a `dry-types` convention.
9
- module Types
10
- include Dry::Types.module
11
- end
12
-
3
+ require_relative './dry_types/setup'
13
4
  require_relative './dry_types/error_array'
14
5
  require_relative './dry_types/integer_range'
15
6
  require_relative './dry_types/time_or_now'
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'dry-types'
4
+ require 'dry-struct'
5
+
6
+ require 'prolog/dry_types/version'
7
+ require 'prolog/dry_types/range'
8
+
9
+ # `Types` as a top-level namespace module seems to be a `dry-types` convention.
10
+ module Types
11
+ include Dry::Types.module
12
+ end
@@ -3,6 +3,6 @@
3
3
  module Prolog
4
4
  # Container for RubyGems-required constant definitions.
5
5
  module DryTypes
6
- VERSION = '0.2.0'
6
+ VERSION = '0.3.0'
7
7
  end
8
8
  end
@@ -28,18 +28,19 @@ Gem::Specification.new do |spec|
28
28
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
29
29
  spec.require_paths = ["lib"]
30
30
 
31
- spec.add_dependency "dry-types", "~> 0.8", ">= 0.8.1"
31
+ spec.add_dependency "dry-struct", "~> 0.1", ">= 0.1.0"
32
+ spec.add_dependency "dry-types", "~> 0.9", ">= 0.9.0"
32
33
  spec.add_dependency "uuid", "~> 2.3", ">= 2.3.8"
33
34
 
34
35
  spec.add_development_dependency "bundler", "~> 1.12"
35
- spec.add_development_dependency "rake", "~> 11.2", ">= 11.2.2"
36
+ spec.add_development_dependency "rake", "~> 11.3", ">= 11.3.0"
36
37
  spec.add_development_dependency "minitest", "~> 5.0"
37
38
 
38
39
  spec.add_development_dependency "minitest-matchers", "~> 1.4", ">= 1.4.1"
39
40
  spec.add_development_dependency "minitest-reporters", "~> 1.1", ">= 1.1.11"
40
41
  spec.add_development_dependency "minitest-tagz", "~> 1.5", ">= 1.5.1"
41
42
 
42
- spec.add_development_dependency "flay", "~> 2.8", ">= 2.8.0"
43
+ spec.add_development_dependency "flay", "~> 2.8", ">= 2.8.1"
43
44
  spec.add_development_dependency "flog", "~> 4.4", ">= 4.4.0"
44
45
  spec.add_development_dependency "reek", "~> 4.2", ">= 4.2.2"
45
46
  spec.add_development_dependency "rubocop", "~> 0.42", ">= 0.42.0"
metadata CHANGED
@@ -1,35 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prolog-dry_types
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
  - Jeff Dickey
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-08-20 00:00:00.000000000 Z
11
+ date: 2016-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: dry-struct
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.1'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 0.1.0
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '0.1'
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 0.1.0
13
33
  - !ruby/object:Gem::Dependency
14
34
  name: dry-types
15
35
  requirement: !ruby/object:Gem::Requirement
16
36
  requirements:
17
37
  - - "~>"
18
38
  - !ruby/object:Gem::Version
19
- version: '0.8'
39
+ version: '0.9'
20
40
  - - ">="
21
41
  - !ruby/object:Gem::Version
22
- version: 0.8.1
42
+ version: 0.9.0
23
43
  type: :runtime
24
44
  prerelease: false
25
45
  version_requirements: !ruby/object:Gem::Requirement
26
46
  requirements:
27
47
  - - "~>"
28
48
  - !ruby/object:Gem::Version
29
- version: '0.8'
49
+ version: '0.9'
30
50
  - - ">="
31
51
  - !ruby/object:Gem::Version
32
- version: 0.8.1
52
+ version: 0.9.0
33
53
  - !ruby/object:Gem::Dependency
34
54
  name: uuid
35
55
  requirement: !ruby/object:Gem::Requirement
@@ -70,20 +90,20 @@ dependencies:
70
90
  requirements:
71
91
  - - "~>"
72
92
  - !ruby/object:Gem::Version
73
- version: '11.2'
93
+ version: '11.3'
74
94
  - - ">="
75
95
  - !ruby/object:Gem::Version
76
- version: 11.2.2
96
+ version: 11.3.0
77
97
  type: :development
78
98
  prerelease: false
79
99
  version_requirements: !ruby/object:Gem::Requirement
80
100
  requirements:
81
101
  - - "~>"
82
102
  - !ruby/object:Gem::Version
83
- version: '11.2'
103
+ version: '11.3'
84
104
  - - ">="
85
105
  - !ruby/object:Gem::Version
86
- version: 11.2.2
106
+ version: 11.3.0
87
107
  - !ruby/object:Gem::Dependency
88
108
  name: minitest
89
109
  requirement: !ruby/object:Gem::Requirement
@@ -167,7 +187,7 @@ dependencies:
167
187
  version: '2.8'
168
188
  - - ">="
169
189
  - !ruby/object:Gem::Version
170
- version: 2.8.0
190
+ version: 2.8.1
171
191
  type: :development
172
192
  prerelease: false
173
193
  version_requirements: !ruby/object:Gem::Requirement
@@ -177,7 +197,7 @@ dependencies:
177
197
  version: '2.8'
178
198
  - - ">="
179
199
  - !ruby/object:Gem::Version
180
- version: 2.8.0
200
+ version: 2.8.1
181
201
  - !ruby/object:Gem::Dependency
182
202
  name: flog
183
203
  requirement: !ruby/object:Gem::Requirement
@@ -320,6 +340,7 @@ files:
320
340
  - lib/prolog/dry_types/error_array.rb
321
341
  - lib/prolog/dry_types/integer_range.rb
322
342
  - lib/prolog/dry_types/range.rb
343
+ - lib/prolog/dry_types/setup.rb
323
344
  - lib/prolog/dry_types/time_or_now.rb
324
345
  - lib/prolog/dry_types/uuid.rb
325
346
  - lib/prolog/dry_types/version.rb