hashdiff 0.4.0 → 1.0.0

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: 204c04301ec7d5b755863a0ec7b9001930a569c1
4
- data.tar.gz: c0bf2c27e34271b637da82792549104a5b0ca2cb
3
+ metadata.gz: ad62d6aa698e908203a17f40c7660c49d8707cd0
4
+ data.tar.gz: 34b23305366867798029b696354f0197571d3106
5
5
  SHA512:
6
- metadata.gz: 68f07faf7b58132dae314317cf90e1dae5549218d93c19be33df0460659d2e74a861f458c9f6401909ce78ca1b0cb649cc843e0a804a4dad70e3c824568bfd7c
7
- data.tar.gz: ba2ff10babe7886c263cbac1c761a38e205880dc323199746ed6845762b462a08b7664f9f1159b5765751b020dfd38ac365fcec04e350d894f97df6b519f3c71
6
+ metadata.gz: 38621cceb7b659ec8a338edf712de931d06ea59aa18e8d9991262ed4f0b54bf1890c395d7a4391d325e82b05cdb7aa735cca2ef3a9aac1a991ec1f74a283e6b4
7
+ data.tar.gz: 909dd874ea50b69bd74183e7df1cb0fd1c36e68b46810b0fbca32bc62111c5b2ff3899e5a7f72001c00df9b538195a7ecb57942d9c9fd640eb9bc639fd8358af
@@ -20,5 +20,9 @@ Style/Documentation:
20
20
  Style/FrozenStringLiteralComment:
21
21
  Enabled: true
22
22
  EnforcedStyle: always
23
+ Style/NumericPredicate:
24
+ Enabled: false
25
+ Style/RedundantFreeze:
26
+ Enabled: false
23
27
  RSpec/ExampleLength:
24
28
  Enabled: false
data/README.md CHANGED
@@ -116,7 +116,7 @@ In cases where you have similar hash objects in arrays, you can pass a custom va
116
116
 
117
117
  #### `:strict`
118
118
 
119
- The `:strict` option, which defaults to `true`, specifies whether numeric types are compared on type as well as value. By default, a Fixnum will never be equal to a Float (e.g. 4 != 4.0). Setting `:strict` to false makes the comparison looser (e.g. 4 == 4.0).
119
+ The `:strict` option, which defaults to `true`, specifies whether numeric types are compared on type as well as value. By default, an Integer will never be equal to a Float (e.g. 4 != 4.0). Setting `:strict` to false makes the comparison looser (e.g. 4 == 4.0).
120
120
 
121
121
  #### `:numeric_tolerance`
122
122
 
@@ -1,5 +1,16 @@
1
1
  # Change Log
2
2
 
3
+ ## v1.0.0 2019-06-06
4
+
5
+ * Fix typo in readme (#72 @koic)
6
+ * Fix Rubocop offence (#73 @koic)
7
+ * Bumps version to v1.0.0 (#74 @jfelchner)
8
+
9
+ ## v1.0.0.beta1 2019-06-06
10
+
11
+ * fix warnings in ci (#69 @y-yagi)
12
+ * drop warnings of the constant change (#70 @jfelchner)
13
+
3
14
  ## v0.4.0 2019-05-28
4
15
 
5
16
  * refactoring (#56 #57 #59 #61 krzysiek1507)
@@ -15,7 +15,6 @@ Gem::Specification.new do |s|
15
15
 
16
16
  s.require_paths = ['lib']
17
17
  s.required_ruby_version = Gem::Requirement.new('>= 2.0.0')
18
- s.post_install_message = 'The HashDiff constant used by this gem conflicts with another gem of a similar name. As of version 1.0 the HashDiff constant will be completely removed and replaced by Hashdiff. For more information see https://github.com/liufengyun/hashdiff/issues/45.'
19
18
 
20
19
  s.authors = ['Liu Fengyun']
21
20
  s.email = ['liufengyunchina@gmail.com']
@@ -8,7 +8,3 @@ require 'hashdiff/linear_compare_array'
8
8
  require 'hashdiff/diff'
9
9
  require 'hashdiff/patch'
10
10
  require 'hashdiff/version'
11
-
12
- HashDiff = Hashdiff
13
-
14
- warn 'The HashDiff constant used by this gem conflicts with another gem of a similar name. As of version 1.0 the HashDiff constant will be completely removed and replaced by Hashdiff. For more information see https://github.com/liufengyun/hashdiff/issues/45.'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Hashdiff
4
- VERSION = '0.4.0'.freeze
4
+ VERSION = '1.0.0'.freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hashdiff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Liu Fengyun
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-28 00:00:00.000000000 Z
11
+ date: 2019-07-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bluecloth
@@ -125,9 +125,7 @@ metadata:
125
125
  documentation_uri: https://www.rubydoc.info/gems/hashdiff
126
126
  homepage_uri: https://github.com/liufengyun/hashdiff
127
127
  source_code_uri: https://github.com/liufengyun/hashdiff
128
- post_install_message: The HashDiff constant used by this gem conflicts with another
129
- gem of a similar name. As of version 1.0 the HashDiff constant will be completely
130
- removed and replaced by Hashdiff. For more information see https://github.com/liufengyun/hashdiff/issues/45.
128
+ post_install_message:
131
129
  rdoc_options: []
132
130
  require_paths:
133
131
  - lib