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 +4 -4
- data/.rubocop.yml +4 -0
- data/README.md +1 -1
- data/changelog.md +11 -0
- data/hashdiff.gemspec +0 -1
- data/lib/hashdiff.rb +0 -4
- data/lib/hashdiff/version.rb +1 -1
- metadata +3 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad62d6aa698e908203a17f40c7660c49d8707cd0
|
4
|
+
data.tar.gz: 34b23305366867798029b696354f0197571d3106
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38621cceb7b659ec8a338edf712de931d06ea59aa18e8d9991262ed4f0b54bf1890c395d7a4391d325e82b05cdb7aa735cca2ef3a9aac1a991ec1f74a283e6b4
|
7
|
+
data.tar.gz: 909dd874ea50b69bd74183e7df1cb0fd1c36e68b46810b0fbca32bc62111c5b2ff3899e5a7f72001c00df9b538195a7ecb57942d9c9fd640eb9bc639fd8358af
|
data/.rubocop.yml
CHANGED
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,
|
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
|
|
data/changelog.md
CHANGED
@@ -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)
|
data/hashdiff.gemspec
CHANGED
@@ -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']
|
data/lib/hashdiff.rb
CHANGED
@@ -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.'
|
data/lib/hashdiff/version.rb
CHANGED
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
|
+
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-
|
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:
|
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
|