iudex-da 1.3.0-java → 1.3.1-java
Sign up to get free protection for your applications and to get access to all the features.
- data/History.rdoc +6 -0
- data/Manifest.txt +1 -1
- data/lib/iudex-da/base.rb +1 -1
- data/lib/iudex-da/{iudex-da-1.3.0.jar → iudex-da-1.3.1.jar} +0 -0
- data/lib/iudex-da/work_poller.rb +8 -2
- data/pom.xml +1 -1
- metadata +3 -3
data/History.rdoc
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
=== 1.3.1 (2012-10-13)
|
2
|
+
* Fix regression introduced in 1.3.0, causing age adjusted priority to
|
3
|
+
be written back to the database as the normal priority value. Now
|
4
|
+
PRIORITY_ADJUSTED is set and BaseTransformer accounts for this by
|
5
|
+
prefering the DB current, unadjusted value.
|
6
|
+
|
1
7
|
=== 1.3.0 (2012-10-4)
|
2
8
|
* Expand to iudex-core [1.2.1,1.4)
|
3
9
|
* Rewrite of WorkPoller:
|
data/Manifest.txt
CHANGED
data/lib/iudex-da/base.rb
CHANGED
Binary file
|
data/lib/iudex-da/work_poller.rb
CHANGED
@@ -133,7 +133,7 @@ module Iudex::DA
|
|
133
133
|
end
|
134
134
|
|
135
135
|
@mapper = mapper
|
136
|
-
@
|
136
|
+
@data_source = data_source
|
137
137
|
end
|
138
138
|
|
139
139
|
# Override GenericWorkPollStrategy
|
@@ -147,7 +147,13 @@ module Iudex::DA
|
|
147
147
|
# Raises SQLException
|
148
148
|
def poll
|
149
149
|
query, params = generate_query
|
150
|
-
|
150
|
+
reader.select( query, *params )
|
151
|
+
end
|
152
|
+
|
153
|
+
def reader
|
154
|
+
@reader ||= ContentReader.new( @data_source, @mapper ).tap do |r|
|
155
|
+
r.priority_adjusted = aged_priority?
|
156
|
+
end
|
151
157
|
end
|
152
158
|
|
153
159
|
def generate_query
|
data/pom.xml
CHANGED
metadata
CHANGED
@@ -2,14 +2,14 @@
|
|
2
2
|
name: iudex-da
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.3.
|
5
|
+
version: 1.3.1
|
6
6
|
platform: java
|
7
7
|
authors:
|
8
8
|
- David Kellum
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-10-
|
12
|
+
date: 2012-10-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: iudex-core
|
@@ -187,7 +187,7 @@ files:
|
|
187
187
|
- test/test_pool_factory.rb
|
188
188
|
- test/test_url_model.rb
|
189
189
|
- test/test_work_poller.rb
|
190
|
-
- lib/iudex-da/iudex-da-1.3.
|
190
|
+
- lib/iudex-da/iudex-da-1.3.1.jar
|
191
191
|
homepage: http://iudex.gravitext.com
|
192
192
|
licenses: []
|
193
193
|
post_install_message:
|