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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 85ac2feb504421f1ab20912abbf6994765d3ad6b743360a4e47c67a5bb362774
4
- data.tar.gz: 3e6571aeb33d1c2edd94857a6de854e477f8e3a87a2abeac8d352634e01e3012
3
+ metadata.gz: a16ccdf085040d1bb82a78c416621b0d5b6fcf691a3b568b80cc6b54a4d9e61e
4
+ data.tar.gz: b53ae89dd854e7694e90d9b090bb4a96f082b7c8c1f42a3f0be57781260b0698
5
5
  SHA512:
6
- metadata.gz: 6d0a4278a94c18bc1a5a5286c0b3941701fda3182d9bcbc27d5b29ccf57841b296b618a75ef67fe1e8a3e88f8c5a649fc3100803d2e79c1d812b0f90b2c13e12
7
- data.tar.gz: 80a64adaf82c53f673926a47cc389ae8554c589aa52e41c84ee23a68807d1c49b098c72bf5a338cd0255f689176c0e44f15b7fe0389ea3a90ec89d0bd3a54827
6
+ metadata.gz: 468261b62a6493fabdd47cf3737dce28f306c1ccc6eaa84d76267cb62625bcf7a98e934d099977d2c2dc92273e512cf0d95249834b29ec0e18826fdcd20e9677
7
+ data.tar.gz: d8cb168a96c15f6448febb8a24f43be4194b9bdffc83090a102a0fbd28cdc6f192ad3867c18d860f92cf972bfc3ba78b8efe1231d0196667ad3ad8daf9c5b702
@@ -7,7 +7,12 @@ require 'dry-types'
7
7
  module Salestation
8
8
  class App
9
9
  module Types
10
- include Dry::Types()
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: {})
@@ -8,7 +8,12 @@ require 'json'
8
8
  module Salestation
9
9
  class Web < Module
10
10
  module Types
11
- include Dry::Types()
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
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "salestation"
7
- spec.version = "4.0.2"
7
+ spec.version = "4.0.3"
8
8
  spec.authors = ["Glia TechMovers"]
9
9
  spec.email = ["techmovers@glia.com"]
10
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: salestation
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.2
4
+ version: 4.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Glia TechMovers