soup 0.9.9.1 → 0.9.9.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/soup.rb +1 -1
  3. metadata +2 -2
data/Rakefile CHANGED
@@ -20,7 +20,7 @@ spec = Gem::Specification.new do |s|
20
20
 
21
21
  # Change these as appropriate
22
22
  s.name = "soup"
23
- s.version = "0.9.9.1"
23
+ s.version = "0.9.9.2"
24
24
  s.summary = "A super-simple data store"
25
25
  s.author = "James Adam"
26
26
  s.email = "james@lazyatom.com"
@@ -101,7 +101,7 @@ class Soup
101
101
  file = File.read(path)
102
102
  if attribute_start = file.index(attribute_token)
103
103
  content = file.slice(0...attribute_start)
104
- attributes = YAML.load(file.slice(attribute_start..-1)).merge(:content => content)
104
+ attributes = {:name => name}.merge(YAML.load(file.slice(attribute_start..-1)).merge(:content => content))
105
105
  else
106
106
  attributes = {:content => file, :name => name}
107
107
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.9.1
4
+ version: 0.9.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Adam
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-10 00:00:00 +00:00
12
+ date: 2009-12-16 00:00:00 +00:00
13
13
  default_executable:
14
14
  dependencies: []
15
15