flex-admin 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.3
1
+ 1.0.4
@@ -5,7 +5,7 @@ Gem::Specification.new do |s|
5
5
  s.name = 'flex-admin'
6
6
  s.summary = 'Dump/load/rename/live-redindex one or more elasticsearch indices and types.'
7
7
  s.description = 'Provides binary and rake tasks to dump, load and optionally rename indices. Implements live-reindex with hot-swap of old code/index with new code/index.'
8
- s.homepage = 'http://github.com/ddnexus/flex-admin'
8
+ s.homepage = 'http://github.com/ddnexus/flex'
9
9
  s.authors = ["Domizio Demichelis"]
10
10
  s.email = 'dd.nexus@gmail.com'
11
11
  s.executables = %w[flex-admin]
@@ -1,6 +1,6 @@
1
1
  require 'flex'
2
2
  require 'flex/admin'
3
- require 'flex/live_reindex'
3
+ require 'flex/live_reindex_admin'
4
4
 
5
5
  Flex::LIB_PATHS << File.dirname(__FILE__)
6
6
 
@@ -1,3 +1,6 @@
1
+ # ensure to load it before overriding it
2
+ require 'flex/live_reindex_base'
3
+
1
4
  module Flex
2
5
  # private module
3
6
  module LiveReindex
@@ -44,8 +47,6 @@ module Flex
44
47
 
45
48
  end
46
49
 
47
- extend self
48
-
49
50
  def on_reindex(&block)
50
51
  @reindex = block
51
52
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flex-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-16 00:00:00.000000000 Z
12
+ date: 2013-08-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: flex
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 1.0.3
21
+ version: 1.0.4
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: 1.0.3
29
+ version: 1.0.4
30
30
  description: Provides binary and rake tasks to dump, load and optionally rename indices.
31
31
  Implements live-reindex with hot-swap of old code/index with new code/index.
32
32
  email: dd.nexus@gmail.com
@@ -42,9 +42,9 @@ files:
42
42
  - flex-admin.gemspec
43
43
  - lib/flex-admin.rb
44
44
  - lib/flex/admin.rb
45
- - lib/flex/live_reindex.rb
45
+ - lib/flex/live_reindex_admin.rb
46
46
  - lib/tasks.rake
47
- homepage: http://github.com/ddnexus/flex-admin
47
+ homepage: http://github.com/ddnexus/flex
48
48
  licenses:
49
49
  - MIT
50
50
  post_install_message: