<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>lib/dictionaries/province_abbrevs</filename>
    </added>
    <added>
      <filename>lib/dictionaries/provinces</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
   s.date = %q{2008-11-30}
   s.description = %q{TODO}
   s.email = %q{nate@sevenwire.com}
-  s.files = [&quot;README.markdown&quot;, &quot;VERSION.yml&quot;, &quot;generators/forgery&quot;, &quot;generators/forgery/forgery_generator.rb&quot;, &quot;generators/forgery/USAGE&quot;, &quot;lib/dictionaries&quot;, &quot;lib/dictionaries/cities&quot;, &quot;lib/dictionaries/colors&quot;, &quot;lib/dictionaries/company_names&quot;, &quot;lib/dictionaries/countries&quot;, &quot;lib/dictionaries/female_first_names&quot;, &quot;lib/dictionaries/frequencies&quot;, &quot;lib/dictionaries/genders&quot;, &quot;lib/dictionaries/languages&quot;, &quot;lib/dictionaries/last_names&quot;, &quot;lib/dictionaries/lorem_ipsum&quot;, &quot;lib/dictionaries/male_first_names&quot;, &quot;lib/dictionaries/name_suffixes&quot;, &quot;lib/dictionaries/name_titles&quot;, &quot;lib/dictionaries/races&quot;, &quot;lib/dictionaries/shirt_sizes&quot;, &quot;lib/dictionaries/state_abbrevs&quot;, &quot;lib/dictionaries/states&quot;, &quot;lib/dictionaries/street_suffixes&quot;, &quot;lib/dictionaries/streets&quot;, &quot;lib/dictionaries/top_level_domains&quot;, &quot;lib/dictionaries.rb&quot;, &quot;lib/extensions&quot;, &quot;lib/extensions/array.rb&quot;, &quot;lib/extensions/hash.rb&quot;, &quot;lib/extensions/range.rb&quot;, &quot;lib/extensions/string.rb&quot;, &quot;lib/file_reader.rb&quot;, &quot;lib/forgeries&quot;, &quot;lib/forgeries/address_forgery.rb&quot;, &quot;lib/forgeries/basic_forgery.rb&quot;, &quot;lib/forgeries/internet_forgery.rb&quot;, &quot;lib/forgeries/lorem_ipsum_forgery.rb&quot;, &quot;lib/forgeries/monetary_forgery.rb&quot;, &quot;lib/forgeries/name_forgery.rb&quot;, &quot;lib/forgeries/personal_forgery.rb&quot;, &quot;lib/forgery.rb&quot;, &quot;lib/formats&quot;, &quot;lib/formats/phone&quot;, &quot;lib/formats/street_number&quot;, &quot;lib/formats/zip&quot;, &quot;lib/formats.rb&quot;, &quot;spec/dictionaries_spec.rb&quot;, &quot;spec/extensions&quot;, &quot;spec/extensions/array_spec.rb&quot;, &quot;spec/extensions/range_spec.rb&quot;, &quot;spec/extensions/string_spec.rb&quot;, &quot;spec/file_reader_spec.rb&quot;, &quot;spec/forgeries&quot;, &quot;spec/forgeries/address_forgery_spec.rb&quot;, &quot;spec/forgeries/basic_forgery_spec.rb&quot;, &quot;spec/forgeries/internet_forgery_spec.rb&quot;, &quot;spec/forgeries/lorem_ipsum_forgery_spec.rb&quot;, &quot;spec/forgeries/monetary_forgery_spec.rb&quot;, &quot;spec/forgeries/name_forgery_spec.rb&quot;, &quot;spec/forgeries/personal_forgery_spec.rb&quot;, &quot;spec/forgery_spec.rb&quot;, &quot;spec/formats_spec.rb&quot;, &quot;spec/spec_helper.rb&quot;]
+  s.files = [&quot;README.markdown&quot;, &quot;VERSION.yml&quot;, &quot;generators/forgery&quot;, &quot;generators/forgery/forgery_generator.rb&quot;, &quot;generators/forgery/USAGE&quot;, &quot;lib/dictionaries&quot;, &quot;lib/dictionaries/cities&quot;, &quot;lib/dictionaries/colors&quot;, &quot;lib/dictionaries/company_names&quot;, &quot;lib/dictionaries/countries&quot;, &quot;lib/dictionaries/female_first_names&quot;, &quot;lib/dictionaries/frequencies&quot;, &quot;lib/dictionaries/genders&quot;, &quot;lib/dictionaries/languages&quot;, &quot;lib/dictionaries/last_names&quot;, &quot;lib/dictionaries/lorem_ipsum&quot;, &quot;lib/dictionaries/male_first_names&quot;, &quot;lib/dictionaries/name_suffixes&quot;, &quot;lib/dictionaries/name_titles&quot;, &quot;lib/dictionaries/province_abbrevs&quot;, &quot;lib/dictionaries/provinces&quot;, &quot;lib/dictionaries/races&quot;, &quot;lib/dictionaries/shirt_sizes&quot;, &quot;lib/dictionaries/state_abbrevs&quot;, &quot;lib/dictionaries/states&quot;, &quot;lib/dictionaries/street_suffixes&quot;, &quot;lib/dictionaries/streets&quot;, &quot;lib/dictionaries/top_level_domains&quot;, &quot;lib/dictionaries.rb&quot;, &quot;lib/extensions&quot;, &quot;lib/extensions/array.rb&quot;, &quot;lib/extensions/hash.rb&quot;, &quot;lib/extensions/range.rb&quot;, &quot;lib/extensions/string.rb&quot;, &quot;lib/file_reader.rb&quot;, &quot;lib/forgeries&quot;, &quot;lib/forgeries/address_forgery.rb&quot;, &quot;lib/forgeries/basic_forgery.rb&quot;, &quot;lib/forgeries/internet_forgery.rb&quot;, &quot;lib/forgeries/lorem_ipsum_forgery.rb&quot;, &quot;lib/forgeries/monetary_forgery.rb&quot;, &quot;lib/forgeries/name_forgery.rb&quot;, &quot;lib/forgeries/personal_forgery.rb&quot;, &quot;lib/forgery.rb&quot;, &quot;lib/formats&quot;, &quot;lib/formats/phone&quot;, &quot;lib/formats/street_number&quot;, &quot;lib/formats/zip&quot;, &quot;lib/formats.rb&quot;, &quot;spec/dictionaries_spec.rb&quot;, &quot;spec/extensions&quot;, &quot;spec/extensions/array_spec.rb&quot;, &quot;spec/extensions/range_spec.rb&quot;, &quot;spec/extensions/string_spec.rb&quot;, &quot;spec/file_reader_spec.rb&quot;, &quot;spec/forgeries&quot;, &quot;spec/forgeries/address_forgery_spec.rb&quot;, &quot;spec/forgeries/basic_forgery_spec.rb&quot;, &quot;spec/forgeries/internet_forgery_spec.rb&quot;, &quot;spec/forgeries/lorem_ipsum_forgery_spec.rb&quot;, &quot;spec/forgeries/monetary_forgery_spec.rb&quot;, &quot;spec/forgeries/name_forgery_spec.rb&quot;, &quot;spec/forgeries/personal_forgery_spec.rb&quot;, &quot;spec/forgery_spec.rb&quot;, &quot;spec/formats_spec.rb&quot;, &quot;spec/spec_helper.rb&quot;]
   s.homepage = %q{http://github.com/sevenwire/forgery}
   s.require_paths = [&quot;lib&quot;]
   s.rubygems_version = %q{1.3.1}</diff>
      <filename>forgery.gemspec</filename>
    </modified>
    <modified>
      <diff>@@ -79,6 +79,28 @@ class AddressForgery &lt; Forgery
     dictionaries[:state_abbrevs].random
   end
 
+  # Gets a random Canadian province or territory out of the 'provinces' dictionary.
+  #
+  #   AddressForgery.province
+  #   # =&gt; &quot;Ontario&quot;
+  #
+  #   AddressForgery.province
+  #   # =&gt; &quot;Northwest Territories&quot;
+  def self.province
+    dictionaries[:provinces].random
+  end
+
+  # Gets a random Canadian province or territory abbreviation out of the 'province_abbrev' dictionary.
+  #
+  #   AddressForgery.province_abbrev
+  #   # =&gt; &quot;ON&quot;
+  #
+  #   AddressForgery.province_abbrev
+  #   # =&gt; &quot;NT&quot;
+  def self.province_abbrev
+    dictionaries[:province_abbrevs].random
+  end
+
   # Gets one of the formats from 'zip_formats' and converts it to numbers.
   #
   #   AddressForgery.zip</diff>
      <filename>lib/forgeries/address_forgery.rb</filename>
    </modified>
    <modified>
      <diff>@@ -52,6 +52,16 @@ describe AddressForgery do
     Forgery.dictionaries[:state_abbrevs].should include(state_abbrev)
   end
 
+  it &quot;should return a random Canadian province or territory&quot; do
+    province = AddressForgery.province
+    Forgery.dictionaries[:provinces].should include(province)
+  end
+
+  it &quot;should return a random Canadian province or territory abbreviation&quot; do
+    province_abbrev = AddressForgery.province_abbrev
+    Forgery.dictionaries[:province_abbrevs].should include(province_abbrev)
+  end
+
   it &quot;should return a random country&quot; do
     country = AddressForgery.country
     Forgery.dictionaries[:countries].should include(country)</diff>
      <filename>spec/forgeries/address_forgery_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ab04eda2c0d9510643a496ba847bfc2dc39a4c9a</id>
    </parent>
  </parents>
  <author>
    <name>R.T. Lechow</name>
    <email>rtlechow@gmail.com</email>
  </author>
  <url>http://github.com/sevenwire/forgery/commit/105c614c42a25aeeaa5cad72c64c606a9d9749ef</url>
  <id>105c614c42a25aeeaa5cad72c64c606a9d9749ef</id>
  <committed-date>2009-02-06T15:43:47-08:00</committed-date>
  <authored-date>2009-02-06T15:43:47-08:00</authored-date>
  <message>Added Canadian provinces to address forgery.</message>
  <tree>645270cd3063db3e0c93068d63de00ead8ec88c1</tree>
  <committer>
    <name>R.T. Lechow</name>
    <email>rtlechow@gmail.com</email>
  </committer>
</commit>
