sequenceserver 1.0.12 → 1.0.13

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of sequenceserver might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 6d611d419f181343f226be3ce9595baa223976d491a064c2348400c1620acd66
4
- data.tar.gz: a9d9e78e85fdd2c07c37802f6dd11f5c9ffbfdccb0c82daa056fe4490fe65908
2
+ SHA1:
3
+ metadata.gz: 27440af8f5d8ce9e70210cf4b8157120e7397cb7
4
+ data.tar.gz: 58345841df90a6db706484cb25a4d477f17c1609
5
5
  SHA512:
6
- metadata.gz: d6e9d8df0a4cbc246b8769b031d81bbe973cff10d60ec56e60b8b5569cbf19d461d3483ec02b708676b574298a38d4986c1f770bf810f96828ac4403cf6e801b
7
- data.tar.gz: 72334eb52319dbfb0506a936f058fcbe2944b07e82efefff931597e3051bf83937b0c4171d0ca4fba2792e1b74b109d949c10392723bc4b245fed347691745bf
6
+ metadata.gz: 915f51a622ea38d66de3889dfb81bde84aab556969a7ee081f330c1d9612bf1aa6f21fe8abd64d56de6a860502444919c969b1a63da4bc753b0c2fd670005ed9
7
+ data.tar.gz: ea80934ffb512ffac89419ed491bfccbf647d2d27fea42b0ee625333fb849baf0f4dcb0541f42297d58478557c095c8dba15d13e7469208eee9ed9b588cdcd84
@@ -77,10 +77,14 @@ module SequenceServer
77
77
  puts
78
78
  puts '** Thank you for using SequenceServer :).'
79
79
  puts ' Please cite: '
80
- puts ' Priyam A, Woodcroft BJ, Rai V, Munagala A, Moghul I, Ter F,'
81
- puts ' Gibbins MA, Moon H, Leonard G, Rumpf W & Wurm Y. 2015.'
82
- puts ' Sequenceserver: a modern graphical user interface for'
83
- puts ' custom BLAST databases. biorxiv doi: 10.1101/033142.'
80
+ puts ' Priyam A, Woodcroft BJ, Rai V, Moghul I, Munagala A, Ter F,'
81
+ puts ' Chowdhary H, Pieniak I, Maynard LJ, Gibbins MA, Moon H,'
82
+ puts ' Davis-Richardson A, Uludag M, Watson-Haigh N, Challis R,'
83
+ puts ' Nakamura H, Favreau E, Gómez EA, Pluskal T, Leonard G,'
84
+ puts ' Rumpf W & Wurm Y.'
85
+ puts ' Sequenceserver: A modern graphical user interface for'
86
+ puts ' custom BLAST databases.'
87
+ puts ' Molecular Biology and Evolution (2019)'
84
88
  end
85
89
 
86
90
  # Rack-interface.
@@ -182,7 +186,9 @@ module SequenceServer
182
186
  fail BLAST_NOT_INSTALLED unless command? 'blastdbcmd'
183
187
  version = `blastdbcmd -version`.split[1]
184
188
  fail BLAST_NOT_EXECUTABLE if !$CHILD_STATUS.success? || version.empty?
185
- fail BLAST_NOT_COMPATIBLE, version unless version >= MINIMUM_BLAST_VERSION
189
+ if (parse_version(version) <=> parse_version(MINIMUM_BLAST_VERSION)) < 0
190
+ fail BLAST_NOT_COMPATIBLE, version
191
+ end
186
192
  end
187
193
 
188
194
  def server_url
@@ -212,5 +218,9 @@ module SequenceServer
212
218
  def command?(command)
213
219
  system("which #{command} > /dev/null 2>&1")
214
220
  end
221
+
222
+ def parse_version(version_string)
223
+ version_string.split('.').map(&:to_i)
224
+ end
215
225
  end
216
226
  end
@@ -1,4 +1,4 @@
1
1
  # Define version number.
2
2
  module SequenceServer
3
- VERSION = '1.0.12'
3
+ VERSION = '1.0.13'
4
4
  end
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "SequenceServer",
3
3
  "description": "BLAST search made easy!",
4
- "version": "1.0.12",
4
+ "version": "1.0.13",
5
5
  "homepage": "http://www.sequenceserver.com",
6
6
  "repository": "https://github.com/yannickwurm/sequenceserver",
