salestation 3.5.1 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.travis.yml +1 -3
- data/lib/salestation/app.rb +1 -1
- data/lib/salestation/app/errors.rb +1 -1
- data/lib/salestation/web.rb +1 -1
- data/lib/salestation/web/responses.rb +4 -4
- data/salestation.gemspec +2 -2
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: df4e53ba50397a1c5565b8fe4fb8d4ee34476f8a94931b500f53a83161726f6c
|
4
|
+
data.tar.gz: '0219eb597b8b0d0b8b72e9eed583ac6657aa10619654f568a1999ee0a453e4d4'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53b6c9e720d3ed2f0a23131aef0b4a197ce285ee105beea398cc001baef631dda572c611f8407fa10b0047e1ff2ee198546892e832ee68651a23195eb77625b8
|
7
|
+
data.tar.gz: d05d96f08386e284974212afacfa26f57c257c263e09b71396bbaa7d804531bbb8129c5980de3823471b05fef708906ba227c8304fcfa7c4203a33bca752c26d
|
data/.travis.yml
CHANGED
data/lib/salestation/app.rb
CHANGED
@@ -5,7 +5,7 @@ module Salestation
|
|
5
5
|
module Errors
|
6
6
|
class InvalidInput < Dry::Struct
|
7
7
|
attribute :errors, Types::Strict::Hash
|
8
|
-
attribute :hints, Types::Coercible::Hash.default({})
|
8
|
+
attribute :hints, Types::Coercible::Hash.default({}.freeze)
|
9
9
|
attribute? :debug_message, Types::Strict::String
|
10
10
|
end
|
11
11
|
|
data/lib/salestation/web.rb
CHANGED
@@ -32,9 +32,9 @@ module Salestation
|
|
32
32
|
class Error < Response
|
33
33
|
attribute :status, Types::Strict::Integer
|
34
34
|
attribute :message, Types::Strict::String
|
35
|
-
attribute :debug_message, Types::String.default('')
|
36
|
-
attribute :context, Types::Hash.default({})
|
37
|
-
attribute :headers, Types::Hash.default({})
|
35
|
+
attribute :debug_message, Types::Coercible::String.default('')
|
36
|
+
attribute :context, Types::Hash.default({}.freeze)
|
37
|
+
attribute :headers, Types::Hash.default({}.freeze)
|
38
38
|
|
39
39
|
def body
|
40
40
|
{message: message, debug_message: debug_message}
|
@@ -44,7 +44,7 @@ module Salestation
|
|
44
44
|
class Success < Response
|
45
45
|
attribute :status, Types::Strict::Integer
|
46
46
|
attribute :body, Types::Strict::Hash | Types::Strict::Array
|
47
|
-
attribute :headers, Types::Hash.default({})
|
47
|
+
attribute :headers, Types::Hash.default({}.freeze)
|
48
48
|
end
|
49
49
|
|
50
50
|
class UnprocessableEntityFromSchemaErrors
|
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 = "3.
|
7
|
+
spec.version = "3.6.0"
|
8
8
|
spec.authors = ["Glia TechMovers"]
|
9
9
|
spec.email = ["techmovers@glia.com"]
|
10
10
|
|
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
|
-
spec.add_development_dependency "bundler", "~>
|
22
|
+
spec.add_development_dependency "bundler", "~> 2.0"
|
23
23
|
spec.add_development_dependency "rake", "~> 13.0"
|
24
24
|
spec.add_development_dependency "rspec", "~> 3.0"
|
25
25
|
spec.add_development_dependency "pry", "~> 0.10.4"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: salestation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Glia TechMovers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '2.0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '2.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -158,8 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
158
|
- !ruby/object:Gem::Version
|
159
159
|
version: '0'
|
160
160
|
requirements: []
|
161
|
-
|
162
|
-
rubygems_version: 2.6.14.4
|
161
|
+
rubygems_version: 3.0.3
|
163
162
|
signing_key:
|
164
163
|
specification_version: 4
|
165
164
|
summary: ''
|