activerecord-simpledb-adapter 0.4.10 → 0.4.11
Sign up to get free protection for your applications and to get access to all the features.
- data/activerecord-simpledb-adapter.gemspec +3 -4
- data/lib/tasks/simpledb.rake +2 -2
- metadata +49 -48
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{activerecord-simpledb-adapter}
|
8
|
-
s.version = "0.4.
|
8
|
+
s.version = "0.4.11"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Ilia Ablamonov", "Alex Gorkunov", "Cloud Castle Inc."]
|
12
|
-
s.date = %q{2011-07-
|
12
|
+
s.date = %q{2011-07-26}
|
13
13
|
s.email = %q{ilia@flamefork.ru}
|
14
14
|
s.extra_rdoc_files = [
|
15
15
|
"LICENSE.txt",
|
@@ -40,11 +40,10 @@ Gem::Specification.new do |s|
|
|
40
40
|
s.homepage = %q{http://github.com/cloudcastle/activerecord-simpledb-adapter}
|
41
41
|
s.licenses = ["MIT"]
|
42
42
|
s.require_paths = ["lib"]
|
43
|
-
s.rubygems_version = %q{1.
|
43
|
+
s.rubygems_version = %q{1.6.2}
|
44
44
|
s.summary = %q{ActiveRecord SimpleDB adapter}
|
45
45
|
|
46
46
|
if s.respond_to? :specification_version then
|
47
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
48
47
|
s.specification_version = 3
|
49
48
|
|
50
49
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
data/lib/tasks/simpledb.rake
CHANGED
@@ -39,7 +39,7 @@ namespace :db do
|
|
39
39
|
if collections
|
40
40
|
collections.each do |c|
|
41
41
|
data[c] = []
|
42
|
-
c.
|
42
|
+
c.camelize.constantize.all.each { |item| data[c] << item.attributes }
|
43
43
|
end
|
44
44
|
File.open(dump_file, "w") do |out|
|
45
45
|
YAML.dump(data, out)
|
@@ -54,7 +54,7 @@ namespace :db do
|
|
54
54
|
if File.exists? dump_file
|
55
55
|
data = YAML.load_file(dump_file)
|
56
56
|
data.each_pair do |entity, values|
|
57
|
-
cls = entity.
|
57
|
+
cls = entity.camelize.constantize
|
58
58
|
cls.destroy_all
|
59
59
|
|
60
60
|
values.each { |val|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-simpledb-adapter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 25
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 11
|
10
|
+
version: 0.4.11
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ilia Ablamonov
|
@@ -17,11 +17,12 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2011-07-
|
20
|
+
date: 2011-07-26 00:00:00 +04:00
|
21
21
|
default_executable:
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|
24
|
-
|
24
|
+
type: :runtime
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
26
|
none: false
|
26
27
|
requirements:
|
27
28
|
- - ~>
|
@@ -32,12 +33,12 @@ dependencies:
|
|
32
33
|
- 3
|
33
34
|
- 0
|
34
35
|
version: 2.3.0
|
35
|
-
requirement: *id001
|
36
|
-
prerelease: false
|
37
|
-
type: :runtime
|
38
36
|
name: aws
|
37
|
+
version_requirements: *id001
|
38
|
+
prerelease: false
|
39
39
|
- !ruby/object:Gem::Dependency
|
40
|
-
|
40
|
+
type: :runtime
|
41
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
42
|
none: false
|
42
43
|
requirements:
|
43
44
|
- - ~>
|
@@ -48,12 +49,12 @@ dependencies:
|
|
48
49
|
- 0
|
49
50
|
- 9
|
50
51
|
version: 3.0.9
|
51
|
-
requirement: *id002
|
52
|
-
prerelease: false
|
53
|
-
type: :runtime
|
54
52
|
name: rails
|
53
|
+
version_requirements: *id002
|
54
|
+
prerelease: false
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
|
56
|
+
type: :runtime
|
57
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
57
58
|
none: false
|
58
59
|
requirements:
|
59
60
|
- - ~>
|
@@ -64,12 +65,12 @@ dependencies:
|
|
64
65
|
- 1
|
65
66
|
- 1
|
66
67
|
version: 2.1.1
|
67
|
-
requirement: *id003
|
68
|
-
prerelease: false
|
69
|
-
type: :runtime
|
70
68
|
name: uuidtools
|
69
|
+
version_requirements: *id003
|
70
|
+
prerelease: false
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
|
-
|
72
|
+
type: :development
|
73
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
73
74
|
none: false
|
74
75
|
requirements:
|
75
76
|
- - ">="
|
@@ -78,12 +79,12 @@ dependencies:
|
|
78
79
|
segments:
|
79
80
|
- 0
|
80
81
|
version: "0"
|
81
|
-
requirement: *id004
|
82
|
-
prerelease: false
|
83
|
-
type: :development
|
84
82
|
name: awesome_print
|
83
|
+
version_requirements: *id004
|
84
|
+
prerelease: false
|
85
85
|
- !ruby/object:Gem::Dependency
|
86
|
-
|
86
|
+
type: :development
|
87
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
87
88
|
none: false
|
88
89
|
requirements:
|
89
90
|
- - ~>
|
@@ -94,12 +95,12 @@ dependencies:
|
|
94
95
|
- 3
|
95
96
|
- 0
|
96
97
|
version: 2.3.0
|
97
|
-
requirement: *id005
|
98
|
-
prerelease: false
|
99
|
-
type: :development
|
100
98
|
name: rspec
|
99
|
+
version_requirements: *id005
|
100
|
+
prerelease: false
|
101
101
|
- !ruby/object:Gem::Dependency
|
102
|
-
|
102
|
+
type: :development
|
103
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
103
104
|
none: false
|
104
105
|
requirements:
|
105
106
|
- - ">="
|
@@ -108,12 +109,12 @@ dependencies:
|
|
108
109
|
segments:
|
109
110
|
- 0
|
110
111
|
version: "0"
|
111
|
-
requirement: *id006
|
112
|
-
prerelease: false
|
113
|
-
type: :development
|
114
112
|
name: jeweler
|
113
|
+
version_requirements: *id006
|
114
|
+
prerelease: false
|
115
115
|
- !ruby/object:Gem::Dependency
|
116
|
-
|
116
|
+
type: :development
|
117
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
117
118
|
none: false
|
118
119
|
requirements:
|
119
120
|
- - ">="
|
@@ -122,30 +123,31 @@ dependencies:
|
|
122
123
|
segments:
|
123
124
|
- 0
|
124
125
|
version: "0"
|
125
|
-
requirement: *id007
|
126
|
-
prerelease: false
|
127
|
-
type: :development
|
128
126
|
name: rcov
|
127
|
+
version_requirements: *id007
|
128
|
+
prerelease: false
|
129
129
|
- !ruby/object:Gem::Dependency
|
130
|
-
|
130
|
+
type: :development
|
131
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
131
132
|
none: false
|
132
133
|
requirements:
|
133
134
|
- - "="
|
134
135
|
- !ruby/object:Gem::Version
|
135
|
-
hash: -
|
136
|
+
hash: -8108402440
|
136
137
|
segments:
|
137
138
|
- 0
|
138
139
|
- 2
|
139
140
|
- 0
|
140
|
-
-
|
141
|
+
- prerails
|
142
|
+
- 3
|
141
143
|
- 2
|
142
144
|
version: 0.2.0.prerails3.2
|
143
|
-
requirement: *id008
|
144
|
-
prerelease: false
|
145
|
-
type: :development
|
146
145
|
name: genspec
|
146
|
+
version_requirements: *id008
|
147
|
+
prerelease: false
|
147
148
|
- !ruby/object:Gem::Dependency
|
148
|
-
|
149
|
+
type: :development
|
150
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
149
151
|
none: false
|
150
152
|
requirements:
|
151
153
|
- - ">="
|
@@ -154,12 +156,12 @@ dependencies:
|
|
154
156
|
segments:
|
155
157
|
- 0
|
156
158
|
version: "0"
|
157
|
-
requirement: *id009
|
158
|
-
prerelease: false
|
159
|
-
type: :development
|
160
159
|
name: thor
|
160
|
+
version_requirements: *id009
|
161
|
+
prerelease: false
|
161
162
|
- !ruby/object:Gem::Dependency
|
162
|
-
|
163
|
+
type: :development
|
164
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
163
165
|
none: false
|
164
166
|
requirements:
|
165
167
|
- - ">="
|
@@ -168,10 +170,9 @@ dependencies:
|
|
168
170
|
segments:
|
169
171
|
- 0
|
170
172
|
version: "0"
|
171
|
-
requirement: *id010
|
172
|
-
prerelease: false
|
173
|
-
type: :development
|
174
173
|
name: ruby-debug
|
174
|
+
version_requirements: *id010
|
175
|
+
prerelease: false
|
175
176
|
description:
|
176
177
|
email: ilia@flamefork.ru
|
177
178
|
executables: []
|
@@ -232,7 +233,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
232
233
|
requirements: []
|
233
234
|
|
234
235
|
rubyforge_project:
|
235
|
-
rubygems_version: 1.
|
236
|
+
rubygems_version: 1.6.2
|
236
237
|
signing_key:
|
237
238
|
specification_version: 3
|
238
239
|
summary: ActiveRecord SimpleDB adapter
|