papercall 0.10.0 → 0.11.0
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/README.md +32 -5
- data/lib/papercall/analysis.rb +1 -0
- data/lib/papercall/rest_fetcher.rb +1 -0
- 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: ab3476ea98b3978aa2796e5bbe83f822a2838295
|
4
|
+
data.tar.gz: 3b9234b7db7bd2ae2003fb07c40e13c82a6ea97b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 215d3c4da56232bacc186ae278130f065f106cee0611f4008f64900fa7f0cc379e3210b5d646ae56e4b5b60652f362d9d920c7d10dca15c536d185a365017783
|
7
|
+
data.tar.gz: b70eb3e412bc738927c7bfca6b55a6bf837439c05d444b8b2284adb70d0bef71825f896c1cf5cefd9b3e8fe93d4f44a2906320ff08cc77e88247f965d3ab6629
|
data/README.md
CHANGED
@@ -1,8 +1,12 @@
|
|
1
1
|
# Papercall
|
2
2
|
|
3
|
-
|
3
|
+
Papercall.io is a nice conference management system that allows you to put out a call for papers and manage the entire review process. This ruby-gem uses the Papercall API to fetch all the submitted papers and do some analysis.
|
4
4
|
|
5
|
-
|
5
|
+
Examples of the type of stats available are:
|
6
|
+
* Number of papers in different states
|
7
|
+
* Number of active reviewers
|
8
|
+
* Number of submitted papers without any feedback
|
9
|
+
* Number of papers missing reviews
|
6
10
|
|
7
11
|
## Installation
|
8
12
|
|
@@ -10,7 +14,7 @@ Add this line to your application's Gemfile:
|
|
10
14
|
|
11
15
|
```ruby
|
12
16
|
gem 'papercall'
|
13
|
-
|
17
|
+
``````
|
14
18
|
|
15
19
|
And then execute:
|
16
20
|
|
@@ -22,7 +26,31 @@ Or install it yourself as:
|
|
22
26
|
|
23
27
|
## Usage
|
24
28
|
|
25
|
-
|
29
|
+
The following code will fetch all the submissions from your event and print a summary of stats:
|
30
|
+
|
31
|
+
```ruby
|
32
|
+
require 'papercall'
|
33
|
+
|
34
|
+
Papercall.fetch(:from_papercall, "<your api key>", :submitted, :accepted, :rejected, :waitlist, :declined)
|
35
|
+
Papercall.summary
|
36
|
+
```
|
37
|
+
|
38
|
+
The Papercall gem also allows you to fetch individual states, or just the ones you care about:
|
39
|
+
|
40
|
+
```ruby
|
41
|
+
Papercall.fetch(:from_papercall, "<your api key", :submitted, :accepted)
|
42
|
+
```
|
43
|
+
or
|
44
|
+
```ruby
|
45
|
+
Papercall.fetch(:from_papercall, "<your api key", :rejected, :declined, :waitelist)
|
46
|
+
```
|
47
|
+
The order does not matter.
|
48
|
+
|
49
|
+
You can also use this shortcut if you want to fetch all:
|
50
|
+
```ruby
|
51
|
+
Papercall.fetch(:from_papercall, "<your api key", :all)
|
52
|
+
```
|
53
|
+
|
26
54
|
|
27
55
|
## Development
|
28
56
|
|
@@ -38,4 +66,3 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERN
|
|
38
66
|
## License
|
39
67
|
|
40
68
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
41
|
-
|
data/lib/papercall/analysis.rb
CHANGED
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.
|
4
|
+
version: 0.11.0
|
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: 2017-11-
|
11
|
+
date: 2017-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|