roboneuro 0.1.11 → 0.1.14

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: c716f4a82517ef5da40623829a882a311eaf8b92da788a4eaa2d9144bbc24946
4
- data.tar.gz: d287e0274f048049aebd81b8f83278b599ffa8231dfa5f35589ef198a444765f
3
+ metadata.gz: '00934f3d85d51b6578bb51baf8e6f7507d99d6a46189d49414b1805a02a08c6a'
4
+ data.tar.gz: d147703eca58ac5e07540ceda8a372673bb31c4019dd89e4da046b81bee74276
5
5
  SHA512:
6
- metadata.gz: a01f5d3fd2692d2d2469f575acc4ab175d6415f945c17515001fb651ac0af8ba4ff3734578464bb882ca3aaa9551398f6d3d19dc419d726d506e804cb984fdec
7
- data.tar.gz: c4f79dda4964e969cb09eb66c3f870b62ea4d11fb82fce51a82c051a1a57caddcd4117e48a2dce7a36fb51f6dea5ccbeb9ae07d1e9b967536d17017dc54ef5a5
6
+ metadata.gz: c66e69d4197a7e0759755523fe894608b03ea65e49ab06d93c1e7e4c2cd854a49b757d58373df537c7d14d5279b59d02197eddad9095333f0c281ab127f860c7
7
+ data.tar.gz: 1252461cc2e979971c9c2aa9648637e1f07ba14cfd558c5bf21f5deba4ed97b85c9e72ba40a61ecb556f72c7d5f6d211a16c681a2c90144e959342b7beb1add2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- roboneuro (0.1.11)
4
+ roboneuro (0.1.14)
5
5
  bibtex-ruby (~> 6.0.0)
6
6
  dotenv
7
7
  github-linguist (~> 5.3)
@@ -118,9 +118,7 @@ module Whedon
118
118
  end
119
119
 
120
120
  def deposit
121
- puts "GEM - DEPOSITING CROSSREF"
122
121
  crossref_deposit
123
- puts "GEM - DEPOSITING NEUROLIBRE"
124
122
  joss_deposit
125
123
 
126
124
  puts "p=dat #{@review_issue_id};p.doi='#{paper.formatted_doi}';"\
@@ -132,12 +130,11 @@ module Whedon
132
130
  end
133
131
 
134
132
  def joss_deposit
135
- puts "Depositing with JOSS via http://neurolibre.org/papers/api_deposit"
133
+ puts "Depositing with JOSS via https://neurolibre.herokuapp.com/papers/api_deposit"
134
+ puts "#{paper.deposit_payload.to_json}"
136
135
  request = RestClient::Request.new(
137
136
  :method => :post,
138
- #:url => "http://neurolibre.herokuapp.com/papers/api_deposit",
139
- :url => "http://neurolibre.org/papers/api_deposit",
140
- verify_ssl: false,
137
+ :url => "https://neurolibre.herokuapp.com/papers/api_deposit",
141
138
  :payload => {
142
139
  :id => paper.review_issue_id,
143
140
  :metadata => Base64.encode64(paper.deposit_payload.to_json),
@@ -1,3 +1,3 @@
1
1
  module Whedon
2
- VERSION = "0.1.11"
2
+ VERSION = "0.1.14"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roboneuro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Agah Karakuzu