knapsack_pro 0.23.0 → 0.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/knapsack_pro/client/connection.rb +3 -1
- data/lib/knapsack_pro/version.rb +1 -1
- data/spec/knapsack_pro/client/connection_spec.rb +6 -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: 4f5d89332f8fbd6085c892ff032cdc245ecf6002
|
4
|
+
data.tar.gz: d6ed82a6b2a2a4db849ede047366261d558f2254
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: deba77b348cb39a2acf95b538b11421969aa9833fff38209f4ca1be512d2a1f7d5a895dc0bbb177e8351ce876fb9c12f1204e813b3e999d8c9f7a48c9f72183e
|
7
|
+
data.tar.gz: 255880b403bfa18d332b791d7baf7757d32f60a2b35b67918903c2edd88ee4a159ffc09ab8cf89bcffca95e741929236172935ce8ece69c9f867eb7bfeef6eb5
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,12 @@
|
|
2
2
|
|
3
3
|
* TODO
|
4
4
|
|
5
|
+
### 0.24.0
|
6
|
+
|
7
|
+
* Send client name and version in headers for each request to Knapsack Pro API.
|
8
|
+
|
9
|
+
https://github.com/KnapsackPro/knapsack_pro-ruby/compare/v0.23.0...v0.24.0
|
10
|
+
|
5
11
|
### 0.23.0
|
6
12
|
|
7
13
|
* Add info about Queue Mode to install rake task.
|
@@ -54,7 +54,9 @@ module KnapsackPro
|
|
54
54
|
def json_headers
|
55
55
|
{
|
56
56
|
'Content-Type' => 'application/json',
|
57
|
-
'Accept' => 'application/json'
|
57
|
+
'Accept' => 'application/json',
|
58
|
+
'KNAPSACK-PRO-CLIENT-NAME' => 'knapsack_pro-ruby',
|
59
|
+
'KNAPSACK-PRO-CLIENT-VERSION' => KnapsackPro::VERSION,
|
58
60
|
}
|
59
61
|
end
|
60
62
|
|
data/lib/knapsack_pro/version.rb
CHANGED
@@ -38,7 +38,12 @@ describe KnapsackPro::Client::Connection do
|
|
38
38
|
expect(http).to receive(:post).with(
|
39
39
|
endpoint_path,
|
40
40
|
"{\"fake\":\"hash\",\"test_suite_token\":\"3fa64859337f6e56409d49f865d13fd7\"}",
|
41
|
-
{
|
41
|
+
{
|
42
|
+
'Content-Type' => 'application/json',
|
43
|
+
'Accept' => 'application/json',
|
44
|
+
'KNAPSACK-PRO-CLIENT-NAME' => 'knapsack_pro-ruby',
|
45
|
+
'KNAPSACK-PRO-CLIENT-VERSION' => KnapsackPro::VERSION,
|
46
|
+
}
|
42
47
|
).and_return(http_response)
|
43
48
|
end
|
44
49
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knapsack_pro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.24.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ArturT
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|