ninja-model 0.5.3 → 0.5.4

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.
@@ -27,6 +27,8 @@ module NinjaModel
27
27
  include ActiveModel::Dirty
28
28
  include ActiveRecord::Aggregations
29
29
  include ActiveRecord::NamedScope
30
+ include ActiveModel::Serializers::JSON
31
+ include ActiveModel::Serializers::Xml
30
32
 
31
33
  define_model_callbacks :initialize, :find, :touch, :only => :after
32
34
 
@@ -1,3 +1,3 @@
1
1
  module NinjaModel
2
- VERSION = "0.5.3"
2
+ VERSION = "0.5.4"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ninja-model
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
5
- prerelease:
4
+ hash: 3
5
+ prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 3
10
- version: 0.5.3
9
+ - 4
10
+ version: 0.5.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Josh Williams
@@ -15,7 +15,8 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-06-13 00:00:00 Z
18
+ date: 2011-06-21 00:00:00 -05:00
19
+ default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: activerecord
@@ -180,6 +181,7 @@ files:
180
181
  - spec/spec_helper.rb
181
182
  - spec/support/active_model_lint.rb
182
183
  - spec/support/matchers/convert.rb
184
+ has_rdoc: true
183
185
  homepage: http://github.com/t3hpr1m3/ninja-model.git
184
186
  licenses: []
185
187
 
@@ -209,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
209
211
  requirements: []
210
212
 
211
213
  rubyforge_project: ninja-model
212
- rubygems_version: 1.7.2
214
+ rubygems_version: 1.3.7
213
215
  signing_key:
214
216
  specification_version: 3
215
217
  summary: Pseudo-ORM for Ruby
@@ -233,4 +235,3 @@ test_files:
233
235
  - spec/spec_helper.rb
234
236
  - spec/support/active_model_lint.rb
235
237
  - spec/support/matchers/convert.rb
236
- has_rdoc: