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 CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.0.7 2010-11-08
2
+ * 1 bug fix
3
+ * refer to 'id' instead of :id for adding information to a database
4
+
1
5
  === 0.0.6 2010-11-06
2
6
  * 1 minor enhancement:
3
7
  * Added ex:separator, ex:last-separator, ex:pair-separator to <ex:value />
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.6
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 = { :id => self.name(ctx).first.to_s }
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: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
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-06 00:00:00 +00:00
18
+ date: 2010-11-08 00:00:00 +00:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency