simple_record 1.0.10 → 1.1.17
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +200 -0
- data/lib/results_array.rb +137 -0
- data/lib/simple_record.rb +498 -263
- data/lib/stats.rb +16 -0
- data/test/my_child_model.rb +34 -0
- data/test/my_model.rb +47 -0
- data/test/paging_array_test.rb +15 -0
- data/test/temp_test.rb +63 -0
- data/test/test_simple_record.rb +227 -43
- metadata +24 -39
- data/History.txt +0 -6
- data/Manifest.txt +0 -7
- data/README.txt +0 -52
- data/Rakefile +0 -12
- data/bin/simple_record +0 -3
metadata
CHANGED
@@ -1,59 +1,40 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_record
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Travis Reeder
|
8
|
+
- Chad Arimura
|
9
|
+
- RightScale
|
8
10
|
autorequire:
|
9
11
|
bindir: bin
|
10
12
|
cert_chain: []
|
11
13
|
|
12
|
-
date: 2009-
|
14
|
+
date: 2009-09-21 00:00:00 -07:00
|
13
15
|
default_executable:
|
14
|
-
dependencies:
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
requirements:
|
21
|
-
- - ">="
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 2.0.0
|
24
|
-
version:
|
25
|
-
description: |-
|
26
|
-
An ActiveRecord interface for SimpleDB that takes care of offsets and padding, etc.
|
27
|
-
Can be used as a drop in replacement for ActiveRecord in rails.
|
28
|
-
|
29
|
-
Special thanks to Garrett Cox for creating Activerecord2sdb which SimpleRecord is based on:
|
30
|
-
http://activrecord2sdb.rubyforge.org/
|
31
|
-
email:
|
32
|
-
- travis@crankapps.com
|
33
|
-
executables:
|
34
|
-
- simple_record
|
16
|
+
dependencies: []
|
17
|
+
|
18
|
+
description: Drop in replacement for ActiveRecord to Amazon SimpleDB instead.
|
19
|
+
email: travis@appoxy.com
|
20
|
+
executables: []
|
21
|
+
|
35
22
|
extensions: []
|
36
23
|
|
37
24
|
extra_rdoc_files:
|
38
|
-
-
|
39
|
-
- Manifest.txt
|
40
|
-
- README.txt
|
25
|
+
- README.markdown
|
41
26
|
files:
|
42
|
-
-
|
43
|
-
- Manifest.txt
|
44
|
-
- README.txt
|
45
|
-
- Rakefile
|
46
|
-
- bin/simple_record
|
27
|
+
- lib/results_array.rb
|
47
28
|
- lib/simple_record.rb
|
48
|
-
-
|
29
|
+
- lib/stats.rb
|
30
|
+
- README.markdown
|
49
31
|
has_rdoc: true
|
50
|
-
homepage: http://
|
32
|
+
homepage: http://github.com/appoxy/simple_record/
|
51
33
|
licenses: []
|
52
34
|
|
53
35
|
post_install_message:
|
54
36
|
rdoc_options:
|
55
|
-
- --
|
56
|
-
- README.txt
|
37
|
+
- --charset=UTF-8
|
57
38
|
require_paths:
|
58
39
|
- lib
|
59
40
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -70,10 +51,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
70
51
|
version:
|
71
52
|
requirements: []
|
72
53
|
|
73
|
-
rubyforge_project:
|
74
|
-
rubygems_version: 1.3.
|
54
|
+
rubyforge_project:
|
55
|
+
rubygems_version: 1.3.5
|
75
56
|
signing_key:
|
76
|
-
specification_version:
|
77
|
-
summary:
|
57
|
+
specification_version: 2
|
58
|
+
summary: Drop in replacement for ActiveRecord to Amazon SimpleDB instead.
|
78
59
|
test_files:
|
60
|
+
- test/my_child_model.rb
|
61
|
+
- test/my_model.rb
|
62
|
+
- test/paging_array_test.rb
|
63
|
+
- test/temp_test.rb
|
79
64
|
- test/test_simple_record.rb
|
data/History.txt
DELETED
data/Manifest.txt
DELETED
data/README.txt
DELETED
@@ -1,52 +0,0 @@
|
|
1
|
-
= simple_record
|
2
|
-
|
3
|
-
http://code.google.com/p/simple-record/
|
4
|
-
|
5
|
-
== DESCRIPTION:
|
6
|
-
|
7
|
-
An ActiveRecord interface for SimpleDB that takes care of offsets and padding, etc.
|
8
|
-
Can be used as a drop in replacement for ActiveRecord in rails.
|
9
|
-
|
10
|
-
Special thanks to Garrett Cox for creating Activerecord2sdb which SimpleRecord is based on:
|
11
|
-
http://activrecord2sdb.rubyforge.org/
|
12
|
-
|
13
|
-
== FEATURES/PROBLEMS:
|
14
|
-
|
15
|
-
* FIX (list of features or problems)
|
16
|
-
|
17
|
-
== SYNOPSIS:
|
18
|
-
|
19
|
-
FIX (code sample of usage)
|
20
|
-
|
21
|
-
== REQUIREMENTS:
|
22
|
-
|
23
|
-
* FIX (list of requirements)
|
24
|
-
|
25
|
-
== INSTALL:
|
26
|
-
|
27
|
-
sudo gem install activesupport right_aws local_cache
|
28
|
-
|
29
|
-
== LICENSE:
|
30
|
-
|
31
|
-
(The MIT License)
|
32
|
-
|
33
|
-
Copyright (c) 2009 FIX
|
34
|
-
|
35
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
36
|
-
a copy of this software and associated documentation files (the
|
37
|
-
'Software'), to deal in the Software without restriction, including
|
38
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
39
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
40
|
-
permit persons to whom the Software is furnished to do so, subject to
|
41
|
-
the following conditions:
|
42
|
-
|
43
|
-
The above copyright notice and this permission notice shall be
|
44
|
-
included in all copies or substantial portions of the Software.
|
45
|
-
|
46
|
-
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
47
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
48
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
49
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
50
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
51
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
52
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/Rakefile
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
# -*- ruby -*-
|
2
|
-
|
3
|
-
require 'rubygems'
|
4
|
-
require 'hoe'
|
5
|
-
require './lib/simple_record.rb'
|
6
|
-
|
7
|
-
Hoe.new('simple_record', SimpleRecord::VERSION) do |p|
|
8
|
-
p.rubyforge_name = 'spacegems' # if different than lowercase project name
|
9
|
-
p.developer('Travis Reeder', 'travis@crankapps.com')
|
10
|
-
end
|
11
|
-
|
12
|
-
# vim: syntax=Ruby
|
data/bin/simple_record
DELETED