sequenceserver 1.0.0 → 1.0.1

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
2
  SHA1:
3
- metadata.gz: 0d81c2f980d96a1437cabb9947ba8fe1aeb61fb0
4
- data.tar.gz: 8a4e40d3fa21b6abfecf76ec09ca97133c4f1008
3
+ metadata.gz: ede45d919b1b13420e3a4e8608207b5ad24cbc7d
4
+ data.tar.gz: 6f23c34621aea3843e40eeabf132b1b7eff90301
5
5
  SHA512:
6
- metadata.gz: 4f2a3679a7209d55d5901508d2154c8b0ad9b0f82190f342447b5ba4531f9ea0c7958721ca9891c9928fd524b8fb1c5fd685fff0cd12f92d5806f155f6148792
7
- data.tar.gz: 5307d82879df78546d3d64f8ec91c23f4fe1fd07654b85a6e017c052a1adb4555b87981b7137542085a54343131a8cbcc00ceeafb7727a0cf250891f73d36b4b
6
+ metadata.gz: ef78150debeedd31768ab6ce38e2057189c9e656a3e70a8a8af7c4051f1873a798920edf35f6a649976b859ec95a759839937a2e6f11f8388077babce2704e9a
7
+ data.tar.gz: a3af0203dd219c8ba00a808b24740bcddedcf3ed10312279e3f8e49d234e264ff436167626ea0c23f6bbfedb84914c2563ba6c665dbe8b07520aaa4808a76986
data/.rubocop.yml CHANGED
@@ -25,10 +25,6 @@ Metrics/BlockNesting:
25
25
  # Fix in bin/sequenceserver and re-enable.
26
26
  - 'bin/sequenceserver'
27
27
 
28
- Lint/Eval:
29
- # Used only once. Is rather safe.
30
- Enabled: false
31
-
32
28
  Style/UnlessElse:
33
29
  # TODO:
34
30
  # Fix in bin/sequenceserver and re-enable.
data/bin/sequenceserver CHANGED
@@ -109,10 +109,8 @@ BANNER
109
109
 
110
110
  run do
111
111
  if version?
112
- gemspec_file = File.join(File.dirname(__FILE__), '..',
113
- 'sequenceserver.gemspec')
114
- gemspec = eval File.read gemspec_file
115
- puts gemspec.version
112
+ require 'sequenceserver/version'
113
+ puts SequenceServer::VERSION
116
114
  exit
117
115
  end
118
116
 
@@ -1,6 +1,7 @@
1
1
  require 'English'
2
2
  require 'thin'
3
3
 
4
+ require 'sequenceserver/version'
4
5
  require 'sequenceserver/exceptions'
5
6
  require 'sequenceserver/config'
6
7
  require 'sequenceserver/logger'
@@ -0,0 +1,4 @@
1
+ # Define version number.
2
+ module SequenceServer
3
+ VERSION = '1.0.1'
4
+ end
@@ -68,7 +68,7 @@ $.webshims.polyfill('forms');
68
68
  var modal = $(this).data('bs.modal');
69
69
  if (modal) {
70
70
  active = modal.isShown;
71
- return !active
71
+ return !active;
72
72
  }
73
73
  });
74
74
  return active;
@@ -593,7 +593,7 @@ $(document).ready(function(){
593
593
  var title = "Click to BLAST or press Ctrl+Enter.";
594
594
  if ($(this).siblings().length !== 0) {
595
595
  title += " Click dropdown button on the right for other" +
596
- " BLAST algorithms that can be used."
596
+ " BLAST algorithms that can be used.";
597
597
  }
598
598
  return title;
599
599
  },
@@ -601,7 +601,7 @@ $(document).ready(function(){
601
601
  show: 1000,
602
602
  hide: 0
603
603
  }
604
- })
604
+ });
605
605
 
606
606
  // Handles the form submission when Ctrl+Enter is pressed anywhere on page
607
607
  $(document).bind("keydown", function (e) {
@@ -1,7 +1,9 @@
1
+ require File.expand_path('lib/sequenceserver/version.rb',
2
+ File.dirname(__FILE__))
1
3
  Gem::Specification.new do |s|
2
4
  # meta
3
5
  s.name = 'sequenceserver'
4
- s.version = '1.0.0'
6
+ s.version = SequenceServer::VERSION
5
7
  s.authors = ['Anurag Priyam', 'Ben J Woodcroft',
6
8
  'Vivek Rai', 'Yannick Wurm']
7
9
  s.email = ['anurag08priyam@gmail.com', 'b.woodcroft@uq.edu.au']
@@ -27,7 +29,8 @@ DESC
27
29
  s.add_development_dependency('rubocop', '~> 0.28', '>= 0.28.0')
28
30
  s.add_development_dependency('capybara', '~> 2.4', '>= 2.4.4')
29
31
  s.add_development_dependency('capybara-webkit', '~> 1.3', '>= 1.3.0')
30
- s.add_development_dependency('codeclimate-test-reporter')
32
+ s.add_development_dependency('codeclimate-test-reporter',
33
+ '~> 0.4', '>= 0.4.7')
31
34
 
32
35
  # gem
33
36
  s.files = `git ls-files`.split
data/views/search.erb CHANGED
@@ -38,7 +38,7 @@
38
38
  href="http://sequenceserver.com" target="_blank">
39
39
  SequenceServer
40
40
  <small>
41
- BLAST searching made easy!
41
+ <%= SequenceServer::VERSION %>
42
42
  </small>
43
43
  </a>
44
44
  <ul class="nav navbar-nav navbar-right hover-reset focus-reset">
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.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anurag Priyam
@@ -237,16 +237,22 @@ dependencies:
237
237
  name: codeclimate-test-reporter
238
238
  requirement: !ruby/object:Gem::Requirement
239
239
  requirements:
240
+ - - "~>"
241
+ - !ruby/object:Gem::Version
242
+ version: '0.4'
240
243
  - - ">="
241
244
  - !ruby/object:Gem::Version
242
- version: '0'
245
+ version: 0.4.7
243
246
  type: :development
244
247
  prerelease: false
245
248
  version_requirements: !ruby/object:Gem::Requirement
246
249
  requirements:
250
+ - - "~>"
251
+ - !ruby/object:Gem::Version
252
+ version: '0.4'
247
253
  - - ">="
248
254
  - !ruby/object:Gem::Version
249
- version: '0'
255
+ version: 0.4.7
250
256
  description: |
251
257
  SequenceServer lets you rapidly set up a BLAST+ server with an intuitive user
252
258
  interface for use locally or over the web.
@@ -292,6 +298,7 @@ files:
292
298
  - lib/sequenceserver/routes.rb
293
299
  - lib/sequenceserver/search.rb
294
300
  - lib/sequenceserver/sequence.rb
301
+ - lib/sequenceserver/version.rb
295
302
  - package.json
296
303
  - public/css/bootstrap.min.css
297
304
  - public/css/custom.css