unipept 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/unipept/api_runner.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3741e36ed209999fb0e3f9681511e7996881042b
|
4
|
+
data.tar.gz: 74ba05b1628709073778658a77cb82cf28e65b86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d472fc9b3c19c1e37d0681457d9f49f212ba35713d3374d52f7d23308a9dac047fe24deecd26c3efab1ceb28bdc69e60767772c32cec186e1aa67b55fe123cb9
|
7
|
+
data.tar.gz: 8059101525cf92cb68fefda22112fcebbce377f90b9d53b0b634e3f1858121470d6634393e04fac9dfb51043cb54c5941aac4f907666f7b0f5c8a3cff406013d
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.1
|
data/lib/unipept/api_runner.rb
CHANGED
@@ -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
|