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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 991348c4876e83ff75d3416a84f61cb1cd7d12773efb2cdeff71866ca16174ed
4
- data.tar.gz: 95337e84c31b8e0feded9ab67fc7291d8e0269590602975c37473015aa19f182
3
+ metadata.gz: ed46bea110ff516f832f562cf3e1877b1945c72e91111914c05fd846d8ba1aea
4
+ data.tar.gz: f25f965cfa36ff4c685b208019b969f0033033bfa2e8ec6801c036e89c1fab09
5
5
  SHA512:
6
- metadata.gz: 5cdf65fa4c22ac0a01ec2671152886c4335940aeebf729a60bb83fc0445af18902f1c1c9e79cf5bfb0bb097778b38baeac09aa2c1ae2dc8429ea2bc8f8efd3f1
7
- data.tar.gz: 9522be43b81979348c9ebfc2a319d62d7fc7343b2c66db8bccc04ee7549fa6fa309aa1b63317d7ccfff0bc81634dddf1a3dc826777cc05f6c5b938202c02c7c0
6
+ metadata.gz: 95a187feed8c8411e872d73529bce845f0b7607f051b212831850c157f25c6268305367637edffc6490f5871f953a22b3d599835163750121506f15cf4e4a454
7
+ data.tar.gz: ab4e772fbb496ea0f74ed1e8e44f5f9dc54a19f4d96c300181386cd0805358ffe96ff5e920ff9251dd3476f3385ff293f3909e10b0cf0ec0b7bda2bdead4dce4
data/README.md CHANGED
@@ -1,4 +1,9 @@
1
- # Graphoid
1
+
2
+ <img src="https://d3a1eqpdtt5fg4.cloudfront.net/items/0T0M3O2R1q2W3i1p3e0A/graphoid.png" height="200" alt="graphoid"/>
3
+
4
+ [![Build Status](https://travis-ci.org/maxiperezc/graphoid.svg?branch=master)](https://travis-ci.org/maxiperezc/graphoid)
5
+ [![Gem Version](https://badge.fury.io/rb/graphoid.svg)](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
- Functionality to sort top level models by association values
58
- Filter by Array or Hash => The cases are failing, implementation correction needed.
59
- Revise TODOs in the code
60
- Make a tutorial video
61
- Fix Rubocop errors
62
- Live Reload
63
- AR eager load
64
- Relation with aliases tests
65
- Aggregations
66
- Remove config / auto-setup AR-Mongo
67
- Write division for "every" in Mongoid and AR
68
- Permissions on fields
69
- has_one_through implementation
70
- has_many_selves (employee) tests
71
- has_and_belongs_to_many_selves (followers) tests
72
- Embedded::Many filtering implementation
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).
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Graphoid
4
+ # module that helps executing mongoid specific code
4
5
  module MongoidDriver
5
6
  class << self
6
7
  def through?(_type)
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
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
- - lib/graphoid/version.rb
84
- homepage: http://www.maxiperezcoto.com
83
+ homepage: https://github.com/maxiperezc/graphoid
85
84
  licenses:
86
85
  - MIT
87
86
  metadata: {}
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Graphoid
4
- VERSION = '0.0.4'
5
- end