Permalink
Browse files

Lowered debian dependencies versions.

  • Loading branch information...
1 parent 4340b74 commit 4cdd34d6bda4c1dc7d53a5b2796cc366bf38acda @fmgoncalves committed Dec 16, 2011
Showing with 31 additions and 28 deletions.
  1. +0 −22 Makefile.PL~
  2. +7 −1 README
  3. +2 −2 debian/control
  4. +20 −0 debian/control~
  5. +2 −3 examples/cassandra_simple_test.pm
View
22 Makefile.PL~
@@ -1,22 +0,0 @@
-use 5.008006;
-use ExtUtils::MakeMaker;
-# See lib/ExtUtils/MakeMaker.pm for details of how to influence
-# the contents of the Makefile that is written.
-WriteMakefile(
- NAME => 'Cassandra::Simple',
- VERSION_FROM => 'lib/Cassandra/Simple.pm', # finds $VERSION
- LICENSE => 'perl',
- PREREQ_PM => {
- 'Any::Moose' => '0',
- 'Data::Dumper' => 0,
- 'Class::Accessor' => '0',
- 'Thrift' => '0',
- 'Thrift::BinaryProtocol' => '0',
- 'Thrift::FramedTransport' => '0',
- 'Thrift::Socket' => '0',
- 'constant' => '0'
- }, # e.g., Module::Name => 1.1
- ($] >= 5.005 ? ## Add these new keywords supported since 5.005
- (
- AUTHOR => 'Filipe Gonçalves <the.wa.syndrome@gmail.com>') : ()),
-);
View
8 README
@@ -172,7 +172,7 @@ SYNOPSYS
The timestamp used for remove is returned.
list_keyspace_cfs
- Usage: "list_keyspace_cfs($keyspace)"
+ Usage: "list_keyspace_cfs()"
Returns an HASH of "{ column_family_name => column_family_type }" where
column family type is either "Standard" or "Super"
@@ -191,6 +191,12 @@ SYNOPSYS
strategy
+ list_keyspaces
+ Usage "list_keyspaces()"
+
+ drop_keyspace
+ Usage "drop_keyspace($keyspace [, $opt])"
+
create_index
Usage: "create_index($keyspace, $column_family, $columns,
[$validation_class])"
View
4 debian/control
@@ -1,8 +1,8 @@
Source: libcassandra-simple-perl
Section: perl
Priority: optional
-Maintainer: filipe <the.wa.syndrome@gmail.com>
-Build-Depends: debhelper (>= 8)
+Maintainer: Filipe Gonçalves <the.wa.syndrome@gmail>
+Build-Depends: debhelper (>= 7)
Build-Depends-Indep: perl
Standards-Version: 3.9.2
Homepage: http://search.cpan.org/dist/Cassandra-Simple/
View
20 debian/control~
@@ -0,0 +1,20 @@
+Source: libcassandra-simple-perl
+Section: perl
+Priority: optional
+Maintainer: filipe <the.wa.syndrome@gmail.com>
+Build-Depends: debhelper (>= 8)
+Build-Depends-Indep: perl
+Standards-Version: 3.9.2
+Homepage: http://search.cpan.org/dist/Cassandra-Simple/
+
+Package: libcassandra-simple-perl
+Architecture: all
+Depends: ${misc:Depends}, ${perl:Depends}
+Description: Cassandra::Simple
+ Easy to use, Perl oriented client interface to Apache Cassandra.
+ .
+ Cassandra::Simple attempts to abstract the underlying Thrift methods as much
+ as possible to allow any Perl developer a small learning curve when using
+ Cassandra.
+ .
+ This description was automagically extracted from the module by dh-make-perl.
View
5 examples/cassandra_simple_test.pm
@@ -204,9 +204,8 @@ println
"\$conn->get( $composite_column_family, 'hello', { columns => [ composite('a', 'pt' ) ] } )";
my $x = $conn->get( $composite_column_family, "hello",
{ columns => [ composite( "a", "pt" ) ] } );
-println Dumper {
- map { ( join ':', @{ composite_to_array($_) } ) => $x->{$_} } keys %$x;
-};
+my %aux = map { ( join ':', @{ composite_to_array($_) } ) => $x->{$_} } keys %$x;
+println Dumper \%aux;
println Dumper "\$conn->remove($composite_column_family)";
println Dumper $conn->remove($composite_column_family);

0 comments on commit 4cdd34d

Please sign in to comment.