Skip to content

Commit

Permalink
Added delete and delete_at to ResultsArray.
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Reeder authored and unknown committed Sep 13, 2009
1 parent 68441cd commit 8601b56
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION.yml
@@ -1,5 +1,5 @@
---
:major: 1
:minor: 1
:patch: 13
:patch: 14

8 changes: 8 additions & 0 deletions lib/results_array.rb
Expand Up @@ -92,6 +92,14 @@ def each(&blk)
end
end

def delete(item)
@items.delete(item)
end

def delete_at(index)
@items.delete_at(index)
end

end
end

4 changes: 2 additions & 2 deletions simple_record.gemspec
Expand Up @@ -5,11 +5,11 @@

Gem::Specification.new do |s|
s.name = %q{simple_record}
s.version = "1.1.13"
s.version = "1.1.14"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Travis Reeder", "RightScale"]
s.date = %q{2009-08-23}
s.date = %q{2009-09-12}
s.description = %q{Drop in replacement for ActiveRecord to Amazon SimpleDB instead.}
s.email = %q{travis@appoxy.com}
s.extra_rdoc_files = [
Expand Down

0 comments on commit 8601b56

Please sign in to comment.