http-form_data 1.0.0 → 1.0.1

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
  SHA1:
3
- metadata.gz: 6b6f78da2bcad8f8c3d16a66a0a3b2d95446e5b9
4
- data.tar.gz: 821cfd73800cc9cf8ee056638be1c4e2ae4181de
3
+ metadata.gz: 788affbb0d574fec16562406b9301be14de53a72
4
+ data.tar.gz: c0c571ab8fec7eeacad188170c4c373cc2195146
5
5
  SHA512:
6
- metadata.gz: 058ac0d84ee6e846dca8143b270b9ac0196bc12a51894772239004577d93f36064f609cadc851f628311339e85d0c5dfb06b0d11ee39ef358fdbf7186f481f1d
7
- data.tar.gz: 3e9b0000a763a4c14f825ed58d1606cbbeb4fe94031fa32a22a530d2345500860540581ef8233b88b1efd8e1ffe978f719b7148c60b59e4e1c0bc083b348461e
6
+ metadata.gz: 6d9de3b49d6e6ecab67b1d504c1d7e9e987d3e80b8e057f567f375f1068eb6c6734dd17ee756ce77a653abd641a053c444e70556a40cdf3dd83001096867446e
7
+ data.tar.gz: 7c35c3aa828a47f988ecfa4a817c86c5b1b1a535fe3ea2467c9c588c8101c4df43d54c56374a6a6a06ffdd4e828a63c67232cb0098f10e5bc6e2a792f16b7754
data/.rubocop.yml CHANGED
@@ -1,9 +1,5 @@
1
1
  ## Styles ######################################################################
2
2
 
3
- # See: http://erniemiller.org/2014/10/23/in-defense-of-alias/
4
- Style/Alias:
5
- Enabled: false
6
-
7
3
  Style/AlignParameters:
8
4
  EnforcedStyle: with_fixed_indentation
9
5
 
data/CHANGES.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 1.0.1 (2015-03-31)
2
+
3
+ * Fix usage of URI module.
4
+
5
+
1
6
  ## 1.0.0 (2015-01-04)
2
7
 
3
8
  * Gem renamed to `http-form_data` as `FormData` is not top-level citizen
@@ -1,3 +1,5 @@
1
+ require "uri"
2
+
1
3
  module HTTP
2
4
  module FormData
3
5
  # `application/x-www-form-urlencoded` form data.
@@ -11,7 +13,7 @@ module HTTP
11
13
  #
12
14
  # @return [String]
13
15
  def to_s
14
- URI.encode_www_form @data
16
+ ::URI.encode_www_form @data
15
17
  end
16
18
 
17
19
  # Returns MIME type to be used for HTTP request `Content-Type` header.
@@ -1,6 +1,6 @@
1
1
  module HTTP
2
2
  module FormData
3
3
  # Gem version.
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.1"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http-form_data
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aleksey V Zapparov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-04 00:00:00.000000000 Z
11
+ date: 2015-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -81,7 +81,7 @@ rubyforge_project:
81
81
  rubygems_version: 2.2.2
82
82
  signing_key:
83
83
  specification_version: 4
84
- summary: http-form_data-1.0.0
84
+ summary: http-form_data-1.0.1
85
85
  test_files:
86
86
  - spec/fixtures/expected-multipart-body.tpl
87
87
  - spec/fixtures/the-http-gem.info