ratom 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/config/hoe.rb +3 -3
- data/lib/atom.rb +3 -0
- data/lib/atom/pub.rb +3 -3
- data/lib/atom/version.rb +7 -1
- data/lib/atom/xml/parser.rb +3 -4
- data/spec/atom/pub_spec.rb +3 -3
- data/spec/atom_spec.rb +3 -3
- data/spec/spec_helper.rb +6 -0
- metadata +5 -4
data/History.txt
CHANGED
data/config/hoe.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'atom/version'
|
2
2
|
|
3
|
-
AUTHOR = 'Peerworks' # can also be an array of Authors
|
4
|
-
EMAIL = "
|
3
|
+
AUTHOR = ['Peerworks', 'Sean Geoghegan'] # can also be an array of Authors
|
4
|
+
EMAIL = "sean@peerworks.org"
|
5
5
|
DESCRIPTION = "Atom Syndication and Publication API"
|
6
6
|
GEM_NAME = 'ratom' # what ppl will type to install your gem
|
7
7
|
RUBYFORGE_PROJECT = 'ratom' # The unix name for your project
|
@@ -60,7 +60,7 @@ hoe = Hoe.new(GEM_NAME, VERS) do |p|
|
|
60
60
|
# == Optional
|
61
61
|
p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
|
62
62
|
# An array of rubygem dependencies [name, version], e.g. [ ['active_support', '>= 1.3.1'] ]
|
63
|
-
p.extra_deps = [['libxml-ruby', '= 0.
|
63
|
+
p.extra_deps = [['libxml-ruby', '= 0.6.0.0']]
|
64
64
|
|
65
65
|
#p.spec_extras = {} # A hash of extra values to set in the gemspec.
|
66
66
|
|
data/lib/atom.rb
CHANGED
@@ -2,10 +2,13 @@
|
|
2
2
|
#
|
3
3
|
# For licensing information see LICENSE.txt.
|
4
4
|
#
|
5
|
+
# Please visit http://www.peerworks.org/contact for further information.
|
6
|
+
#
|
5
7
|
|
6
8
|
require 'forwardable'
|
7
9
|
require 'delegate'
|
8
10
|
require 'rubygems'
|
11
|
+
gem 'libxml-ruby', '= 0.6.0.0'
|
9
12
|
require 'xml/libxml'
|
10
13
|
require 'atom/xml/parser.rb'
|
11
14
|
|
data/lib/atom/pub.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# Copyright (c) 2008 The Kaphan Foundation
|
2
2
|
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# Please
|
3
|
+
# For licensing information see LICENSE.txt.
|
4
|
+
#
|
5
|
+
# Please visit http://www.peerworks.org/contact for further information.
|
6
6
|
#
|
7
7
|
|
8
8
|
require 'atom'
|
data/lib/atom/version.rb
CHANGED
@@ -1,8 +1,14 @@
|
|
1
|
+
# Copyright (c) 2008 The Kaphan Foundation
|
2
|
+
#
|
3
|
+
# For licensing information see LICENSE.txt.
|
4
|
+
#
|
5
|
+
# Please visit http://www.peerworks.org/contact for further information.
|
6
|
+
#
|
1
7
|
module Atom #:nodoc:
|
2
8
|
module VERSION #:nodoc:
|
3
9
|
MAJOR = 0
|
4
10
|
MINOR = 4
|
5
|
-
TINY =
|
11
|
+
TINY = 1
|
6
12
|
|
7
13
|
STRING = [MAJOR, MINOR, TINY].join('.')
|
8
14
|
end
|
data/lib/atom/xml/parser.rb
CHANGED
@@ -1,10 +1,9 @@
|
|
1
1
|
# Copyright (c) 2008 The Kaphan Foundation
|
2
2
|
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# Please
|
3
|
+
# For licensing information see LICENSE.txt.
|
4
|
+
#
|
5
|
+
# Please visit http://www.peerworks.org/contact for further information.
|
6
6
|
#
|
7
|
-
|
8
7
|
require 'net/http'
|
9
8
|
require 'time'
|
10
9
|
|
data/spec/atom/pub_spec.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# Copyright (c) 2008 The Kaphan Foundation
|
2
2
|
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# Please
|
3
|
+
# For licensing information see LICENSE.txt.
|
4
|
+
#
|
5
|
+
# Please visit http://www.peerworks.org/contact for further information.
|
6
6
|
#
|
7
7
|
|
8
8
|
require File.dirname(__FILE__) + '/../spec_helper'
|
data/spec/atom_spec.rb
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# Copyright (c) 2008 The Kaphan Foundation
|
2
2
|
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# Please
|
3
|
+
# For licensing information see LICENSE.txt.
|
4
|
+
#
|
5
|
+
# Please visit http://www.peerworks.org/contact for further information.
|
6
6
|
#
|
7
7
|
|
8
8
|
require File.dirname(__FILE__) + '/spec_helper.rb'
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ratom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peerworks
|
8
|
+
- Sean Geoghegan
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
12
|
|
12
|
-
date: 2008-
|
13
|
+
date: 2008-07-09 00:00:00 +09:30
|
13
14
|
default_executable:
|
14
15
|
dependencies:
|
15
16
|
- !ruby/object:Gem::Dependency
|
@@ -20,10 +21,10 @@ dependencies:
|
|
20
21
|
requirements:
|
21
22
|
- - "="
|
22
23
|
- !ruby/object:Gem::Version
|
23
|
-
version: 0.
|
24
|
+
version: 0.6.0.0
|
24
25
|
version:
|
25
26
|
description: Atom Syndication and Publication API
|
26
|
-
email:
|
27
|
+
email: sean@peerworks.org
|
27
28
|
executables: []
|
28
29
|
|
29
30
|
extensions: []
|