bio-gemma-wrapper 0.92.2 → 0.97
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/bin/gemma-wrapper +7 -5
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9339be44d799349592c257f655bfe3e94ced5011
|
4
|
+
data.tar.gz: '09ec3c233405a6481bd19dade1ee03fa71362df8'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 13829ee7a9a78b56695a02b9c0fe8a4aeab0454b7a6887def6452351bf455e935944664976df9642e4657ef7ffad64b53c1f865f0d08e8520d0b72eac0eba5fc
|
7
|
+
data.tar.gz: ad92a7187e829869122030615f56354e14a44f91135b29a7f84dc869819639723dd15c6757cc0d9141cf82edcfc4acb1542d8bc9c9f61760ff1038f18fcd742b
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.97
|
data/bin/gemma-wrapper
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
# Author:: Pjotr Prins
|
5
5
|
# License:: GPL3
|
6
6
|
#
|
7
|
-
# Copyright (C) 2017 Pjotr Prins <pjotr.prins@thebird.nl>
|
7
|
+
# Copyright (C) 2017,2018 Pjotr Prins <pjotr.prins@thebird.nl>
|
8
8
|
|
9
9
|
USAGE = "GEMMA wrapper example:
|
10
10
|
|
@@ -35,8 +35,9 @@ USAGE = "GEMMA wrapper example:
|
|
35
35
|
-debug > GWA.json
|
36
36
|
|
37
37
|
"
|
38
|
+
# These are used for testing compatibility
|
38
39
|
GEMMA_V_MAJOR = 97
|
39
|
-
GEMMA_V_MINOR =
|
40
|
+
GEMMA_V_MINOR = 0
|
40
41
|
|
41
42
|
basepath = File.dirname(File.dirname(__FILE__))
|
42
43
|
$: << File.join(basepath,'lib')
|
@@ -153,17 +154,18 @@ info = lambda do |*msg|
|
|
153
154
|
end
|
154
155
|
|
155
156
|
GEMMA_K_VERSION=version
|
156
|
-
GEMMA_K_BANNER = "gemma-wrapper #{version} (Ruby #{RUBY_VERSION}) by Pjotr Prins 2017\n"
|
157
|
+
GEMMA_K_BANNER = "gemma-wrapper #{version} (Ruby #{RUBY_VERSION}) by Pjotr Prins 2017,2018\n"
|
157
158
|
info.call GEMMA_K_BANNER
|
158
159
|
|
159
160
|
# Check gemma version
|
160
161
|
GEMMA_COMMAND=options[:gemma_command]
|
161
|
-
gemma_version_header = `#{GEMMA_COMMAND}`.split("\n").grep(/Version/)[0].strip
|
162
|
+
gemma_version_header = `#{GEMMA_COMMAND}`.split("\n").grep(/GEMMA|Version/)[0].strip
|
162
163
|
info.call "Using GEMMA ",gemma_version_header,"\n"
|
163
164
|
gemma_version = gemma_version_header.split(/[,\s]+/)[1]
|
164
165
|
v_version, v_major, v_minor = gemma_version.split(".")
|
166
|
+
info.call "Found #{gemma_version}, comparing against expected v0.#{GEMMA_V_MAJOR}.#{GEMMA_V_MINOR}"
|
165
167
|
|
166
|
-
|
168
|
+
warning.call "GEMMA version is out of date. Update GEMMA to 0.#{GEMMA_V_MAJOR}.#{GEMMA_V_MINOR}!" if v_major.to_i < GEMMA_V_MAJOR or (v_major.to_i == GEMMA_V_MAJOR and (v_minor != nil and v_minor.to_i < GEMMA_V_MINOR))
|
167
169
|
|
168
170
|
options[:gemma_version_header] = gemma_version_header
|
169
171
|
options[:gemma_version] = gemma_version
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bio-gemma-wrapper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: '0.97'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pjotr Prins
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: GEMMA wrapper caches K between runs with LOCO support
|
14
14
|
email: pjotr.public01@thebird.nl
|
@@ -43,7 +43,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
43
43
|
version: '0'
|
44
44
|
requirements: []
|
45
45
|
rubyforge_project:
|
46
|
-
rubygems_version: 2.
|
46
|
+
rubygems_version: 2.6.8
|
47
47
|
signing_key:
|
48
48
|
specification_version: 4
|
49
49
|
summary: Cache GEMMA with LOCO
|