eeml 0.0.40 → 0.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +9 -0
- data/lib/eeml.rb +1 -1
- data/lib/eeml/json_environment_parser_v100.rb +2 -0
- data/lib/eeml/libxml_eeml_parser_v051.rb +1 -0
- metadata +11 -10
data/.gitignore
ADDED
data/lib/eeml.rb
CHANGED
|
@@ -16,6 +16,8 @@ module Eeml
|
|
|
16
16
|
:publisher => env_hash["publisher"],
|
|
17
17
|
:creator => env_hash["creator"])
|
|
18
18
|
|
|
19
|
+
env.feed_url = env_hash["auto_feed_url"] unless env_hash["auto_feed_url"].nil?
|
|
20
|
+
|
|
19
21
|
env.updated = Time.gm(*ParseDate.parsedate(env_hash['updated'])) unless env_hash['updated'].nil?
|
|
20
22
|
|
|
21
23
|
env.has_tag_element = !!env_hash['tags']
|
|
@@ -73,6 +73,7 @@ module Eeml
|
|
|
73
73
|
|
|
74
74
|
env.title = optional_content(env_node, 'x:title', 'title', "x:#{@@eeml_version[:href]}")
|
|
75
75
|
env.feed_url = optional_content(env_node, 'x:feed', 'feed', "x:#{@@eeml_version[:href]}")
|
|
76
|
+
env.feed_url = optional_content(env_node, 'x:auto_feed_url', 'auto_feed_url', "x:#{@@eeml_version[:href]}", env.feed_url)
|
|
76
77
|
env.description = optional_content(env_node, 'x:description', 'description', "x:#{@@eeml_version[:href]}")
|
|
77
78
|
env.website = optional_content(env_node, 'x:website', 'website', "x:#{@@eeml_version[:href]}")
|
|
78
79
|
env.status = optional_content(env_node, 'x:status', 'status', "x:#{@@eeml_version[:href]}")
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: eeml
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 77
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 41
|
|
10
|
+
version: 0.0.41
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Neill Bogie
|
|
@@ -18,7 +18,7 @@ autorequire:
|
|
|
18
18
|
bindir: bin
|
|
19
19
|
cert_chain: []
|
|
20
20
|
|
|
21
|
-
date: 2011-05-
|
|
21
|
+
date: 2011-05-25 00:00:00 +00:00
|
|
22
22
|
default_executable:
|
|
23
23
|
dependencies:
|
|
24
24
|
- !ruby/object:Gem::Dependency
|
|
@@ -79,6 +79,7 @@ extra_rdoc_files:
|
|
|
79
79
|
- LICENSE
|
|
80
80
|
- README
|
|
81
81
|
files:
|
|
82
|
+
- .gitignore
|
|
82
83
|
- CHANGELOG
|
|
83
84
|
- LICENSE
|
|
84
85
|
- Manifest
|
|
@@ -142,8 +143,8 @@ homepage:
|
|
|
142
143
|
licenses: []
|
|
143
144
|
|
|
144
145
|
post_install_message:
|
|
145
|
-
rdoc_options:
|
|
146
|
-
|
|
146
|
+
rdoc_options:
|
|
147
|
+
- --charset=UTF-8
|
|
147
148
|
require_paths:
|
|
148
149
|
- lib
|
|
149
150
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
@@ -173,9 +174,9 @@ specification_version: 3
|
|
|
173
174
|
summary: Simple little library for programmatically manipulating EEML documents.
|
|
174
175
|
test_files:
|
|
175
176
|
- test/libxml_test_helper.rb
|
|
176
|
-
- test/
|
|
177
|
+
- test/test_libxml_test_helper.rb
|
|
178
|
+
- test/test_libxml_eeml_parser_v005.rb
|
|
177
179
|
- test/test_csv_parser_v2.rb
|
|
178
|
-
- test/test_environment.rb
|
|
179
180
|
- test/test_helper.rb
|
|
180
|
-
- test/
|
|
181
|
-
- test/
|
|
181
|
+
- test/test_csv_parser_v1.rb
|
|
182
|
+
- test/test_environment.rb
|