iudex-filter 1.1.0-java → 1.2.b.0-java
Sign up to get free protection for your applications and to get access to all the features.
- data/History.rdoc +4 -0
- data/Manifest.txt +1 -1
- data/README.rdoc +1 -1
- data/Rakefile +2 -35
- data/lib/iudex-filter.rb +1 -1
- data/lib/iudex-filter/base.rb +2 -2
- data/lib/iudex-filter/by_filter_logger.rb +1 -1
- data/lib/iudex-filter/filter_base.rb +1 -1
- data/lib/iudex-filter/filter_chain_factory.rb +1 -1
- data/lib/iudex-filter/{iudex-filter-1.1.0.jar → iudex-filter-1.2.b.0.jar} +0 -0
- data/lib/iudex-filter/key_helper.rb +1 -1
- data/lib/iudex-filter/proc_filter.rb +1 -1
- data/pom.xml +2 -2
- data/test/setup.rb +24 -12
- data/test/test_filter_base.rb +1 -1
- data/test/test_filter_chain_factory.rb +1 -1
- data/test/test_proc_filter.rb +1 -1
- data/test/test_sublist_filter.rb +1 -1
- metadata +33 -38
- data/.gemtest +0 -0
data/History.rdoc
CHANGED
data/Manifest.txt
CHANGED
data/README.rdoc
CHANGED
@@ -10,7 +10,7 @@ of responsbility sub-system.
|
|
10
10
|
|
11
11
|
== License
|
12
12
|
|
13
|
-
Copyright (c) 2008-
|
13
|
+
Copyright (c) 2008-2012 David Kellum
|
14
14
|
|
15
15
|
Licensed under the Apache License, Version 2.0 (the "License"); you
|
16
16
|
may not use this file except in compliance with the License. You
|
data/Rakefile
CHANGED
@@ -1,40 +1,7 @@
|
|
1
1
|
# -*- ruby -*-
|
2
2
|
|
3
|
-
$LOAD_PATH << './lib'
|
4
|
-
require 'iudex-filter/base'
|
5
|
-
|
6
3
|
require 'rubygems'
|
7
|
-
|
4
|
+
require 'bundler/setup'
|
8
5
|
require 'rjack-tarpit'
|
9
6
|
|
10
|
-
|
11
|
-
Iudex::Filter::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 += [ [ 'rjack-slf4j', '~> 1.6.1' ],
|
17
|
-
[ 'gravitext-util', '~> 1.5.1' ] ]
|
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-filter' ).define_tasks
|
data/lib/iudex-filter.rb
CHANGED
data/lib/iudex-filter/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 Filter
|
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/pom.xml
CHANGED
@@ -5,13 +5,13 @@
|
|
5
5
|
<groupId>iudex</groupId>
|
6
6
|
<artifactId>iudex-filter</artifactId>
|
7
7
|
<packaging>jar</packaging>
|
8
|
-
<version>1.
|
8
|
+
<version>1.2.b.0</version>
|
9
9
|
<name>Iudex Filter</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
|
|
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,33 @@
|
|
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
|
+
|
33
|
+
# Make test output logging compatible: no partial lines.
|
34
|
+
class TestOut
|
35
|
+
def print( *a ); $stdout.puts( *a ); end
|
36
|
+
def puts( *a ); $stdout.puts( *a ); end
|
37
|
+
end
|
38
|
+
MiniTest::Unit.output = TestOut.new
|
39
|
+
|
40
|
+
else
|
41
|
+
Logback.root.level = Logback::DEBUG
|
42
|
+
end
|
43
|
+
|
44
|
+
ARGV.delete( '--debug' )
|
45
|
+
|
33
46
|
end
|
34
|
-
MiniTest::Unit.output = TestOut.new
|
data/test/test_filter_base.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
|
@@ -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
|
data/test/test_proc_filter.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
|
data/test/test_sublist_filter.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
#.hashdot.profile += jruby-shortlived
|
3
3
|
|
4
4
|
#--
|
5
|
-
# Copyright (c)
|
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-filter
|
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: rjack-slf4j
|
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
22
|
version: 1.6.1
|
23
|
+
requirement: *id001
|
24
|
+
prerelease: false
|
24
25
|
type: :runtime
|
25
|
-
version_requirements: *id001
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: gravitext-util
|
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
|
-
version: 1.
|
33
|
+
version: 1.6.b
|
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-filter gem contains a fundamental filtering/chain
|
73
|
-
of responsbility sub-system.
|
70
|
+
description: Iudex is a general purpose web crawler and feed processor in ruby/java. The iudex-filter gem contains a fundamental filtering/chain of responsbility sub-system.
|
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:
|
@@ -99,8 +95,7 @@ files:
|
|
99
95
|
- test/test_filter_chain_factory.rb
|
100
96
|
- test/test_proc_filter.rb
|
101
97
|
- test/test_sublist_filter.rb
|
102
|
-
- lib/iudex-filter/iudex-filter-1.
|
103
|
-
- .gemtest
|
98
|
+
- lib/iudex-filter/iudex-filter-1.2.b.0.jar
|
104
99
|
homepage: http://github.com/dekellum/iudex
|
105
100
|
licenses: []
|
106
101
|
|
@@ -115,22 +110,22 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
115
110
|
requirements:
|
116
111
|
- - ">="
|
117
112
|
- !ruby/object:Gem::Version
|
113
|
+
hash: 2
|
114
|
+
segments:
|
115
|
+
- 0
|
118
116
|
version: "0"
|
119
117
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
120
118
|
none: false
|
121
119
|
requirements:
|
122
|
-
- - "
|
120
|
+
- - ">"
|
123
121
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
122
|
+
version: 1.3.1
|
125
123
|
requirements: []
|
126
124
|
|
127
|
-
rubyforge_project:
|
128
|
-
rubygems_version: 1.8.
|
125
|
+
rubyforge_project:
|
126
|
+
rubygems_version: 1.8.15
|
129
127
|
signing_key:
|
130
128
|
specification_version: 3
|
131
|
-
summary: Iudex is a general purpose web crawler and feed processor in ruby/java
|
132
|
-
test_files:
|
133
|
-
|
134
|
-
- test/test_sublist_filter.rb
|
135
|
-
- test/test_filter_base.rb
|
136
|
-
- test/test_filter_chain_factory.rb
|
129
|
+
summary: Iudex is a general purpose web crawler and feed processor in ruby/java.
|
130
|
+
test_files: []
|
131
|
+
|
data/.gemtest
DELETED
File without changes
|