australia_postcode 0.1.1 → 0.1.2

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.
@@ -1,6 +1,6 @@
1
1
  module Australia
2
2
  class Postcode
3
3
  # The version of the australia_postcode gem. Whodathunkit
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
6
6
  end
@@ -109,7 +109,7 @@ module Australia
109
109
  end
110
110
 
111
111
  def data
112
- @data ||= raw_data.map { |data| new(*data) }
112
+ @data ||= raw_data.map { |data| new(*data) }.select { |postcode| postcode.type == "Delivery Area" }
113
113
  end
114
114
 
115
115
  def raw_data
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: australia_postcode
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: