cassandra-model 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/cassandra-model-0.2.3.gem +0 -0
- data/cassandra-model.gemspec +3 -2
- data/lib/cassandra-model/types.rb +1 -1
- metadata +4 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.4
|
|
Binary file
|
data/cassandra-model.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{cassandra-model}
|
|
8
|
-
s.version = "0.2.
|
|
8
|
+
s.version = "0.2.4"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Tien Le"]
|
|
12
|
-
s.date = %q{2011-
|
|
12
|
+
s.date = %q{2011-07-22}
|
|
13
13
|
s.description = %q{Cassandra-model allows you to map ColumnFamily/SuperColumnFamily in Cassandra to Ruby objects. It was designed to be fast and simple.}
|
|
14
14
|
s.email = %q{tienlx /at/ gmail /dot/ com}
|
|
15
15
|
s.extra_rdoc_files = [
|
|
@@ -23,6 +23,7 @@ Gem::Specification.new do |s|
|
|
|
23
23
|
"README.rdoc",
|
|
24
24
|
"Rakefile",
|
|
25
25
|
"VERSION",
|
|
26
|
+
"cassandra-model-0.2.3.gem",
|
|
26
27
|
"cassandra-model.gemspec",
|
|
27
28
|
"lib/cassandra-model.rb",
|
|
28
29
|
"lib/cassandra-model/base.rb",
|
|
@@ -3,7 +3,7 @@ module CassandraModel
|
|
|
3
3
|
def self.load(v)
|
|
4
4
|
return '' unless v
|
|
5
5
|
s = v.to_s
|
|
6
|
-
s.force_encoding('UTF-8') if (RUBY_VERSION > '1.9' && s.encoding.name.downcase != 'utf-8')
|
|
6
|
+
s.clone.force_encoding('UTF-8') if (RUBY_VERSION > '1.9' && s.encoding.name.downcase != 'utf-8')
|
|
7
7
|
s
|
|
8
8
|
end
|
|
9
9
|
end
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 2
|
|
8
|
-
-
|
|
9
|
-
version: 0.2.
|
|
8
|
+
- 4
|
|
9
|
+
version: 0.2.4
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Tien Le
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2011-
|
|
17
|
+
date: 2011-07-22 00:00:00 +07:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
@@ -59,6 +59,7 @@ files:
|
|
|
59
59
|
- README.rdoc
|
|
60
60
|
- Rakefile
|
|
61
61
|
- VERSION
|
|
62
|
+
- cassandra-model-0.2.3.gem
|
|
62
63
|
- cassandra-model.gemspec
|
|
63
64
|
- lib/cassandra-model.rb
|
|
64
65
|
- lib/cassandra-model/base.rb
|