active_remote 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. data/.gitignore +10 -0
  2. data/.rspec +2 -0
  3. data/.rvmrc +1 -0
  4. data/Gemfile +7 -0
  5. data/LICENSE +22 -0
  6. data/README.md +86 -0
  7. data/Rakefile +21 -0
  8. data/active_remote.gemspec +35 -0
  9. data/lib/active_remote.rb +15 -0
  10. data/lib/active_remote/association.rb +152 -0
  11. data/lib/active_remote/attributes.rb +29 -0
  12. data/lib/active_remote/base.rb +49 -0
  13. data/lib/active_remote/bulk.rb +143 -0
  14. data/lib/active_remote/dirty.rb +70 -0
  15. data/lib/active_remote/dsl.rb +141 -0
  16. data/lib/active_remote/errors.rb +24 -0
  17. data/lib/active_remote/persistence.rb +226 -0
  18. data/lib/active_remote/rpc.rb +71 -0
  19. data/lib/active_remote/search.rb +131 -0
  20. data/lib/active_remote/serialization.rb +40 -0
  21. data/lib/active_remote/serializers/json.rb +18 -0
  22. data/lib/active_remote/serializers/protobuf.rb +100 -0
  23. data/lib/active_remote/version.rb +3 -0
  24. data/lib/core_ext/date.rb +7 -0
  25. data/lib/core_ext/date_time.rb +7 -0
  26. data/lib/core_ext/integer.rb +19 -0
  27. data/lib/protobuf_extensions/base_field.rb +18 -0
  28. data/spec/core_ext/date_time_spec.rb +10 -0
  29. data/spec/lib/active_remote/association_spec.rb +80 -0
  30. data/spec/lib/active_remote/base_spec.rb +10 -0
  31. data/spec/lib/active_remote/bulk_spec.rb +74 -0
  32. data/spec/lib/active_remote/dsl_spec.rb +73 -0
  33. data/spec/lib/active_remote/persistence_spec.rb +266 -0
  34. data/spec/lib/active_remote/rpc_spec.rb +94 -0
  35. data/spec/lib/active_remote/search_spec.rb +98 -0
  36. data/spec/lib/active_remote/serialization_spec.rb +57 -0
  37. data/spec/lib/active_remote/serializers/json_spec.rb +32 -0
  38. data/spec/lib/active_remote/serializers/protobuf_spec.rb +95 -0
  39. data/spec/spec_helper.rb +17 -0
  40. data/spec/support/definitions/author.proto +29 -0
  41. data/spec/support/definitions/post.proto +33 -0
  42. data/spec/support/definitions/support/protobuf/category.proto +29 -0
  43. data/spec/support/definitions/support/protobuf/error.proto +6 -0
  44. data/spec/support/definitions/tag.proto +29 -0
  45. data/spec/support/helpers.rb +37 -0
  46. data/spec/support/models.rb +5 -0
  47. data/spec/support/models/author.rb +14 -0
  48. data/spec/support/models/category.rb +14 -0
  49. data/spec/support/models/message_with_options.rb +11 -0
  50. data/spec/support/models/post.rb +16 -0
  51. data/spec/support/models/tag.rb +12 -0
  52. data/spec/support/protobuf.rb +4 -0
  53. data/spec/support/protobuf/author.pb.rb +54 -0
  54. data/spec/support/protobuf/category.pb.rb +54 -0
  55. data/spec/support/protobuf/error.pb.rb +21 -0
  56. data/spec/support/protobuf/post.pb.rb +58 -0
  57. data/spec/support/protobuf/tag.pb.rb +54 -0
  58. metadata +284 -0
