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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 14b2c100e3a755d5e58a515dbbd4479264f5a6e9a6cf564217d71b7c4d63f0e9
|
4
|
+
data.tar.gz: '008966e73b7ca2dbdc7722a8e6c1ba44005508ce51f8659d00263799836f6534'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
5
|
-
|
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 '
|
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 =
|
22
|
+
request = ActionDispatch::Request.new(env)
|
24
23
|
params = request.params
|
25
24
|
|
26
25
|
if params['operations'].present? && params['map'].present?
|
@@ -1,11 +1,11 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'delegate'
|
4
|
-
require '
|
4
|
+
require 'action_dispatch/http/upload'
|
5
5
|
|
6
6
|
module ApolloUploadServer
|
7
7
|
module Wrappers
|
8
|
-
class UploadedFile < DelegateClass(
|
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.
|
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-
|
11
|
+
date: 2022-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: actionpack
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
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:
|
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
|