contact-data 0.0.4 → 0.0.5

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: ccca2c323f5abad769429ed05428c70aedd24235
4
- data.tar.gz: 858377cd0608ee09b456879fa3190a985795d133
3
+ metadata.gz: f6dba41d93c7414e0694e5bc44f6509bae51accf
4
+ data.tar.gz: 18968d34c28984e2023b43240d79f25c5cabb79b
5
5
  SHA512:
6
- metadata.gz: 2d723b4917be853a4722b6fde3a33917295f1096b28e3f737445709762a71c8a213a484739c7c46d0b38c1b3bbf099f9ba16ee896d57feb3e7749c08bfd109d9
7
- data.tar.gz: 32142ae429319eb2ce8c6ae78fb6e9f391759cd422275d574e9de387d6e6cb14c2edfc0e08a011aaa399a0e017696ef631a9d1ebe0007dc0dd7d112ee1ce169a
6
+ metadata.gz: 165a27fe9494deacbb1c7239f62990ed9fef336c9ec20d0e26079411920c489928a431a1bf06d261aae11af4c4a191ff62e8fa3a61813ad35a0c1bcf28f3af0d
7
+ data.tar.gz: 5acd8808791687aea804133fb8710aaf1b973e326ecc50991356dd56222426f096c34727f9338a92e446e53f0d6e389b93532ceea8802ba76dd3ea5c971055cb
@@ -7,7 +7,6 @@ class ContactData
7
7
  class << self
8
8
  [:get, :post].each do |http_method|
9
9
  define_method(http_method) do |api_method, options = {}|
10
- puts options # debug
11
10
  url = get_url_from(api_method, options)
12
11
  fetch_and_parse url, http_method, options
13
12
  end
@@ -41,7 +40,6 @@ puts options # debug
41
40
  args = { url: url, method: method }
42
41
  args[:headers] = { params: options[:params] } if options.key? :params
43
42
  args[:payload] = options[:payload] if options.key? :payload
44
- puts args # setup
45
43
  RestClient::Request.new(args).execute
46
44
  end
47
45
 
@@ -1,3 +1,3 @@
1
1
  class ContactData
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contact-data
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Xenapto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-08 00:00:00.000000000 Z
11
+ date: 2014-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client