apollo_upload_server 2.1.6 → 2.1.8

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: e739eca091fe90c153387cc5637f871ad3e5d93734cf1f77f250ad470816357c
4
- data.tar.gz: 917a7590be5410efc83de4c824c8e2a0848d334d2e1fa0fcfc876979fe49d442
3
+ metadata.gz: cc1e73fff8c43c8dc26a2ea54507bb633f263c748d0a21da7031d698ad070404
4
+ data.tar.gz: 30b3f16f35cef61182b6d1ad718ca13337509917f5af07e6675b88a2dd808503
5
5
  SHA512:
6
- metadata.gz: 8695e04ccabb84a9388bb74e3f8f73fc7346101edaf4468ff1eca79a36957657f1f963e7c0f9f8ef2d15cd1e7ae8311600427fc83758f84a0859a8901fed068f
7
- data.tar.gz: 833777b4586c25cea707785588c66774b8271b894d17da5ef2e1ec244d80cd09eef3cf8d098903f6ec8b47c479825f360553772a2327595cd352a3f5bcb59bec
6
+ metadata.gz: af9ddc6dddbb636a41c3261cfa8d59d4f64ce4f4783b51c1417ee15a38e33bfe2693a894756b5c8184ef1c53226847a5b95cf1da3128891e8c2b9f1ac6de59d3
7
+ data.tar.gz: ad466ae3524092d5f956905e5da4e2b5ef64d599fd8e411fedf332aa0992a8be5707c7288cf6d9b97a720cb3a4593683ac00b0110e2f03c50d828adc458e8acb
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
14
14
  spec.license = 'MIT'
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
17
- f.match(%r{^(test|spec|features)/})
17
+ f.match(%r{^(test|spec|features)/}) || f == "Gemfile.lock"
18
18
  end
19
19
  spec.require_paths = ['lib']
20
20
 
@@ -1,14 +1,9 @@
1
1
  require 'apollo_upload_server/graphql_data_builder'
2
- require "active_support/configurable"
3
2
 
4
3
  module ApolloUploadServer
5
4
  class Middleware
6
- include ActiveSupport::Configurable
7
-
8
5
  # Strict mode requires that all mapped files are present in the mapping arrays.
9
- config_accessor :strict_mode do
10
- false
11
- end
6
+ class_attribute :strict_mode, default: false
12
7
 
13
8
  def initialize(app)
14
9
  @app = app
@@ -1,3 +1,3 @@
1
1
  module ApolloUploadServer
2
- VERSION = '2.1.6'.freeze
2
+ VERSION = '2.1.8'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apollo_upload_server
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.6
4
+ version: 2.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - JetRuby
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-05-17 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: actionpack
@@ -92,7 +91,6 @@ files:
92
91
  - ".rspec"
93
92
  - CODE_OF_CONDUCT.md
94
93
  - Gemfile
95
- - Gemfile.lock
96
94
  - LICENSE.txt
97
95
  - README.md
98
96
  - Rakefile
@@ -110,7 +108,6 @@ homepage: https://github.com/jetruby/apollo_upload_server-ruby
110
108
  licenses:
111
109
  - MIT
112
110
  metadata: {}
113
- post_install_message:
114
111
  rdoc_options: []
115
112
  require_paths:
116
113
  - lib
@@ -125,8 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
122
  - !ruby/object:Gem::Version
126
123
  version: '0'
127
124
  requirements: []
128
- rubygems_version: 3.3.25
129
- signing_key:
125
+ rubygems_version: 3.6.9
130
126
  specification_version: 4
131
127
  summary: Middleware which allows you to upload files using graphql and multipart/form-data.
132
128
  test_files: []
data/Gemfile.lock DELETED
@@ -1,81 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- apollo_upload_server (2.1.5)
5
- actionpack (>= 6.1.6)
6
- graphql (>= 1.8)
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- actionpack (7.0.4)
12
- actionview (= 7.0.4)
13
- activesupport (= 7.0.4)
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.4)
19
- activesupport (= 7.0.4)
20
- builder (~> 3.1)
21
- erubi (~> 1.4)
22
- rails-dom-testing (~> 2.0)
23
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
24
- activesupport (7.0.4)
25
- concurrent-ruby (~> 1.0, >= 1.0.2)
26
- i18n (>= 1.6, < 2)
27
- minitest (>= 5.1)
28
- tzinfo (~> 2.0)
29
- builder (3.2.4)
30
- concurrent-ruby (1.1.10)
31
- crass (1.0.6)
32
- diff-lcs (1.5.0)
33
- erubi (1.11.0)
34
- graphql (2.0.15)
35
- i18n (1.12.0)
36
- concurrent-ruby (~> 1.0)
37
- loofah (2.19.0)
38
- crass (~> 1.0.2)
39
- nokogiri (>= 1.5.9)
40
- mini_portile2 (2.8.0)
41
- minitest (5.16.3)
42
- nokogiri (1.13.9)
43
- mini_portile2 (~> 2.8.0)
44
- racc (~> 1.4)
45
- racc (1.6.0)
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)
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
- diff-lcs (>= 1.2.0, < 2.0)
63
- rspec-support (~> 3.11.0)
64
- rspec-mocks (3.11.1)
65
- diff-lcs (>= 1.2.0, < 2.0)
66
- rspec-support (~> 3.11.0)
67
- rspec-support (3.11.0)
68
- tzinfo (2.0.5)
69
- concurrent-ruby (~> 1.0)
70
-
71
- PLATFORMS
72
- ruby
73
-
74
- DEPENDENCIES
75
- apollo_upload_server!
76
- bundler (~> 2.1)
77
- rake (~> 13.0)
78
- rspec (~> 3.11)
79
-
80
- BUNDLED WITH
81
- 2.3.17