roboneuro 0.1.6 → 0.1.7

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: 9aa647ce0e8e11588b02b420a4a5330fcb446d8f4beaabcf459b70494b164cfe
4
- data.tar.gz: af598cb0098015d93fdf1f14ceda621c5689b711bad25100c7233a6071e0e76f
3
+ metadata.gz: 178f8979297b26fe80f582a9e6e41e6dd4bdb4eb554fdf42fd7528d991f8efac
4
+ data.tar.gz: 5b7e8606cc13ac8019ca52e93ecb282e20595c751af9331d72e5b320da35f58a
5
5
  SHA512:
6
- metadata.gz: 80be1c276d6c72b64fd39815508796f4d02f3cd155ca7cd502a25bff638274b391e3813f2366ea9f47735c4624c87a1c8ad1a2537eeb466fa6c3a0d09ce97b9f
7
- data.tar.gz: b8abf45080ce33e30bd912141fc9a972b8742373b34d46083ed1c7fb66d7463b9eb45f79bf64c57a523185679051116b0ae80ef4c9388c22a1f522562c2c1160
6
+ metadata.gz: 93dcbf3a086abcd68d37754c5d4faa9ee8529eb0981b7f845d2fb8af9af803d9fe66eaf145ab739a5b8d0f18c3e7d585002216f171a2037e23a8a4020b0b7ca8
7
+ data.tar.gz: 723db9876f4f378f183533d2c4f17d14fc01e8f60643fa387c49eb6834f1fb6e2fc194d78e29cef3bba1345aa372f47eccf4906642b095007334fabe66beba65
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- roboneuro (0.1.5)
4
+ roboneuro (0.1.7)
5
5
  bibtex-ruby (~> 6.0.0)
6
6
  dotenv
7
7
  github-linguist (~> 5.3)
@@ -1,3 +1,3 @@
1
1
  module Whedon
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
data/lib/whedon.rb CHANGED
@@ -371,6 +371,13 @@ module Whedon
371
371
  "#{ENV['JOURNAL_URL']}/papers/#{formatted_doi}"
372
372
  end
373
373
 
374
+ # NeuroLibre journal URL and PDF urls are not identical.
375
+ # To properly locate PDFs, the preprints repo is hardcoded below.
376
+ def neurolibre_pdf_url
377
+ "https://neurolibre.github.io/preperints/#{formatted_doi}"
378
+ #"#{Rails.application.settings["papers_html_url"]}/#{joss_id}/#{doi_to_file}.pdf"
379
+ end
380
+
374
381
  # Return the Review object associated with the Paper
375
382
  def review_issue
376
383
  review = Whedon::Review.new(review_issue_id, review_repository)
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.6
4
+ version: 0.1.7
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-04-20 00:00:00.000000000 Z
11
+ date: 2022-06-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bibtex-ruby