rss-dcterms 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # RSS::DCTERMS
2
2
 
3
- TODO: Write a gem description
3
+ Enables standard bundled RSS library parse and make feeds including DCMI Metadata Terms.
4
4
 
5
5
  ## Installation
6
6
 
@@ -16,9 +16,16 @@ Or install it yourself as:
16
16
 
17
17
  $ gem install rss-dcterms
18
18
 
19
+ Or
20
+
21
+ $ ruby setup.rb
22
+
19
23
  ## Usage
20
24
 
21
- TODO: Write usage instructions here
25
+ require 'rss/dcterms'
26
+
27
+ feed = RSS::Parser.parse(feed_uri)
28
+ publisher = feed.dcterms_publisher
22
29
 
23
30
  ## Contributing
24
31
 
@@ -0,0 +1,5 @@
1
+ module RSS
2
+ module DCTERMS
3
+ VERSION = "0.0.3"
4
+ end
5
+ end
@@ -1,8 +1,10 @@
1
1
  # -*- encoding: utf-8 -*-
2
+ require File.expand_path('../lib/rss/dcterms/version', __FILE__)
3
+
2
4
  Gem::Specification.new do |gem|
3
5
  gem.authors = ["KITAITI Makoto"]
4
6
  gem.email = ["KitaitiMakoto@gmail.com"]
5
- gem.description = %q{Enable standard bundled RSS library parse and make feeds using DCMI Metadata Terms}
7
+ gem.description = %q{Enable standard bundled RSS library parse and make feeds including DCMI(Dublin Core Metadata Initiative) Metadata Terms}
6
8
  gem.summary = %q{DCTERMS support for standard bundled RSS library}
7
9
  gem.homepage = "https://gitorious.org/rss/dcterms"
8
10
 
@@ -11,7 +13,7 @@ Gem::Specification.new do |gem|
11
13
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
12
14
  gem.name = "rss-dcterms"
13
15
  gem.require_paths = ["lib"]
14
- gem.version = '0.0.2'
16
+ gem.version = RSS::DCTERMS::VERSION
15
17
 
16
18
  gem.add_development_dependency 'test-unit'
17
19
  gem.add_development_dependency 'pry'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rss-dcterms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-01 00:00:00.000000000Z
12
+ date: 2012-04-06 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: test-unit
16
- requirement: &17824960 !ruby/object:Gem::Requirement
16
+ requirement: &21044360 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *17824960
24
+ version_requirements: *21044360
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: pry
27
- requirement: &17824500 !ruby/object:Gem::Requirement
27
+ requirement: &21043940 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *17824500
35
+ version_requirements: *21043940
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: pry-doc
38
- requirement: &17823880 !ruby/object:Gem::Requirement
38
+ requirement: &21043460 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *17823880
46
+ version_requirements: *21043460
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: yard
49
- requirement: &17823460 !ruby/object:Gem::Requirement
49
+ requirement: &21043040 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,9 +54,9 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *17823460
58
- description: Enable standard bundled RSS library parse and make feeds using DCMI Metadata
59
- Terms
57
+ version_requirements: *21043040
58
+ description: Enable standard bundled RSS library parse and make feeds including DCMI(Dublin
59
+ Core Metadata Initiative) Metadata Terms
60
60
  email:
61
61
  - KitaitiMakoto@gmail.com
62
62
  executables: []
@@ -73,6 +73,7 @@ files:
73
73
  - lib/rss/dcterms/property/1.0.rb
74
74
  - lib/rss/dcterms/property/2.0.rb
75
75
  - lib/rss/dcterms/property/atom.rb
76
+ - lib/rss/dcterms/version.rb
76
77
  - rss-dcterms.gemspec
77
78
  - setup.rb
78
79
  homepage: https://gitorious.org/rss/dcterms
@@ -89,7 +90,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
89
90
  version: '0'
90
91
  segments:
91
92
  - 0
92
- hash: 2426399414434576262
93
+ hash: 2428754068467152083
93
94
  required_rubygems_version: !ruby/object:Gem::Requirement
94
95
  none: false
95
96
  requirements:
@@ -98,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
99
  version: '0'
99
100
  segments:
100
101
  - 0
101
- hash: 2426399414434576262
102
+ hash: 2428754068467152083
102
103
  requirements: []
103
104
  rubyforge_project:
104
105
  rubygems_version: 1.8.8