cassandro 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/cassandro.gemspec +1 -1
- data/lib/cassandro/model.rb +2 -2
- metadata +17 -16
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
YmU3MGIxYmQ1NDJiYmVlODVmYTY5OWM5NjhmZWY0NWM5MjMyMDFlMw==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
MjYwYzViZjQ3MmQ4Nzg4YTAxNzVkM2JmYWJjYjY2Y2Q1MzQyNzY3Yg==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
ZTQ1ODc1MzhhMWY5NGUxNDEyMGZjZDk3NWFjYTUxNTI0MTUyNTgwMzVhOTMx
|
10
|
+
NTgwMzE3ZGY5YmEzNTBiNDk2MzU2OGNhMjdmOWM0MGRlZjQ3MjJmNDAwZWUw
|
11
|
+
MThhMWRjODY1MGYyMTQxMWQ0ZTM2YjM4N2I0ODA4OGMxYzAyZDY=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
Nzk0NTNkMDhhMmI1YTYwZDJlYjY3ZTUyZWQ5ZmQ4MmM2NTBkZTU5NjYzNzEw
|
14
|
+
OGIwOWJlMGFhMjRlODRkMmI1Yjk3ODZlM2RhMzIzODQ1ODZkOGUwOGVjNDdl
|
15
|
+
Y2IxNDIzMjkyOTNhYWNjMTVhODI4MGI1ZDcwOTMxZjQzNjcxYWE=
|
data/cassandro.gemspec
CHANGED
data/lib/cassandro/model.rb
CHANGED
@@ -16,7 +16,7 @@ module Cassandro
|
|
16
16
|
when "Cassandra::Uuid"
|
17
17
|
send(:"#{att}=", val.to_s)
|
18
18
|
when "Time"
|
19
|
-
send(:"#{att}=",
|
19
|
+
send(:"#{att}=", val.to_datetime)
|
20
20
|
else
|
21
21
|
send(:"#{att}=", val)
|
22
22
|
end
|
@@ -268,7 +268,7 @@ module Cassandro
|
|
268
268
|
when :int, :integer
|
269
269
|
value.to_i
|
270
270
|
when :datetime
|
271
|
-
value.
|
271
|
+
value.strftime("%Q").to_i
|
272
272
|
else
|
273
273
|
"#{value}"
|
274
274
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cassandro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lautaro Orazi
|
@@ -9,46 +9,46 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-01-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cassandra-driver
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - ~>
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '1.0'
|
21
|
-
- -
|
21
|
+
- - ! '>='
|
22
22
|
- !ruby/object:Gem::Version
|
23
23
|
version: 1.0.0
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
27
|
requirements:
|
28
|
-
- -
|
28
|
+
- - ~>
|
29
29
|
- !ruby/object:Gem::Version
|
30
30
|
version: '1.0'
|
31
|
-
- -
|
31
|
+
- - ! '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 1.0.0
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: protest
|
36
36
|
requirement: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0.5'
|
41
|
-
- -
|
41
|
+
- - ! '>='
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: 0.5.3
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
46
|
version_requirements: !ruby/object:Gem::Requirement
|
47
47
|
requirements:
|
48
|
-
- -
|
48
|
+
- - ~>
|
49
49
|
- !ruby/object:Gem::Version
|
50
50
|
version: '0.5'
|
51
|
-
- -
|
51
|
+
- - ! '>='
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: 0.5.3
|
54
54
|
description: Lightweight Apache Cassandra ORM for Ruby
|
@@ -59,9 +59,9 @@ executables: []
|
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
|
-
-
|
63
|
-
-
|
64
|
-
-
|
62
|
+
- .gems
|
63
|
+
- .gems-test
|
64
|
+
- .gitignore
|
65
65
|
- LICENSE
|
66
66
|
- README.md
|
67
67
|
- cassandro.gemspec
|
@@ -93,18 +93,19 @@ require_paths:
|
|
93
93
|
- lib
|
94
94
|
required_ruby_version: !ruby/object:Gem::Requirement
|
95
95
|
requirements:
|
96
|
-
- -
|
96
|
+
- - ! '>='
|
97
97
|
- !ruby/object:Gem::Version
|
98
98
|
version: '0'
|
99
99
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - ! '>='
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
requirements: []
|
105
105
|
rubyforge_project:
|
106
|
-
rubygems_version: 2.
|
106
|
+
rubygems_version: 2.4.2
|
107
107
|
signing_key:
|
108
108
|
specification_version: 4
|
109
109
|
summary: Ruby ORM for Apache Cassandra
|
110
110
|
test_files: []
|
111
|
+
has_rdoc:
|