rbbt-rest 1.2.32 → 1.2.33

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NzEzMGEwYjRiMWZmZDBmMjVkNjFmYmQyMTBlNTVkMTNjZDJmODk1Ng==
4
+ YWI2ODBmZTk1MjQ4MzMwNDNjMjBhMGIzZDg1ZmQ2M2I2ZjljYzM1NA==
5
5
  data.tar.gz: !binary |-
6
- ZGJhN2RjODFmNjEzMzg4ODc5YTUyODM2NDhlZTFmZTJmMDE3MWU1ZQ==
6
+ N2Q1N2VjMTRlM2ExMjZjNjY1N2E4Yzg2YzI1YmJmYjBiZTlmYTMxNg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ODkzOGU0NGY3ZjgyODNmNWQ4OTAxM2EyY2RlODk1MWRhNzc3MGNlYjAzNGNk
10
- ZjYwMWQ2MTA5ZDQ5ZGY4M2U1NzA4YjQ2MTEyNGEyYzIwNTc5MDY1MTQxZWUx
11
- Y2UzNWE1OGE5ZDdkY2E2MjAyNzRlNTNhZjA3MDgwZDVhOWZhYzQ=
9
+ ODM1YjI2MWEwY2IyZWI0MDk2NGViMGJhNzYwMDVhZWIwOTdkODRjOGFiOGU5
10
+ ZDAwZjRhNGZlZjBjNDEyNjQ1YTY1YzIyNDcyYTZjODU2MjczMjJmOWY4ZmQz
11
+ NDMwNWY0MmZiNDVmZWNjYzYwM2Y1ZmUwYmE0Nzk5YjQ2ZmQ5OGM=
12
12
  data.tar.gz: !binary |-
13
- MjM1ZDA3OWVhMTg3OGNjNGFmZTYwN2QyMTYwNzFjMjU5ZWYzNDg1NjlkOWNk
14
- NzEzNDAyOGExM2FhYWNhNTU0MGE0MWYyODY4NzEzNmM4ZGE0YTU0YWNiMDE0
15
- ZmU0NTNjYTQzY2NhZWIxNTA1ZWZlNjgxZGRmNWE1YjQyODQ5MGY=
13
+ MzhkMGM1ODNiMTI5MDdlMDNiZjk3ZGJlMTBlODNiOGI1NmRkNTMwMzNhNTRm
14
+ YzJiYTRmNTA1NWZiZTM1NWEyOWY5NzY2ZWFiMjcwMTI2NmRmYzQ5Njg4YzAx
15
+ ZDk4NDU2ZThkZmMyYTkyYjhhNmQ4NGMxMzY1MWYzZTNiMDlkNGQ=
@@ -21,6 +21,7 @@ module Sinatra
21
21
  def add_workflow_resource(workflow)
22
22
  views_dir = workflow.respond_to?(:libdir)? workflow.libdir.www.views.find(:lib) : nil
23
23
  if views_dir and views_dir.exists?
24
+ Log.debug "Registering views for #{ workflow }: #{ views_dir.find }"
24
25
  EntityRESTHelpers.entity_resources.unshift views_dir
25
26
  RbbtRESTHelpers.template_resources.unshift views_dir
26
27
 
@@ -35,9 +36,10 @@ module Sinatra
35
36
  raise "Provided workflow is not of type Workflow" unless Workflow === workflow
36
37
  RbbtRESTWorkflow::WORKFLOWS.push workflow unless RbbtRESTWorkflow::WORKFLOWS.include? workflow
37
38
 
39
+ Log.debug "Adding #{ workflow } to REST server"
40
+
38
41
  add_workflow_resource(workflow) if add_resource
39
42
 
40
- Log.debug{ "Adding #{ workflow } to REST server" }
41
43
 
42
44
  self.instance_eval workflow.libdir.lib['sinatra.rb'].read, workflow.libdir.lib['sinatra.rb'].find if workflow.respond_to?(:libdir) and File.exists? workflow.libdir.lib['sinatra.rb']
43
45
 
@@ -10,6 +10,7 @@
10
10
  @import "top_menu"
11
11
  @import "help"
12
12
  @import "layout"
13
+ @import "figure"
13
14
 
14
15
  table
15
16
  +rbbt_table
@@ -0,0 +1,25 @@
1
+ .figure
2
+ &.float
3
+ margin: $indent
4
+ @media #{$only-large}
5
+ +grid-column(6, $float:left)
6
+ @media #{$not-large}
7
+ +grid-column(12, $last_column:true)
8
+ clear:both
9
+
10
+ #{ padding }: 3px
11
+ border: solid 1px lighten($color_alt, 20)
12
+ background-color: lighten($base3, 10)
13
+
14
+ span.title
15
+ display: block
16
+ color: $color_alt2
17
+
18
+ span.caption
19
+ display: block
20
+ width: 80%
21
+ margin: auto
22
+ border-top: solid 1px lighten($color_alt, 20)
23
+ background-color: lighten($base3, 10)
24
+ margin-top: -2em
25
+
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.2.32
4
+ version: 1.2.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Vazquez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-16 00:00:00.000000000 Z
11
+ date: 2013-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -214,6 +214,7 @@ files:
214
214
  - share/views/compass/colors.sass
215
215
  - share/views/compass/entity_card.sass
216
216
  - share/views/compass/favourites.sass
217
+ - share/views/compass/figure.sass
217
218
  - share/views/compass/finder.sass
218
219
  - share/views/compass/foundation.sass
219
220
  - share/views/compass/functions.sass