graphql-active_record 0.1.4 → 0.2.0

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: d795a2f11a7f127f39fbc0f499765da2cf7fde03
4
- data.tar.gz: b82cbe348856a10d022f58b8b4f709c050c087a5
3
+ metadata.gz: ddd18445547cbfe82e3526ffbcac6bb8e609ff8a
4
+ data.tar.gz: 2bace41aa51e44c9c8d3725123f6324557b9aa41
5
5
  SHA512:
6
- metadata.gz: d7425b7a502bd570abb2e7f7f673b3cb0fce6e1d86f1c2ff0a9974ebed4f3c0aa57456b4be7dc079b9c621f0dc4fc146ff58e76733b3616b851154ffe642ace4
7
- data.tar.gz: 7d834b39e4cd277f53114c136a27cf6ecd6882b6931e5f6230ee3520f20822f0d91353e08b4b3e20f329ba380ef304f9555bca9d8dfe8dc8351d9f5f72b1b7f8
6
+ metadata.gz: b2060751108d72871b669d620a5169069f40581777df3a5c5314dd16329f7b99d8ac229741d3f896f5bbb9cc2528d38f4f05cf542613ffd6f0a816b11f303fac
7
+ data.tar.gz: b6adb77476fbf746558d22e5629730507568a0dce4fc9f3253de624e3027c12f9f52d6765baa17902a979936082a2c476046b01760fa649b60469d602324a3e0
@@ -1,11 +1,11 @@
1
1
  # coding: utf-8
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'graphql/active_record/version'
4
+ require 'graphql/active_record_extension/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "graphql-active_record"
8
- spec.version = Graphql::ActiveRecord::VERSION
8
+ spec.version = Graphql::ActiveRecordExtension::VERSION
9
9
  spec.authors = ["Brett Jurgens"]
10
10
  spec.email = ["brett@brettjurgens.com"]
11
11
 
Binary file
Binary file
Binary file
Binary file
@@ -1,13 +1,13 @@
1
1
  require 'active_record'
2
2
  require 'graphql'
3
3
 
4
- require "graphql/active_record/version"
4
+ require "graphql/active_record_extension/version"
5
5
 
6
6
  ##
7
7
  # This class allows GraphQL to translate ActiveRecord objects into
8
8
  # GraphQL objects easily and does an auto-include to make it
9
9
  # somewhat more efficient (hopefully)
10
- class GraphQL::ActiveRecord < ::GraphQL::Field
10
+ class GraphQL::ActiveRecordExtension < ::GraphQL::Field
11
11
  def initialize(model:, type:, use_uuid: false)
12
12
  @model = model
13
13
  @use_uuid = use_uuid
@@ -0,0 +1,5 @@
1
+ module Graphql
2
+ module ActiveRecordExtension
3
+ VERSION = "0.2.0"
4
+ end
5
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql-active_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Jurgens
@@ -96,8 +96,12 @@ files:
96
96
  - bin/console
97
97
  - bin/setup
98
98
  - graphql-active-record.gemspec
99
- - lib/graphql/active_record.rb
100
- - lib/graphql/active_record/version.rb
99
+ - graphql-active_record-0.1.1.gem
100
+ - graphql-active_record-0.1.2.gem
101
+ - graphql-active_record-0.1.3.gem
102
+ - graphql-active_record-0.1.4.gem
103
+ - lib/graphql/active_record_extension.rb
104
+ - lib/graphql/active_record_extension/version.rb
101
105
  homepage: http://github.com/brettjurgens/graphql-active-record
102
106
  licenses:
103
107
  - MIT
@@ -1,5 +0,0 @@
1
- module Graphql
2
- module ActiveRecord
3
- VERSION = "0.1.4"
4
- end
5
- end