rbbt-rest 1.8.152 → 1.8.154

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e27cf7773d763ae330e2be0ca5f07661f18998bf86c09249b7c5d33fc233b8d5
4
- data.tar.gz: 8cab349ccfb9525341d7779f208505b57890889706c211737d0a29538f887c69
3
+ metadata.gz: a5d66dadd84c4328c97bc395bf66c183478988e8e3e11f31ab359d82563e2ad9
4
+ data.tar.gz: 4ee1e9191aeaa79db99622fc93853e29cac176ce77882e85eff6e5e80f2611b6
5
5
  SHA512:
6
- metadata.gz: f3bbe0d5a8aee0611f7c780cab3b6c27fead82bef56ddd58d3c587b84e35aaeecf00cea6d722a7ea9bb8de012016779b0d2dbb52f86b904cb1f8617ed626505f
7
- data.tar.gz: 23060fe4f7650865a13034ce9e84232b74b59b37cfe1a59f747728d33b5150bf4ee77b4de87761ff49129f671fe0116a2b781cf8e04d59eac735f835c908e20e
6
+ metadata.gz: 526d6a192bfc4a2784c76b67778aec3fd88dca7bbb5a493769fd8d350b5eccd2bb4c5d18b22893fcad8c1b1a2a7e0bbb141fdd0c4d40bed90d482c16038eb853
7
+ data.tar.gz: dfe8034d8a8f773212573729f888ada533444039404711479fb2e53b80b1077c8e35955f7d95ef5340c04b521ff5d0af82111c7238ad0428cdbcaaac79980a1c
@@ -280,6 +280,7 @@ module RbbtRESTHelpers
280
280
  end
281
281
 
282
282
  def add_GET_param(url, param, value)
283
+ url = remove_GET_param(url, param)
283
284
  if url =~ /\?.+=/
284
285
  url + "&#{ param }=#{ value }"
285
286
  else
@@ -317,7 +317,7 @@ module RbbtRESTHelpers
317
317
 
318
318
  entity_options = options[:entity_options]
319
319
 
320
- Misc.prepare_entity(value, type, entity_options) if Entity.formats[type] and not options[:unnamed]
320
+ value = Misc.prepare_entity(value, type, entity_options) if Entity.formats[type] and not options[:unnamed]
321
321
 
322
322
  orig_value = value
323
323
  value = value.link if value.respond_to? :link and not options[:unnamed]
@@ -3,7 +3,6 @@ require 'rbbt/rest/entity/list'
3
3
 
4
4
  module Entity
5
5
  module REST
6
- USE_ENSEMBL = true
7
6
 
8
7
  REST_ENTITIES = Set.new
9
8
 
@@ -177,7 +176,6 @@ module Entity
177
176
  end
178
177
 
179
178
  def list_link(text = nil, id = nil, options = {})
180
- options = Misc.add_defaults options, :ensembl => USE_ENSEMBL
181
179
  ensembl = Misc.process_options options, :ensembl
182
180
 
183
181
  if ensembl and self.respond_to? :ensembl and self.format !~ /^Ensembl /
@@ -15,7 +15,7 @@
15
15
  - dep_status = "done" if dep.path.exists?
16
16
 
17
17
  - dep_status ||= dep.status
18
- - if ! remote && dep.file(:progress).exists?
18
+ - if ! remote && ! dep_status == 'done' && dep.file(:progress).exists?
19
19
  - pgr = dep.file(:progress).yaml
20
20
  - if pgr and pgr[:last_percent]
21
21
  - start = pgr[:start]
@@ -63,7 +63,7 @@
63
63
  - elsif Module === dep_workflow
64
64
  - wf = dep_workflow
65
65
 
66
- - if Open.remote?(dep.path)
66
+ - if remote
67
67
  - url = dep.path.split("?").first
68
68
  %a(href=url) #{ name }
69
69
 
@@ -29,7 +29,12 @@ function contract_ellipsis(elem, max){
29
29
  var links = [];
30
30
  var head = elements.slice(0, max).removeClass('long');
31
31
  head.each(function(){ links.push(this.outerHTML)})
32
- new_content = links.join(" ");
32
+
33
+ if (elements.first().hasClass('lines'))
34
+ new_content = links.join(" ");
35
+ else
36
+ new_content = links.join(", ");
37
+
33
38
  elem.html(new_content);
34
39
  }
35
40
 
@@ -1 +1 @@
1
- share/views/public/plugins/cytoscapejs/cytoscape.umd.js
1
+ ./cytoscape.umd.js
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbbt-rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.152
4
+ version: 1.8.154
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Vazquez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-26 00:00:00.000000000 Z
11
+ date: 2022-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake