mysql-slaver 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/mysql_slaver +2 -1
  2. data/lib/mysql_slaver.rb +12 -8
  3. metadata +3 -3
data/bin/mysql_slaver CHANGED
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require 'lib/mysql_slaver'
3
+ require 'rubygems'
4
+ require 'mysql_slaver'
4
5
 
5
6
  MysqlSlaver::CLI.start(ARGV)
data/lib/mysql_slaver.rb CHANGED
@@ -1,10 +1,14 @@
1
1
  require 'rubygems'
2
2
  require 'thor'
3
- require 'lib/mysql_slaver/logger'
4
- require 'lib/mysql_slaver/executor'
5
- require 'lib/mysql_slaver/mysql_command'
6
- require 'lib/mysql_slaver/slaver'
7
- require 'lib/mysql_slaver/status_fetcher'
8
- require 'lib/mysql_slaver/db_copier'
9
- require 'lib/mysql_slaver/master_changer'
10
- require 'lib/mysql_slaver/cli'
3
+
4
+ libdir = File.join(File.dirname(__FILE__), 'mysql_slaver')
5
+
6
+ require "#{libdir}/logger"
7
+ require "#{libdir}/logger"
8
+ require "#{libdir}/executor"
9
+ require "#{libdir}/mysql_command"
10
+ require "#{libdir}/slaver"
11
+ require "#{libdir}/status_fetcher"
12
+ require "#{libdir}/db_copier"
13
+ require "#{libdir}/master_changer"
14
+ require "#{libdir}/cli"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mysql-slaver
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 5
10
- version: 0.1.5
9
+ - 6
10
+ version: 0.1.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Salgado