iudex-rome 1.1.0-java → 1.2.b.0-java
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/History.rdoc +3 -0
- data/Manifest.txt +1 -1
- data/README.rdoc +1 -1
- data/Rakefile +2 -35
- data/lib/iudex-rome/base.rb +2 -2
- data/lib/iudex-rome/{iudex-rome-1.1.0.jar → iudex-rome-1.2.b.0.jar} +0 -0
- data/lib/iudex-rome.rb +1 -1
- data/pom.xml +3 -12
- data/test/setup.rb +22 -12
- data/test/test_rome.rb +1 -1
- metadata +32 -34
- data/.gemtest +0 -0
data/History.rdoc
CHANGED
data/Manifest.txt
CHANGED
data/README.rdoc
CHANGED
data/Rakefile
CHANGED
|
@@ -1,40 +1,7 @@
|
|
|
1
1
|
# -*- ruby -*-
|
|
2
2
|
|
|
3
|
-
$LOAD_PATH << './lib'
|
|
4
|
-
require 'iudex-rome/base'
|
|
5
|
-
|
|
6
3
|
require 'rubygems'
|
|
7
|
-
|
|
4
|
+
require 'bundler/setup'
|
|
8
5
|
require 'rjack-tarpit'
|
|
9
6
|
|
|
10
|
-
|
|
11
|
-
Iudex::ROME::VERSION,
|
|
12
|
-
:no_assembly, :java_platform )
|
|
13
|
-
|
|
14
|
-
t.specify do |h|
|
|
15
|
-
h.developer( "David Kellum", "dek-oss@gravitext.com" )
|
|
16
|
-
h.extra_deps += [ [ 'iudex-core', '~> 1.1.0' ],
|
|
17
|
-
[ 'rjack-rome', '~> 1.0.2' ] ]
|
|
18
|
-
|
|
19
|
-
h.testlib = :minitest
|
|
20
|
-
h.extra_dev_deps += [ [ 'minitest', '~> 2.3' ],
|
|
21
|
-
[ 'rjack-logback', '~> 1.0' ] ]
|
|
22
|
-
end
|
|
23
|
-
|
|
24
|
-
file 'Manifest.txt' => "lib/#{t.name}/base.rb"
|
|
25
|
-
|
|
26
|
-
task :check_pom_version do
|
|
27
|
-
t.test_line_match( 'pom.xml', /<version>/, /#{t.version}/ )
|
|
28
|
-
end
|
|
29
|
-
task :check_history_version do
|
|
30
|
-
t.test_line_match( 'History.rdoc', /^==/, / #{t.version} / )
|
|
31
|
-
end
|
|
32
|
-
task :check_history_date do
|
|
33
|
-
t.test_line_match( 'History.rdoc', /^==/, /\([0-9\-]+\)$/ )
|
|
34
|
-
end
|
|
35
|
-
|
|
36
|
-
task :gem => [ :check_pom_version, :check_history_version ]
|
|
37
|
-
task :tag => [ :check_pom_version, :check_history_version, :check_history_date ]
|
|
38
|
-
task :push => [ :check_history_date ]
|
|
39
|
-
|
|
40
|
-
t.define_tasks
|
|
7
|
+
RJack::TarPit.new( 'iudex-rome' ).define_tasks
|
data/lib/iudex-rome/base.rb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#--
|
|
2
|
-
# Copyright (c) 2008-
|
|
2
|
+
# Copyright (c) 2008-2012 David Kellum
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
|
5
5
|
# may not use this file except in compliance with the License. You
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
module Iudex
|
|
18
18
|
module ROME
|
|
19
|
-
VERSION = '1.
|
|
19
|
+
VERSION = '1.2.b.0'
|
|
20
20
|
|
|
21
21
|
LIB_DIR = File.dirname( __FILE__ ) # :nodoc:
|
|
22
22
|
end
|
|
Binary file
|
data/lib/iudex-rome.rb
CHANGED
data/pom.xml
CHANGED
|
@@ -5,31 +5,22 @@
|
|
|
5
5
|
<groupId>iudex</groupId>
|
|
6
6
|
<artifactId>iudex-rome</artifactId>
|
|
7
7
|
<packaging>jar</packaging>
|
|
8
|
-
<version>1.
|
|
8
|
+
<version>1.2.b.0</version>
|
|
9
9
|
<name>Iudex ROME FeedParser</name>
|
|
10
10
|
|
|
11
11
|
<parent>
|
|
12
12
|
<groupId>iudex</groupId>
|
|
13
13
|
<artifactId>iudex-parent</artifactId>
|
|
14
|
-
<version>1.
|
|
14
|
+
<version>1.2.b.0</version>
|
|
15
15
|
<relativePath>..</relativePath>
|
|
16
16
|
</parent>
|
|
17
17
|
|
|
18
|
-
<repositories>
|
|
19
|
-
<repository>
|
|
20
|
-
<id>maven2-repository.dev.java.net</id>
|
|
21
|
-
<name>Java.net Repository for Maven</name>
|
|
22
|
-
<url>http://download.java.net/maven/2/</url>
|
|
23
|
-
<layout>default</layout>
|
|
24
|
-
</repository>
|
|
25
|
-
</repositories>
|
|
26
|
-
|
|
27
18
|
<dependencies>
|
|
28
19
|
|
|
29
20
|
<dependency>
|
|
30
21
|
<groupId>iudex</groupId>
|
|
31
22
|
<artifactId>iudex-core</artifactId>
|
|
32
|
-
<version>[1.
|
|
23
|
+
<version>[1.2,1.2.9999)</version>
|
|
33
24
|
</dependency>
|
|
34
25
|
|
|
35
26
|
<dependency>
|
data/test/setup.rb
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#--
|
|
2
|
-
# Copyright (c) 2008-
|
|
2
|
+
# Copyright (c) 2008-2012 David Kellum
|
|
3
3
|
#
|
|
4
4
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
|
5
5
|
# may not use this file except in compliance with the License. You
|
|
@@ -14,21 +14,31 @@
|
|
|
14
14
|
# permissions and limitations under the License.
|
|
15
15
|
#++
|
|
16
16
|
|
|
17
|
-
#### General test setup
|
|
18
|
-
|
|
19
|
-
ldir = File.join( File.dirname( __FILE__ ), "..", "lib" )
|
|
20
|
-
$LOAD_PATH.unshift( ldir ) unless $LOAD_PATH.include?( ldir )
|
|
17
|
+
#### General test setup, logging, console output ####
|
|
21
18
|
|
|
22
19
|
require 'rubygems'
|
|
23
|
-
require '
|
|
24
|
-
RJack::Logback.config_console( :stderr => true )
|
|
20
|
+
require 'bundler/setup'
|
|
25
21
|
|
|
26
22
|
require 'minitest/unit'
|
|
27
23
|
require 'minitest/autorun'
|
|
28
24
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
25
|
+
require 'rjack-logback'
|
|
26
|
+
|
|
27
|
+
module TestSetup
|
|
28
|
+
include RJack
|
|
29
|
+
Logback.config_console( :stderr => true, :thread => true )
|
|
30
|
+
|
|
31
|
+
if ( ARGV & %w[ -v --verbose --debug ] ).empty?
|
|
32
|
+
# Make test output logging compatible: no partial lines.
|
|
33
|
+
class TestOut
|
|
34
|
+
def print( *a ); $stdout.puts( *a ); end
|
|
35
|
+
def puts( *a ); $stdout.puts( *a ); end
|
|
36
|
+
end
|
|
37
|
+
MiniTest::Unit.output = TestOut.new
|
|
38
|
+
else
|
|
39
|
+
Logback.root.level = Logback::DEBUG
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
ARGV.delete( '--debug' )
|
|
43
|
+
|
|
33
44
|
end
|
|
34
|
-
MiniTest::Unit.output = TestOut.new
|
data/test/test_rome.rb
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#.hashdot.profile += jruby-shortlived
|
|
3
3
|
|
|
4
4
|
#--
|
|
5
|
-
# Copyright (c) 2008-
|
|
5
|
+
# Copyright (c) 2008-2012 David Kellum
|
|
6
6
|
#
|
|
7
7
|
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
|
8
8
|
# may not use this file except in compliance with the License. You
|
metadata
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: iudex-rome
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
prerelease:
|
|
5
|
-
version: 1.
|
|
4
|
+
prerelease: 4
|
|
5
|
+
version: 1.2.b.0
|
|
6
6
|
platform: java
|
|
7
7
|
authors:
|
|
8
8
|
- David Kellum
|
|
@@ -10,67 +10,64 @@ autorequire:
|
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
12
|
|
|
13
|
-
date:
|
|
13
|
+
date: 2012-03-05 00:00:00 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: iudex-core
|
|
17
|
-
|
|
18
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
|
17
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
|
19
18
|
none: false
|
|
20
19
|
requirements:
|
|
21
20
|
- - ~>
|
|
22
21
|
- !ruby/object:Gem::Version
|
|
23
|
-
version: 1.
|
|
22
|
+
version: 1.2.b
|
|
23
|
+
requirement: *id001
|
|
24
|
+
prerelease: false
|
|
24
25
|
type: :runtime
|
|
25
|
-
version_requirements: *id001
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: rjack-rome
|
|
28
|
-
|
|
29
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
|
28
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
|
30
29
|
none: false
|
|
31
30
|
requirements:
|
|
32
31
|
- - ~>
|
|
33
32
|
- !ruby/object:Gem::Version
|
|
34
33
|
version: 1.0.2
|
|
34
|
+
requirement: *id002
|
|
35
|
+
prerelease: false
|
|
35
36
|
type: :runtime
|
|
36
|
-
version_requirements: *id002
|
|
37
37
|
- !ruby/object:Gem::Dependency
|
|
38
38
|
name: minitest
|
|
39
|
-
|
|
40
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
|
39
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
|
41
40
|
none: false
|
|
42
41
|
requirements:
|
|
43
42
|
- - ~>
|
|
44
43
|
- !ruby/object:Gem::Version
|
|
45
44
|
version: "2.3"
|
|
45
|
+
requirement: *id003
|
|
46
|
+
prerelease: false
|
|
46
47
|
type: :development
|
|
47
|
-
version_requirements: *id003
|
|
48
48
|
- !ruby/object:Gem::Dependency
|
|
49
49
|
name: rjack-logback
|
|
50
|
-
|
|
51
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
|
50
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
|
52
51
|
none: false
|
|
53
52
|
requirements:
|
|
54
53
|
- - ~>
|
|
55
54
|
- !ruby/object:Gem::Version
|
|
56
55
|
version: "1.0"
|
|
56
|
+
requirement: *id004
|
|
57
|
+
prerelease: false
|
|
57
58
|
type: :development
|
|
58
|
-
version_requirements: *id004
|
|
59
59
|
- !ruby/object:Gem::Dependency
|
|
60
60
|
name: rjack-tarpit
|
|
61
|
-
|
|
62
|
-
requirement: &id005 !ruby/object:Gem::Requirement
|
|
61
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
|
63
62
|
none: false
|
|
64
63
|
requirements:
|
|
65
64
|
- - ~>
|
|
66
65
|
- !ruby/object:Gem::Version
|
|
67
|
-
version:
|
|
66
|
+
version: "2.0"
|
|
67
|
+
requirement: *id005
|
|
68
|
+
prerelease: false
|
|
68
69
|
type: :development
|
|
69
|
-
|
|
70
|
-
description: |-
|
|
71
|
-
Iudex is a general purpose web crawler and feed processor in
|
|
72
|
-
ruby/java. The iudex-rome gems is an adaption of rjack-rome for feed
|
|
73
|
-
parsing in Iudex.
|
|
70
|
+
description: Iudex is a general purpose web crawler and feed processor in ruby/java. The iudex-rome gems is an adaption of rjack-rome for feed parsing in Iudex.
|
|
74
71
|
email:
|
|
75
72
|
- dek-oss@gravitext.com
|
|
76
73
|
executables: []
|
|
@@ -78,7 +75,6 @@ executables: []
|
|
|
78
75
|
extensions: []
|
|
79
76
|
|
|
80
77
|
extra_rdoc_files:
|
|
81
|
-
- Manifest.txt
|
|
82
78
|
- History.rdoc
|
|
83
79
|
- README.rdoc
|
|
84
80
|
files:
|
|
@@ -92,8 +88,7 @@ files:
|
|
|
92
88
|
- test/setup.rb
|
|
93
89
|
- test/simple_rss.xml
|
|
94
90
|
- test/test_rome.rb
|
|
95
|
-
- lib/iudex-rome/iudex-rome-1.
|
|
96
|
-
- .gemtest
|
|
91
|
+
- lib/iudex-rome/iudex-rome-1.2.b.0.jar
|
|
97
92
|
homepage: http://github.com/dekellum/iudex
|
|
98
93
|
licenses: []
|
|
99
94
|
|
|
@@ -108,19 +103,22 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
108
103
|
requirements:
|
|
109
104
|
- - ">="
|
|
110
105
|
- !ruby/object:Gem::Version
|
|
106
|
+
hash: 2
|
|
107
|
+
segments:
|
|
108
|
+
- 0
|
|
111
109
|
version: "0"
|
|
112
110
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
111
|
none: false
|
|
114
112
|
requirements:
|
|
115
|
-
- - "
|
|
113
|
+
- - ">"
|
|
116
114
|
- !ruby/object:Gem::Version
|
|
117
|
-
version:
|
|
115
|
+
version: 1.3.1
|
|
118
116
|
requirements: []
|
|
119
117
|
|
|
120
|
-
rubyforge_project:
|
|
121
|
-
rubygems_version: 1.8.
|
|
118
|
+
rubyforge_project:
|
|
119
|
+
rubygems_version: 1.8.15
|
|
122
120
|
signing_key:
|
|
123
121
|
specification_version: 3
|
|
124
|
-
summary: Iudex is a general purpose web crawler and feed processor in ruby/java
|
|
125
|
-
test_files:
|
|
126
|
-
|
|
122
|
+
summary: Iudex is a general purpose web crawler and feed processor in ruby/java.
|
|
123
|
+
test_files: []
|
|
124
|
+
|
data/.gemtest
DELETED
|
File without changes
|