rbbt-util 5.3.3 → 5.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/rbbt/resource.rb +1 -0
- data/share/rbbt_commands/app/start +1 -0
- data/share/rbbt_commands/workflow/server +3 -7
- metadata +29 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MDVhYjZhYjA1ZDQwYzMxM2I4NjJjY2I0NjFhNjMwMzJmMzlmZTFiNg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZGI5NDE4MDk1ODg5OTIwZjgzOTJiYzQ2MDU2MjgzNWFhOTljNzlmYQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NjQ2YTgzMTBhN2ZhNzVlN2RmMTMwYjgyNmQ0NWU2ZWY0ZGQ1MmY3Y2ZhYmZk
|
10
|
+
NmQzOTc0NmY0ZjdiYTVkZjM4OTFmYmE1YTZlZWQyYWIyYTU2NTY3NzI5NmEx
|
11
|
+
MzVkMWRmYzI1MjQ4ZDYwMGQzMjA2M2M3NjJjYjk2NmZkM2U1MGQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MTIxNjlmMjQxMjI2YjhmYjAwYzdkMmEyNjUyYjE1MjFiZDEyM2E5ZWE0Zjhi
|
14
|
+
ZTRjMzU5MWFiMTUwYzA4YjJkMTNjOWYwMzQzZmU3MDJmMjIzOTMyN2Y4N2Y5
|
15
|
+
ZWU5MTQxN2RhOThkZWQzYzE5YmM5NTdiZWFiM2QxYWVlYzhiZjY=
|
data/lib/rbbt/resource.rb
CHANGED
@@ -16,5 +16,6 @@ server = options[:server] || 'thin'
|
|
16
16
|
Misc.in_dir(app_dir) do
|
17
17
|
require 'rack'
|
18
18
|
ENV["RBBT_FINDER"] = true if options.include?(:finder)
|
19
|
+
ENV["RACK_ENV"] = options[:environment] if options.include?(:environment)
|
19
20
|
Rack::Server.start(options.merge(:config => 'config.ru'))
|
20
21
|
end
|
@@ -12,7 +12,7 @@ require 'rbbt/rest/workflow'
|
|
12
12
|
require 'rbbt/rest/file_server'
|
13
13
|
require 'rbbt/rest/helpers'
|
14
14
|
|
15
|
-
options = SOPT.get "--
|
15
|
+
options = SOPT.get "-e--environment*:-p--port*"
|
16
16
|
|
17
17
|
workflow = ARGV.first
|
18
18
|
|
@@ -26,11 +26,7 @@ class WorkflowRest < Sinatra::Base
|
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
29
|
-
|
30
|
-
WorkflowRest.before File.join('/', Workflow.workflows.last.to_s, '*') do
|
31
|
-
@profile = true
|
32
|
-
end
|
33
|
-
end
|
29
|
+
ENV["RACK_ENV"] = options[:environment] if options.include?(:environment)
|
34
30
|
|
35
31
|
class WorkflowRest < Sinatra::Base
|
36
32
|
|
@@ -41,7 +37,7 @@ class WorkflowRest < Sinatra::Base
|
|
41
37
|
helpers Sinatra::RbbtMiscHelpers
|
42
38
|
|
43
39
|
#{{{ DIRECTORIES
|
44
|
-
local_var = Rbbt.var.find(:
|
40
|
+
local_var = Rbbt.var.find(:user)
|
45
41
|
set :cache_dir , local_var.sinatra.cache.find
|
46
42
|
set :file_dir , local_var.sinatra.files.find
|
47
43
|
set :favourites_dir , local_var.sinatra.favourites.find
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbbt-util
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.3.
|
4
|
+
version: 5.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Vazquez
|
@@ -122,6 +122,34 @@ dependencies:
|
|
122
122
|
- - ! '>='
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: ZenTest
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - '='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '4.3'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - '='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '4.3'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: RubyInline
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ! '>='
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ! '>='
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
125
153
|
description: Utilities for handling tsv files, caches, etc
|
126
154
|
email: miguel.vazquez@cnio.es
|
127
155
|
executables:
|