maxminddb 0.1.17 → 0.1.18

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: 640d5200605128fcd33cb0e4c5ce00239f2c89e0
4
- data.tar.gz: cb17775a082a4e53a6035821fe66a506b1d19720
3
+ metadata.gz: 6c383d38332c6e85095da4c02cc421c839baba0a
4
+ data.tar.gz: fea281059ff4437763f6c936d29df745d9c2f7c1
5
5
  SHA512:
6
- metadata.gz: 3c1c713de0019cf7aaa1cb9c5421e0ae014ee3b7b2a411f87da91122288fd4ef765377463dd564c363df0b1e13a3b79777f1861d63416f2505afa1f7622905d4
7
- data.tar.gz: 5211dd0f86395311a9ff137e0315ac95a5c169272551013215e2d5dcf9b1a3f308bb55937170ae92876c3d479071d2dcd0fb3c67ba71ccbae9f258e1e658f3a2
6
+ metadata.gz: 3250775dae6e0f623594df43f68421e58b491a277a4272f9c00debfcee8ba0406d3508b6d83c66d40c2a7522aa70057e99a8c2ccf3eaf341884cc6d4ef0e54b9
7
+ data.tar.gz: 7684e0416fd72ef3a492aab344e4eea6e89d139286e340bd586c212299cb49d818ab72b21c96784fe1583225b782ad9b5b71f4c46c98679ab4bade72e01432cd
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ### 0.1.18 (June 18, 2018)
4
+
5
+ - Backward Compatible Client Initialize
6
+
3
7
  ### 0.1.17 (June 9, 2018)
4
8
 
5
9
  - Allow the database file reader to be overridden.
@@ -18,7 +18,7 @@ module MaxMindDB
18
18
 
19
19
  attr_reader :metadata
20
20
 
21
- def initialize(path, file_reader)
21
+ def initialize(path, file_reader = DEFAULT_FILE_READER)
22
22
  @path = path
23
23
  @data = file_reader.call(path)
24
24
 
@@ -1,3 +1,3 @@
1
1
  module MaxMindDB
2
- VERSION = "0.1.17"
2
+ VERSION = "0.1.18"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maxminddb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.17
4
+ version: 0.1.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - yhirose
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-08 00:00:00.000000000 Z
11
+ date: 2018-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler