fabulator-exhibit 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/VERSION +1 -1
- data/features/simple-database.feature +2 -0
- data/lib/fabulator/exhibit/actions/type.rb +1 -1
- metadata +4 -4
data/History.txt
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.7
|
@@ -1,3 +1,4 @@
|
|
1
|
+
@db
|
1
2
|
Feature: Simple database items
|
2
3
|
|
3
4
|
Scenario: simple database with one item
|
@@ -28,6 +29,7 @@ Feature: Simple database items
|
|
28
29
|
And the item 'foo' should have type 'fooType'
|
29
30
|
And the item 'foo' should have the label 'fooLabel'
|
30
31
|
And the item 'foo' should have the property 'bar' as 'baz'
|
32
|
+
And the item 'bar' should have the label 'barLabel'
|
31
33
|
And the expression (/f/bar) should equal ['baz']
|
32
34
|
And the expression (/g/foo/bar) should equal ['baz']
|
33
35
|
And the expression (/g/bar/bar) should equal ['bat']
|
@@ -10,7 +10,7 @@ module Fabulator
|
|
10
10
|
|
11
11
|
def run(context, autovivify = false)
|
12
12
|
@context.with(context) do |ctx|
|
13
|
-
info = {
|
13
|
+
info = { 'id' => self.name(ctx).first.to_s }
|
14
14
|
pl = (self.pluralLabel(ctx).first.to_s rescue nil)
|
15
15
|
if !pl.nil?
|
16
16
|
info['pluralLabel'] = pl
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fabulator-exhibit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 7
|
10
|
+
version: 0.0.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- James Smith
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-11-
|
18
|
+
date: 2010-11-08 00:00:00 +00:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|