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;
'Test::More' => 0,
'LWP::UserAgent' => 0,
'Text::CSV' => 0,
- 'Moo' => 1,
+ 'Moo' => 0,
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'Geo-USCensus-Geocoding-*' },
+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.
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
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
- (no description was found)
.
- This description was automagically extracted from the module by dh-make-perl.