iudex-da 1.1.0-java → 1.1.1-java
Sign up to get free protection for your applications and to get access to all the features.
- data/History.rdoc +3 -0
- data/Manifest.txt +2 -1
- data/db/0110_host_to_domain.rb +36 -0
- data/lib/iudex-da/base.rb +1 -1
- data/lib/iudex-da/{iudex-da-1.1.0.jar → iudex-da-1.1.1.jar} +0 -0
- data/pom.xml +1 -1
- metadata +4 -3
data/History.rdoc
CHANGED
data/Manifest.txt
CHANGED
@@ -18,6 +18,7 @@ db/0060_url_indexes.rb
|
|
18
18
|
db/0070_add_created_at.rb
|
19
19
|
db/0080_add_simhash.rb
|
20
20
|
db/0081_remove_simhash_index.rb
|
21
|
+
db/0110_host_to_domain.rb
|
21
22
|
db/index_next_visit/0100_add_index_next_visit.rb
|
22
23
|
db/simhash/0085_add_simhash_index.rb
|
23
24
|
lib/iudex-da/base.rb
|
@@ -32,4 +33,4 @@ test/setup.rb
|
|
32
33
|
test/test_migrate.rb
|
33
34
|
test/test_poll_work.rb
|
34
35
|
test/test_pool_factory.rb
|
35
|
-
lib/iudex-da/iudex-da-1.1.
|
36
|
+
lib/iudex-da/iudex-da-1.1.1.jar
|
@@ -0,0 +1,36 @@
|
|
1
|
+
#--
|
2
|
+
# Copyright (c) 2008-2011 David Kellum
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License"); you
|
5
|
+
# may not use this file except in compliance with the License. You
|
6
|
+
# may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
13
|
+
# implied. See the License for the specific language governing
|
14
|
+
# permissions and limitations under the License.
|
15
|
+
#++
|
16
|
+
|
17
|
+
class HostToDomain < ActiveRecord::Migration
|
18
|
+
|
19
|
+
def self.up
|
20
|
+
# Move host to domain in place. This is intended to be the
|
21
|
+
# normalized registration level domain as provided by
|
22
|
+
# VisitURL.domain. Existing host values will often not match the
|
23
|
+
# RL domain, but the usage as a WorkPoller grouping does not
|
24
|
+
# strictly require this. Furthermore it would be very costly to
|
25
|
+
# rewrite a large database to correct domain values. Start with a
|
26
|
+
# clean or custom migrated database if this consistency is
|
27
|
+
# important for your needs.
|
28
|
+
rename_column( 'urls', 'host', 'domain' )
|
29
|
+
#Equiv: add_column( 'urls', 'domain', :text, :null => false )
|
30
|
+
end
|
31
|
+
|
32
|
+
def self.down
|
33
|
+
rename_column( 'urls', 'domain', 'host' )
|
34
|
+
end
|
35
|
+
|
36
|
+
end
|
data/lib/iudex-da/base.rb
CHANGED
Binary file
|
data/pom.xml
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: iudex-da
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.1.
|
5
|
+
version: 1.1.1
|
6
6
|
platform: java
|
7
7
|
authors:
|
8
8
|
- David Kellum
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-11-
|
13
|
+
date: 2011-11-18 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: iudex-core
|
@@ -149,6 +149,7 @@ files:
|
|
149
149
|
- db/0070_add_created_at.rb
|
150
150
|
- db/0080_add_simhash.rb
|
151
151
|
- db/0081_remove_simhash_index.rb
|
152
|
+
- db/0110_host_to_domain.rb
|
152
153
|
- db/index_next_visit/0100_add_index_next_visit.rb
|
153
154
|
- db/simhash/0085_add_simhash_index.rb
|
154
155
|
- lib/iudex-da/base.rb
|
@@ -163,7 +164,7 @@ files:
|
|
163
164
|
- test/test_migrate.rb
|
164
165
|
- test/test_poll_work.rb
|
165
166
|
- test/test_pool_factory.rb
|
166
|
-
- lib/iudex-da/iudex-da-1.1.
|
167
|
+
- lib/iudex-da/iudex-da-1.1.1.jar
|
167
168
|
- .gemtest
|
168
169
|
homepage: http://github.com/dekellum/iudex
|
169
170
|
licenses: []
|