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.
- data/Rakefile +1 -1
- data/lib/soup.rb +1 -1
- metadata +2 -2
data/Rakefile
CHANGED
data/lib/soup.rb
CHANGED
@@ -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.
|
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-
|
12
|
+
date: 2009-12-16 00:00:00 +00:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|