7
7
  "author": {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sequenceserver
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.12
4
+ version: 1.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anurag Priyam
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2019-08-19 00:00:00.000000000 Z
14
+ date: 2020-03-19 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: sinatra
@@ -77,22 +77,22 @@ dependencies:
77
77
  name: slop
78
78
  requirement: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
81
- - !ruby/object:Gem::Version
82
- version: 3.6.0
83
80
  - - "~>"
84
81
  - !ruby/object:Gem::Version
85
82
  version: '3.6'
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: 3.6.0
86
86
  type: :runtime
87
87
  prerelease: false
88
88
  version_requirements: !ruby/object:Gem::Requirement
89
89
  requirements:
90
- - - ">="
91
- - !ruby/object:Gem::Version
92
- version: 3.6.0
93
90
  - - "~>"
94
91
  - !ruby/object:Gem::Version
95
92
  version: '3.6'
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: 3.6.0
96
96
  - !ruby/object:Gem::Dependency
97
97
  name: rack-test
98
98
  requirement: !ruby/object:Gem::Requirement
@@ -117,22 +117,22 @@ dependencies:
117
117
  name: rspec
118
118
  requirement: !ruby/object:Gem::Requirement
119
119
  requirements:
120
- - - ">="
121
- - !ruby/object:Gem::Version
122
- version: 2.8.0
123
120
  - - "~>"
124
121
  - !ruby/object:Gem::Version
125
122
  version: '2.8'
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ version: 2.8.0
126
126
  type: :development
127
127
  prerelease: false
128
128
  version_requirements: !ruby/object:Gem::Requirement
129
129
  requirements:
130
- - - ">="
131
- - !ruby/object:Gem::Version
132
- version: 2.8.0
133
130
  - - "~>"
134
131
  - !ruby/object:Gem::Version
135
132
  version: '2.8'
133
+ - - ">="
134
+ - !ruby/object:Gem::Version
135
+ version: 2.8.0
136
136
  - !ruby/object:Gem::Dependency
137
137
  name: rake
138
138
  requirement: !ruby/object:Gem::Requirement
@@ -157,22 +157,22 @@ dependencies:
157
157
  name: rubocop
158
158
  requirement: !ruby/object:Gem::Requirement
159
159
  requirements:
160
- - - ">="
161
- - !ruby/object:Gem::Version
162
- version: 0.31.0
163
160
  - - "~>"
164
161
  - !ruby/object:Gem::Version
165
162
  version: '0.31'
163
+ - - ">="
164
+ - !ruby/object:Gem::Version
165
+ version: 0.31.0
166
166
  type: :development
167
167
  prerelease: false
168
168
  version_requirements: !ruby/object:Gem::Requirement
169
169
  requirements:
170
- - - ">="
171
- - !ruby/object:Gem::Version
172
- version: 0.31.0
173
170
  - - "~>"
174
171
  - !ruby/object:Gem::Version
175
172
  version: '0.31'
173
+ - - ">="
174
+ - !ruby/object:Gem::Version
175
+ version: 0.31.0
176
176
  - !ruby/object:Gem::Dependency
177
177
  name: capybara
178
178
  requirement: !ruby/object:Gem::Requirement
@@ -197,22 +197,22 @@ dependencies:
197
197
  name: capybara-webkit
198
198
  requirement: !ruby/object:Gem::Requirement
199
199
  requirements:
200
- - - ">="
201
- - !ruby/object:Gem::Version
202
- version: 1.3.0
203
200
  - - "~>"
204
201
  - !ruby/object:Gem::Version
205
202
  version: '1.3'
203
+ - - ">="
204
+ - !ruby/object:Gem::Version
205
+ version: 1.3.0
206
206
  type: :development
207
207
  prerelease: false
208
208
  version_requirements: !ruby/object:Gem::Requirement
209
209
  requirements:
210
- - - ">="
211
- - !ruby/object:Gem::Version
212
- version: 1.3.0
213
210
  - - "~>"
214
211
  - !ruby/object:Gem::Version
215
212
  version: '1.3'
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ version: 1.3.0
216
216
  - !ruby/object:Gem::Dependency
217
217
  name: codeclimate-test-reporter
218
218
  requirement: !ruby/object:Gem::Requirement
@@ -683,7 +683,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
683
683
  - !ruby/object:Gem::Version
684
684
  version: '0'
685
685
  requirements: []
686
- rubygems_version: 3.0.1
686
+ rubyforge_project:
687
+ rubygems_version: 2.5.2.3
687
688
  signing_key:
688
689
  specification_version: 4
689
690
  summary: BLAST search made easy!