salestation 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/salestation/web/request_logger.rb +1 -0
- data/lib/salestation/web/responses.rb +4 -0
- data/salestation.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7ec7120bd30017ad7ce5b833aae2451e1b67f5b
|
4
|
+
data.tar.gz: 6da402233e35203097665131db24d00fda8fa54c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b2c7d3d43681d192b38fcec9a0f21b490ac8adca0ca77e86c2896fa742b6984672aa786b1bd4750df9b8f66358382371651446712d03e056827dc26bf0c51aa
|
7
|
+
data.tar.gz: 34502d64faa59213839343fc9da8871e5e31ef87f298a754a95fc42ab9fa848a3edf16b61bf84c023d1113b775aec96328a0221d8fe1f0c425db4fca747546c9
|
@@ -13,6 +13,10 @@ module Salestation
|
|
13
13
|
-> (object) { Deterministic::Result::Success(Responses::OK.new(body: object)) }
|
14
14
|
end
|
15
15
|
|
16
|
+
def self.to_no_content
|
17
|
+
-> (*) { Deterministic::Result::Success(Responses::NoContent.new(body: {})) }
|
18
|
+
end
|
19
|
+
|
16
20
|
module Response
|
17
21
|
def with_code(code)
|
18
22
|
Class.new(self) do
|
data/salestation.gemspec
CHANGED
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: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SaleMove TechMovers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|