unipept 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/unipept/api_runner.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6f20b5baa54b98b05f96b2ed54cdcc4bc6772021
4
- data.tar.gz: 0fdb2fc4944c5bfbe8ad76395531b5414d054f22
3
+ metadata.gz: 3741e36ed209999fb0e3f9681511e7996881042b
4
+ data.tar.gz: 74ba05b1628709073778658a77cb82cf28e65b86
5
5
  SHA512:
6
- metadata.gz: 182a1babb95902e0cb74d08494748940d02fb77f0c502086eec19809ed2c4b2b8af5a9f190041efb8ac7e30614230971bd5e2e53aec6770587888543b128eafc
7
- data.tar.gz: fde9797bcdf7be09258b8010a39dd91b686732c2bb647b1488f51bac96a9c66efddf1061ab1919b35c90f3eb76334f67b84e8a707c26a7dcc630c3e1020053a0
6
+ metadata.gz: d472fc9b3c19c1e37d0681457d9f49f212ba35713d3374d52f7d23308a9dac047fe24deecd26c3efab1ceb28bdc69e60767772c32cec186e1aa67b55fe123cb9
7
+ data.tar.gz: 8059101525cf92cb68fefda22112fcebbce377f90b9d53b0b634e3f1858121470d6634393e04fac9dfb51043cb54c5941aac4f907666f7b0f5c8a3cff406013d
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.0
1
+ 0.5.1
@@ -71,7 +71,7 @@ module Unipept
71
71
  return unless STDOUT.tty?
72
72
  last_fetched = @configuration['last_fetch_date']
73
73
  if last_fetched.nil? || (last_fetched + 60 * 60 * 24) < Time.now
74
- version = File.read(File.join(File.dirname(__FILE__), "..", "VERSION"))
74
+ version = File.read(File.join(File.dirname(__FILE__), "..", "..", "VERSION"))
75
75
  puts Typhoeus.get(@message_url, params: {version: version}).body
76
76
 
77
77
  @configuration['last_fetch_date'] = Time.now
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unipept
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toon Willems