salestation 4.0.2 → 4.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/salestation/app.rb +6 -1
- data/lib/salestation/web.rb +6 -1
- data/salestation.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a16ccdf085040d1bb82a78c416621b0d5b6fcf691a3b568b80cc6b54a4d9e61e
|
4
|
+
data.tar.gz: b53ae89dd854e7694e90d9b090bb4a96f082b7c8c1f42a3f0be57781260b0698
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 468261b62a6493fabdd47cf3737dce28f306c1ccc6eaa84d76267cb62625bcf7a98e934d099977d2c2dc92273e512cf0d95249834b29ec0e18826fdcd20e9677
|
7
|
+
data.tar.gz: d8cb168a96c15f6448febb8a24f43be4194b9bdffc83090a102a0fbd28cdc6f192ad3867c18d860f92cf972bfc3ba78b8efe1231d0196667ad3ad8daf9c5b702
|
data/lib/salestation/app.rb
CHANGED
@@ -7,7 +7,12 @@ require 'dry-types'
|
|
7
7
|
module Salestation
|
8
8
|
class App
|
9
9
|
module Types
|
10
|
-
|
10
|
+
dry_types_version = Gem.loaded_specs['dry-types'].version
|
11
|
+
if dry_types_version < Gem::Version.new('0.15.0')
|
12
|
+
include Dry::Types.module
|
13
|
+
else
|
14
|
+
include Dry::Types()
|
15
|
+
end
|
11
16
|
end
|
12
17
|
|
13
18
|
def initialize(env:, hooks: {})
|
data/lib/salestation/web.rb
CHANGED
@@ -8,7 +8,12 @@ require 'json'
|
|
8
8
|
module Salestation
|
9
9
|
class Web < Module
|
10
10
|
module Types
|
11
|
-
|
11
|
+
dry_types_version = Gem.loaded_specs['dry-types'].version
|
12
|
+
if dry_types_version < Gem::Version.new('0.15.0')
|
13
|
+
include Dry::Types.module
|
14
|
+
else
|
15
|
+
include Dry::Types()
|
16
|
+
end
|
12
17
|
end
|
13
18
|
|
14
19
|
def initialize(errors: {})
|
data/salestation.gemspec
CHANGED