active_graphql 0.2.3 → 0.2.4

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: aaf55048980ca2784a18fc6200714c1615b8046badbc751b9dd771afbb8c4c18
4
- data.tar.gz: e5976cdd6a1578eaeccefc6701044d17ea0435b5d8e8c0b83a63105e9da1a749
3
+ metadata.gz: 398cdea1d95da44a0fce577bf1fc7764ba5461f4b32ee84116fe5a96d06b47af
4
+ data.tar.gz: 0ba5f89799c23e30a5f602e2f33895a8fb4c0758a6b684e0e2af6d7d119eb118
5
5
  SHA512:
6
- metadata.gz: 5353f4bcbafa578e4733564e639c7040479dfc40b5af22de8feaf5e4310c1055cc7419341d0fc89c3eb6b81e504853f6f04ecccb33068b979b0e6d7b3df59d7c
7
- data.tar.gz: a826691f99deaf0a639efb762a80bef659c977fd60efba8e00b1baa1cee2f53e73da4b160684f7ffaa0134f57be8a379606d1f8fcbf09999e4b6930b30b52d76
6
+ metadata.gz: c57a57dbdf0e732153e1759966d4adc4c5270be4819908824aed3cbaccbd1510904c207e23ecf63b565c3f498dd074a221184b1c5a9a8457c94a788ea27c3eba
7
+ data.tar.gz: a123889abdd1bbb88a520b2e033cafb4fec3f7d5e8e3e7c7fdcdc791ef4bfd42a78e30ec7827d4c2f7c43cb407d300564ce9327a11fc210cb3ddc90814c02f22
@@ -1,88 +1,87 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- active_graphql (0.2.3)
4
+ active_graphql (0.2.4)
5
5
  activemodel (>= 3.0.0)
6
6
  activesupport (>= 4.0.0)
7
- graphlient (~> 0.3)
8
- graphql (~> 1.9.0)
7
+ graphlient (>= 0.3)
8
+ graphql (>= 1.9.0)
9
9
 
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- activemodel (6.0.2.1)
14
- activesupport (= 6.0.2.1)
15
- activerecord (6.0.2.1)
16
- activemodel (= 6.0.2.1)
17
- activesupport (= 6.0.2.1)
18
- activesupport (6.0.2.1)
13
+ activemodel (6.0.3.4)
14
+ activesupport (= 6.0.3.4)
15
+ activerecord (6.0.3.4)
16
+ activemodel (= 6.0.3.4)
17
+ activesupport (= 6.0.3.4)
18
+ activesupport (6.0.3.4)
19
19
  concurrent-ruby (~> 1.0, >= 1.0.2)
20
20
  i18n (>= 0.7, < 2)
21
21
  minitest (~> 5.1)
22
22
  tzinfo (~> 1.1)
23
- zeitwerk (~> 2.2)
23
+ zeitwerk (~> 2.2, >= 2.2.2)
24
24
  addressable (2.7.0)
25
25
  public_suffix (>= 2.0.2, < 5.0)
26
- ast (2.4.0)
27
- byebug (11.1.1)
28
- codecov (0.1.16)
26
+ ast (2.4.1)
27
+ byebug (11.1.3)
28
+ codecov (0.2.12)
29
29
  json
30
30
  simplecov
31
- url
32
- coderay (1.1.2)
33
- concurrent-ruby (1.1.6)
34
- crack (0.4.3)
35
- safe_yaml (~> 1.0.0)
36
- diff-lcs (1.3)
31
+ coderay (1.1.3)
32
+ concurrent-ruby (1.1.7)
33
+ crack (0.4.4)
34
+ diff-lcs (1.4.4)
37
35
  docile (1.3.2)
38
- faraday (0.17.3)
36
+ faraday (1.1.0)
39
37
  multipart-post (>= 1.2, < 3)
40
- faraday_middleware (0.14.0)
41
- faraday (>= 0.7.4, < 1.0)
42
- graphlient (0.3.7)
43
- faraday
38
+ ruby2_keywords
39
+ faraday_middleware (1.0.0)
40
+ faraday (~> 1.0)
41
+ graphlient (0.4.0)
42
+ faraday (>= 1.0)
44
43
  faraday_middleware
45
44
  graphql-client
46
- graphql (1.9.19)
45
+ graphql (1.11.6)
47
46
  graphql-client (0.16.0)
48
47
  activesupport (>= 3.0)
49
48
  graphql (~> 1.8)
50
- graphql_rails (1.0.0)
49
+ graphql_rails (1.1.0)
51
50
  activesupport (>= 4)
52
- graphql (>= 1.9.12)
51
+ graphql (~> 1.11, >= 1.11.6)
53
52
  hashdiff (1.0.1)
54
- i18n (1.8.2)
53
+ i18n (1.8.5)
55
54
  concurrent-ruby (~> 1.0)
56
55
  jaro_winkler (1.5.4)
57
- json (2.3.0)
58
- method_source (0.9.2)
59
- minitest (5.14.0)
56
+ json (2.3.1)
57
+ method_source (1.0.0)
58
+ minitest (5.14.2)
60
59
  multipart-post (2.1.1)
