nx-http 0.1.6 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 87102d94710aa254f010f2e6b421010b590a8d9c4951bdce0951398f20435cec
4
- data.tar.gz: 41a935a45bc5036be50a92bc19ea0304897b638ce21f78d1e21fa9524fed581f
3
+ metadata.gz: f61757901e3834fd5524cbc40023354e88a5c44355bc7cbc67fc85d05baf3f2b
4
+ data.tar.gz: c3be94a71957648be461b5f9c9faa33179f4bef79b1dbffa8d9f378be0beaa09
5
5
  SHA512:
6
- metadata.gz: 573b11d56bd71586f0d8a263d0b1818596a2f21e6bf4e424937b7a4fc363a4c39696f96c470575606a29bc55314372215bf053845728a5a55c2119c56db8c73d
7
- data.tar.gz: 3b0de3d70369dff21744539bb877400c31747033fb128bb6d917958ed34e906bd0aa868b3548dd7d2930dfbc82b0d73f8a18161b743e3960d92cd5e544acb55c
6
+ metadata.gz: 121b185ec628866310c099cbeb6a397fc8b50265e6eeb5ae0e454ae067a4b8e549ec5dea9e870d5a05735a29cb08c0814e24f9c9b5dea132623897f4206192e9
7
+ data.tar.gz: 115b1dc1eaa946e383206e8774f67cb2b0c17d8c89dae4b05e62f02713593db8efd70632cbe1f0240eab9b22eb7266094ef528830ab537a2a163c4884eccf447
data/lib/nx/http.rb CHANGED
@@ -33,7 +33,7 @@ module Nx
33
33
  else
34
34
  in_options.each do |key, value|
35
35
  if key == :content_type
36
- ContentType.const_get value.upcase
36
+ request[key] = ContentType.const_get value.upcase
37
37
  else
38
38
  request[key] = value
39
39
  end
data/lib/nx/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Nx
2
2
  class Http
3
- VERSION = "0.1.6"
3
+ VERSION = "0.1.7"
4
4
  end
5
5
  end
data/nx-http-0.1.6.gem ADDED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nx-http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - afeiship
@@ -69,7 +69,7 @@ files:
69
69
  - lib/nx/data_transform.rb
70
70
  - lib/nx/http.rb
71
71
  - lib/nx/version.rb
72
- - nx-http-0.1.4.gem
72
+ - nx-http-0.1.6.gem
73
73
  - nx-http.gemspec
74
74
  - package.json
75
75
  homepage: https://github.com/afeiship/nx-http
data/nx-http-0.1.4.gem DELETED
Binary file