polyfill 1.0.0 → 1.0.1

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: 7a96e791fce1f6c398fbd95778155ac3b1776a56
4
- data.tar.gz: bf4bbd4993ee7223e401b20c82e609f842156e3c
3
+ metadata.gz: 92227bb8f662fa804daec462ad06677e8c48daaf
4
+ data.tar.gz: 2b37e9e8d480fc237f87e4df3843553f003f94f3
5
5
  SHA512:
6
- metadata.gz: c659eeef9dfb1ba1e6596bdf384f714415e6b049bed9c0da1bc9568dce5afa4b7bf37be50290b1cc2fda4b61398549bc6ba5108c33b8f82876f34db2ef51c812
7
- data.tar.gz: 13eabaaa7097fbb3c319183631b62ad2a99a34cdd1b2963340a88c1a838a4398c64866c8d6e57e468cfaad3e4ee93ce5d2e5db03b2b37fc6ca7415d770b819e3
6
+ metadata.gz: 8553939d9ca0cb4e35741e9282b6c47b1fdac36d0da96f4964930a83a7c75f623c79a7f974dad644c98cc1e96a2ea3f95f4011080c655c318eb76c5039217094
7
+ data.tar.gz: 9698831784840c272b34f04ddeb83a8e097223a76ac9671b7f66c1f820036b6a1985e14d35de6d16543b81e087f21ee02c2a92246843b5e6bf8602e583b4c72d
@@ -1,9 +1,18 @@
1
+ # [1.0.1][] (2017-06-03)
2
+
3
+ ## Fixed
4
+
5
+ - v2.3 String.new attempted to convert the encoded string instead of forcing
6
+ the encoding.
7
+
1
8
  # [1.0.0][] (2017-05-15)
2
9
 
3
10
  - Bumped to show stablization of the API
4
11
 
5
12
  # [0.10.0][] (2017-05-15)
6
13
 
14
+ ## Added
15
+
7
16
  - v2.3 Numeric#negative?
8
17
  - v2.3 Numeric#positive?
9
18
 
@@ -165,6 +174,7 @@
165
174
  - v2.4 String#concat?
166
175
  - v2.4 String#prepend?
167
176
 
177
+ [1.0.1]: https://github.com/AaronLasseigne/polyfill/compare/v1.0.0...v1.0.1
168
178
  [1.0.0]: https://github.com/AaronLasseigne/polyfill/compare/v0.10.0...v1.0.0
169
179
  [0.10.0]: https://github.com/AaronLasseigne/polyfill/compare/v0.9.0...v0.10.0
170
180
  [0.9.0]: https://github.com/AaronLasseigne/polyfill/compare/v0.8.0...v0.9.0
@@ -12,7 +12,7 @@ module Polyfill
12
12
  end
13
13
 
14
14
  str = super(*others)
15
- str.encode!(encoding) if encoding
15
+ str.force_encoding(encoding) if encoding
16
16
  str
17
17
  end
18
18
  end
@@ -1,3 +1,3 @@
1
1
  module Polyfill
2
- VERSION = '1.0.0'.freeze
2
+ VERSION = '1.0.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polyfill
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
  - Aaron Lasseigne
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-15 00:00:00.000000000 Z
11
+ date: 2017-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler