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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/bin/gemma-wrapper +7 -5
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a5750dc833b64764d55eaec57f9ce981302659b9
4
- data.tar.gz: f8ebc55f80ca39d84f03f4bae4385212aa5e35f7
3
+ metadata.gz: 9339be44d799349592c257f655bfe3e94ced5011
4
+ data.tar.gz: '09ec3c233405a6481bd19dade1ee03fa71362df8'
5
5
  SHA512:
6
- metadata.gz: 634361cf98042f4653d3ea4bd19d883ec08f7a1edff5f7c44935b4ef58d0b17d007451a23f7304ae29dd08c477549459b3d0cb2bcbda3060a6641d9ad665d012
7
- data.tar.gz: 55f75d9a5208595e5f3ff1dffd530f17f4fdb3040c2311ea993d69b1c21001673d3825015d5e4ec327d450225470d078b46f2db84a364d27bdbcbd5852741404
6
+ metadata.gz: 13829ee7a9a78b56695a02b9c0fe8a4aeab0454b7a6887def6452351bf455e935944664976df9642e4657ef7ffad64b53c1f865f0d08e8520d0b72eac0eba5fc
7
+ data.tar.gz: ad92a7187e829869122030615f56354e14a44f91135b29a7f84dc869819639723dd15c6757cc0d9141cf82edcfc4acb1542d8bc9c9f61760ff1038f18fcd742b
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.92.2
1
+ 0.97
@@ -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 = 2
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
- error.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 or v_minor.to_i < GEMMA_V_MINOR))
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.92.2
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: 2017-09-03 00:00:00.000000000 Z
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.5.1
46
+ rubygems_version: 2.6.8
47
47
  signing_key:
48
48
  specification_version: 4
49
49
  summary: Cache GEMMA with LOCO