frenchy 0.2.4 → 0.2.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: 755aa8a35ab0b0d40c2a875c0e917b3acd30142b
4
- data.tar.gz: 8fb75094c4051c595071ed07526f63fd7bc0d465
3
+ metadata.gz: 079b65af1cc7e83657a259c7c354b56fffbb74bf
4
+ data.tar.gz: bef2547373688fed01688bf1896e1eefe0bd21f3
5
5
  SHA512:
6
- metadata.gz: 63325bcbd4d405b5d866277f9e8608b63393fcba92beb34abd5f0e4d5b092f2f5340e376e0287a256976e53d05c5d4c8ff85f82392585e9de44dfd988fa1ab23
7
- data.tar.gz: 1b58dcad673e8fe998539a443a5311f390f5f3a6a4661eafc4f51a552b3300ef8b5232db5cd7a600b4a6ecb7d04e1b235d3bdd0c12b9caf3b8ad5266eaaded30
6
+ metadata.gz: 18b3566cea38658d57b0e25693af7f29d049a848aa2c07ca75fe8a32af47446f09933526b541f4ab75caa8994f32b53a9fdaa491d2dc99ba2342480307efb8fd
7
+ data.tar.gz: 1a98a8c76f6b0ad72196bccda720027818fc649043aeb53711c452a3fb6fc510e951f058e87b9ed73747ab19c4cdc1b0c6a4349bbe013cd34a06b882d40d5a67
@@ -26,7 +26,7 @@ module Frenchy
26
26
  params.stringify_keys!
27
27
  name, endpoint = resolve_endpoints(endpoints)
28
28
  method = endpoint["method"] || "get"
29
- extras = {"model" => self.name.underscore, "endpoint" => name}
29
+ extras = {model: self.name.underscore, endpoint: name}
30
30
 
31
31
  response = Frenchy::Request.new(@service, method, endpoint["path"], params, extras).value
32
32
  digest_response(response, endpoint)
@@ -1,3 +1,3 @@
1
1
  module Frenchy
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
@@ -107,7 +107,7 @@ describe Frenchy::Resource do
107
107
 
108
108
  expect(Frenchy::Request).
109
109
  to receive(:new).
110
- with("httpbin", "get", "/get", {"id" => 1}, {"model" => "bin_one_endpoint", "endpoint" => "default"}).
110
+ with("httpbin", "get", "/get", {"id" => 1}, {model: "bin_one_endpoint", endpoint: "default"}).
111
111
  and_return(response)
112
112
 
113
113
  BinOneEndpoint.find_with_endpoint(:default, id: 1)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: frenchy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Coene