api_client_base 0.2.1 → 1.0.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: c1810c99b2a7120ac20568a58ebe02ecba7ce3f2
4
- data.tar.gz: 40a4c41bee6aed4bc80bda8430dab9178af1ae94
3
+ metadata.gz: 4234cdffb4d3eeb776cde23fdaa8006ce003443d
4
+ data.tar.gz: 57fee9ecd1d7daaa2266b765eeb3c2a158dfd999
5
5
  SHA512:
6
- metadata.gz: dff3a2dcabb87193c5a4303b4b5dbf6383ac69c19f9b421cd707f1c4cbaf816a2092f398fc58d8c5d20b576c163cfe495eb73f26d74083049c18d5577090f899
7
- data.tar.gz: be3502b1c3f94a7ea70a550cb0c2aec8256b9f2455ca2fff75d8b76b5a1b7e45d404d47b38db2af41264b10876df31308a49435b6db86d78b09012bda5dc160a
6
+ metadata.gz: d7a9209a13b42cf19c941842370fd63309debcacf762e10d6a1b93ef7d56a70f020b5becfeeea75535cbc47508aab7f0f042fe3bd5c2190dfe4b0539a3ced3bd
7
+ data.tar.gz: a18e71f2d598f0db601a93f7bdc8be6395be335bb4f100ad4793a06b01cf28845f1b75c1dafc29f3b9fe501ec213cd46d7426801c08381ef14a4b83271cfa4cf
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
+ ## [1.0.0] - 2017-02-15
8
+ ### Fixed
9
+ - Ensure args are passed correctly into request instantiation
10
+
7
11
  ## [0.2.1] - 2017-02-13
8
12
  ### Fixed
9
13
  - bug with customizing the args of an `api_action` (it didn't work at all!)
@@ -16,7 +16,7 @@ module APIClientBase
16
16
  request_args = opts[:args].each_with_object({}).
17
17
  with_index { |(arg, hash), i| hash[arg] = args[i] }
18
18
  else
19
- request_args = {}
19
+ request_args = args.first || {}
20
20
  end
21
21
 
22
22
  default_request_opts_method =
@@ -1,3 +1,3 @@
1
1
  module APIClientBase
2
- VERSION = "0.2.1"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: api_client_base
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ramon Tayag
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-02-13 00:00:00.000000000 Z
11
+ date: 2017-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport