roboneuro 0.1.10 → 0.1.13

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d6222b1286c8b93307f32a72b4732c7604aaa65d8468f0aade6039e8b4b4fe81
4
- data.tar.gz: daf030e38d2271cdcb790d020e8daf15454f211ce86a9669dc3d8a2039d6ec0f
3
+ metadata.gz: d6483b2a4edbdfdad72ae02d3138cc9a3365bfcaa68a101cc704281bf5be955c
4
+ data.tar.gz: 5fa46e6f0907c0e6b3d7512dd3d6dba591ec415d6886c7f4a887e9277fd8252e
5
5
  SHA512:
6
- metadata.gz: '039255053135989cd7699d9955f1928dcc1a15dbf7eee584f1852183023e25c2971dd63978f73ed76dd2a30a0f238cc5f2f0b0c47a6344315a7f238c3a3324fd'
7
- data.tar.gz: aa7bcdbe4fd862a06302f841936c4304d8bda89c6d8977a66e5c4f5985edd7c30d33718d09a2bb653c742176c8af640d816058dc6514a42d8f712b28ddd9a727
6
+ metadata.gz: 5e9f6a183ab2037bc416091db8c1e325d0560ee507327cd7d80d887ccca693e905d5fa2824e5c713822c30386c98526d9d6339d79a326a4d597c43dfc1ea1f9f
7
+ data.tar.gz: 4c2f528b20de6190e898c302615ab70fe5485ae3e085430034881cd20f2561f7db9faff86b4598e8744da17f3fa177faab43843eed8c5891ac202d9e84a3dacc
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- roboneuro (0.1.10)
4
+ roboneuro (0.1.13)
5
5
  bibtex-ruby (~> 6.0.0)
6
6
  dotenv
7
7
  github-linguist (~> 5.3)
@@ -118,8 +118,8 @@ module Whedon
118
118
  end
119
119
 
120
120
  def deposit
121
- puts "GEM - DEPOSITING CROSSREF"
122
- crossref_deposit
121
+ #puts "GEM - DEPOSITING CROSSREF"
122
+ #crossref_deposit
123
123
  puts "GEM - DEPOSITING NEUROLIBRE"
124
124
  joss_deposit
125
125
 
@@ -132,11 +132,12 @@ module Whedon
132
132
  end
133
133
 
134
134
  def joss_deposit
135
- puts "Depositing with JOSS..."
135
+ puts "Depositing with JOSS via https://neurolibre.herokuapp.com/papers/api_deposit"
136
+ puts "#{paper.deposit_payload.to_json}"
136
137
  request = RestClient::Request.new(
137
138
  :method => :post,
138
- :url => "http://neurolibre.herokuapp.com/papers/api_deposit",
139
- verify_ssl: false,
139
+ :url => "https://neurolibre.herokuapp.com/papers/api_deposit",
140
+ #:url => "http://neurolibre.org/papers/api_deposit",
140
141
  :payload => {
141
142
  :id => paper.review_issue_id,
142
143
  :metadata => Base64.encode64(paper.deposit_payload.to_json),
@@ -1,3 +1,3 @@
1
1
  module Whedon
2
- VERSION = "0.1.10"
2
+ VERSION = "0.1.13"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roboneuro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Agah Karakuzu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-10 00:00:00.000000000 Z
11
+ date: 2022-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bibtex-ruby