iudex-char-detector 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.
@@ -1,2 +1,5 @@
1
+ === 1.2.b.0 (2012-3-4)
2
+ * Upgrade to tarpit ~> 2.0, bundler Gemfile, gemspec (dev)
3
+
1
4
  === 1.1.0 (2011-11-13)
2
5
  * Initial release with Iudex 1.1.x.
@@ -13,4 +13,4 @@ test/sample.html.utf16le
13
13
  test/sample.html.utf8
14
14
  test/setup.rb
15
15
  test/test_char_detector.rb
16
- lib/iudex-char-detector/iudex-char-detector-1.1.0.jar
16
+ lib/iudex-char-detector/iudex-char-detector-1.2.b.0.jar
@@ -10,7 +10,7 @@ support.
10
10
 
11
11
  == License
12
12
 
13
- Copyright (c) 2011 David Kellum
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-char-detector/base'
5
-
6
3
  require 'rubygems'
7
- gem 'rjack-tarpit', '~> 1.4'
4
+ require 'bundler/setup'
8
5
  require 'rjack-tarpit'
9
6
 
10
- t = RJack::TarPit.new( 'iudex-char-detector',
11
- Iudex::CharDetector::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-icu', '~> 4.8.0' ] ]
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' => [ 'pom.xml' ]
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-char-detector' ).define_tasks
@@ -2,7 +2,7 @@
2
2
  # -*- ruby -*-
3
3
 
4
4
  #--
5
- # Copyright (c) 2011 David Kellum
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
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2011 David Kellum
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 may
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2011 David Kellum
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 may
@@ -16,6 +16,6 @@
16
16
 
17
17
  module Iudex
18
18
  module CharDetector
19
- VERSION = '1.1.0'
19
+ VERSION = '1.2.b.0'
20
20
  end
21
21
  end
data/pom.xml CHANGED
@@ -3,13 +3,13 @@
3
3
  <groupId>iudex</groupId>
4
4
  <artifactId>iudex-char-detector</artifactId>
5
5
  <packaging>jar</packaging>
6
- <version>1.1.0</version>
6
+ <version>1.2.b.0</version>
7
7
  <name>Iudex charset detection support</name>
8
8
 
9
9
  <parent>
10
10
  <groupId>iudex</groupId>
11
11
  <artifactId>iudex-parent</artifactId>
12
- <version>1.1</version>
12
+ <version>1.2.b.0</version>
13
13
  <relativePath>..</relativePath>
14
14
  </parent>
15
15
 
@@ -18,7 +18,7 @@
18
18
  <dependency>
19
19
  <groupId>iudex</groupId>
20
20
  <artifactId>iudex-core</artifactId>
21
- <version>[1.1,1.2)</version>
21
+ <version>[1.2,1.2.9999)</version>
22
22
  </dependency>
23
23
 
24
24
  <dependency>
@@ -1,5 +1,5 @@
1
1
  #--
2
- # Copyright (c) 2010-2011 David Kellum
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,26 +14,25 @@
14
14
  # permissions and limitations under the License.
15
15
  #++
16
16
 
17
- #### General test setup: LOAD_PATH, logging, console output ####
18
-
19
- test_dir = File.dirname( __FILE__ )
20
-
21
- ldir = File.join( test_dir, "..", "lib" )
22
- $LOAD_PATH.unshift( ldir ) unless $LOAD_PATH.include?( ldir )
17
+ #### General test setup, logging, console output ####
23
18
 
24
19
  require 'rubygems'
25
- require 'rjack-logback'
26
- RJack::Logback.config_console( :stderr => true )
27
- if ARGV.include?( '--verbose' ) || ARGV.include?( '-v' )
28
- RJack::Logback.root.level = RJack::Logback::DEBUG
29
- end
20
+ require 'bundler/setup'
30
21
 
31
22
  require 'minitest/unit'
32
23
  require 'minitest/autorun'
33
24
 
34
- # Make test output logging compatible: no partial lines.
35
- # class TestOut
36
- # def print( *a ); $stdout.puts( *a ); end
37
- # def puts( *a ); $stdout.puts( *a ); end
38
- # end
39
- # MiniTest::Unit.output = TestOut.new
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
+ Logback.root.level = Logback::INFO
33
+ else
34
+ Logback.root.level = Logback::DEBUG
35
+ end
36
+
37
+ ARGV.delete( '--debug' )
38
+ end
@@ -3,7 +3,7 @@
3
3
  #.hashdot.profile += jruby-shortlived
4
4
 
5
5
  #--
6
- # Copyright (c) 2011 David Kellum
6
+ # Copyright (c) 2008-2012 David Kellum
7
7
  #
8
8
  # Licensed under the Apache License, Version 2.0 (the "License"); you
9
9
  # 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-char-detector
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 1.1.0
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: 2011-11-13 00:00:00 Z
13
+ date: 2012-03-05 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: iudex-core
17
- prerelease: false
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.1.0
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-icu
28
- prerelease: false
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: 4.8.0
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
- prerelease: false
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
- prerelease: false
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
- prerelease: false
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: 1.4.0
66
+ version: "2.0"
67
+ requirement: *id005
68
+ prerelease: false
68
69
  type: :development
69
- version_requirements: *id005
70
- description: |-
71
- Iudex is a general purpose web crawler and feed processor in
72
- ruby/java. The iudex-char-detector gem provides charset detection
73
- support.
70
+ description: Iudex is a general purpose web crawler and feed processor in ruby/java. The iudex-char-detector gem provides charset detection support.
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:
@@ -97,8 +93,7 @@ files:
97
93
  - test/sample.html.utf8
98
94
  - test/setup.rb
99
95
  - test/test_char_detector.rb
100
- - lib/iudex-char-detector/iudex-char-detector-1.1.0.jar
101
- - .gemtest
96
+ - lib/iudex-char-detector/iudex-char-detector-1.2.b.0.jar
102
97
  homepage: http://github.com/dekellum/iudex
103
98
  licenses: []
104
99
 
@@ -113,19 +108,22 @@ required_ruby_version: !ruby/object:Gem::Requirement
113
108
  requirements:
114
109
  - - ">="
115
110
  - !ruby/object:Gem::Version
111
+ hash: 2
112
+ segments:
113
+ - 0
116
114
  version: "0"
117
115
  required_rubygems_version: !ruby/object:Gem::Requirement
118
116
  none: false
119
117
  requirements:
120
- - - ">="
118
+ - - ">"
121
119
  - !ruby/object:Gem::Version
122
- version: "0"
120
+ version: 1.3.1
123
121
  requirements: []
124
122
 
125
- rubyforge_project: iudex-char-detector
126
- rubygems_version: 1.8.9
123
+ rubyforge_project:
124
+ rubygems_version: 1.8.15
127
125
  signing_key:
128
126
  specification_version: 3
129
- summary: Iudex is a general purpose web crawler and feed processor in ruby/java
130
- test_files:
131
- - test/test_char_detector.rb
127
+ summary: Iudex is a general purpose web crawler and feed processor in ruby/java.
128
+ test_files: []
129
+
data/.gemtest DELETED
File without changes