roboneuro 0.1.4 → 0.1.5
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/Gemfile.lock +1 -1
- data/README.md +2 -0
- data/lib/whedon/processor.rb +4 -2
- data/lib/whedon/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ae582272abc421d012bce9b43d328adf2b5c50aaf9122c64f3f13b360b1fb2c
|
4
|
+
data.tar.gz: 8dffcf7ea86fae1e5edbaf5a99500fe193d51123775762e417dea7d6406ee90e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0e3be3dcfc6a31b9d4a36c9241e4042371b7ec3c4c5bcf6718370e90901c7a55f0fee06287b219f0c878f2582f64b1675766f8a2f06d9a67fa5241fbf101d11
|
7
|
+
data.tar.gz: 5d8d2e1719bcf688cbe163d8ed05f22e7fd449c3d973cc0e62fef656bf0a00e5e3f53826e424b23b63d14b183b188236cec4e80fa7171479226d83a36743c4cc
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
Modified for NeuroLibre.
|
2
|
+
|
1
3
|
# What is Whedon?
|
2
4
|
|
3
5
|
Whedon is a collection of command-line utilities to manage JOSS submissions. Whedon is used by the [Whedon-API bot](https://github.com/openjournals/whedon-api) to interact with authors and reviewers during the review process on https://github.com/openjournals/joss-reviews
|
data/lib/whedon/processor.rb
CHANGED
@@ -118,7 +118,7 @@ module Whedon
|
|
118
118
|
end
|
119
119
|
|
120
120
|
def deposit
|
121
|
-
crossref_deposit
|
121
|
+
#crossref_deposit
|
122
122
|
joss_deposit
|
123
123
|
|
124
124
|
puts "p=dat #{@review_issue_id};p.doi='#{paper.formatted_doi}';"\
|
@@ -133,7 +133,8 @@ module Whedon
|
|
133
133
|
puts "Depositing with JOSS..."
|
134
134
|
request = RestClient::Request.new(
|
135
135
|
:method => :post,
|
136
|
-
:url => "
|
136
|
+
:url => "http://neurolibre.herokuapp.com/papers/api_deposit",
|
137
|
+
verify_ssl: false,
|
137
138
|
:payload => {
|
138
139
|
:id => paper.review_issue_id,
|
139
140
|
:metadata => Base64.encode64(paper.deposit_payload.to_json),
|
@@ -149,6 +150,7 @@ module Whedon
|
|
149
150
|
})
|
150
151
|
|
151
152
|
response = request.execute
|
153
|
+
puts response.body
|
152
154
|
if response.code == 201
|
153
155
|
puts "Deposit looks good."
|
154
156
|
else
|
data/lib/whedon/version.rb
CHANGED