ahub 0.1.15 → 0.1.16

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: 449165080aa0a7a49f1863a0adb6175e3b40f83e
4
- data.tar.gz: a64ec6193b9e7a5fd9cfce8604aa08c70a78faa3
3
+ metadata.gz: 169eb6b27fd64e9f80ea3ee52eb8a718c17ea71d
4
+ data.tar.gz: 87dd343c65d128b4e5149912fbd41f356fbda216
5
5
  SHA512:
6
- metadata.gz: 3c7cf47b4fb9019bae3c3a8f70608e7669e5132db1a07bcfbd28926b583efde34efed27e8c211c4b9a4ea4f089928aeda45e2ca01bb310563b99748a6a9b13db
7
- data.tar.gz: 984e3c9ec063cc4d5c685dceb93bfe433a207fe8b890e1a1ab2e84353b2b513cffe822c910e28e99977499a1a05ac4b89481b73fa346cf124d92e630f1611aad
6
+ metadata.gz: 67efbf0537f7758e9f1ab8677d828b13eb46b68ad007676ddc44d0e000490a614ccd16f2dc33c46c43ac252f327fa61db45182840807cea08054c59d4045afe9
7
+ data.tar.gz: caf339a495443b9461985affc77859ead339d95eae36c5ffc3c62fb6b1660674fd92641a03692d22bbf9c6127b731f5a6d928b123c230f0a5520f502b7011929
data/README.md CHANGED
@@ -4,8 +4,8 @@ A gem to interact with the [Answer Hub API](docs.answerhubapiv2.apiary.io)
4
4
  Master
5
5
  [![Build Status](https://travis-ci.org/abelmartin/ahub.svg?branch=master)](https://travis-ci.org/abelmartin/ahub)
6
6
 
7
- Gem v0.1.13
8
- [![Build Status](https://travis-ci.org/abelmartin/ahub.svg?branch=v0.1.13)](https://github.com/abelmartin/ahub/tree/v0.1.13)
7
+ Gem v0.1.16
8
+ [![Build Status](https://travis-ci.org/abelmartin/ahub.svg?branch=v0.1.16)](https://github.com/abelmartin/ahub/tree/v0.1.16)
9
9
 
10
10
  ## Installation
11
11
 
data/lib/ahub/user.rb CHANGED
@@ -12,8 +12,7 @@ module Ahub
12
12
  password: password || Ahub::DEFAULT_PASSWORD,
13
13
  }
14
14
 
15
- response = RestClient.post(url, payload, admin_headers)
16
- find(object_id_from_response(response))
15
+ make_post_call(url: url, payload: payload, headers: admin_headers)
17
16
  end
18
17
 
19
18
  def self.find_by_username(username)
data/lib/ahub/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ahub
2
- VERSION = "0.1.15"
2
+ VERSION = "0.1.16"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ahub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Abel Martin