@@ -0,0 +1,5 @@
1
+ require 'support/models/message_with_options'
2
+ require 'support/models/author'
3
+ require 'support/models/category'
4
+ require 'support/models/post'
5
+ require 'support/models/tag'
@@ -0,0 +1,14 @@
1
+ require 'support/protobuf/author.pb'
2
+
3
+ ##
4
+ # Define a generic class that inherits from active remote base
5
+ #
6
+ class Author < ::ActiveRemote::Base
7
+ service_class ::Generic::Remote::AuthorService
8
+
9
+ attribute :guid
10
+ attribute :name
11
+
12
+ has_many :posts
13
+
14
+ end
@@ -0,0 +1,14 @@
1
+ require 'support/protobuf/category.pb'
2
+
3
+ ##
4
+ # Define a generic class that inherits from active remote base
5
+ #
6
+ class Category < ::ActiveRemote::Base
7
+ service_class ::Generic::Remote::CategoryService
8
+
9
+ attribute :guid
10
+ attribute :name
11
+
12
+ belongs_to :post
13
+
14
+ end
@@ -0,0 +1,11 @@
1
+ ##
2
+ # Define a generic message with options that behaves like a protobuf search response
3
+ #
4
+ class MessageWithOptions
5
+ attr_accessor :records, :options
6
+
7
+ def initialize(attributes = {})
8
+ @records = attributes.fetch(:records, nil)
9
+ @options = attributes.fetch(:options, nil)
10
+ end
11
+ end
@@ -0,0 +1,16 @@
1
+ require 'support/protobuf/post.pb'
2
+
3
+ ##
4
+ # Define a generic class that inherits from active remote base
5
+ #
6
+ class Post < ::ActiveRemote::Base
7
+ service_class ::Generic::Remote::PostService
8
+
9
+ attribute :guid
10
+ attribute :name
11
+ attribute :author_guid
12
+
13
+ belongs_to :author
14
+ has_one :category
15
+
16
+ end
@@ -0,0 +1,12 @@
1
+ require 'support/protobuf/tag.pb'
2
+
3
+ ##
4
+ # Define a generic class that inherits from active remote base
5
+ #
6
+ class Tag < ::ActiveRemote::Base
7
+ service_class ::Generic::Remote::TagService
8
+
9
+ attribute :guid
10
+ attribute :name
11
+
12
+ end
@@ -0,0 +1,4 @@
1
+ require 'support/protobuf/author.pb'
2
+ require 'support/protobuf/category.pb'
3
+ require 'support/protobuf/post.pb'
4
+ require 'support/protobuf/tag.pb'
@@ -0,0 +1,54 @@
1
+ ##
2
+ # This file is auto-generated. DO NOT EDIT!
3
+ #
4
+ require 'protobuf/message'
5
+ require 'protobuf/rpc/service'
6
+
7
+ ##
8
+ # Imports
9
+ #
10
+ require 'support/protobuf/error.pb'
11
+
12
+ module Generic
13
+ module Remote
14
+
15
+ ##
16
+ # Message Classes
17
+ #
18
+ class Author < ::Protobuf::Message; end
19
+ class Authors < ::Protobuf::Message; end
20
+ class AuthorRequest < ::Protobuf::Message; end
21
+
22
+ ##
23
+ # Message Fields
24
+ #
25
+ class Author
26
+ optional ::Protobuf::Field::StringField, :guid, 1
27
+ optional ::Protobuf::Field::StringField, :name, 2
28
+ repeated ::Generic::Error, :errors, 3
29
+ end
30
+
31
+ class Authors
32
+ repeated ::Generic::Remote::Author, :records, 1
33
+ end
34
+
35
+ class AuthorRequest
36
+ repeated ::Protobuf::Field::StringField, :guid, 1
37
+ repeated ::Protobuf::Field::StringField, :name, 2
38
+ end
39
+
40
+ ##
41
+ # Services
42
+ #
43
+ class AuthorService < ::Protobuf::Rpc::Service
44
+ rpc :search, ::Generic::Remote::AuthorRequest, ::Generic::Remote::Authors
45
+ rpc :create, ::Generic::Remote::Author, ::Generic::Remote::Author
46
+ rpc :update, ::Generic::Remote::Author, ::Generic::Remote::Author
47
+ rpc :delete, ::Generic::Remote::Author, ::Generic::Remote::Author
48
+ rpc :create_all, ::Generic::Remote::Authors, ::Generic::Remote::Authors
49
+ rpc :update_all, ::Generic::Remote::Authors, ::Generic::Remote::Authors
50
+ rpc :delete_all, ::Generic::Remote::Authors, ::Generic::Remote::Authors
51
+ rpc :destroy_all, ::Generic::Remote::Authors, ::Generic::Remote::Authors
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,54 @@
1
+ ##
2
+ # This file is auto-generated. DO NOT EDIT!
3
+ #
4
+ require 'protobuf/message'
5
+ require 'protobuf/rpc/service'
6
+
7
+ ##
8
+ # Imports
9
+ #
10
+ require 'support/protobuf/error.pb'
11
+
12
+ module Generic
13
+ module Remote
14
+
15
+ ##
16
+ # Message Classes
17
+ #
18
+ class Category < ::Protobuf::Message; end
19
+ class Categories < ::Protobuf::Message; end
20
+ class CategoryRequest < ::Protobuf::Message; end
21
+
22
+ ##
23
+ # Message Fields
24
+ #
25
+ class Category
26
+ optional ::Protobuf::Field::StringField, :guid, 1
27
+ optional ::Protobuf::Field::StringField, :name, 2
28
+ repeated ::Generic::Error, :errors, 3
29
+ end
30
+
31
+ class Categories
32
+ repeated ::Generic::Remote::Category, :records, 1
33
+ end
34
+
35
+ class CategoryRequest
36
+ repeated ::Protobuf::Field::StringField, :guid, 1
37
+ repeated ::Protobuf::Field::StringField, :name, 2
38
+ end
39
+
40
+ ##
41
+ # Services
42
+ #
43
+ class CategoryService < ::Protobuf::Rpc::Service
44
+ rpc :search, ::Generic::Remote::CategoryRequest, ::Generic::Remote::Categories
45
+ rpc :create, ::Generic::Remote::Category, ::Generic::Remote::Category
46
+ rpc :update, ::Generic::Remote::Category, ::Generic::Remote::Category
47
+ rpc :delete, ::Generic::Remote::Category, ::Generic::Remote::Category
48
+ rpc :create_all, ::Generic::Remote::Categories, ::Generic::Remote::Categories
49
+ rpc :update_all, ::Generic::Remote::Categories, ::Generic::Remote::Categories
50
+ rpc :delete_all, ::Generic::Remote::Categories, ::Generic::Remote::Categories
51
+ rpc :destroy_all, ::Generic::Remote::Categories, ::Generic::Remote::Categories
52
+ end
53
+ end
54
+ end
@@ -0,0 +1,21 @@
1
+ ##
2
+ # This file is auto-generated. DO NOT EDIT!
3
+ #
4
+ require 'protobuf/message'
5
+
6
+ module Generic
7
+
8
+ ##
9
+ # Message Classes
10
+ #
11
+ class Error < ::Protobuf::Message; end
12
+
13
+ ##
14
+ # Message Fields
15
+ #
16
+ class Error
17
+ optional ::Protobuf::Field::StringField, :field, 1
18
+ optional ::Protobuf::Field::StringField, :message, 2
19
+ end
20
+
21
+ end
@@ -0,0 +1,58 @@
1
+ ##
2
+ # This file is auto-generated. DO NOT EDIT!
3
+ #
4
+ require 'protobuf/message'
5
+ require 'protobuf/rpc/service'
6
+
7
+ ##
8
+ # Imports
9
+ #
10
+ require 'support/protobuf/error.pb'
11
+ require 'support/protobuf/category.pb'
12
+
13
+ module Generic
14
+ module Remote
15
+
16
+ ##
17
+ # Message Classes
18
+ #
19
+ class Post < ::Protobuf::Message; end
20
+ class Posts < ::Protobuf::Message; end
21
+ class PostRequest < ::Protobuf::Message; end
22
+
23
+ ##
24
+ # Message Fields
25
+ #
26
+ class Post
27
+ optional ::Protobuf::Field::StringField, :guid, 1
28
+ optional ::Protobuf::Field::StringField, :name, 2
29
+ optional ::Protobuf::Field::StringField, :author_guid, 3
30
+ optional ::Generic::Remote::Category, :category, 4
31
+ repeated ::Generic::Error, :errors, 5
32
+ end
33
+
34
+ class Posts
35
+ repeated ::Generic::Remote::Post, :records, 1
36
+ end
37
+
38
+ class PostRequest
39
+ repeated ::Protobuf::Field::StringField, :guid, 1
40
+ repeated ::Protobuf::Field::StringField, :name, 2
41
+ repeated ::Protobuf::Field::StringField, :author_guid, 3
42
+ end
43
+
44
+ ##
45
+ # Services
46
+ #
47
+ class PostService < ::Protobuf::Rpc::Service
48
+ rpc :search, ::Generic::Remote::PostRequest, ::Generic::Remote::Posts
49
+ rpc :create, ::Generic::Remote::Post, ::Generic::Remote::Post
50
+ rpc :update, ::Generic::Remote::Post, ::Generic::Remote::Post
51
+ rpc :delete, ::Generic::Remote::Post, ::Generic::Remote::Post
52
+ rpc :create_all, ::Generic::Remote::Posts, ::Generic::Remote::Posts
53
+ rpc :update_all, ::Generic::Remote::Posts, ::Generic::Remote::Posts
54
+ rpc :delete_all, ::Generic::Remote::Posts, ::Generic::Remote::Posts
55
+ rpc :destroy_all, ::Generic::Remote::Posts, ::Generic::Remote::Posts
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,54 @@
1
+ ##
2
+ # This file is auto-generated. DO NOT EDIT!
3
+ #
4
+ require 'protobuf/message'
5
+ require 'protobuf/rpc/service'
6
+
7
+ ##
8
+ # Imports
9
+ #
10
+ require 'support/protobuf/error.pb'
11
+
12
+ module Generic
13
+ module Remote
14
+
15
+ ##
16
+ # Message Classes
17
+ #
18
+ class Tag < ::Protobuf::Message; end
19
+ class Tags < ::Protobuf::Message; end
20
+ class TagRequest < ::Protobuf::Message; end
21
+
22
+ ##
23
+ # Message Fields
24
+ #
25
+ class Tag
26
+ optional ::Protobuf::Field::StringField, :guid, 1
27
+ optional ::Protobuf::Field::StringField, :name, 2
28
+ repeated ::Generic::Error, :errors, 3
29
+ end
30
+
31
+ class Tags
32
+ repeated ::Generic::Remote::Tag, :records, 1
33
+ end
34
+
35
+ class TagRequest
36
+ repeated ::Protobuf::Field::StringField, :guid, 1
37
+ repeated ::Protobuf::Field::StringField, :name, 2
38
+ end
39
+
40
+ ##
41
+ # Services
42
+ #
43
+ class TagService < ::Protobuf::Rpc::Service
44
+ rpc :search, ::Generic::Remote::TagRequest, ::Generic::Remote::Tags
45
+ rpc :create, ::Generic::Remote::Tag, ::Generic::Remote::Tag
46
+ rpc :update, ::Generic::Remote::Tag, ::Generic::Remote::Tag
47
+ rpc :delete, ::Generic::Remote::Tag, ::Generic::Remote::Tag
48
+ rpc :create_all, ::Generic::Remote::Tags, ::Generic::Remote::Tags
49
+ rpc :update_all, ::Generic::Remote::Tags, ::Generic::Remote::Tags
50
+ rpc :delete_all, ::Generic::Remote::Tags, ::Generic::Remote::Tags
51
+ rpc :destroy_all, ::Generic::Remote::Tags, ::Generic::Remote::Tags
52
+ end
53
+ end
54
+ end
metadata ADDED
@@ -0,0 +1,284 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: active_remote
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.2.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Adam Hutchison
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-11-16 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: activemodel
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
30
+ - !ruby/object:Gem::Dependency
31
+ name: active_attr
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: protobuf
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '2.0'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '2.0'
62
+ - !ruby/object:Gem::Dependency
63
+ name: rake
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: rspec
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :development
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ - !ruby/object:Gem::Dependency
95
+ name: rspec-pride
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: pry-nav
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ - !ruby/object:Gem::Dependency
127
+ name: protobuf-rspec
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ type: :development
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
142
+ - !ruby/object:Gem::Dependency
143
+ name: simplecov
144
+ requirement: !ruby/object:Gem::Requirement
145
+ none: false
146
+ requirements:
147
+ - - ! '>='
148
+ - !ruby/object:Gem::Version
149
+ version: '0'
150
+ type: :development
151
+ prerelease: false
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ! '>='
156
+ - !ruby/object:Gem::Version
157
+ version: '0'
158
+ description: Active Remote provides Active Record-like object-relational mapping over
159
+ RPC. It was written for use with Google Protocol Buffers, but could be extended
160
+ to use any RPC data format.
161
+ email:
162
+ - liveh2o@gmail.com
163
+ executables: []
164
+ extensions: []
165
+ extra_rdoc_files: []
166
+ files:
167
+ - .gitignore
168
+ - .rspec
169
+ - .rvmrc
170
+ - Gemfile
171
+ - LICENSE
172
+ - README.md
173
+ - Rakefile
174
+ - active_remote.gemspec
175
+ - lib/active_remote.rb
176
+ - lib/active_remote/association.rb
177
+ - lib/active_remote/attributes.rb
178
+ - lib/active_remote/base.rb
179
+ - lib/active_remote/bulk.rb
180
+ - lib/active_remote/dirty.rb
181
+ - lib/active_remote/dsl.rb
182
+ - lib/active_remote/errors.rb
183
+ - lib/active_remote/persistence.rb
184
+ - lib/active_remote/rpc.rb
185
+ - lib/active_remote/search.rb
186
+ - lib/active_remote/serialization.rb
187
+ - lib/active_remote/serializers/json.rb
188
+ - lib/active_remote/serializers/protobuf.rb
189
+ - lib/active_remote/version.rb
190
+ - lib/core_ext/date.rb
191
+ - lib/core_ext/date_time.rb
192
+ - lib/core_ext/integer.rb
193
+ - lib/protobuf_extensions/base_field.rb
194
+ - spec/core_ext/date_time_spec.rb
195
+ - spec/lib/active_remote/association_spec.rb
196
+ - spec/lib/active_remote/base_spec.rb
197
+ - spec/lib/active_remote/bulk_spec.rb
198
+ - spec/lib/active_remote/dsl_spec.rb
199
+ - spec/lib/active_remote/persistence_spec.rb
200
+ - spec/lib/active_remote/rpc_spec.rb
201
+ - spec/lib/active_remote/search_spec.rb
202
+ - spec/lib/active_remote/serialization_spec.rb
203
+ - spec/lib/active_remote/serializers/json_spec.rb
204
+ - spec/lib/active_remote/serializers/protobuf_spec.rb
205
+ - spec/spec_helper.rb
206
+ - spec/support/definitions/author.proto
207
+ - spec/support/definitions/post.proto
208
+ - spec/support/definitions/support/protobuf/category.proto
209
+ - spec/support/definitions/support/protobuf/error.proto
210
+ - spec/support/definitions/tag.proto
211
+ - spec/support/helpers.rb
212
+ - spec/support/models.rb
213
+ - spec/support/models/author.rb
214
+ - spec/support/models/category.rb
215
+ - spec/support/models/message_with_options.rb
216
+ - spec/support/models/post.rb
217
+ - spec/support/models/tag.rb
218
+ - spec/support/protobuf.rb
219
+ - spec/support/protobuf/author.pb.rb
220
+ - spec/support/protobuf/category.pb.rb
221
+ - spec/support/protobuf/error.pb.rb
222
+ - spec/support/protobuf/post.pb.rb
223
+ - spec/support/protobuf/tag.pb.rb
224
+ homepage: https://github.com/liveh2o/active_remote
225
+ licenses: []
226
+ post_install_message:
227
+ rdoc_options: []
228
+ require_paths:
229
+ - lib
230
+ required_ruby_version: !ruby/object:Gem::Requirement
231
+ none: false
232
+ requirements:
233
+ - - ! '>='
234
+ - !ruby/object:Gem::Version
235
+ version: '0'
236
+ segments:
237
+ - 0
238
+ hash: -4325357550838090592
239
+ required_rubygems_version: !ruby/object:Gem::Requirement
240
+ none: false
241
+ requirements:
242
+ - - ! '>='
243
+ - !ruby/object:Gem::Version
244
+ version: '0'
245
+ segments:
246
+ - 0
247
+ hash: -4325357550838090592
248
+ requirements: []
249
+ rubyforge_project:
250
+ rubygems_version: 1.8.24
251
+ signing_key:
252
+ specification_version: 3
253
+ summary: Active Record for your platform
254
+ test_files:
255
+ - spec/core_ext/date_time_spec.rb
256
+ - spec/lib/active_remote/association_spec.rb
257
+ - spec/lib/active_remote/base_spec.rb
258
+ - spec/lib/active_remote/bulk_spec.rb
259
+ - spec/lib/active_remote/dsl_spec.rb
260
+ - spec/lib/active_remote/persistence_spec.rb
261
+ - spec/lib/active_remote/rpc_spec.rb
262
+ - spec/lib/active_remote/search_spec.rb
263
+ - spec/lib/active_remote/serialization_spec.rb
264
+ - spec/lib/active_remote/serializers/json_spec.rb
265
+ - spec/lib/active_remote/serializers/protobuf_spec.rb
266
+ - spec/spec_helper.rb
267
+ - spec/support/definitions/author.proto
268
+ - spec/support/definitions/post.proto
269
+ - spec/support/definitions/support/protobuf/category.proto
270
+ - spec/support/definitions/support/protobuf/error.proto
271
+ - spec/support/definitions/tag.proto
272
+ - spec/support/helpers.rb
273
+ - spec/support/models.rb
274
+ - spec/support/models/author.rb
275
+ - spec/support/models/category.rb
276
+ - spec/support/models/message_with_options.rb
277
+ - spec/support/models/post.rb
278
+ - spec/support/models/tag.rb
279
+ - spec/support/protobuf.rb
280
+ - spec/support/protobuf/author.pb.rb
281
+ - spec/support/protobuf/category.pb.rb
282
+ - spec/support/protobuf/error.pb.rb
283
+ - spec/support/protobuf/post.pb.rb
284
+ - spec/support/protobuf/tag.pb.rb