unipept 0.5.3 → 0.5.4
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 +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40fe42c061181b2c8fca35b00d49de4b8608bb49
|
4
|
+
data.tar.gz: 2456d5c27050c49b434a650f0a1210327081ef91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c513e8038bb2cd843cdf17e0a807ce05e576ed6e2e9e59c5a9876d7082a6680e42e7f853b65566469432e53e85aa7f211c673ee9ca6f330e7213476f481fcbb0
|
7
|
+
data.tar.gz: 4e8fd9dd17174bf163ce435913ef67c900ce3262666f23c0d37af0faa4e93b696f5c5cbea424f8abec3ed7b75c8b42dcfd5645b6eb87a3d7aa8471592bad0a21
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.4
|
data/lib/unipept/api_runner.rb
CHANGED
@@ -72,8 +72,8 @@ module Unipept
|
|
72
72
|
last_fetched = @configuration['last_fetch_date']
|
73
73
|
if last_fetched.nil? || (last_fetched + 60 * 60 * 24) < Time.now
|
74
74
|
version = File.read(File.join(File.dirname(__FILE__), "..", "..", "VERSION"))
|
75
|
-
|
76
|
-
|
75
|
+
resp = Typhoeus.get(@message_url, params: {version: version})
|
76
|
+
puts resp.body unless resp.body.chomp.empty?
|
77
77
|
@configuration['last_fetch_date'] = Time.now
|
78
78
|
@configuration.save
|
79
79
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: unipept
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Toon Willems
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: shoulda
|