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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e4ab4eb71cb851b62ee13747fbbd242acf619aeca8a17bda3045f038e8bc471
4
- data.tar.gz: 2a9e556efc71de532b576de386990d0fdc202c9b10932a93f3634605013f64ff
3
+ metadata.gz: c4cfc26794482ef9c01e2ad018d084ddba11c7c4a08a62e918b1bb1cd109b1a1
4
+ data.tar.gz: 3803387a508d031e612ad96c58dba8831e37e2037e69a4d315bf69eae959c47c
5
5
  SHA512:
6
- metadata.gz: 8530a01fe44847d3b8d88958c00da3c251e571eaf8fbe1bc65b7c3e68eada866acc9e797b6fdee891da9ed99f8df988cfca9a6ab341d25433e33cde079dcd718
7
- data.tar.gz: a89f6b0cae0f9f98a81458e40f629f85ee2089c609ef484f7fdff3a8ec067acf42963b7ef1914b7b1a3050094b518646f83fcbbb21c8b7bdf1a7f4fa34c6f17c
6
+ metadata.gz: 3649ed0378a97085272937eb5e78317f7c3fe3666157f9ed1e09c3333b7cf9c5691732f3ed5ea61d909ec84e7615901886d3889539a1182e98eb3b8ecd93e334
7
+ data.tar.gz: ae7eea9946aa1bcd70eae9571a6308b19b83dc3a81c44d4e07d7a048dc27bc51ab7897f1d714b62726e28706aa0aa7315b37586b4c2688d638861592c94672e6
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- apollo_upload_server (2.0.0.beta.2)
5
- graphql (~> 1.7)
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.2)
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.7.0)
107
- rspec-core (~> 3.7.0)
108
- rspec-expectations (~> 3.7.0)
109
- rspec-mocks (~> 3.7.0)
110
- rspec-core (3.7.1)
111
- rspec-support (~> 3.7.0)
112
- rspec-expectations (3.7.0)
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.7.0)
115
- rspec-mocks (3.7.0)
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.7.0)
118
- rspec-support (3.7.0)
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.3
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.2'
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', '~> 1.7'
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 = GraphQL::ScalarType.define do
7
- name 'Upload'
6
+ class Upload < GraphQL::Schema::Scalar
7
+ graphql_name "Upload"
8
8
 
9
- coerce_input ->(value, _ctx) { value }
10
- coerce_result ->(value, _ctx) { value }
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
@@ -1,3 +1,3 @@
1
1
  module ApolloUploadServer
2
- VERSION = '2.0.0.beta.2'.freeze
2
+ VERSION = '2.0.0.beta.3'.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.0.0.beta.2
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-21 00:00:00.000000000 Z
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.7'
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.7'
40
+ version: '1.8'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement