br_db 0.1.8 → 0.1.9

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
  SHA256:
3
- metadata.gz: c62f78c07f089250ca0b43e3f47f0aefeceb3dbbf5a478dc75c366cb39e2d484
4
- data.tar.gz: b1b72dd80a444141b4fae3cb5057b18b3fbeb7feb1d326c02d9edad889d3ab06
3
+ metadata.gz: 00a043117d7f8b456248107efbdfbeb8663924a8314816826c5b121f93ece275
4
+ data.tar.gz: e4da0a54d2abcc8152b64feb921bf3c540e0228c06f26bc82ce518d046639aeb
5
5
  SHA512:
6
- metadata.gz: ce748e4f08621a82e133dcb1b831728cc34663090088862194e636bf69a32c7f4c963788b2bc566a2aa386c3c1aaaf55300635fd253d3c65eade5cae31be2cf0
7
- data.tar.gz: c3a8698e4e6869a5cd5f422ea1865e5c9e03cf75a77d3f2b2878f3733d0904e45356fe2887557d023433f4b876b8b56a9d24d009391f7f1aee1e2941719abe88
6
+ metadata.gz: adfc908b0cf105d7f70b38c8f2d07092e18c19706199321fd5b87c476f9e815a27a463407632ca3358ee84874bcbcf22e5432ea432e2f8cd4adea40f5c2009e6
7
+ data.tar.gz: c3c54f38840e39d394dd8bcf3f5b756e29e985b8f1cf51bc5e2106f8de0f4b53d01914a0109fc5c2093fba4f766d4d1e3f62b9e1b6712edcb7ae75327ea945b9
@@ -90,7 +90,7 @@ module BrDb
90
90
  zip_code: row[7]
91
91
  }
92
92
  end
93
- if zip_codes.count % 1000 == 0
93
+ if zip_codes.count % 300 == 0
94
94
  ActiveRecord::Base.connection.reconnect!
95
95
  ZipCode.insert_all(zip_codes)
96
96
  zip_codes = []
data/lib/br_db/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module BrDb
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: br_db
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ulisses Caon