veeqo 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 989684a43c7302f5adfb33f7cd250d64d9fb619f
4
- data.tar.gz: d7b99397f85dbcc557aaaf86453068d3782db7db
3
+ metadata.gz: 6c01a28b027c05b2ba0769d3ba700d8be5352581
4
+ data.tar.gz: 002019e4359d2a922fda249331601ea6fbaa4ecf
5
5
  SHA512:
6
- metadata.gz: bf809e7c4c2a2c3cebee1f426c038e6d8146a79823816c184508995d56918dfd29050b3aa8a70295b8575ea72e09c7834adf5b0f1a0f3608133652ee96cc71cc
7
- data.tar.gz: 07b90ee936ef728484c2ab9db0ba27d643b90dc6ef637afac817431d3d5394b5fe5bd8a153fce5a5df992f2fbe6ef614c900b77f2d0f1d7dacde67dc87cc4f8c
6
+ metadata.gz: 6c97869fca6ced47c4599a358c7cf5ab6406aac249f4efb80a1571039338fc1e35570ed77b14edcde3d3d0621de92eb67bbff7521d3c5f14ab0cb422fff566f9
7
+ data.tar.gz: a496db96abee3fecf8f93c73c605589d96ff1648c80b086eb17564fa378ff778e1ef50c827c554fe03fba95651032f84fb1b8e7380840b51cc474e5c6d4f4298
data/README.md CHANGED
@@ -4,6 +4,8 @@
4
4
  Status](https://travis-ci.org/abunashir/veeqo.svg?branch=master)](https://travis-ci.org/abunashir/veeqo)
5
5
  [![Code
6
6
  Climate](https://codeclimate.com/github/abunashir/veeqo/badges/gpa.svg)](https://codeclimate.com/github/abunashir/veeqo)
7
+ [![Gem
8
+ Version](https://badge.fury.io/rb/veeqo.svg)](https://badge.fury.io/rb/veeqo)
7
9
 
8
10
  The Ruby Interface to the Veeqo API
9
11
 
@@ -74,8 +74,10 @@ module Veeqo
74
74
  end
75
75
 
76
76
  def set_request_headers!(request)
77
- request.initialize_http_header("Content-Type" => "application/json")
78
- request.initialize_http_header("x-api-key" => Veeqo.configuration.api_key)
77
+ request.initialize_http_header(
78
+ "Content-Type" => "application/json",
79
+ "x-api-key" => Veeqo.configuration.api_key,
80
+ )
79
81
  end
80
82
 
81
83
  def server_errors
@@ -1,3 +1,3 @@
1
1
  module Veeqo
2
- VERSION = "0.1.0".freeze
2
+ VERSION = "0.1.1".freeze
3
3
  end
@@ -392,7 +392,10 @@ module FakeVeeqoApi
392
392
  end
393
393
 
394
394
  def api_key_header
395
- { "x-api-key" => Veeqo.configuration.api_key }
395
+ {
396
+ "content-type" => "application/json",
397
+ "x-api-key" => Veeqo.configuration.api_key,
398
+ }
396
399
  end
397
400
 
398
401
  def response_with(filename:, status:)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: veeqo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Abu Nashir
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-12 00:00:00.000000000 Z
11
+ date: 2017-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler