scholarsphere-client 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +27 -27
- data/lib/scholarsphere/client/upload.rb +3 -3
- data/lib/scholarsphere/client/version.rb +1 -1
- data/scholarsphere-client.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f21284591f78b6b3eda9d83605c9a91a1afa5285b288709465c4da85a003272
|
4
|
+
data.tar.gz: 0ac5c506c9693c505c1caa2bff818cc51d643cae7198bb35c8a33fd8c32a48ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94f0113075bb1dd4fca1458a9715db47d4305a3e0fd98b0913cf48e3e0d731a27d193cc7af53cc28f8a3dec80e86d06e7dd4d740b8c7832bab29ef6da4ba7108
|
7
|
+
data.tar.gz: 454879261c38f955ac3798deebb2f41c216d5c62430fae75dd341720a5e99ef1216b8912169a458b3646c8ccc9ff81b09704d2b87037d6ebbf3a03ef0959f21c
|
data/Gemfile.lock
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
scholarsphere-client (0.
|
4
|
+
scholarsphere-client (0.4.0)
|
5
5
|
aws-sdk-s3 (~> 1.49)
|
6
6
|
faraday (> 0.12)
|
7
|
-
marcel (~> 0
|
7
|
+
marcel (~> 1.0)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
actionview (6.1.3)
|
13
|
-
activesupport (= 6.1.3)
|
12
|
+
actionview (6.1.3.2)
|
13
|
+
activesupport (= 6.1.3.2)
|
14
14
|
builder (~> 3.1)
|
15
15
|
erubi (~> 1.4)
|
16
16
|
rails-dom-testing (~> 2.0)
|
17
17
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
18
|
-
activesupport (6.1.3)
|
18
|
+
activesupport (6.1.3.2)
|
19
19
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
20
20
|
i18n (>= 1.6, < 2)
|
21
21
|
minitest (>= 5.1)
|
@@ -25,8 +25,8 @@ GEM
|
|
25
25
|
public_suffix (>= 2.0.2, < 5.0)
|
26
26
|
ast (2.4.2)
|
27
27
|
aws-eventstream (1.1.1)
|
28
|
-
aws-partitions (1.
|
29
|
-
aws-sdk-core (3.
|
28
|
+
aws-partitions (1.455.0)
|
29
|
+
aws-sdk-core (3.114.0)
|
30
30
|
aws-eventstream (~> 1, >= 1.0.2)
|
31
31
|
aws-partitions (~> 1, >= 1.239.0)
|
32
32
|
aws-sigv4 (~> 1.1)
|
@@ -34,7 +34,7 @@ GEM
|
|
34
34
|
aws-sdk-kms (1.43.0)
|
35
35
|
aws-sdk-core (~> 3, >= 3.112.0)
|
36
36
|
aws-sigv4 (~> 1.1)
|
37
|
-
aws-sdk-s3 (1.
|
37
|
+
aws-sdk-s3 (1.94.1)
|
38
38
|
aws-sdk-core (~> 3, >= 3.112.0)
|
39
39
|
aws-sdk-kms (~> 1)
|
40
40
|
aws-sigv4 (~> 1.1)
|
@@ -57,7 +57,7 @@ GEM
|
|
57
57
|
rexml
|
58
58
|
crass (1.0.6)
|
59
59
|
diff-lcs (1.4.4)
|
60
|
-
docile (1.
|
60
|
+
docile (1.4.0)
|
61
61
|
erb_lint (0.0.37)
|
62
62
|
activesupport
|
63
63
|
better_html (~> 1.0.7)
|
@@ -67,31 +67,31 @@ GEM
|
|
67
67
|
rubocop
|
68
68
|
smart_properties
|
69
69
|
erubi (1.10.0)
|
70
|
-
faraday (1.
|
70
|
+
faraday (1.4.1)
|
71
|
+
faraday-excon (~> 1.1)
|
71
72
|
faraday-net_http (~> 1.0)
|
73
|
+
faraday-net_http_persistent (~> 1.1)
|
72
74
|
multipart-post (>= 1.2, < 3)
|
73
|
-
ruby2_keywords
|
75
|
+
ruby2_keywords (>= 0.0.4)
|
76
|
+
faraday-excon (1.1.0)
|
74
77
|
faraday-net_http (1.0.1)
|
78
|
+
faraday-net_http_persistent (1.1.0)
|
75
79
|
ffi (1.15.0)
|
76
80
|
hashdiff (1.0.1)
|
77
81
|
html_tokenizer (0.0.7)
|
78
|
-
i18n (1.8.
|
82
|
+
i18n (1.8.10)
|
79
83
|
concurrent-ruby (~> 1.0)
|
80
84
|
jmespath (1.4.0)
|
81
85
|
json (2.5.1)
|
82
|
-
loofah (2.9.
|
86
|
+
loofah (2.9.1)
|
83
87
|
crass (~> 1.0.2)
|
84
88
|
nokogiri (>= 1.5.9)
|
85
|
-
marcel (0.
|
86
|
-
mimemagic (~> 0.3.2)
|
89
|
+
marcel (1.0.1)
|
87
90
|
method_source (1.0.0)
|
88
|
-
|
89
|
-
nokogiri (~> 1)
|
90
|
-
rake
|
91
|
-
mini_portile2 (2.5.0)
|
91
|
+
mini_portile2 (2.5.1)
|
92
92
|
minitest (5.14.4)
|
93
93
|
multipart-post (2.1.1)
|
94
|
-
niftany (0.
|
94
|
+
niftany (0.9.0)
|
95
95
|
colorize (~> 0.8.1)
|
96
96
|
erb_lint (~> 0.0.22)
|
97
97
|
rubocop (~> 0.79)
|
@@ -99,11 +99,11 @@ GEM
|
|
99
99
|
rubocop-rails (~> 2.3)
|
100
100
|
rubocop-rspec (~> 1.3)
|
101
101
|
scss_lint (~> 0.55)
|
102
|
-
nokogiri (1.11.
|
102
|
+
nokogiri (1.11.3)
|
103
103
|
mini_portile2 (~> 2.5.0)
|
104
104
|
racc (~> 1.4)
|
105
105
|
parallel (1.20.1)
|
106
|
-
parser (3.0.
|
106
|
+
parser (3.0.1.1)
|
107
107
|
ast (~> 2.4.1)
|
108
108
|
pry (0.13.1)
|
109
109
|
coderay (~> 1.1)
|
@@ -121,11 +121,11 @@ GEM
|
|
121
121
|
loofah (~> 2.3)
|
122
122
|
rainbow (3.0.0)
|
123
123
|
rake (13.0.3)
|
124
|
-
rb-fsevent (0.
|
124
|
+
rb-fsevent (0.11.0)
|
125
125
|
rb-inotify (0.10.1)
|
126
126
|
ffi (~> 1.0)
|
127
127
|
regexp_parser (2.1.1)
|
128
|
-
rexml (3.2.
|
128
|
+
rexml (3.2.5)
|
129
129
|
rspec (3.10.0)
|
130
130
|
rspec-core (~> 3.10.0)
|
131
131
|
rspec-expectations (~> 3.10.0)
|
@@ -151,8 +151,8 @@ GEM
|
|
151
151
|
rubocop-ast (>= 0.6.0)
|
152
152
|
ruby-progressbar (~> 1.7)
|
153
153
|
unicode-display_width (>= 1.4.0, < 2.0)
|
154
|
-
rubocop-ast (1.
|
155
|
-
parser (>=
|
154
|
+
rubocop-ast (1.5.0)
|
155
|
+
parser (>= 3.0.1.1)
|
156
156
|
rubocop-performance (1.10.2)
|
157
157
|
rubocop (>= 0.90.0, < 2.0)
|
158
158
|
rubocop-ast (>= 0.4.0)
|
@@ -182,7 +182,7 @@ GEM
|
|
182
182
|
concurrent-ruby (~> 1.0)
|
183
183
|
unicode-display_width (1.7.0)
|
184
184
|
vcr (6.0.0)
|
185
|
-
webmock (3.
|
185
|
+
webmock (3.13.0)
|
186
186
|
addressable (>= 2.3.6)
|
187
187
|
crack (>= 0.3.2)
|
188
188
|
hashdiff (>= 0.4.0, < 2.0.0)
|
@@ -44,10 +44,10 @@ module Scholarsphere
|
|
44
44
|
|
45
45
|
def data
|
46
46
|
@data ||= begin
|
47
|
-
|
47
|
+
raise Client::Error.new(request.body) unless request.success?
|
48
48
|
|
49
|
-
|
50
|
-
|
49
|
+
JSON.parse(request.body)
|
50
|
+
end
|
51
51
|
end
|
52
52
|
end
|
53
53
|
end
|
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
|
|
32
32
|
|
33
33
|
spec.add_dependency 'aws-sdk-s3', '~> 1.49'
|
34
34
|
spec.add_dependency 'faraday', '> 0.12'
|
35
|
-
spec.add_dependency 'marcel', '~> 0
|
35
|
+
spec.add_dependency 'marcel', '~> 1.0'
|
36
36
|
|
37
37
|
spec.add_development_dependency 'bundler', '~> 2.0'
|
38
38
|
spec.add_development_dependency 'niftany', '~> 0.6'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scholarsphere-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Wead
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-s3
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0
|
47
|
+
version: '1.0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0
|
54
|
+
version: '1.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -260,7 +260,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
260
260
|
- !ruby/object:Gem::Version
|
261
261
|
version: '0'
|
262
262
|
requirements: []
|
263
|
-
rubygems_version: 3.1.
|
263
|
+
rubygems_version: 3.1.4
|
264
264
|
signing_key:
|
265
265
|
specification_version: 4
|
266
266
|
summary: Client to connect to Scholarpshere
|