postcode_gem 0.2.5 → 0.2.6

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: 4069efa60a941b456748d14a49d3d296cea87a37bdf6ebd869be7d2e96284d54
4
- data.tar.gz: b7619d4d6a1bc681de23bc74c0527573d6a58b375c4bd06f258376a03843d6b7
3
+ metadata.gz: 48f8472d259d7553e3c36dd291cd5cac90c8ad6a4955b5f671c875146db23141
4
+ data.tar.gz: 85b76b7bee4846f006007f72f8367fe1ac5e7dc389aa7c49ca14e70c650425d7
5
5
  SHA512:
6
- metadata.gz: db484521908ddd0d4ab1cc87339a3539789e0e9fae3fb1b133c5c956f8ecad5f5598246bfe73058cc92780d675b095c88907ed58953736e5fdab91c49f4b519e
7
- data.tar.gz: b488c9e3ceae87fb2fd5df808a58827e385b00c7bc8cc543170f74f1839e532f830fb1e31f0c72fbe0fffff4fa12441d712b583cc0a791b831afa2697191b5ae
6
+ metadata.gz: f91df38e7fe2d27f90ffa2be34f7f14ea5d4654265310f74919587bffd4514cc363e408328093b2f4797494957c95aab39603168d937f83984e51d3c701a7854
7
+ data.tar.gz: ba8d6f234f3ac8b622ad48ef861cbe81707cd7e094d22e6627b4628a772112b3ece2652e066cfdbf4d68dfa6d604ea913f33afd69b79c9705869c96ae7d794fc
@@ -6,7 +6,7 @@ require_relative "../lib/postcode_gem/version"
6
6
 
7
7
  module PostcodeGem
8
8
  def self.select_country
9
- @data = JSON.parse(File.read('./data/postcode_areacode.json'))
9
+ @data = JSON.load(File.read('./data/postcode_areacode.json'))
10
10
  attr_accessor :country, :city, :zipcode
11
11
  prompt = TTY::Prompt.new
12
12
  @country = prompt.select('Enter the country you want to select', %w(Vietnam England Japan))
@@ -1,3 +1,3 @@
1
1
  module PostcodeGem
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: postcode_gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - PhuongTr1501