gotime-cassandra_object 0.7.3 → 0.7.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.3
1
+ 0.7.4
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{gotime-cassandra_object}
8
- s.version = "0.7.3"
8
+ s.version = "0.7.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Michael Koziarski", "grantr"]
@@ -5,7 +5,7 @@ require 'active_model'
5
5
 
6
6
 
7
7
  module CassandraObject
8
- VERSION = "0.7.3"
8
+ VERSION = "0.7.4"
9
9
  extend ActiveSupport::Autoload
10
10
 
11
11
  autoload :Base
@@ -91,6 +91,10 @@ module CassandraObject
91
91
  yield i
92
92
  end
93
93
  end
94
+
95
+ def [](index)
96
+ to_a[index]
97
+ end
94
98
 
95
99
  def <<(record)
96
100
  @association.add(@owner, record)
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 7
8
- - 3
9
- version: 0.7.3
8
+ - 4
9
+ version: 0.7.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Michael Koziarski
@@ -213,7 +213,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
213
213
  requirements:
214
214
  - - ">="
215
215
  - !ruby/object:Gem::Version
216
- hash: -32715678761257107
216
+ hash: -2156348232490732598
217
217
  segments:
218
218
  - 0
219
219
  version: "0"