papercall 0.15.1 → 0.15.2
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 +4 -4
- data/.gitignore +1 -0
- data/lib/papercall/rest_fetcher.rb +2 -2
- data/lib/papercall/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 503026b2fa1192978c604f2a765a276ba91117a9
|
|
4
|
+
data.tar.gz: 70775d12ead9ec79dfda71c7112fc6ae9934107d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0c23285629cac49da1bae0803602ce5098361c14149ad605c77f55dd9d2de847fbf8271a10c8eb990538bf6ab1643d97f944fc0465b8216fd5f849b91d618755
|
|
7
|
+
data.tar.gz: 54c63f721771e54ee9dcc93cb0faf07a4ae9de35afcd0fd7486d774478d6cfb147c3f93e885e7e1ed100533958eba631b245e1979f9344cee74bb78dbdbdac83
|
data/.gitignore
CHANGED
|
@@ -50,7 +50,7 @@ module Papercall
|
|
|
50
50
|
start_time = Time.now
|
|
51
51
|
print 'Fetching ratings for all submissions from Papercall API...'
|
|
52
52
|
|
|
53
|
-
Parallel.each(analysis, in_threads:
|
|
53
|
+
Parallel.each(analysis, in_threads: 32) do |submission|
|
|
54
54
|
unless submission['ratings']
|
|
55
55
|
ratings_url = "#{SUBMISSIONS_URL}/#{submission['id']}/ratings"
|
|
56
56
|
submission['ratings'] = papercall(ratings_url)
|
|
@@ -63,7 +63,7 @@ module Papercall
|
|
|
63
63
|
def fetch_feedback
|
|
64
64
|
start_time = Time.now
|
|
65
65
|
print 'Fetching feedback for all submissions from Papercall API...'
|
|
66
|
-
Parallel.each(analysis, in_threads:
|
|
66
|
+
Parallel.each(analysis, in_threads: 32) do |submission|
|
|
67
67
|
unless submission['feedback']
|
|
68
68
|
feedback_url = "#{SUBMISSIONS_URL}/#{submission['id']}/feedback"
|
|
69
69
|
submission['feedback'] = papercall(feedback_url)
|
data/lib/papercall/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: papercall
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.15.
|
|
4
|
+
version: 0.15.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jørn Ølmheim
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-07-
|
|
11
|
+
date: 2018-07-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|