61
- parallel (1.19.1)
62
- parser (2.7.0.3)
63
- ast (~> 2.4.0)
64
- pry (0.12.2)
65
- coderay (~> 1.1.0)
66
- method_source (~> 0.9.0)
67
- pry-byebug (3.8.0)
60
+ parallel (1.20.1)
61
+ parser (2.7.2.0)
62
+ ast (~> 2.4.1)
63
+ pry (0.13.1)
64
+ coderay (~> 1.1)
65
+ method_source (~> 1.0)
66
+ pry-byebug (3.9.0)
68
67
  byebug (~> 11.0)
69
- pry (~> 0.10)
70
- public_suffix (4.0.3)
68
+ pry (~> 0.13.0)
69
+ public_suffix (4.0.6)
71
70
  rainbow (3.0.0)
72
71
  rake (13.0.1)
73
- rspec (3.9.0)
74
- rspec-core (~> 3.9.0)
75
- rspec-expectations (~> 3.9.0)
76
- rspec-mocks (~> 3.9.0)
77
- rspec-core (3.9.1)
78
- rspec-support (~> 3.9.1)
79
- rspec-expectations (3.9.0)
72
+ rspec (3.10.0)
73
+ rspec-core (~> 3.10.0)
74
+ rspec-expectations (~> 3.10.0)
75
+ rspec-mocks (~> 3.10.0)
76
+ rspec-core (3.10.0)
77
+ rspec-support (~> 3.10.0)
78
+ rspec-expectations (3.10.0)
80
79
  diff-lcs (>= 1.2.0, < 2.0)
81
- rspec-support (~> 3.9.0)
82
- rspec-mocks (3.9.1)
80
+ rspec-support (~> 3.10.0)
81
+ rspec-mocks (3.10.0)
83
82
  diff-lcs (>= 1.2.0, < 2.0)
84
- rspec-support (~> 3.9.0)
85
- rspec-support (3.9.2)
83
+ rspec-support (~> 3.10.0)
84
+ rspec-support (3.10.0)
86
85
  rubocop (0.75.0)
87
86
  jaro_winkler (~> 1.5.1)
88
87
  parallel (~> 1.10)
@@ -90,26 +89,25 @@ GEM
90
89
  rainbow (>= 2.2.2, < 4.0)
91
90
  ruby-progressbar (~> 1.7)
92
91
  unicode-display_width (>= 1.4.0, < 1.7)
93
- rubocop-performance (1.5.2)
92
+ rubocop-performance (1.6.1)
94
93
  rubocop (>= 0.71.0)
95
- rubocop-rspec (1.38.1)
94
+ rubocop-rspec (1.41.0)
96
95
  rubocop (>= 0.68.1)
97
96
  ruby-progressbar (1.10.1)
98
- safe_yaml (1.0.5)
99
- simplecov (0.18.5)
97
+ ruby2_keywords (0.0.2)
98
+ simplecov (0.19.1)
100
99
  docile (~> 1.1)
101
100
  simplecov-html (~> 0.11)
102
- simplecov-html (0.12.2)
101
+ simplecov-html (0.12.3)
103
102
  thread_safe (0.3.6)
104
- tzinfo (1.2.6)
103
+ tzinfo (1.2.8)
105
104
  thread_safe (~> 0.1)
106
105
  unicode-display_width (1.6.1)
107
- url (0.3.2)
108
- webmock (3.8.2)
106
+ webmock (3.10.0)
109
107
  addressable (>= 2.3.6)
110
108
  crack (>= 0.3.2)
111
109
  hashdiff (>= 0.4.0, < 2.0.0)
112
- zeitwerk (2.2.2)
110
+ zeitwerk (2.4.1)
113
111
 
114
112
  PLATFORMS
115
113
  ruby
@@ -33,8 +33,8 @@ Gem::Specification.new do |spec|
33
33
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
34
34
  spec.require_paths = ["lib"]
35
35
 
36
- spec.add_dependency 'graphql', '~> 1.9.0'
37
- spec.add_dependency 'graphlient', '~> 0.3'
36
+ spec.add_dependency 'graphql', '>= 1.9.0'
37
+ spec.add_dependency 'graphlient', '>= 0.3'
38
38
  spec.add_dependency 'activesupport', '>= 4.0.0'
39
39
  spec.add_dependency 'activemodel', '>= 3.0.0'
40
40
 
@@ -76,7 +76,7 @@ module ActiveGraphql
76
76
 
77
77
  def save
78
78
  if primary_key_value.present?
79
- update(attributes.reject { |attr, _| attr == primary_key })
79
+ update(attributes.except(primary_key))
80
80
  else
81
81
  self.class.create(attributes)
82
82
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActiveGraphql
4
- VERSION = '0.2.3'
4
+ VERSION = '0.2.4'
5
5
  end
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_graphql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Povilas Jurcys
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-08-03 00:00:00.000000000 Z
11
+ date: 2020-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphql
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.9.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.9.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: graphlient
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0.3'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0.3'
41
41
  - !ruby/object:Gem::Dependency
@@ -231,7 +231,7 @@ licenses:
231
231
  metadata:
232
232
  homepage_uri: https://github.com/samesystem/active_graphql
233
233
  source_code_uri: https://github.com/samesystem/active_graphql
234
- changelog_uri: https://github.com/samesystem/active_graphql/blob/v0.2.3/CHANGELOG.md
234
+ changelog_uri: https://github.com/samesystem/active_graphql/blob/v0.2.4/CHANGELOG.md
235
235
  post_install_message:
236
236
  rdoc_options: []
237
237
  require_paths: