mongoid-nested-serialization 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml CHANGED
@@ -2,4 +2,4 @@ language: ruby
2
2
  rvm:
3
3
  - 1.9.3
4
4
  services:
5
- - mongodb
5
+ - mongodb
data/README.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  Loads nested Mongoid documents using JSON serialization.
4
4
 
5
+ [![Build Status][2]][1]
6
+
7
+ [1]: http://travis-ci.org/ryantownsend/mongoid-nested-serialization
8
+ [2]: https://secure.travis-ci.org/ryantownsend/mongoid-nested-serialization.png?branch=master
9
+
5
10
  ## Installation
6
11
 
7
12
  Add this line to your application's Gemfile:
@@ -48,7 +53,7 @@ User.find_by_json(json)
48
53
  1. Fork it
49
54
  2. Create your feature branch (`git checkout -b my-new-feature`)
50
55
  3. Add your code and tests
51
- 4. Run the full test suite (`bundle exec foreman start; bundle exec rake; bundle exec foreman stop`) and ensure it passes 100%
56
+ 4. Run the full test suite (`bundle exec rake`) and ensure it passes 100%
52
57
  5. Commit your changes (`git commit -am 'Added some feature'`)
53
58
  6. Push to the branch (`git push origin my-new-feature`)
54
59
  7. Create new Pull Request
@@ -1,2 +1,12 @@
1
+ require "mongoid"
1
2
  require "mongoid/nested_serialization/version"
2
- require "mongoid/nested_serialization"
3
+ require "mongoid/nested_serialization"
4
+
5
+ module Mongoid
6
+ module Document
7
+ def self.included(base)
8
+ super
9
+ base.send(:include, Mongoid::NestedSerialization)
10
+ end
11
+ end
12
+ end
@@ -1,4 +1,3 @@
1
- require "mongoid/nested_serialization/core_ext"
2
1
  require "mongoid/nested_serialization/finder"
3
2
  require "mongoid/nested_serialization/serializer"
4
3
 
@@ -1,5 +1,5 @@
1
1
  module Mongoid
2
2
  module NestedSerialization
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid-nested-serialization
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-24 00:00:00.000000000 Z
12
+ date: 2012-09-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mongoid
@@ -124,7 +124,6 @@ files:
124
124
  - Rakefile
125
125
  - lib/mongoid-nested-serialization.rb
126
126
  - lib/mongoid/nested_serialization.rb
127
- - lib/mongoid/nested_serialization/core_ext.rb
128
127
  - lib/mongoid/nested_serialization/finder.rb
129
128
  - lib/mongoid/nested_serialization/serializer.rb
130
129
  - lib/mongoid/nested_serialization/version.rb
@@ -152,7 +151,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
152
151
  version: '0'
153
152
  segments:
154
153
  - 0
155
- hash: 2507334667265849704
154
+ hash: 630815025924156660
156
155
  required_rubygems_version: !ruby/object:Gem::Requirement
157
156
  none: false
158
157
  requirements:
@@ -161,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
161
160
  version: '0'
162
161
  segments:
163
162
  - 0
164
- hash: 2507334667265849704
163
+ hash: 630815025924156660
165
164
  requirements: []
166
165
  rubyforge_project:
167
166
  rubygems_version: 1.8.24
@@ -1,8 +0,0 @@
1
- module Mongoid
2
- module Document
3
- def self.included(base)
4
- super
5
- base.send(:include, Mongoid::NestedSerialization)
6
- end
7
- end
8
- end