graphoid 0.0.4 → 0.0.5
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.
- checksums.yaml +4 -4
- data/README.md +22 -18
- data/lib/graphoid/drivers/mongoid.rb +1 -0
- metadata +2 -3
- data/lib/graphoid/version.rb +0 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ed46bea110ff516f832f562cf3e1877b1945c72e91111914c05fd846d8ba1aea
|
|
4
|
+
data.tar.gz: f25f965cfa36ff4c685b208019b969f0033033bfa2e8ec6801c036e89c1fab09
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 95a187feed8c8411e872d73529bce845f0b7607f051b212831850c157f25c6268305367637edffc6490f5871f953a22b3d599835163750121506f15cf4e4a454
|
|
7
|
+
data.tar.gz: ab4e772fbb496ea0f74ed1e8e44f5f9dc54a19f4d96c300181386cd0805358ffe96ff5e920ff9251dd3476f3385ff293f3909e10b0cf0ec0b7bda2bdead4dce4
|
data/README.md
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
<img src="https://d3a1eqpdtt5fg4.cloudfront.net/items/0T0M3O2R1q2W3i1p3e0A/graphoid.png" height="200" alt="graphoid"/>
|
|
3
|
+
|
|
4
|
+
[](https://travis-ci.org/maxiperezc/graphoid)
|
|
5
|
+
[](https://rubygems.org/gems/graphoid)
|
|
6
|
+
|
|
2
7
|
This gem is used to generate a full GraphQL API using introspection of Mongoid or ActiveRecord models.
|
|
3
8
|
After installing it, you will have create, update, delete, and query actions on any rails models you want.
|
|
4
9
|
|
|
@@ -54,23 +59,22 @@ end
|
|
|
54
59
|
```
|
|
55
60
|
|
|
56
61
|
## Contributing
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
Embedded::
|
|
73
|
-
Embedded::One filtering with OR/AND
|
|
62
|
+
- Install code climate
|
|
63
|
+
- Functionality to sort top level models by association values
|
|
64
|
+
- Filter by Array or Hash.
|
|
65
|
+
- Fix Rubocop errors.
|
|
66
|
+
- Live Reload
|
|
67
|
+
- AR eager load
|
|
68
|
+
- Relation with aliases tests
|
|
69
|
+
- Aggregations
|
|
70
|
+
- Remove config / auto-setup AR-Mongo
|
|
71
|
+
- Write division for "every" in Mongoid and AR
|
|
72
|
+
- Permissions on fields
|
|
73
|
+
- has_one_through implementation
|
|
74
|
+
- has_many_selves (employee) tests
|
|
75
|
+
- has_and_belongs_to_many_selves (followers) tests
|
|
76
|
+
- Embedded::Many filtering implementation
|
|
77
|
+
- Embedded::One filtering with OR/AND
|
|
74
78
|
|
|
75
79
|
## License
|
|
76
80
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: graphoid
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Maximiliano Perez Coto
|
|
@@ -80,8 +80,7 @@ files:
|
|
|
80
80
|
- lib/graphoid/queries/queries.rb
|
|
81
81
|
- lib/graphoid/scalars.rb
|
|
82
82
|
- lib/graphoid/utils.rb
|
|
83
|
-
|
|
84
|
-
homepage: http://www.maxiperezcoto.com
|
|
83
|
+
homepage: https://github.com/maxiperezc/graphoid
|
|
85
84
|
licenses:
|
|
86
85
|
- MIT
|
|
87
86
|
metadata: {}
|