ipfs-http-client-rb 0.0.1 → 0.0.2

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: d09bf89ae84e1ce2363b4ada3831ab5b1ce57022b05ba49853d42c783214436a
4
- data.tar.gz: 13b450716eea62fc7cea55b931d34554aec5378b55f6f076bdd04cf0888e5b94
3
+ metadata.gz: 7b74000cf43f5b2cc58834410d9bc432def9cc16d45892f6cdb9198eabaf7bbb
4
+ data.tar.gz: a477cda721757701f2c34a52e8198889dae8176b9f9807639a770ec15192b0d3
5
5
  SHA512:
6
- metadata.gz: 135ea9bf170b2819701ec028737dd830594ff133d4a66edb08ae275751215a1539c806701fe825e926c536cf18e99b41bd3571fb406b89979285926539cfa0fd
7
- data.tar.gz: ea93ed525cd5f5f79ef3fb27532209e343acc5bcde8b6edbd9c7d336ec7208f4fad2133d854a246651d4c63caf30f09547dfaef7e82ed03004ce21e3610f8002
6
+ metadata.gz: 8fb606f35834962a88aa7e241d4d55a123ecee839fbc37d4909dfaeff1adc3172c60cf30702b51af81ee0049af6d3ca7dc494be9aba23082f625d703c7cf261d
7
+ data.tar.gz: df0e9bd198f63b6f0926200dd8e6294237b17d900c6e129ecd6c728b2c7439ae9f47e5f704d53031514be16238572a22b3c315856d2a9f489050954aafce32e7
@@ -11,7 +11,7 @@ module Ipfs
11
11
  class Base
12
12
  def self.request(client, path_with_query, args = nil)
13
13
  url = "#{client.base_url}#{path_with_query}"
14
- response = HTTP.get(*[url, args].compact)
14
+ response = HTTP.post(*[url, args].compact)
15
15
  if response.code >= 200 && response.code <= 299
16
16
  response
17
17
  else
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ipfs
4
- VERSION = '0.0.1'
4
+ VERSION = '0.0.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ipfs-http-client-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dongri Jin