prest 0.1.4 → 0.1.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
  SHA256:
3
- metadata.gz: 64b97c654e18ed1cd49daaa3923f1dc3eb227216311e051977db5e5cdffa0999
4
- data.tar.gz: f8e546e1f5feacdd22a8cea434840957d455d61ca70bf80ef627a3ecda2e08e6
3
+ metadata.gz: aef2d0096f535fe7a735571b6d3a556aed2ec746e50378b13e2b4218a788dc29
4
+ data.tar.gz: 7ae1c9c4fcc036adcc7484453caeda0fd31e78c5318666a2b20a9ad516de2cbe
5
5
  SHA512:
6
- metadata.gz: f6c29682362e53853dc48d4f5b26bce57a2b33814b91418aa15afec036a942f31cdb8c58628cc21da64488d46d3d9c28793578c2efb7cc62472524c413cd3453
7
- data.tar.gz: 1be14eb778ccb8c8f9218abe9db5c29089234b290154a98c167359bad911de9a130775a669239b48edd6695b5eb75a8c7c1c5602b6a5089cbda9183b4eab5496
6
+ metadata.gz: 5ed398def4e6713c62bcab45447ed7f466c517b6786e9bf3ea3f419cab97d8e48c5ca336e6e2b0995e4f4a6ace68476b3aa31d753d6fef061f630e6062b07a73
7
+ data.tar.gz: 7f748b2cf758c6d41bb8d907d631f31167970dd54a3b9b9751c73d98f56c960525ae10990e17ad391c5b3d24d0fb80435f18232d7c8e5cf668e6bdad80142826
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- prest (0.1.4)
4
+ prest (0.1.5)
5
5
  httparty (~> 0.20.0)
6
6
 
7
7
  GEM
data/lib/prest/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Prest
4
- VERSION = '0.1.4'
4
+ VERSION = '0.1.5'
5
5
  end
data/lib/prest.rb CHANGED
@@ -54,9 +54,9 @@ module Prest
54
54
 
55
55
  def chain_fragment(fragment_name, *args, **kwargs)
56
56
  arguments = args.join('/')
57
- parsed_args = arguments.empty? ? '' : "#{arguments}/"
57
+ parsed_args = arguments.empty? ? '' : "/#{arguments}"
58
58
  @query_params.merge!(kwargs)
59
- @fragments << "#{fragment_name.gsub("__", "-")}/#{parsed_args}"
59
+ @fragments << "#{fragment_name.gsub("__", "-")}#{parsed_args}"
60
60
  end
61
61
 
62
62
  def headers
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Aparicio
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-08-08 00:00:00.000000000 Z
11
+ date: 2022-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty