roboneuro 0.1.8 → 0.1.11

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: b6bc5531d47410a0156c6817e01acd475e252dfb41c36785b0c15abac3f2bf14
4
- data.tar.gz: 6c8a3f226c75cc67e658dc4d2a41c50bd62fc90126651540cdcc249721c49d40
3
+ metadata.gz: c716f4a82517ef5da40623829a882a311eaf8b92da788a4eaa2d9144bbc24946
4
+ data.tar.gz: d287e0274f048049aebd81b8f83278b599ffa8231dfa5f35589ef198a444765f
5
5
  SHA512:
6
- metadata.gz: 2d9198dff147e2fb229da918d3a32eadde149a766962f092080c6f8d0fbcffbaac915731b7b17d4b4853d1b34e05024f7985dee06585842fe0364b3b2f716da1
7
- data.tar.gz: 2872e08d3cda62804bdee632620ea9b085808cf384055f7ec47b0fc1a6ee2f45fc2f45e60bf50a1fd468bd55b5c9f8420117778583b096b2cbfea520f0516e49
6
+ metadata.gz: a01f5d3fd2692d2d2469f575acc4ab175d6415f945c17515001fb651ac0af8ba4ff3734578464bb882ca3aaa9551398f6d3d19dc419d726d506e804cb984fdec
7
+ data.tar.gz: c4f79dda4964e969cb09eb66c3f870b62ea4d11fb82fce51a82c051a1a57caddcd4117e48a2dce7a36fb51f6dea5ccbeb9ae07d1e9b967536d17017dc54ef5a5
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- roboneuro (0.1.8)
4
+ roboneuro (0.1.11)
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,11 @@ 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.org/papers/api_deposit"
134
136
  request = RestClient::Request.new(
135
137
  :method => :post,
136
- :url => "http://neurolibre.herokuapp.com/papers/api_deposit",
138
+ #:url => "http://neurolibre.herokuapp.com/papers/api_deposit",
139
+ :url => "http://neurolibre.org/papers/api_deposit",
137
140
  verify_ssl: false,
138
141
  :payload => {
139
142
  :id => paper.review_issue_id,
@@ -1,3 +1,3 @@
1
1
  module Whedon
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.11"
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.8
4
+ version: 0.1.11
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-02 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