apollo_upload_server 2.0.0.beta.2 → 2.0.0.beta.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of apollo_upload_server might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile.lock +15 -15
- data/README.md +1 -1
- data/apollo_upload_server.gemspec +1 -1
- data/lib/apollo_upload_server/upload.rb +9 -4
- data/lib/apollo_upload_server/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4cfc26794482ef9c01e2ad018d084ddba11c7c4a08a62e918b1bb1cd109b1a1
|
4
|
+
data.tar.gz: 3803387a508d031e612ad96c58dba8831e37e2037e69a4d315bf69eae959c47c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3649ed0378a97085272937eb5e78317f7c3fe3666157f9ed1e09c3333b7cf9c5691732f3ed5ea61d909ec84e7615901886d3889539a1182e98eb3b8ecd93e334
|
7
|
+
data.tar.gz: ae7eea9946aa1bcd70eae9571a6308b19b83dc3a81c44d4e07d7a048dc27bc51ab7897f1d714b62726e28706aa0aa7315b37586b4c2688d638861592c94672e6
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
apollo_upload_server (2.0.0.beta.
|
5
|
-
graphql (
|
4
|
+
apollo_upload_server (2.0.0.beta.3)
|
5
|
+
graphql (>= 1.8)
|
6
6
|
rails (>= 4.2)
|
7
7
|
|
8
8
|
GEM
|
@@ -58,7 +58,7 @@ GEM
|
|
58
58
|
globalid (0.4.2)
|
59
59
|
activesupport (>= 4.2.0)
|
60
60
|
graphql (1.8.13)
|
61
|
-
i18n (1.5.
|
61
|
+
i18n (1.5.3)
|
62
62
|
concurrent-ruby (~> 1.0)
|
63
63
|
loofah (2.2.3)
|
64
64
|
crass (~> 1.0.2)
|
@@ -103,19 +103,19 @@ GEM
|
|
103
103
|
rake (>= 0.8.7)
|
104
104
|
thor (>= 0.19.0, < 2.0)
|
105
105
|
rake (10.5.0)
|
106
|
-
rspec (3.
|
107
|
-
rspec-core (~> 3.
|
108
|
-
rspec-expectations (~> 3.
|
109
|
-
rspec-mocks (~> 3.
|
110
|
-
rspec-core (3.
|
111
|
-
rspec-support (~> 3.
|
112
|
-
rspec-expectations (3.
|
106
|
+
rspec (3.8.0)
|
107
|
+
rspec-core (~> 3.8.0)
|
108
|
+
rspec-expectations (~> 3.8.0)
|
109
|
+
rspec-mocks (~> 3.8.0)
|
110
|
+
rspec-core (3.8.0)
|
111
|
+
rspec-support (~> 3.8.0)
|
112
|
+
rspec-expectations (3.8.2)
|
113
113
|
diff-lcs (>= 1.2.0, < 2.0)
|
114
|
-
rspec-support (~> 3.
|
115
|
-
rspec-mocks (3.
|
114
|
+
rspec-support (~> 3.8.0)
|
115
|
+
rspec-mocks (3.8.0)
|
116
116
|
diff-lcs (>= 1.2.0, < 2.0)
|
117
|
-
rspec-support (~> 3.
|
118
|
-
rspec-support (3.
|
117
|
+
rspec-support (~> 3.8.0)
|
118
|
+
rspec-support (3.8.0)
|
119
119
|
sprockets (3.7.2)
|
120
120
|
concurrent-ruby (~> 1.0)
|
121
121
|
rack (> 1, < 3)
|
@@ -141,4 +141,4 @@ DEPENDENCIES
|
|
141
141
|
rspec (~> 3.5)
|
142
142
|
|
143
143
|
BUNDLED WITH
|
144
|
-
1.17.
|
144
|
+
1.17.2
|
data/README.md
CHANGED
@@ -9,7 +9,7 @@ use [version 1.0.0](https://github.com/jetruby/apollo_upload_server-ruby/tree/1.
|
|
9
9
|
Add this line to your application's Gemfile:
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
gem 'apollo_upload_server', '2.0.0.beta.
|
12
|
+
gem 'apollo_upload_server', '2.0.0.beta.3'
|
13
13
|
```
|
14
14
|
|
15
15
|
And then execute:
|
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.require_paths = ['lib']
|
22
22
|
|
23
23
|
spec.add_dependency 'rails', '>= 4.2'
|
24
|
-
spec.add_dependency 'graphql', '
|
24
|
+
spec.add_dependency 'graphql', '>= 1.8'
|
25
25
|
|
26
26
|
spec.add_development_dependency 'bundler', '~> 1.16'
|
27
27
|
spec.add_development_dependency 'rake', '~> 10.0'
|
@@ -3,10 +3,15 @@
|
|
3
3
|
require 'graphql'
|
4
4
|
|
5
5
|
module ApolloUploadServer
|
6
|
-
Upload
|
7
|
-
|
6
|
+
class Upload < GraphQL::Schema::Scalar
|
7
|
+
graphql_name "Upload"
|
8
8
|
|
9
|
-
coerce_input
|
10
|
-
|
9
|
+
def self.coerce_input(value, _ctx)
|
10
|
+
value
|
11
|
+
end
|
12
|
+
|
13
|
+
def self.coerse_result(value, _ctx)
|
14
|
+
value
|
15
|
+
end
|
11
16
|
end
|
12
17
|
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.0.0.beta.
|
4
|
+
version: 2.0.0.beta.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JetRuby
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -28,16 +28,16 @@ dependencies:
|
|
28
28
|
name: graphql
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1.
|
33
|
+
version: '1.8'
|
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
|
-
version: '1.
|
40
|
+
version: '1.8'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|