allow Moo < 1.0
authorMark Wells <mark@freeside.biz>
Sat, 14 Mar 2015 00:46:07 +0000 (17:46 -0700)
committerMark Wells <mark@freeside.biz>
Sat, 14 Mar 2015 00:46:07 +0000 (17:46 -0700)
Geocoding/Result.pm
Makefile.PL
debian/changelog
debian/control

index e0e271a..bf595ca 100644 (file)
@@ -3,17 +3,19 @@ package Geo::USCensus::Geocoding::Result;
 use Moo; # just for attribute declaration
 
 has 'is_match' => ( is => 'rw', default => 0 );
 use Moo; # just for attribute declaration
 
 has 'is_match' => ( is => 'rw', default => 0 );
-has [ 'content',
-      'match_level',
-      'address',
-      'state',
-      'county',
-      'tract',
-      'block',
-      'error_message',
-      'latitude',
-      'longitude'
-    ] => ( is => 'rw', default => '' );
+foreach ( 'content',
+          'match_level',
+          'address',
+          'state',
+          'county',
+          'tract',
+          'block',
+          'error_message',
+          'latitude',
+          'longitude'
+        ) {
+  has $_ => ( is => 'rw', default => '' );
+}
 
 sub censustract {
   my $self = shift;
 
 sub censustract {
   my $self = shift;
index 908534b..e0794f4 100644 (file)
@@ -16,7 +16,7 @@ WriteMakefile(
         'Test::More'     => 0,
         'LWP::UserAgent' => 0,
         'Text::CSV'      => 0,
         'Test::More'     => 0,
         'LWP::UserAgent' => 0,
         'Text::CSV'      => 0,
-        'Moo'            => 1,
+        'Moo'            => 0,
     },
     dist                => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
     clean               => { FILES => 'Geo-USCensus-Geocoding-*' },
     },
     dist                => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
     clean               => { FILES => 'Geo-USCensus-Geocoding-*' },
index 4c4729e..4494b38 100644 (file)
@@ -1,3 +1,10 @@
+libgeo-uscensus-geocoding-perl (0.01-2) unstable; urgency=low
+
+  * Allow Moo versions < 1.0
+  * Fix transposition of latitude and longitude
+
+ -- Mark Wells <mark@freeside.biz>  Fri, 13 Mar 2015 17:43:19 -0700
+
 libgeo-uscensus-geocoding-perl (0.01-1) unstable; urgency=low
 
   * Initial Release.
 libgeo-uscensus-geocoding-perl (0.01-1) unstable; urgency=low
 
   * Initial Release.
index 2f2102a..003d449 100644 (file)
@@ -3,7 +3,7 @@ Section: perl
 Priority: optional
 Maintainer: Mark Wells <mark@dancingmad.dyndns.org>
 Build-Depends: debhelper (>= 9)
 Priority: optional
 Maintainer: Mark Wells <mark@dancingmad.dyndns.org>
 Build-Depends: debhelper (>= 9)
-Build-Depends-Indep: libmoo-perl (>= 1),
+Build-Depends-Indep: libmoo-perl,
  libtext-csv-perl,
  libwww-perl,
  perl
  libtext-csv-perl,
  libwww-perl,
  perl
@@ -13,10 +13,8 @@ Homepage: https://metacpan.org/release/Geo-USCensus-Geocoding
 Package: libgeo-uscensus-geocoding-perl
 Architecture: all
 Depends: ${misc:Depends}, ${perl:Depends},
 Package: libgeo-uscensus-geocoding-perl
 Architecture: all
 Depends: ${misc:Depends}, ${perl:Depends},
- libmoo-perl (>= 1),
+ libmoo-perl,
  libtext-csv-perl,
  libwww-perl
 Description: The U.S. Census Bureau geocoding service
  libtext-csv-perl,
  libwww-perl
 Description: The U.S. Census Bureau geocoding service
- (no description was found)
  .
  .
- This description was automagically extracted from the module by dh-make-perl.