papercallio 0.0.1
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 +7 -0
- data/.gitignore +52 -0
- data/.rspec +1 -0
- data/.vscode/launch.json +69 -0
- data/CODE_OF_CONDUCT.md +49 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +70 -0
- data/LICENSE +201 -0
- data/README.md +61 -0
- data/Rakefile +44 -0
- data/bin/papercallio +149 -0
- data/features/papercallio.feature +8 -0
- data/features/step_definitions/papercallio_steps.rb +6 -0
- data/features/support/env.rb +15 -0
- data/lib/papercallio.rb +5 -0
- data/lib/papercallio/client.rb +39 -0
- data/lib/papercallio/version.rb +3 -0
- data/papercallio.gemspec +23 -0
- data/papercallio.rdoc +5 -0
- data/spec/spec_helper.rb +100 -0
- metadata +148 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: cab85d981e54ef26446eae7496a567501d989ef4
|
4
|
+
data.tar.gz: 9bc25c08598f02cb385f3b3c654a48c2cd224007
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 0f098addbedc662b0a19e2345bfee8d441f3b5049f1b6050f5fdb10f83b0b8b34782db33d3387bdbb3bff92ad05547ded8562ef97714d838c9b304f4ba5d81b8
|
7
|
+
data.tar.gz: 2700b74d23164102813ff3640b0a4709393dc2c729875fcf94b452f5ca765f22cb6a658d526ce5640471ca4e77a6da2cc160b076b4a5d204430987ea37d28b3f
|
data/.gitignore
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
*.gem
|
2
|
+
*.rbc
|
3
|
+
/.config
|
4
|
+
/coverage/
|
5
|
+
/InstalledFiles
|
6
|
+
/pkg/
|
7
|
+
/spec/reports/
|
8
|
+
/spec/examples.txt
|
9
|
+
/test/tmp/
|
10
|
+
/test/version_tmp/
|
11
|
+
/tmp/
|
12
|
+
|
13
|
+
# Used by dotenv library to load environment variables.
|
14
|
+
# .env
|
15
|
+
|
16
|
+
## Specific to RubyMotion:
|
17
|
+
.dat*
|
18
|
+
.repl_history
|
19
|
+
build/
|
20
|
+
*.bridgesupport
|
21
|
+
build-iPhoneOS/
|
22
|
+
build-iPhoneSimulator/
|
23
|
+
|
24
|
+
## Specific to RubyMotion (use of CocoaPods):
|
25
|
+
#
|
26
|
+
# We recommend against adding the Pods directory to your .gitignore. However
|
27
|
+
# you should judge for yourself, the pros and cons are mentioned at:
|
28
|
+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
|
29
|
+
#
|
30
|
+
# vendor/Pods/
|
31
|
+
|
32
|
+
## Documentation cache and generated files:
|
33
|
+
/.yardoc/
|
34
|
+
/_yardoc/
|
35
|
+
/doc/
|
36
|
+
/rdoc/
|
37
|
+
|
38
|
+
## Environment normalization:
|
39
|
+
/.bundle/
|
40
|
+
/vendor/bundle
|
41
|
+
/lib/bundler/man/
|
42
|
+
|
43
|
+
# for a library or gem, you might want to ignore these files since the code is
|
44
|
+
# intended to run in multiple environments; otherwise, check them in:
|
45
|
+
# Gemfile.lock
|
46
|
+
# .ruby-version
|
47
|
+
# .ruby-gemset
|
48
|
+
|
49
|
+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
50
|
+
.rvmrc
|
51
|
+
|
52
|
+
*.csv
|
data/.rspec
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--require spec_helper
|
data/.vscode/launch.json
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
{
|
2
|
+
"version": "0.2.0",
|
3
|
+
"configurations": [
|
4
|
+
{
|
5
|
+
"name": "Debug-rvm",
|
6
|
+
"type": "Ruby",
|
7
|
+
"request": "launch",
|
8
|
+
"cwd": "${workspaceRoot}",
|
9
|
+
"program": "${workspaceRoot}/bin/rackup",
|
10
|
+
"args": [
|
11
|
+
"-E", "development",
|
12
|
+
"-o", "0.0.0.0",
|
13
|
+
"-p", "4567"
|
14
|
+
],
|
15
|
+
"useBundler": true,
|
16
|
+
"pathToBundler": "/Users/ablythe/.rvm/gems/ruby-2.3.3/wrappers/bundle",
|
17
|
+
"showDebuggerOutput": true,
|
18
|
+
"pathToRDebugIDE": "${workspaceRoot}/bin/rdebug-ide"
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"name": "RSpec - all(rvm)",
|
22
|
+
"type": "Ruby",
|
23
|
+
"request": "launch",
|
24
|
+
"cwd": "${workspaceRoot}",
|
25
|
+
"program": "${workspaceRoot}/bin/rspec",
|
26
|
+
"useBundler": true,
|
27
|
+
"pathToBundler": "${env.HOME}/.rvm/gems/${env.rvm_ruby_string}/wrappers/bundle",
|
28
|
+
"showDebuggerOutput": true,
|
29
|
+
"pathToRDebugIDE": "${workspaceRoot}/bin/rdebug-ide",
|
30
|
+
"args": [
|
31
|
+
"-I",
|
32
|
+
"${workspaceRoot}"
|
33
|
+
]
|
34
|
+
},
|
35
|
+
{
|
36
|
+
"name": "RSpec - active spec file only",
|
37
|
+
"type": "Ruby",
|
38
|
+
"request": "launch",
|
39
|
+
"cwd": "${workspaceRoot}",
|
40
|
+
"program": "${workspaceRoot}/bin/rspec",
|
41
|
+
"useBundler": true,
|
42
|
+
"pathToBundler": "${env.HOME}/.rvm/gems/${env.rvm_ruby_string}/wrappers/bundle",
|
43
|
+
"showDebuggerOutput": true,
|
44
|
+
"pathToRDebugIDE": "${workspaceRoot}/bin/rdebug-ide",
|
45
|
+
"args": [
|
46
|
+
"-I",
|
47
|
+
"${workspaceRoot}",
|
48
|
+
"${file}"
|
49
|
+
]
|
50
|
+
},
|
51
|
+
{
|
52
|
+
"name": "RSpec - active spec file only as production",
|
53
|
+
"type": "Ruby",
|
54
|
+
"request": "launch",
|
55
|
+
"cwd": "${workspaceRoot}",
|
56
|
+
"program": "${workspaceRoot}/bin/rspec",
|
57
|
+
"useBundler": true,
|
58
|
+
"env": {"RACK_ENV": "production"},
|
59
|
+
"pathToBundler": "${env.HOME}/.rvm/gems/${env.rvm_ruby_string}/wrappers/bundle",
|
60
|
+
"showDebuggerOutput": true,
|
61
|
+
"pathToRDebugIDE": "${workspaceRoot}/bin/rdebug-ide",
|
62
|
+
"args": [
|
63
|
+
"-I",
|
64
|
+
"${workspaceRoot}",
|
65
|
+
"${file}"
|
66
|
+
]
|
67
|
+
}
|
68
|
+
]
|
69
|
+
}
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# Contributor Code of Conduct
|
2
|
+
|
3
|
+
As contributors and maintainers of this project, and in the interest of
|
4
|
+
fostering an open and welcoming community, we pledge to respect all people who
|
5
|
+
contribute through reporting issues, posting feature requests, updating
|
6
|
+
documentation, submitting pull requests or patches, and other activities.
|
7
|
+
|
8
|
+
We are committed to making participation in this project a harassment-free
|
9
|
+
experience for everyone, regardless of level of experience, gender, gender
|
10
|
+
identity and expression, sexual orientation, disability, personal appearance,
|
11
|
+
body size, race, ethnicity, age, religion, or nationality.
|
12
|
+
|
13
|
+
Examples of unacceptable behavior by participants include:
|
14
|
+
|
15
|
+
* The use of sexualized language or imagery
|
16
|
+
* Personal attacks
|
17
|
+
* Trolling or insulting/derogatory comments
|
18
|
+
* Public or private harassment
|
19
|
+
* Publishing other's private information, such as physical or electronic
|
20
|
+
addresses, without explicit permission
|
21
|
+
* Other unethical or unprofessional conduct
|
22
|
+
|
23
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
24
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
25
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
26
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
27
|
+
threatening, offensive, or harmful.
|
28
|
+
|
29
|
+
By adopting this Code of Conduct, project maintainers commit themselves to
|
30
|
+
fairly and consistently applying these principles to every aspect of managing
|
31
|
+
this project. Project maintainers who do not follow or enforce the Code of
|
32
|
+
Conduct may be permanently removed from the project team.
|
33
|
+
|
34
|
+
This code of conduct applies both within project spaces and in public spaces
|
35
|
+
when an individual is representing the project or its community.
|
36
|
+
|
37
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
38
|
+
reported by contacting a project maintainer at ablythe@hearst.com. All
|
39
|
+
complaints will be reviewed and investigated and will result in a response that
|
40
|
+
is deemed necessary and appropriate to the circumstances. Maintainers are
|
41
|
+
obligated to maintain confidentiality with regard to the reporter of an
|
42
|
+
incident.
|
43
|
+
|
44
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
45
|
+
version 1.3.0, available at
|
46
|
+
[http://contributor-covenant.org/version/1/3/0/][version]
|
47
|
+
|
48
|
+
[homepage]: http://contributor-covenant.org
|
49
|
+
[version]: http://contributor-covenant.org/version/1/3/0/
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,70 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
papercallio (0.0.1)
|
5
|
+
gli (= 2.16.0)
|
6
|
+
httparty (~> 0.15)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
aruba (0.14.2)
|
12
|
+
childprocess (~> 0.5.6)
|
13
|
+
contracts (~> 0.9)
|
14
|
+
cucumber (>= 1.3.19)
|
15
|
+
ffi (~> 1.9.10)
|
16
|
+
rspec-expectations (>= 2.99)
|
17
|
+
thor (~> 0.19)
|
18
|
+
builder (3.2.3)
|
19
|
+
childprocess (0.5.9)
|
20
|
+
ffi (~> 1.0, >= 1.0.11)
|
21
|
+
contracts (0.16.0)
|
22
|
+
cucumber (2.4.0)
|
23
|
+
builder (>= 2.1.2)
|
24
|
+
cucumber-core (~> 1.5.0)
|
25
|
+
cucumber-wire (~> 0.0.1)
|
26
|
+
diff-lcs (>= 1.1.3)
|
27
|
+
gherkin (~> 4.0)
|
28
|
+
multi_json (>= 1.7.5, < 2.0)
|
29
|
+
multi_test (>= 0.1.2)
|
30
|
+
cucumber-core (1.5.0)
|
31
|
+
gherkin (~> 4.0)
|
32
|
+
cucumber-wire (0.0.1)
|
33
|
+
diff-lcs (1.3)
|
34
|
+
ffi (1.9.18)
|
35
|
+
gherkin (4.1.3)
|
36
|
+
gli (2.16.0)
|
37
|
+
httparty (0.15.5)
|
38
|
+
multi_xml (>= 0.5.2)
|
39
|
+
multi_json (1.12.1)
|
40
|
+
multi_test (0.1.2)
|
41
|
+
multi_xml (0.6.0)
|
42
|
+
rake (12.0.0)
|
43
|
+
rdoc (5.1.0)
|
44
|
+
rspec (3.6.0)
|
45
|
+
rspec-core (~> 3.6.0)
|
46
|
+
rspec-expectations (~> 3.6.0)
|
47
|
+
rspec-mocks (~> 3.6.0)
|
48
|
+
rspec-core (3.6.0)
|
49
|
+
rspec-support (~> 3.6.0)
|
50
|
+
rspec-expectations (3.6.0)
|
51
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
52
|
+
rspec-support (~> 3.6.0)
|
53
|
+
rspec-mocks (3.6.0)
|
54
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
55
|
+
rspec-support (~> 3.6.0)
|
56
|
+
rspec-support (3.6.0)
|
57
|
+
thor (0.19.4)
|
58
|
+
|
59
|
+
PLATFORMS
|
60
|
+
ruby
|
61
|
+
|
62
|
+
DEPENDENCIES
|
63
|
+
aruba (~> 0.14)
|
64
|
+
papercallio!
|
65
|
+
rake (~> 12.0)
|
66
|
+
rdoc (~> 5.1)
|
67
|
+
rspec (~> 3.6)
|
68
|
+
|
69
|
+
BUNDLED WITH
|
70
|
+
1.15.1
|
data/LICENSE
ADDED
@@ -0,0 +1,201 @@
|
|
1
|
+
Apache License
|
2
|
+
Version 2.0, January 2004
|
3
|
+
http://www.apache.org/licenses/
|
4
|
+
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
6
|
+
|
7
|
+
1. Definitions.
|
8
|
+
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
11
|
+
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
13
|
+
the copyright owner that is granting the License.
|
14
|
+
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
16
|
+
other entities that control, are controlled by, or are under common
|
17
|
+
control with that entity. For the purposes of this definition,
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
19
|
+
direction or management of such entity, whether by contract or
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
22
|
+
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
24
|
+
exercising permissions granted by this License.
|
25
|
+
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
27
|
+
including but not limited to software source code, documentation
|
28
|
+
source, and configuration files.
|
29
|
+
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
31
|
+
transformation or translation of a Source form, including but
|
32
|
+
not limited to compiled object code, generated documentation,
|
33
|
+
and conversions to other media types.
|
34
|
+
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
36
|
+
Object form, made available under the License, as indicated by a
|
37
|
+
copyright notice that is included in or attached to the work
|
38
|
+
(an example is provided in the Appendix below).
|
39
|
+
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
46
|
+
the Work and Derivative Works thereof.
|
47
|
+
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
49
|
+
the original version of the Work and any modifications or additions
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
61
|
+
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
64
|
+
subsequently incorporated within the Work.
|
65
|
+
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
72
|
+
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
78
|
+
where such license applies only to those patent claims licensable
|
79
|
+
by such Contributor that are necessarily infringed by their
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
82
|
+
institute patent litigation against any entity (including a
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
85
|
+
or contributory patent infringement, then any patent licenses
|
86
|
+
granted to You under this License for that Work shall terminate
|
87
|
+
as of the date such litigation is filed.
|
88
|
+
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
91
|
+
modifications, and in Source or Object form, provided that You
|
92
|
+
meet the following conditions:
|
93
|
+
|
94
|
+
(a) You must give any other recipients of the Work or
|
95
|
+
Derivative Works a copy of this License; and
|
96
|
+
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
98
|
+
stating that You changed the files; and
|
99
|
+
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
102
|
+
attribution notices from the Source form of the Work,
|
103
|
+
excluding those notices that do not pertain to any part of
|
104
|
+
the Derivative Works; and
|
105
|
+
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
108
|
+
include a readable copy of the attribution notices contained
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
111
|
+
of the following places: within a NOTICE text file distributed
|
112
|
+
as part of the Derivative Works; within the Source form or
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
114
|
+
within a display generated by the Derivative Works, if and
|
115
|
+
wherever such third-party notices normally appear. The contents
|
116
|
+
of the NOTICE file are for informational purposes only and
|
117
|
+
do not modify the License. You may add Your own attribution
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
120
|
+
that such additional attribution notices cannot be construed
|
121
|
+
as modifying the License.
|
122
|
+
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
124
|
+
may provide additional or different license terms and conditions
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
128
|
+
the conditions stated in this License.
|
129
|
+
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
133
|
+
this License, without any additional terms or conditions.
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
135
|
+
the terms of any separate license agreement you may have executed
|
136
|
+
with Licensor regarding such Contributions.
|
137
|
+
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
140
|
+
except as required for reasonable and customary use in describing the
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
142
|
+
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
152
|
+
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
158
|
+
incidental, or consequential damages of any character arising as a
|
159
|
+
result of this License or out of the use or inability to use the
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
162
|
+
other commercial damages or losses), even if such Contributor
|
163
|
+
has been advised of the possibility of such damages.
|
164
|
+
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
168
|
+
or other liability obligations and/or rights consistent with this
|
169
|
+
License. However, in accepting such obligations, You may act only
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
174
|
+
of your accepting any such warranty or additional liability.
|
175
|
+
|
176
|
+
END OF TERMS AND CONDITIONS
|
177
|
+
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
179
|
+
|
180
|
+
To apply the Apache License to your work, attach the following
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "{}"
|
182
|
+
replaced with your own identifying information. (Don't include
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
184
|
+
comment syntax for the file format. We also recommend that a
|
185
|
+
file or class name and description of purpose be included on the
|
186
|
+
same "printed page" as the copyright notice for easier
|
187
|
+
identification within third-party archives.
|
188
|
+
|
189
|
+
Copyright {yyyy} {name of copyright owner}
|
190
|
+
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
192
|
+
you may not use this file except in compliance with the License.
|
193
|
+
You may obtain a copy of the License at
|
194
|
+
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
196
|
+
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
200
|
+
See the License for the specific language governing permissions and
|
201
|
+
limitations under the License.
|
data/README.md
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
# Papercallio
|
2
|
+
|
3
|
+
A clean Git-like command line interface ruby gem wrapper around the papercall.io API to create a csv
|
4
|
+
|
5
|
+
NOTE: This is currently only available for Pro Accounts.
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'papercallio'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install papercallio
|
22
|
+
|
23
|
+
## Papercall API access required
|
24
|
+
|
25
|
+
papercallio requires API access to download data. API access is a paid feature, papercallio will not work with the free papercall plan.
|
26
|
+
|
27
|
+
To obtain your API token, go to the papercall website, click the events tab, choose your event, then choose the Organisers link on the right hand side. On the list of organisers for your event your API token will be listed under your name.
|
28
|
+
|
29
|
+
Once you have your API key export it in your shell
|
30
|
+
|
31
|
+
```
|
32
|
+
export PAPERCALL_API_TOKEN=abcdefghijklmnopqrstuvwxyz1234567890
|
33
|
+
```
|
34
|
+
|
35
|
+
## Usage
|
36
|
+
|
37
|
+
```
|
38
|
+
papercallio help
|
39
|
+
papercallio help submissions
|
40
|
+
papercallio submissions
|
41
|
+
```
|
42
|
+
|
43
|
+
Add flags to the command as defined in the help file.
|
44
|
+
|
45
|
+
### Development
|
46
|
+
|
47
|
+
```
|
48
|
+
bundle install
|
49
|
+
bundle exec bin/papercallio submissions
|
50
|
+
```
|
51
|
+
|
52
|
+
## Development
|
53
|
+
|
54
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
55
|
+
|
56
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
57
|
+
|
58
|
+
## Contributing
|
59
|
+
|
60
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/papercallio. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
61
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
require 'rake/clean'
|
2
|
+
require 'rubygems'
|
3
|
+
require 'rubygems/package_task'
|
4
|
+
require 'rdoc/task'
|
5
|
+
require 'cucumber'
|
6
|
+
require 'cucumber/rake/task'
|
7
|
+
Rake::RDocTask.new do |rd|
|
8
|
+
rd.main = "README.rdoc"
|
9
|
+
rd.rdoc_files.include("README.rdoc","lib/**/*.rb","bin/**/*")
|
10
|
+
rd.title = 'Your application title'
|
11
|
+
end
|
12
|
+
|
13
|
+
spec = eval(File.read('papercallio.gemspec'))
|
14
|
+
|
15
|
+
Gem::PackageTask.new(spec) do |pkg|
|
16
|
+
end
|
17
|
+
CUKE_RESULTS = 'results.html'
|
18
|
+
CLEAN << CUKE_RESULTS
|
19
|
+
desc 'Run features'
|
20
|
+
Cucumber::Rake::Task.new(:features) do |t|
|
21
|
+
opts = "features --format html -o #{CUKE_RESULTS} --format progress -x"
|
22
|
+
opts += " --tags #{ENV['TAGS']}" if ENV['TAGS']
|
23
|
+
t.cucumber_opts = opts
|
24
|
+
t.fork = false
|
25
|
+
end
|
26
|
+
|
27
|
+
desc 'Run features tagged as work-in-progress (@wip)'
|
28
|
+
Cucumber::Rake::Task.new('features:wip') do |t|
|
29
|
+
tag_opts = ' --tags ~@pending'
|
30
|
+
tag_opts = ' --tags @wip'
|
31
|
+
t.cucumber_opts = "features --format html -o #{CUKE_RESULTS} --format pretty -x -s#{tag_opts}"
|
32
|
+
t.fork = false
|
33
|
+
end
|
34
|
+
|
35
|
+
task :cucumber => :features
|
36
|
+
task 'cucumber:wip' => 'features:wip'
|
37
|
+
task :wip => 'features:wip'
|
38
|
+
require 'rake/testtask'
|
39
|
+
Rake::TestTask.new do |t|
|
40
|
+
t.libs << "test"
|
41
|
+
t.test_files = FileList['test/*_test.rb']
|
42
|
+
end
|
43
|
+
|
44
|
+
task :default => [:test,:features]
|
data/bin/papercallio
ADDED
@@ -0,0 +1,149 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require 'gli'
|
3
|
+
require 'papercallio'
|
4
|
+
require 'csv'
|
5
|
+
|
6
|
+
include GLI::App
|
7
|
+
|
8
|
+
program_desc 'Command line interface for the papercall.io API'
|
9
|
+
|
10
|
+
version Papercallio::VERSION
|
11
|
+
|
12
|
+
api_token = ENV['PAPERCALL_API_TOKEN']
|
13
|
+
|
14
|
+
subcommand_option_handling :normal
|
15
|
+
arguments :strict
|
16
|
+
|
17
|
+
desc 'Describe some switch here'
|
18
|
+
switch [:s,:switch]
|
19
|
+
|
20
|
+
desc 'The file path for output'
|
21
|
+
default_value 'the subcommand.csv, e.g. event.csv, submissions.csv'
|
22
|
+
arg_name 'The file path (e.g. ./submissions.csv)'
|
23
|
+
flag [:f,:file]
|
24
|
+
|
25
|
+
desc 'Return submissions in csv file'
|
26
|
+
arg_name 'Describe arguments to submissions here'
|
27
|
+
command :submissions do |c|
|
28
|
+
c.switch 'needs_rating', :desc => 'Filter results needs rating. Default (false).'
|
29
|
+
|
30
|
+
c.flag 'state', :default_value => nil,
|
31
|
+
:arg_name => 'state of submissions. ',
|
32
|
+
:desc => 'Filter results by their state. Possible values are: submitted, accepted, rejected, and waitlist. If not provided then all will be returned. Can only filter to one state.'
|
33
|
+
c.flag 'keywords', :default_value => nil,
|
34
|
+
:arg_name => 'keywords',
|
35
|
+
:desc => 'Filter results keywords.'
|
36
|
+
c.flag 'order', :default_value => nil,
|
37
|
+
:arg_name => 'order',
|
38
|
+
:desc => 'Sort results. Possible values are: state, rating, ratings_count, title, created_at, talk_format_id, audience_level, confidence'
|
39
|
+
|
40
|
+
c.action do |global_options,options,args|
|
41
|
+
pcc = PaperCallClient.new(api_token, options)
|
42
|
+
response = pcc.submissions
|
43
|
+
|
44
|
+
submissions = []
|
45
|
+
headers = []
|
46
|
+
headerset = false
|
47
|
+
response.each do |submission|
|
48
|
+
line = {}
|
49
|
+
submission.each do |field, value|
|
50
|
+
if value.is_a?(Hash)
|
51
|
+
value.each do |subfield, subvalue|
|
52
|
+
line["#{field}_#{subfield}"] = subvalue
|
53
|
+
headers << "#{field}_#{subfield}" unless headerset
|
54
|
+
end
|
55
|
+
next
|
56
|
+
end
|
57
|
+
line[field] = value
|
58
|
+
headers << field unless headerset
|
59
|
+
end
|
60
|
+
headerset = true
|
61
|
+
submissions << line
|
62
|
+
line = {}
|
63
|
+
end
|
64
|
+
File.open('submissions.csv', 'w') do |f|
|
65
|
+
f.puts headers.to_csv
|
66
|
+
submissions.each do |sub|
|
67
|
+
f.puts headers.map { |h| sub[h] }.to_csv
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
puts "submissions have been output to submissions.csv"
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
desc 'Return event as json'
|
76
|
+
arg_name 'No arguments'
|
77
|
+
command :event do |c|
|
78
|
+
c.action do |global_options,options,args|
|
79
|
+
pcc = PaperCallClient.new(api_token, {})
|
80
|
+
response = pcc.event
|
81
|
+
puts response
|
82
|
+
puts "event command ran"
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
desc 'Return submission as json'
|
87
|
+
arg_name "Arguments: 'id' identifier of the submission"
|
88
|
+
command :rating do |c|
|
89
|
+
c.flag 'id', :default_value => 1,
|
90
|
+
:arg_name => 'papercall submission identifier',
|
91
|
+
:desc => 'identifier of the submission'
|
92
|
+
c.action do |global_options,options,args|
|
93
|
+
pcc = PaperCallClient.new(api_token, {})
|
94
|
+
response = pcc.rating(options[:id])
|
95
|
+
puts response
|
96
|
+
puts "submission for id: #{options[:id]} as json"
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
desc 'Return ratings as json'
|
101
|
+
arg_name "Arguments: 'id' identifier of the submission"
|
102
|
+
command :rating do |c|
|
103
|
+
c.flag 'id', :default_value => 1,
|
104
|
+
:arg_name => 'papercall submission identifier',
|
105
|
+
:desc => 'identifier of the submission'
|
106
|
+
c.action do |global_options,options,args|
|
107
|
+
pcc = PaperCallClient.new(api_token, {})
|
108
|
+
response = pcc.rating(options[:id])
|
109
|
+
puts response
|
110
|
+
puts "ratings for id: #{options[:id]} as json"
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
114
|
+
desc 'Return feedback as json'
|
115
|
+
arg_name "Arguments: 'id' identifier of the submission"
|
116
|
+
command :feedback do |c|
|
117
|
+
c.flag 'id', :default_value => 1,
|
118
|
+
:arg_name => 'papercall submission identifier',
|
119
|
+
:desc => 'identifier of the submission'
|
120
|
+
c.action do |global_options,options,args|
|
121
|
+
pcc = PaperCallClient.new(api_token, {})
|
122
|
+
response = pcc.feedback(options[:id])
|
123
|
+
puts response
|
124
|
+
puts "feedback for id: #{options[:id]} as json"
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
128
|
+
pre do |global,command,options,args|
|
129
|
+
# Pre logic here
|
130
|
+
# Return true to proceed; false to abort and not call the
|
131
|
+
# chosen command
|
132
|
+
# Use skips_pre before a command to skip this block
|
133
|
+
# on that command only
|
134
|
+
true
|
135
|
+
end
|
136
|
+
|
137
|
+
post do |global,command,options,args|
|
138
|
+
# Post logic here
|
139
|
+
# Use skips_post before a command to skip this
|
140
|
+
# block on that command only
|
141
|
+
end
|
142
|
+
|
143
|
+
on_error do |exception|
|
144
|
+
# Error logic here
|
145
|
+
# return false to skip default error handling
|
146
|
+
true
|
147
|
+
end
|
148
|
+
|
149
|
+
exit run(ARGV)
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'aruba/cucumber'
|
2
|
+
|
3
|
+
ENV['PATH'] = "#{File.expand_path(File.dirname(__FILE__) + '/../../bin')}#{File::PATH_SEPARATOR}#{ENV['PATH']}"
|
4
|
+
LIB_DIR = File.join(File.expand_path(File.dirname(__FILE__)),'..','..','lib')
|
5
|
+
|
6
|
+
Before do
|
7
|
+
# Using "announce" causes massive warnings on 1.9.2
|
8
|
+
@puts = true
|
9
|
+
@original_rubylib = ENV['RUBYLIB']
|
10
|
+
ENV['RUBYLIB'] = LIB_DIR + File::PATH_SEPARATOR + ENV['RUBYLIB'].to_s
|
11
|
+
end
|
12
|
+
|
13
|
+
After do
|
14
|
+
ENV['RUBYLIB'] = @original_rubylib
|
15
|
+
end
|
data/lib/papercallio.rb
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
|
2
|
+
require 'httparty'
|
3
|
+
class PaperCallClient
|
4
|
+
include HTTParty
|
5
|
+
base_uri 'www.papercall.io'
|
6
|
+
|
7
|
+
def initialize(api_token, query_options)
|
8
|
+
@query = {
|
9
|
+
# page: page,
|
10
|
+
# TODO: for first iteration, just going to hardcode to 9999
|
11
|
+
per_page: 9999
|
12
|
+
}
|
13
|
+
@query[:state] = query_options[:state] if query_options[:state]
|
14
|
+
@query[:keywords] = query_options[:keywords] if query_options[:keywords]
|
15
|
+
@query[:needs_rating] = query_options[:needs_rating] if query_options[:needs_rating]
|
16
|
+
@query[:order] = query_options[:order] if query_options[:order]
|
17
|
+
@options = { query: @query, headers: { 'Authorization' => api_token } }
|
18
|
+
end
|
19
|
+
|
20
|
+
def event
|
21
|
+
self.class.get("/api/v1/event", @options)
|
22
|
+
end
|
23
|
+
|
24
|
+
def submissions
|
25
|
+
self.class.get("/api/v1/submissions", @options)
|
26
|
+
end
|
27
|
+
|
28
|
+
def submission(id)
|
29
|
+
self.class.get("/api/v1/submissions/#{id}", @options)
|
30
|
+
end
|
31
|
+
|
32
|
+
def rating(id)
|
33
|
+
self.class.get("/api/v1/submissions/#{id}/ratings", @options)
|
34
|
+
end
|
35
|
+
|
36
|
+
def feedback(id)
|
37
|
+
self.class.get("/api/v1/submissions/#{id}/feedback", @options)
|
38
|
+
end
|
39
|
+
end
|
data/papercallio.gemspec
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# Ensure we require the local version and not one we might have installed already
|
2
|
+
require File.join([File.dirname(__FILE__),'lib','papercallio','version.rb'])
|
3
|
+
spec = Gem::Specification.new do |s|
|
4
|
+
s.name = 'papercallio'
|
5
|
+
s.version = Papercallio::VERSION
|
6
|
+
s.author = 'aaronblythe'
|
7
|
+
s.email = 'aaron.blythe@gmail.com'
|
8
|
+
s.licenses = ['Apache-2.0']
|
9
|
+
s.homepage = 'http://aaronblythe.org'
|
10
|
+
s.platform = Gem::Platform::RUBY
|
11
|
+
s.summary = 'Gem to use the papercallio API'
|
12
|
+
s.files = `git ls-files`.split("
|
13
|
+
")
|
14
|
+
s.require_paths << 'lib'
|
15
|
+
s.bindir = 'bin'
|
16
|
+
s.executables << 'papercallio'
|
17
|
+
s.add_development_dependency 'rake', '~> 12.0'
|
18
|
+
s.add_development_dependency 'rdoc', '~> 5.1'
|
19
|
+
s.add_development_dependency 'aruba', '~> 0.14'
|
20
|
+
s.add_development_dependency 'rspec', '~> 3.6'
|
21
|
+
s.add_runtime_dependency 'gli', '2.16.0'
|
22
|
+
s.add_runtime_dependency 'httparty', '~> 0.15'
|
23
|
+
end
|
data/papercallio.rdoc
ADDED
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,100 @@
|
|
1
|
+
# This file was generated by the `rspec --init` command. Conventionally, all
|
2
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
3
|
+
# The generated `.rspec` file contains `--require spec_helper` which will cause
|
4
|
+
# this file to always be loaded, without a need to explicitly require it in any
|
5
|
+
# files.
|
6
|
+
#
|
7
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
8
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
9
|
+
# will add to the boot time of your test suite on EVERY test run, even for an
|
10
|
+
# individual file that may not need all of that loaded. Instead, consider making
|
11
|
+
# a separate helper file that requires the additional dependencies and performs
|
12
|
+
# the additional setup, and require it from the spec files that actually need
|
13
|
+
# it.
|
14
|
+
#
|
15
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
16
|
+
RSpec.configure do |config|
|
17
|
+
# rspec-expectations config goes here. You can use an alternate
|
18
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
19
|
+
# assertions if you prefer.
|
20
|
+
config.expect_with :rspec do |expectations|
|
21
|
+
# This option will default to `true` in RSpec 4. It makes the `description`
|
22
|
+
# and `failure_message` of custom matchers include text for helper methods
|
23
|
+
# defined using `chain`, e.g.:
|
24
|
+
# be_bigger_than(2).and_smaller_than(4).description
|
25
|
+
# # => "be bigger than 2 and smaller than 4"
|
26
|
+
# ...rather than:
|
27
|
+
# # => "be bigger than 2"
|
28
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
29
|
+
end
|
30
|
+
|
31
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
32
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
33
|
+
config.mock_with :rspec do |mocks|
|
34
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
35
|
+
# a real object. This is generally recommended, and will default to
|
36
|
+
# `true` in RSpec 4.
|
37
|
+
mocks.verify_partial_doubles = true
|
38
|
+
end
|
39
|
+
|
40
|
+
# This option will default to `:apply_to_host_groups` in RSpec 4 (and will
|
41
|
+
# have no way to turn it off -- the option exists only for backwards
|
42
|
+
# compatibility in RSpec 3). It causes shared context metadata to be
|
43
|
+
# inherited by the metadata hash of host groups and examples, rather than
|
44
|
+
# triggering implicit auto-inclusion in groups with matching metadata.
|
45
|
+
config.shared_context_metadata_behavior = :apply_to_host_groups
|
46
|
+
|
47
|
+
# The settings below are suggested to provide a good initial experience
|
48
|
+
# with RSpec, but feel free to customize to your heart's content.
|
49
|
+
=begin
|
50
|
+
# This allows you to limit a spec run to individual examples or groups
|
51
|
+
# you care about by tagging them with `:focus` metadata. When nothing
|
52
|
+
# is tagged with `:focus`, all examples get run. RSpec also provides
|
53
|
+
# aliases for `it`, `describe`, and `context` that include `:focus`
|
54
|
+
# metadata: `fit`, `fdescribe` and `fcontext`, respectively.
|
55
|
+
config.filter_run_when_matching :focus
|
56
|
+
|
57
|
+
# Allows RSpec to persist some state between runs in order to support
|
58
|
+
# the `--only-failures` and `--next-failure` CLI options. We recommend
|
59
|
+
# you configure your source control system to ignore this file.
|
60
|
+
config.example_status_persistence_file_path = "spec/examples.txt"
|
61
|
+
|
62
|
+
# Limits the available syntax to the non-monkey patched syntax that is
|
63
|
+
# recommended. For more details, see:
|
64
|
+
# - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
|
65
|
+
# - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
66
|
+
# - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
|
67
|
+
config.disable_monkey_patching!
|
68
|
+
|
69
|
+
# This setting enables warnings. It's recommended, but in some cases may
|
70
|
+
# be too noisy due to issues in dependencies.
|
71
|
+
config.warnings = true
|
72
|
+
|
73
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
74
|
+
# file, and it's useful to allow more verbose output when running an
|
75
|
+
# individual spec file.
|
76
|
+
if config.files_to_run.one?
|
77
|
+
# Use the documentation formatter for detailed output,
|
78
|
+
# unless a formatter has already been configured
|
79
|
+
# (e.g. via a command-line flag).
|
80
|
+
config.default_formatter = "doc"
|
81
|
+
end
|
82
|
+
|
83
|
+
# Print the 10 slowest examples and example groups at the
|
84
|
+
# end of the spec run, to help surface which specs are running
|
85
|
+
# particularly slow.
|
86
|
+
config.profile_examples = 10
|
87
|
+
|
88
|
+
# Run specs in random order to surface order dependencies. If you find an
|
89
|
+
# order dependency and want to debug it, you can fix the order by providing
|
90
|
+
# the seed, which is printed after each run.
|
91
|
+
# --seed 1234
|
92
|
+
config.order = :random
|
93
|
+
|
94
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
95
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
96
|
+
# test failures related to randomization by passing the same `--seed` value
|
97
|
+
# as the one that triggered the failure.
|
98
|
+
Kernel.srand config.seed
|
99
|
+
=end
|
100
|
+
end
|
metadata
ADDED
@@ -0,0 +1,148 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: papercallio
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- aaronblythe
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-06-23 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rake
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '12.0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '12.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rdoc
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '5.1'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '5.1'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: aruba
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0.14'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0.14'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.6'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.6'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: gli
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 2.16.0
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 2.16.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: httparty
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.15'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.15'
|
97
|
+
description:
|
98
|
+
email: aaron.blythe@gmail.com
|
99
|
+
executables:
|
100
|
+
- papercallio
|
101
|
+
extensions: []
|
102
|
+
extra_rdoc_files: []
|
103
|
+
files:
|
104
|
+
- ".gitignore"
|
105
|
+
- ".rspec"
|
106
|
+
- ".vscode/launch.json"
|
107
|
+
- CODE_OF_CONDUCT.md
|
108
|
+
- Gemfile
|
109
|
+
- Gemfile.lock
|
110
|
+
- LICENSE
|
111
|
+
- README.md
|
112
|
+
- Rakefile
|
113
|
+
- bin/papercallio
|
114
|
+
- features/papercallio.feature
|
115
|
+
- features/step_definitions/papercallio_steps.rb
|
116
|
+
- features/support/env.rb
|
117
|
+
- lib/papercallio.rb
|
118
|
+
- lib/papercallio/client.rb
|
119
|
+
- lib/papercallio/version.rb
|
120
|
+
- papercallio.gemspec
|
121
|
+
- papercallio.rdoc
|
122
|
+
- spec/spec_helper.rb
|
123
|
+
homepage: http://aaronblythe.org
|
124
|
+
licenses:
|
125
|
+
- Apache-2.0
|
126
|
+
metadata: {}
|
127
|
+
post_install_message:
|
128
|
+
rdoc_options: []
|
129
|
+
require_paths:
|
130
|
+
- lib
|
131
|
+
- lib
|
132
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
133
|
+
requirements:
|
134
|
+
- - ">="
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '0'
|
137
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
138
|
+
requirements:
|
139
|
+
- - ">="
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0'
|
142
|
+
requirements: []
|
143
|
+
rubyforge_project:
|
144
|
+
rubygems_version: 2.6.10
|
145
|
+
signing_key:
|
146
|
+
specification_version: 4
|
147
|
+
summary: Gem to use the papercallio API
|
148
|
+
test_files: []
|