roboneuro 0.1.9 → 0.1.12

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: e32758b56d705ca4958dffed50c665665e084362809e206ca29bbced65315e38
4
- data.tar.gz: 335e61d33a8a45b22e46b86de79a2874ba000f93d2917e3976f8c4fd8363c67c
3
+ metadata.gz: 4987a6e6c56100f1ca726550c5fb3def07a1b1e30adc6532713e3707415e2f73
4
+ data.tar.gz: cfda21fafa042375a2e15fb72c782c14dfab43f92b4ed73de98abcb04ef004cd
5
5
  SHA512:
6
- metadata.gz: f013e82c1166f52c552f0b521a9caac53abfb3e4d599a0fefe1ca62b2c7f6e98684de1a8429c269f095c013a7e5ce0a6e8bab3213514f056565d5f5df518cf28
7
- data.tar.gz: 85402f2cc63aa56ba939b89dbc4a885aa3e5f2f5003ae3157b550d28cd15cc89ba9b73f2cfcb7f34e32caa0c58163cffb484f68b6ae1d79a4e5bf5bc7bb36401
6
+ metadata.gz: eea3ec5621b9fe7ff74eb7599cfb208b625c0c91e1cbb4c1c103c82804dd31e8ee3fcfac1fd95e8e0ec41e51072808dccec076d8585206f29ccfb1a1ed275e06
7
+ data.tar.gz: d37a0eeed1cec5152589821ed0b66b5bc6ce3920bc9f2d7982e07aaa81f54496f3d82f5bf218f1f1bb375d760e70c5ef705a0a73536b2f4f85c1c5b675709f12
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- roboneuro (0.1.9)
4
+ roboneuro (0.1.12)
5
5
  bibtex-ruby (~> 6.0.0)
6
6
  dotenv
7
7
  github-linguist (~> 5.3)
@@ -30,29 +30,10 @@ GEM
30
30
  unf (>= 0.0.5, < 1.0.0)
31
31
  dotenv (2.7.6)
32
32
  escape_utils (1.1.1)
33
- faraday (1.10.0)
34
- faraday-em_http (~> 1.0)
35
- faraday-em_synchrony (~> 1.0)
36
- faraday-excon (~> 1.1)
37
- faraday-httpclient (~> 1.0)
38
- faraday-multipart (~> 1.0)
39
- faraday-net_http (~> 1.0)
40
- faraday-net_http_persistent (~> 1.0)
41
- faraday-patron (~> 1.0)
42
- faraday-rack (~> 1.0)
43
- faraday-retry (~> 1.0)
33
+ faraday (2.3.0)
34
+ faraday-net_http (~> 2.0)
44
35
  ruby2_keywords (>= 0.0.4)
45
- faraday-em_http (1.0.0)
46
- faraday-em_synchrony (1.0.0)
47
- faraday-excon (1.1.0)
48
- faraday-httpclient (1.0.1)
49
- faraday-multipart (1.0.3)
50
- multipart-post (>= 1.2, < 3)
51
- faraday-net_http (1.0.1)
52
- faraday-net_http_persistent (1.2.0)
53
- faraday-patron (1.0.0)
54
- faraday-rack (1.0.0)
55
- faraday-retry (1.0.3)
36
+ faraday-net_http (2.0.3)
56
37
  github-linguist (5.3.3)
57
38
  charlock_holmes (~> 0.7.5)
58
39
  escape_utils (~> 1.1.0)
@@ -68,11 +49,10 @@ GEM
68
49
  mime-types-data (~> 3.2015)
69
50
  mime-types-data (3.2022.0105)
70
51
  mini_portile2 (2.4.0)
71
- multipart-post (2.1.1)
72
52
  netrc (0.11.0)
73
53
  nokogiri (1.10.8)
74
54
  mini_portile2 (~> 2.4.0)
75
- octokit (4.23.0)
55
+ octokit (4.24.0)
76
56
  faraday (>= 1, < 3)
77
57
  sawyer (~> 0.9)
78
58
  openjournals-nameable (1.1.7)
@@ -103,7 +83,7 @@ GEM
103
83
  rspec-support (3.10.2)
104
84
  ruby2_keywords (0.0.5)
105
85
  rugged (1.4.3)
106
- sawyer (0.9.1)
86
+ sawyer (0.9.2)
107
87
  addressable (>= 2.3.5)
108
88
  faraday (>= 0.17.3, < 3)
109
89
  thor (0.20.3)
@@ -118,7 +118,9 @@ module Whedon
118
118
  end
119
119
 
120
120
  def deposit
121
+ #puts "GEM - DEPOSITING CROSSREF"
121
122
  #crossref_deposit
123
+ puts "GEM - DEPOSITING NEUROLIBRE"
122
124
  joss_deposit
123
125
 
124
126
  puts "p=dat #{@review_issue_id};p.doi='#{paper.formatted_doi}';"\
@@ -130,10 +132,12 @@ module Whedon
130
132
  end
131
133
 
132
134
  def joss_deposit
133
- puts "Depositing with JOSS..."
135
+ puts "Depositing with JOSS via http://neurolibre.herokuapp.com/papers/api_deposit/"
136
+ puts "#{paper.deposit_payload.to_json}"
134
137
  request = RestClient::Request.new(
135
138
  :method => :post,
136
- :url => "http://neurolibre.herokuapp.com/papers/api_deposit",
139
+ :url => "http://neurolibre.herokuapp.com/papers/api_deposit/",
140
+ #:url => "http://neurolibre.org/papers/api_deposit",
137
141
  verify_ssl: false,
138
142
  :payload => {
139
143
  :id => paper.review_issue_id,
@@ -1,3 +1,3 @@
1
1
  module Whedon
2
- VERSION = "0.1.9"
2
+ VERSION = "0.1.12"
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.9
4
+ version: 0.1.12
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-08 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