apollo_upload_server 2.1.3 → 2.1.5

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
  SHA256:
3
- metadata.gz: 14b2c100e3a755d5e58a515dbbd4479264f5a6e9a6cf564217d71b7c4d63f0e9
4
- data.tar.gz: '008966e73b7ca2dbdc7722a8e6c1ba44005508ce51f8659d00263799836f6534'
3
+ metadata.gz: a93165fa220c06467d5073d0db5fc83e2e6f5a6350c959fbb4fc7cdb0efb24f2
4
+ data.tar.gz: 571fbe6aa0ee74c4352bfdb6332440c07c5c26a3a7c489d9c6de09b84a407477
5
5
  SHA512:
6
- metadata.gz: 4bd92272276c513469557e96ca4ef2199de39b160a12e3f13b7e1def039b18424577edcaeeab876138ea96d988983bf53cc018e9d726090641d390cf00aa533d
7
- data.tar.gz: ebb4ec8b766aac8b39e54b7af13ee434ff57b8a6f8ea367aabb06e27cd60f0137d76fb74d2adaa8c4504405437fec0b816d3d07629817209eb645809b7d1b3f5
6
+ metadata.gz: 72274e29023925309d0e700a3a91bcd51d5ffe1e383d304809c0d4e3ada385a8942ec6670a137e1c4790a99176e6bd4d14dbf05faedcae1aec221cb63a41963e
7
+ data.tar.gz: 8582d1c6b9c5f69a5f79cc65585531a3ce31ec919b0e8652418a5d499119fd6742db14b1ac1a9033850ef8e8a8789019ba6aa3f0e1937ce35befc6aa549bae5d
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- apollo_upload_server (2.1.3)
5
- actionpack (>= 7.0.3.1)
4
+ apollo_upload_server (2.1.4)
5
+ actionpack (>= 6.1.6)
6
6
  graphql (>= 1.8)
7
7
 
8
8
  GEM
@@ -29,16 +29,16 @@ GEM
29
29
  builder (3.2.4)
30
30
  concurrent-ruby (1.1.10)
31
31
  crass (1.0.6)
32
- diff-lcs (1.3)
32
+ diff-lcs (1.5.0)
33
33
  erubi (1.11.0)
34
- graphql (2.0.12)
34
+ graphql (2.0.13)
35
35
  i18n (1.12.0)
36
36
  concurrent-ruby (~> 1.0)
37
37
  loofah (2.18.0)
38
38
  crass (~> 1.0.2)
39
39
  nokogiri (>= 1.5.9)
40
40
  mini_portile2 (2.8.0)
41
- minitest (5.16.2)
41
+ minitest (5.16.3)
42
42
  nokogiri (1.13.8)
43
43
  mini_portile2 (~> 2.8.0)
44
44
  racc (~> 1.4)
@@ -51,20 +51,20 @@ GEM
51
51
  nokogiri (>= 1.6)
52
52
  rails-html-sanitizer (1.4.3)
53
53
  loofah (~> 2.3)
54
- rake (13.0.1)
55
- rspec (3.8.0)
56
- rspec-core (~> 3.8.0)
57
- rspec-expectations (~> 3.8.0)
58
- rspec-mocks (~> 3.8.0)
59
- rspec-core (3.8.0)
60
- rspec-support (~> 3.8.0)
61
- rspec-expectations (3.8.2)
54
+ rake (13.0.6)
55
+ rspec (3.11.0)
56
+ rspec-core (~> 3.11.0)
57
+ rspec-expectations (~> 3.11.0)
58
+ rspec-mocks (~> 3.11.0)
59
+ rspec-core (3.11.0)
60
+ rspec-support (~> 3.11.0)
61
+ rspec-expectations (3.11.0)
62
62
  diff-lcs (>= 1.2.0, < 2.0)
63
- rspec-support (~> 3.8.0)
64
- rspec-mocks (3.8.0)
63
+ rspec-support (~> 3.11.0)
64
+ rspec-mocks (3.11.1)
65
65
  diff-lcs (>= 1.2.0, < 2.0)
66
- rspec-support (~> 3.8.0)
67
- rspec-support (3.8.0)
66
+ rspec-support (~> 3.11.0)
67
+ rspec-support (3.11.0)
68
68
  tzinfo (2.0.5)
69
69
  concurrent-ruby (~> 1.0)
70
70
 
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  end
19
19
  spec.require_paths = ['lib']
20
20
 
21
- spec.add_dependency 'actionpack', '>=7.0.3.1'
21
+ spec.add_dependency 'actionpack', '>= 6.1.6'
22
22
  spec.add_dependency 'graphql', '>= 1.8'
23
23
 
24
24
  spec.add_development_dependency 'bundler', '~> 2.1'
@@ -7,13 +7,9 @@ module ApolloUploadServer
7
7
  graphql_name "Upload"
8
8
 
9
9
  def self.coerce_input(value, _ctx)
10
- raise GraphQL::CoercionError, "#{value.inspect} is not a valid upload" unless value.nil? || value.is_a?(::ApolloUploadServer::Wrappers::UploadedFile)
10
+ return super if value.nil? || value.is_a?(::ApolloUploadServer::Wrappers::UploadedFile)
11
11
 
12
- value
13
- end
14
-
15
- def self.coerce_result(value, _ctx)
16
- value
12
+ raise GraphQL::CoercionError, "#{value.inspect} is not a valid upload"
17
13
  end
18
14
  end
19
15
  end
@@ -1,3 +1,3 @@
1
1
  module ApolloUploadServer
2
- VERSION = '2.1.3'.freeze
2
+ VERSION = '2.1.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apollo_upload_server
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - JetRuby
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-04 00:00:00.000000000 Z
11
+ date: 2022-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 7.0.3.1
19
+ version: 6.1.6
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
- version: 7.0.3.1
26
+ version: 6.1.6
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: graphql
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  - !ruby/object:Gem::Version
126
126
  version: '0'
127
127
  requirements: []
128
- rubygems_version: 3.3.15
128
+ rubygems_version: 3.3.23
129
129
  signing_key:
130
130
  specification_version: 4
131
131
  summary: Middleware which allows you to upload files using graphql and multipart/form-data.