tanker 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/tanker/railtie.rb +11 -4
- data/tanker.gemspec +2 -2
- metadata +3 -8
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.3
|
data/lib/tanker/railtie.rb
CHANGED
@@ -3,14 +3,21 @@ require 'rails'
|
|
3
3
|
module Tanker
|
4
4
|
class Railtie < Rails::Railtie
|
5
5
|
config.index_tank_url = ''
|
6
|
-
|
6
|
+
|
7
|
+
initializer "tanker.boot" do
|
8
|
+
get_config
|
9
|
+
end
|
10
|
+
|
7
11
|
config.after_initialize do
|
8
|
-
|
12
|
+
get_config
|
9
13
|
end
|
10
14
|
|
11
15
|
rake_tasks do
|
12
16
|
load "tanker/tasks/tanker.rake"
|
13
17
|
end
|
14
|
-
|
18
|
+
|
19
|
+
def get_config
|
20
|
+
Tanker.configuration = {:url => config.index_tank_url }
|
21
|
+
end
|
15
22
|
end
|
16
|
-
end
|
23
|
+
end
|
data/tanker.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{tanker}
|
8
|
-
s.version = "0.5.
|
8
|
+
s.version = "0.5.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["@kidpollo"]
|
12
|
-
s.date = %q{2010-10-
|
12
|
+
s.date = %q{2010-10-22}
|
13
13
|
s.description = %q{IndexTank is a great search indexing service, this gem tries to make any orm keep in sync with indextank with ease}
|
14
14
|
s.email = %q{kidpollo@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tanker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 15
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 0
|
8
7
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
8
|
+
- 3
|
9
|
+
version: 0.5.3
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- "@kidpollo"
|
@@ -15,7 +14,7 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date: 2010-10-
|
17
|
+
date: 2010-10-22 00:00:00 -05:00
|
19
18
|
default_executable:
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
@@ -26,7 +25,6 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
hash: 62196431
|
30
28
|
segments:
|
31
29
|
- 2
|
32
30
|
- 0
|
@@ -44,7 +42,6 @@ dependencies:
|
|
44
42
|
requirements:
|
45
43
|
- - ">="
|
46
44
|
- !ruby/object:Gem::Version
|
47
|
-
hash: 29
|
48
45
|
segments:
|
49
46
|
- 2
|
50
47
|
- 3
|
@@ -95,7 +92,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
95
92
|
requirements:
|
96
93
|
- - ">="
|
97
94
|
- !ruby/object:Gem::Version
|
98
|
-
hash: 3
|
99
95
|
segments:
|
100
96
|
- 0
|
101
97
|
version: "0"
|
@@ -104,7 +100,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
100
|
requirements:
|
105
101
|
- - ">="
|
106
102
|
- !ruby/object:Gem::Version
|
107
|
-
hash: 3
|
108
103
|
segments:
|
109
104
|
- 0
|
110
105
|
version: "0"
|