apollo_upload_server 2.1.2 → 2.1.3

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: 295058d02fd7c1a31a61dd8e74d194637dd451404007bdc434d4488a314d92f1
4
- data.tar.gz: f2473ad8f37131eb293ac05b6e98770cf516b2472c09bdeb97fe8cc2dd0df756
3
+ metadata.gz: 14b2c100e3a755d5e58a515dbbd4479264f5a6e9a6cf564217d71b7c4d63f0e9
4
+ data.tar.gz: '008966e73b7ca2dbdc7722a8e6c1ba44005508ce51f8659d00263799836f6534'
5
5
  SHA512:
6
- metadata.gz: be95ceec730a81dbdc9bc3ce9b1e0e3c95342cfb7ce9cdd0902bc3bf538ce693c8100964792773dc594bcb36ba7486d08e55fad4e11bc3d2eec0bc7057642a62
7
- data.tar.gz: 5683e72d706155e0a69723d2423dcb36f5894b8824dd71d42efa83c0dc93c5d479d7a2f91b80a0a63737e974de1974fe0079f3bd3911650c279a43d4450a8da6
6
+ metadata.gz: 4bd92272276c513469557e96ca4ef2199de39b160a12e3f13b7e1def039b18424577edcaeeab876138ea96d988983bf53cc018e9d726090641d390cf00aa533d
7
+ data.tar.gz: ebb4ec8b766aac8b39e54b7af13ee434ff57b8a6f8ea367aabb06e27cd60f0137d76fb74d2adaa8c4504405437fec0b816d3d07629817209eb645809b7d1b3f5
data/Gemfile.lock CHANGED
@@ -1,26 +1,56 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- apollo_upload_server (2.1.2)
5
- activesupport (>= 7.0.3.1)
4
+ apollo_upload_server (2.1.3)
5
+ actionpack (>= 7.0.3.1)
6
6
  graphql (>= 1.8)
7
- rack (>= 2.2.1)
8
7
 
9
8
  GEM
10
9
  remote: https://rubygems.org/
11
10
  specs:
11
+ actionpack (7.0.3.1)
12
+ actionview (= 7.0.3.1)
13
+ activesupport (= 7.0.3.1)
14
+ rack (~> 2.0, >= 2.2.0)
15
+ rack-test (>= 0.6.3)
16
+ rails-dom-testing (~> 2.0)
17
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
18
+ actionview (7.0.3.1)
19
+ activesupport (= 7.0.3.1)
20
+ builder (~> 3.1)
21
+ erubi (~> 1.4)
22
+ rails-dom-testing (~> 2.0)
23
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
12
24
  activesupport (7.0.3.1)
13
25
  concurrent-ruby (~> 1.0, >= 1.0.2)
14
26
  i18n (>= 1.6, < 2)
15
27
  minitest (>= 5.1)
16
28
  tzinfo (~> 2.0)
29
+ builder (3.2.4)
17
30
  concurrent-ruby (1.1.10)
31
+ crass (1.0.6)
18
32
  diff-lcs (1.3)
33
+ erubi (1.11.0)
19
34
  graphql (2.0.12)
20
35
  i18n (1.12.0)
21
36
  concurrent-ruby (~> 1.0)
37
+ loofah (2.18.0)
38
+ crass (~> 1.0.2)
39
+ nokogiri (>= 1.5.9)
40
+ mini_portile2 (2.8.0)
22
41
  minitest (5.16.2)
42
+ nokogiri (1.13.8)
43
+ mini_portile2 (~> 2.8.0)
44
+ racc (~> 1.4)
45
+ racc (1.6.0)
23
46
  rack (2.2.4)
47
+ rack-test (2.0.2)
48
+ rack (>= 1.3)
49
+ rails-dom-testing (2.0.3)
50
+ activesupport (>= 4.2.0)
51
+ nokogiri (>= 1.6)
52
+ rails-html-sanitizer (1.4.3)
53
+ loofah (~> 2.3)
24
54
  rake (13.0.1)
25
55
  rspec (3.8.0)
26
56
  rspec-core (~> 3.8.0)
@@ -18,9 +18,8 @@ Gem::Specification.new do |spec|
18
18
  end
19
19
  spec.require_paths = ['lib']
20
20
 
21
- spec.add_dependency 'rack', '>= 2.2.1'
21
+ spec.add_dependency 'actionpack', '>=7.0.3.1'
22
22
  spec.add_dependency 'graphql', '>= 1.8'
23
- spec.add_dependency 'activesupport', '>= 7.0.3.1'
24
23
 
25
24
  spec.add_development_dependency 'bundler', '~> 2.1'
26
25
  spec.add_development_dependency 'rake', '~> 13.0'
@@ -1,6 +1,5 @@
1
1
  require 'apollo_upload_server/graphql_data_builder'
2
2
  require "active_support/configurable"
3
- require 'rack'
4
3
 
5
4
  module ApolloUploadServer
6
5
  class Middleware
@@ -20,7 +19,7 @@ module ApolloUploadServer
20
19
  return @app.call(env)
21
20
  end
22
21
 
23
- request = Rack::Request.new(env)
22
+ request = ActionDispatch::Request.new(env)
24
23
  params = request.params
25
24
 
26
25
  if params['operations'].present? && params['map'].present?
@@ -1,3 +1,3 @@
1
1
  module ApolloUploadServer
2
- VERSION = '2.1.2'.freeze
2
+ VERSION = '2.1.3'.freeze
3
3
  end
@@ -1,11 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'delegate'
4
- require 'rack'
4
+ require 'action_dispatch/http/upload'
5
5
 
6
6
  module ApolloUploadServer
7
7
  module Wrappers
8
- class UploadedFile < DelegateClass(Rack::Multipart::UploadedFile)
8
+ class UploadedFile < DelegateClass(::ActionDispatch::Http::UploadedFile)
9
9
  def initialize(wrapped_foo)
10
10
  super
11
11
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apollo_upload_server
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - JetRuby
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-29 00:00:00.000000000 Z
11
+ date: 2022-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: rack
14
+ name: actionpack
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 2.2.1
19
+ version: 7.0.3.1
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: 2.2.1
26
+ version: 7.0.3.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: graphql
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -38,20 +38,6 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.8'
41
- - !ruby/object:Gem::Dependency
42
- name: activesupport
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: 7.0.3.1
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: 7.0.3.1
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: bundler
57
43
  requirement: !ruby/object:Gem::Requirement