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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a6cb058849aed858f33c152e4ca762f02bfff8df
4
- data.tar.gz: 73ae44d523eea43cb7deb139579d8a404c63b530
3
+ metadata.gz: 4f5d89332f8fbd6085c892ff032cdc245ecf6002
4
+ data.tar.gz: d6ed82a6b2a2a4db849ede047366261d558f2254
5
5
  SHA512:
6
- metadata.gz: db316f3b54b1ff3c85ca7ed14491e20897923c03706ff2aa79b33ec99652717a69d642f2799699de3b0737f2fa1e6fd8494600e5a6aaf00eb548a2cbe892eb9c
7
- data.tar.gz: ecc915c125928215de7e3d93d683fb06b7bdcad645c3a6abec0921ae8527e47ba2756a6764a9aa71612393dc7b1766575a4571fa6c2bab8a0cbc64befffa0b11
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
 
@@ -1,3 +1,3 @@
1
1
  module KnapsackPro
2
- VERSION = '0.23.0'
2
+ VERSION = '0.24.0'
3
3
  end
@@ -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
- { "Content-Type" => "application/json", "Accept" => "application/json" }
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.23.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-27 00:00:00.000000000 Z
11
+ date: 2017-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake