sequenceserver 0.8.1 → 0.8.2

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.

data/bin/sequenceserver CHANGED
@@ -47,6 +47,11 @@ BANNER
47
47
  opts.on('-c', '--config CONFIG_FILE', 'Use the given configuration file') do |config_file|
48
48
  SequenceServer::App.config_file = File.expand_path(config_file)
49
49
  end
50
+
51
+ opts.on('-v', '--version', 'Print version number of SequenceServer that will be loaded.' ) do |config_file|
52
+ puts SequenceServer.version
53
+ exit
54
+ end
50
55
  end.order!
51
56
 
52
57
  # of the remaining items in ARGV, the first one must be a subcommand
@@ -9,6 +9,7 @@ require 'sequenceserver/blast'
9
9
  require 'sequenceserver/sequencehelpers'
10
10
  require 'sequenceserver/sinatralikeloggerformatter'
11
11
  require 'sequenceserver/customisation'
12
+ require 'sequenceserver/version'
12
13
 
13
14
  # Helper module - initialize the blast server.
14
15
  module SequenceServer
@@ -0,0 +1,9 @@
1
+ module SequenceServer
2
+
3
+ # Return version number of SequenceServer from the gemspec. Version number
4
+ # is read from gemspec, which might fail on older versions of Bundler or
5
+ # RubyGems. Return `nil` if version number couldn't be determined.
6
+ def self.version
7
+ Bundler.rubygems.loaded_specs('sequenceserver').version rescue nil
8
+ end
9
+ end
@@ -219,6 +219,9 @@ $(document).ready(function(){
219
219
  var url = action.slice(0, index);
220
220
  var hash = action.slice(index, action.length);
221
221
 
222
+ // reset hash so we can always _jump_ back to result
223
+ location.hash = '';
224
+
222
225
  // display a modal window and attach an activity spinner to it
223
226
  $('#spinner').modal();
224
227
  $('#spinner > div').activity({
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  # meta
3
3
  s.name = 'sequenceserver'
4
- s.version = '0.8.1'
4
+ s.version = '0.8.2'
5
5
  s.authors = ['Anurag Priyam', 'Ben J Woodcroft', 'Yannick Wurm']
6
6
  s.email = 'anurag08priyam@gmail.com'
7
7
  s.homepage = 'http://sequenceserver.com'
@@ -13,8 +13,8 @@ SequenceServer lets you rapidly set up a BLAST+ server with an intuitive user in
13
13
  DESC
14
14
 
15
15
  # dependencies
16
- s.add_dependency('bundler')
17
- s.add_dependency('sinatra', '>= 1.2.0')
16
+ s.add_dependency('bundler', '~> 1.2.0')
17
+ s.add_dependency('sinatra', '~> 1.3.0')
18
18
  s.add_dependency('ptools')
19
19
 
20
20
  s.add_development_dependency('minitest')
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: 0.8.1
4
+ version: 0.8.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,33 +11,33 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-08-31 00:00:00.000000000 Z
14
+ date: 2012-09-01 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler
18
- requirement: &12914680 !ruby/object:Gem::Requirement
18
+ requirement: &20416580 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
- - - ! '>='
21
+ - - ~>
22
22
  - !ruby/object:Gem::Version
23
- version: '0'
23
+ version: 1.2.0
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *12914680
26
+ version_requirements: *20416580
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: sinatra
29
- requirement: &12914000 !ruby/object:Gem::Requirement
29
+ requirement: &20398120 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
- - - ! '>='
32
+ - - ~>
33
33
  - !ruby/object:Gem::Version
34
- version: 1.2.0
34
+ version: 1.3.0
35
35
  type: :runtime
36
36
  prerelease: false
37
- version_requirements: *12914000
37
+ version_requirements: *20398120
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: ptools
40
- requirement: &12913520 !ruby/object:Gem::Requirement
40
+ requirement: &20396840 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
43
  - - ! '>='
@@ -45,10 +45,10 @@ dependencies:
45
45
  version: '0'
46
46
  type: :runtime
47
47
  prerelease: false
48
- version_requirements: *12913520
48
+ version_requirements: *20396840
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: minitest
51
- requirement: &12912540 !ruby/object:Gem::Requirement
51
+ requirement: &20383420 !ruby/object:Gem::Requirement
52
52
  none: false
53
53
  requirements:
54
54
  - - ! '>='
@@ -56,10 +56,10 @@ dependencies:
56
56
  version: '0'
57
57
  type: :development
58
58
  prerelease: false
59
- version_requirements: *12912540
59
+ version_requirements: *20383420
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: rack-test
62
- requirement: &12911100 !ruby/object:Gem::Requirement
62
+ requirement: &20376580 !ruby/object:Gem::Requirement
63
63
  none: false
64
64
  requirements:
65
65
  - - ! '>='
@@ -67,7 +67,7 @@ dependencies:
67
67
  version: '0'
68
68
  type: :development
69
69
  prerelease: false
70
- version_requirements: *12911100
70
+ version_requirements: *20376580
71
71
  description: ! 'SequenceServer lets you rapidly set up a BLAST+ server with an intuitive
72
72
  user interface for use locally or over the web.
73
73
 
@@ -87,6 +87,7 @@ files:
87
87
  - lib/sequenceserver/blast.rb
88
88
  - lib/sequenceserver/web_blast/public/favicon.ico
89
89
  - lib/sequenceserver/web_blast/public/js/sequenceserver.sequence-viewer.js
90
+ - lib/sequenceserver/version.rb
90
91
  - lib/sequenceserver/database.rb
91
92
  - views/search.erb
92
93
  - views/500.erb