mongoid_embed_finder 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 60b96e46d3a830bd20085827c827774bc342fb0f
4
- data.tar.gz: 2d9232aeb1e78e8d4710369f08ebe2acd5937ad8
3
+ metadata.gz: 70d886a2e30dc89447b1e95b6b2dc1384ef80e9a
4
+ data.tar.gz: 69221aca597bfe5f984551a0dec804b72895ddd4
5
5
  SHA512:
6
- metadata.gz: 2bd177968c36476571030f5fd90e35389e9000957c957266962adfe4b6b876c83bb2ebcd991bc84ff681d976906ac2e025525e0ac370db29d9ebea700a1945b3
7
- data.tar.gz: 52269e3d0f7a87c1541e7e9c47ae3ce07893e58eb16978b97a188a2b81eba92b697d25d22decc6e15d6bb17a0159628b612b81920bac319d403a378c5e51e066
6
+ metadata.gz: 12b5c6df2b73f7781571f55cc55c07fd80293856732af0e771b15519387c17bb821b35e4c05e7c599f1f9b465db88d3d9ebfe2dcb7fbb8921613b629672eae23
7
+ data.tar.gz: b687bdd8a2631c16c134f8f0ed14d533d70a25c87e5c0ce83e6fb06c02c61fc876d7c639714da209a30b4f7d5b54749cbebc7e2c01a1df4922753872bd097ffd
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # MongoidEmbedFinder
2
2
 
3
+ [![Code Climate](https://codeclimate.com/github/growthrepublic/mongoid_embed_finder.png)](https://codeclimate.com/github/growthrepublic/mongoid_embed_finder)
4
+
3
5
  This simple gem lets you find embedded documents easily. It does not instantiate parent record with a whole bunch of embedded documents. Instead it instantiates found embedded documents first and then sets parent association.
4
6
 
5
7
  At the moment it allows you to find only one embedded document and assumes relation `embeds_many`.
@@ -53,7 +55,7 @@ Latter group should be passed under `parent` key. Those attributes are passed do
53
55
 
54
56
  ## Contributing
55
57
 
56
- 1. Fork it ( https://github.comgrowthrepublic/mongoid_embed_finder/fork )
58
+ 1. Fork it ( https://github.com/growthrepublic/mongoid_embed_finder/fork )
57
59
  2. Create your feature branch (`git checkout -b my-new-feature`)
58
60
  3. Commit your changes (`git commit -am 'Add some feature'`)
59
61
  4. Push to the branch (`git push origin my-new-feature`)
@@ -1,8 +1,4 @@
1
1
  require "mongoid_embed_finder/version"
2
- require "mongoid_embed_finder/projector"
3
- require "mongoid_embed_finder/single_projector"
4
- require "mongoid_embed_finder/relation_discovery"
5
- require "mongoid_embed_finder/hierarchy_builder"
6
2
  require "mongoid_embed_finder/runner"
7
3
 
8
4
  module MongoidEmbedFinder
@@ -1,3 +1,3 @@
1
1
  module MongoidEmbedFinder
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid_embed_finder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artur Hebda
@@ -106,7 +106,6 @@ extra_rdoc_files: []
106
106
  files:
107
107
  - ".gitignore"
108
108
  - Gemfile
109
- - LICENSE
110
109
  - LICENSE.txt
111
110
  - README.md
112
111
  - Rakefile
data/LICENSE DELETED
@@ -1,20 +0,0 @@
1
- Copyright (c) 2009-2013 Artur Hebda
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.