cassanity 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +19 -0
- data/.rspec +1 -0
- data/.travis.yml +10 -0
- data/Gemfile +11 -0
- data/Guardfile +17 -0
- data/LICENSE.txt +22 -0
- data/README.md +99 -0
- data/Rakefile +16 -0
- data/cassanity.gemspec +21 -0
- data/examples/_shared.rb +8 -0
- data/examples/batch.rb +40 -0
- data/examples/column_families.rb +68 -0
- data/examples/keyspaces.rb +57 -0
- data/lib/cassanity/argument_generators/batch.rb +52 -0
- data/lib/cassanity/argument_generators/column_family_alter.rb +47 -0
- data/lib/cassanity/argument_generators/column_family_create.rb +44 -0
- data/lib/cassanity/argument_generators/column_family_delete.rb +65 -0
- data/lib/cassanity/argument_generators/column_family_drop.rb +18 -0
- data/lib/cassanity/argument_generators/column_family_insert.rb +53 -0
- data/lib/cassanity/argument_generators/column_family_select.rb +34 -0
- data/lib/cassanity/argument_generators/column_family_truncate.rb +18 -0
- data/lib/cassanity/argument_generators/column_family_update.rb +69 -0
- data/lib/cassanity/argument_generators/index_create.rb +22 -0
- data/lib/cassanity/argument_generators/index_drop.rb +13 -0
- data/lib/cassanity/argument_generators/keyspace_create.rb +51 -0
- data/lib/cassanity/argument_generators/keyspace_drop.rb +13 -0
- data/lib/cassanity/argument_generators/keyspace_use.rb +13 -0
- data/lib/cassanity/argument_generators/keyspaces.rb +12 -0
- data/lib/cassanity/argument_generators/set_clause.rb +30 -0
- data/lib/cassanity/argument_generators/using_clause.rb +24 -0
- data/lib/cassanity/argument_generators/where_clause.rb +29 -0
- data/lib/cassanity/argument_generators/with_clause.rb +32 -0
- data/lib/cassanity/column_family.rb +233 -0
- data/lib/cassanity/connection.rb +88 -0
- data/lib/cassanity/error.rb +28 -0
- data/lib/cassanity/executors/cassandra_cql.rb +120 -0
- data/lib/cassanity/keyspace.rb +118 -0
- data/lib/cassanity/result_transformers/column_family_select.rb +15 -0
- data/lib/cassanity/result_transformers/mirror.rb +12 -0
- data/lib/cassanity/schema.rb +26 -0
- data/lib/cassanity/version.rb +3 -0
- data/lib/cassanity.rb +5 -0
- data/spec/helper.rb +27 -0
- data/spec/integration/cassanity/column_family_spec.rb +243 -0
- data/spec/integration/cassanity/connection_spec.rb +87 -0
- data/spec/integration/cassanity/keyspace_spec.rb +64 -0
- data/spec/support/cassanity_helpers.rb +35 -0
- data/spec/unit/cassanity/argument_generators/batch_spec.rb +36 -0
- data/spec/unit/cassanity/argument_generators/column_family_alter_spec.rb +85 -0
- data/spec/unit/cassanity/argument_generators/column_family_create_spec.rb +107 -0
- data/spec/unit/cassanity/argument_generators/column_family_delete_spec.rb +92 -0
- data/spec/unit/cassanity/argument_generators/column_family_drop_spec.rb +25 -0
- data/spec/unit/cassanity/argument_generators/column_family_insert_spec.rb +70 -0
- data/spec/unit/cassanity/argument_generators/column_family_select_spec.rb +113 -0
- data/spec/unit/cassanity/argument_generators/column_family_truncate_spec.rb +25 -0
- data/spec/unit/cassanity/argument_generators/column_family_update_spec.rb +109 -0
- data/spec/unit/cassanity/argument_generators/index_create_spec.rb +39 -0
- data/spec/unit/cassanity/argument_generators/index_drop_spec.rb +14 -0
- data/spec/unit/cassanity/argument_generators/keyspace_create_spec.rb +53 -0
- data/spec/unit/cassanity/argument_generators/keyspace_drop_spec.rb +14 -0
- data/spec/unit/cassanity/argument_generators/keyspace_use_spec.rb +14 -0
- data/spec/unit/cassanity/argument_generators/keyspaces_spec.rb +12 -0
- data/spec/unit/cassanity/argument_generators/set_clause_spec.rb +85 -0
- data/spec/unit/cassanity/argument_generators/using_clause_spec.rb +44 -0
- data/spec/unit/cassanity/argument_generators/where_clause_spec.rb +57 -0
- data/spec/unit/cassanity/argument_generators/with_clause_spec.rb +63 -0
- data/spec/unit/cassanity/column_family_spec.rb +250 -0
- data/spec/unit/cassanity/connection_spec.rb +75 -0
- data/spec/unit/cassanity/error_spec.rb +35 -0
- data/spec/unit/cassanity/executors/cassandra_cql_spec.rb +178 -0
- data/spec/unit/cassanity/keyspace_spec.rb +137 -0
- data/spec/unit/cassanity/result_transformers/column_family_select_spec.rb +0 -0
- data/spec/unit/cassanity/result_transformers/mirror_spec.rb +12 -0
- data/spec/unit/cassanity/schema_spec.rb +23 -0
- data/spec/unit/cassanity_spec.rb +5 -0
- metadata +172 -0
metadata
ADDED
@@ -0,0 +1,172 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: cassanity
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- John Nunemaker
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-11-06 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: cassandra-cql
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 1.1.3
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 1.1.3
|
30
|
+
description: Layer of goodness on top of cassandra-cql so you do not have to write
|
31
|
+
CQL strings all over the place.
|
32
|
+
email:
|
33
|
+
- nunemaker@gmail.com
|
34
|
+
executables: []
|
35
|
+
extensions: []
|
36
|
+
extra_rdoc_files: []
|
37
|
+
files:
|
38
|
+
- .gitignore
|
39
|
+
- .rspec
|
40
|
+
- .travis.yml
|
41
|
+
- Gemfile
|
42
|
+
- Guardfile
|
43
|
+
- LICENSE.txt
|
44
|
+
- README.md
|
45
|
+
- Rakefile
|
46
|
+
- cassanity.gemspec
|
47
|
+
- examples/_shared.rb
|
48
|
+
- examples/batch.rb
|
49
|
+
- examples/column_families.rb
|
50
|
+
- examples/keyspaces.rb
|
51
|
+
- lib/cassanity.rb
|
52
|
+
- lib/cassanity/argument_generators/batch.rb
|
53
|
+
- lib/cassanity/argument_generators/column_family_alter.rb
|
54
|
+
- lib/cassanity/argument_generators/column_family_create.rb
|
55
|
+
- lib/cassanity/argument_generators/column_family_delete.rb
|
56
|
+
- lib/cassanity/argument_generators/column_family_drop.rb
|
57
|
+
- lib/cassanity/argument_generators/column_family_insert.rb
|
58
|
+
- lib/cassanity/argument_generators/column_family_select.rb
|
59
|
+
- lib/cassanity/argument_generators/column_family_truncate.rb
|
60
|
+
- lib/cassanity/argument_generators/column_family_update.rb
|
61
|
+
- lib/cassanity/argument_generators/index_create.rb
|
62
|
+
- lib/cassanity/argument_generators/index_drop.rb
|
63
|
+
- lib/cassanity/argument_generators/keyspace_create.rb
|
64
|
+
- lib/cassanity/argument_generators/keyspace_drop.rb
|
65
|
+
- lib/cassanity/argument_generators/keyspace_use.rb
|
66
|
+
- lib/cassanity/argument_generators/keyspaces.rb
|
67
|
+
- lib/cassanity/argument_generators/set_clause.rb
|
68
|
+
- lib/cassanity/argument_generators/using_clause.rb
|
69
|
+
- lib/cassanity/argument_generators/where_clause.rb
|
70
|
+
- lib/cassanity/argument_generators/with_clause.rb
|
71
|
+
- lib/cassanity/column_family.rb
|
72
|
+
- lib/cassanity/connection.rb
|
73
|
+
- lib/cassanity/error.rb
|
74
|
+
- lib/cassanity/executors/cassandra_cql.rb
|
75
|
+
- lib/cassanity/keyspace.rb
|
76
|
+
- lib/cassanity/result_transformers/column_family_select.rb
|
77
|
+
- lib/cassanity/result_transformers/mirror.rb
|
78
|
+
- lib/cassanity/schema.rb
|
79
|
+
- lib/cassanity/version.rb
|
80
|
+
- spec/helper.rb
|
81
|
+
- spec/integration/cassanity/column_family_spec.rb
|
82
|
+
- spec/integration/cassanity/connection_spec.rb
|
83
|
+
- spec/integration/cassanity/keyspace_spec.rb
|
84
|
+
- spec/support/cassanity_helpers.rb
|
85
|
+
- spec/unit/cassanity/argument_generators/batch_spec.rb
|
86
|
+
- spec/unit/cassanity/argument_generators/column_family_alter_spec.rb
|
87
|
+
- spec/unit/cassanity/argument_generators/column_family_create_spec.rb
|
88
|
+
- spec/unit/cassanity/argument_generators/column_family_delete_spec.rb
|
89
|
+
- spec/unit/cassanity/argument_generators/column_family_drop_spec.rb
|
90
|
+
- spec/unit/cassanity/argument_generators/column_family_insert_spec.rb
|
91
|
+
- spec/unit/cassanity/argument_generators/column_family_select_spec.rb
|
92
|
+
- spec/unit/cassanity/argument_generators/column_family_truncate_spec.rb
|
93
|
+
- spec/unit/cassanity/argument_generators/column_family_update_spec.rb
|
94
|
+
- spec/unit/cassanity/argument_generators/index_create_spec.rb
|
95
|
+
- spec/unit/cassanity/argument_generators/index_drop_spec.rb
|
96
|
+
- spec/unit/cassanity/argument_generators/keyspace_create_spec.rb
|
97
|
+
- spec/unit/cassanity/argument_generators/keyspace_drop_spec.rb
|
98
|
+
- spec/unit/cassanity/argument_generators/keyspace_use_spec.rb
|
99
|
+
- spec/unit/cassanity/argument_generators/keyspaces_spec.rb
|
100
|
+
- spec/unit/cassanity/argument_generators/set_clause_spec.rb
|
101
|
+
- spec/unit/cassanity/argument_generators/using_clause_spec.rb
|
102
|
+
- spec/unit/cassanity/argument_generators/where_clause_spec.rb
|
103
|
+
- spec/unit/cassanity/argument_generators/with_clause_spec.rb
|
104
|
+
- spec/unit/cassanity/column_family_spec.rb
|
105
|
+
- spec/unit/cassanity/connection_spec.rb
|
106
|
+
- spec/unit/cassanity/error_spec.rb
|
107
|
+
- spec/unit/cassanity/executors/cassandra_cql_spec.rb
|
108
|
+
- spec/unit/cassanity/keyspace_spec.rb
|
109
|
+
- spec/unit/cassanity/result_transformers/column_family_select_spec.rb
|
110
|
+
- spec/unit/cassanity/result_transformers/mirror_spec.rb
|
111
|
+
- spec/unit/cassanity/schema_spec.rb
|
112
|
+
- spec/unit/cassanity_spec.rb
|
113
|
+
homepage: https://github.com/jnunemaker/cassanity/
|
114
|
+
licenses: []
|
115
|
+
post_install_message:
|
116
|
+
rdoc_options: []
|
117
|
+
require_paths:
|
118
|
+
- lib
|
119
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
120
|
+
none: false
|
121
|
+
requirements:
|
122
|
+
- - ! '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
126
|
+
none: false
|
127
|
+
requirements:
|
128
|
+
- - ! '>='
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '0'
|
131
|
+
requirements: []
|
132
|
+
rubyforge_project:
|
133
|
+
rubygems_version: 1.8.23
|
134
|
+
signing_key:
|
135
|
+
specification_version: 3
|
136
|
+
summary: Layer of goodness on top of cassandra-cql so you do not have to write CQL
|
137
|
+
strings all over the place.
|
138
|
+
test_files:
|
139
|
+
- spec/helper.rb
|
140
|
+
- spec/integration/cassanity/column_family_spec.rb
|
141
|
+
- spec/integration/cassanity/connection_spec.rb
|
142
|
+
- spec/integration/cassanity/keyspace_spec.rb
|
143
|
+
- spec/support/cassanity_helpers.rb
|
144
|
+
- spec/unit/cassanity/argument_generators/batch_spec.rb
|
145
|
+
- spec/unit/cassanity/argument_generators/column_family_alter_spec.rb
|
146
|
+
- spec/unit/cassanity/argument_generators/column_family_create_spec.rb
|
147
|
+
- spec/unit/cassanity/argument_generators/column_family_delete_spec.rb
|
148
|
+
- spec/unit/cassanity/argument_generators/column_family_drop_spec.rb
|
149
|
+
- spec/unit/cassanity/argument_generators/column_family_insert_spec.rb
|
150
|
+
- spec/unit/cassanity/argument_generators/column_family_select_spec.rb
|
151
|
+
- spec/unit/cassanity/argument_generators/column_family_truncate_spec.rb
|
152
|
+
- spec/unit/cassanity/argument_generators/column_family_update_spec.rb
|
153
|
+
- spec/unit/cassanity/argument_generators/index_create_spec.rb
|
154
|
+
- spec/unit/cassanity/argument_generators/index_drop_spec.rb
|
155
|
+
- spec/unit/cassanity/argument_generators/keyspace_create_spec.rb
|
156
|
+
- spec/unit/cassanity/argument_generators/keyspace_drop_spec.rb
|
157
|
+
- spec/unit/cassanity/argument_generators/keyspace_use_spec.rb
|
158
|
+
- spec/unit/cassanity/argument_generators/keyspaces_spec.rb
|
159
|
+
- spec/unit/cassanity/argument_generators/set_clause_spec.rb
|
160
|
+
- spec/unit/cassanity/argument_generators/using_clause_spec.rb
|
161
|
+
- spec/unit/cassanity/argument_generators/where_clause_spec.rb
|
162
|
+
- spec/unit/cassanity/argument_generators/with_clause_spec.rb
|
163
|
+
- spec/unit/cassanity/column_family_spec.rb
|
164
|
+
- spec/unit/cassanity/connection_spec.rb
|
165
|
+
- spec/unit/cassanity/error_spec.rb
|
166
|
+
- spec/unit/cassanity/executors/cassandra_cql_spec.rb
|
167
|
+
- spec/unit/cassanity/keyspace_spec.rb
|
168
|
+
- spec/unit/cassanity/result_transformers/column_family_select_spec.rb
|
169
|
+
- spec/unit/cassanity/result_transformers/mirror_spec.rb
|
170
|
+
- spec/unit/cassanity/schema_spec.rb
|
171
|
+
- spec/unit/cassanity_spec.rb
|
172
|
+
has_rdoc:
|