dagger 0.4.0 → 0.4.1

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: 20da33d8fe7bc80cdc39a6b3b9a50c586523e820
4
- data.tar.gz: 61be2074cd53b573f0be6c9b68f1e89dcbfc3e78
3
+ metadata.gz: 84aef19ee4b595b72d8b1909e4b4aea37a6875d6
4
+ data.tar.gz: 893de24af8328056b4ca7c06c31b998035fbe7c2
5
5
  SHA512:
6
- metadata.gz: 5ee5798c4af31804ef69fad96844bd0bb8f298502fd85460fc87806b98e744f1bee680e56e849f4ce3f76e1eea8691143bfb027bb428e85523e753ceb6a6cfd5
7
- data.tar.gz: 9d0e3ed3c7256028b9fdc68921bdbb16eaf1e66edb0c8eb5402f9a614f7e3039e857a34d004b257569b512b8b666cecf984c25a6d96338f0484bdc22c29b10cd
6
+ metadata.gz: 0e748e4015ca49978dd78d29e6a7d3a088eafeba2d2acb840735118c50dd9b8c09e5d44f82ba144ce4dab70bd052c768a5b5a91c52ad5c721df0ace9baab6d55
7
+ data.tar.gz: c5f5d06c3880232c7665f1d821fd2ef58d9656870075b5929693d6caac6a4c474efc1c2f27b4d03658faf67a488e9a23248db2de1cb0cdea740be707ff8fdc36
data/lib/dagger.rb CHANGED
@@ -37,25 +37,25 @@ module Dagger
37
37
  end
38
38
 
39
39
  def self.post(uri, params = {}, options = {})
40
- request('post', uri, params, options)
40
+ send_request('post', uri, params, options)
41
41
  end
42
42
 
43
43
  def self.put(uri, params = {}, options = {})
44
- request('put', uri, params, options)
44
+ send_request('put', uri, params, options)
45
45
  end
46
46
 
47
47
  def self.delete(uri, params = {}, options = {})
48
- request('delete', uri, params, options)
48
+ send_request('delete', uri, params, options)
49
49
  end
50
50
 
51
51
  def self.request(method, url, params = {}, options = {})
52
52
  return get(url, params, options) if method.to_s.downcase == 'get'
53
- request(method.to_s.downcase, url, params, options)
53
+ send_request(method.to_s.downcase, url, params, options)
54
54
  end
55
55
 
56
56
  private
57
57
 
58
- def self.request(method, uri, params, opts = {})
58
+ def self.send_request(method, uri, params, opts = {})
59
59
  uri = parse_uri(uri)
60
60
  headers = opts[:headers] || {}
61
61
 
@@ -1,7 +1,7 @@
1
1
  module Dagger
2
2
  MAJOR = 0
3
3
  MINOR = 4
4
- PATCH = 0
4
+ PATCH = 1
5
5
 
6
6
  VERSION = [MAJOR, MINOR, PATCH].join('.')
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dagger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomás Pollak