myreplicator 1.1.10 → 1.1.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -175,14 +175,15 @@ module Myreplicator
175
175
  cmd = Myreplicator.mysql
176
176
  cmd += "#{flags} "
177
177
 
178
+ cmd += "-u#{db_configs(db)["username"]} -p#{db_configs(db)["password"]} "
179
+
178
180
  if db_configs(db).has_key? "socket"
179
181
  cmd += "--socket=#{db_configs(db)["socket"]} "
180
182
  else
181
- cmd += "-u#{db_configs(db)["username"]} -p#{db_configs(db)["password"]} "
183
+ cmd += "-h#{db_host} "
184
+ cmd += db_configs(db)["port"].blank? ? "-P3306 " : "-P#{db_configs(db)["port"]} "
182
185
  end
183
186
 
184
- cmd += "-h#{db_host} "
185
- cmd += db_configs(db)["port"].blank? ? "-P3306 " : "-P#{db_configs(db)["port"]} "
186
187
  cmd += "--execute=\"#{get_outfile_sql(options)}\" "
187
188
 
188
189
  puts cmd
@@ -1,3 +1,3 @@
1
1
  module Myreplicator
2
- VERSION = "1.1.10"
2
+ VERSION = "1.1.11"
3
3
  end
@@ -8535,3 +8535,29 @@ DEPRECATION WARNING: Database connections will not be closed automatically, plea
8535
8535
  database connection at the end of the thread by calling `close` on your
8536
8536
  connection. For example: ActiveRecord::Base.connection.close
8537
8537
  . (called from mon_synchronize at /Users/lnguyen/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/monitor.rb:211)
8538
+
8539
+
8540
+ Started GET "/okl_logo_small.png" for 127.0.0.1 at 2013-03-15 17:46:22 -0700
8541
+
8542
+ ActionController::RoutingError (No route matches [GET] "/okl_logo_small.png"):
8543
+ actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
8544
+ actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
8545
+ railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
8546
+ railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
8547
+ actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
8548
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
8549
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
8550
+ activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
8551
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
8552
+ actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
8553
+ railties (3.2.8) lib/rails/engine.rb:479:in `call'
8554
+ railties (3.2.8) lib/rails/application.rb:223:in `call'
8555
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
8556
+ railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
8557
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
8558
+ /Users/lnguyen/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
8559
+ /Users/lnguyen/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
8560
+ /Users/lnguyen/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
8561
+
8562
+
8563
+ Rendered /Users/lnguyen/.rvm/gems/ruby-1.9.3-p374/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (8.1ms)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: myreplicator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.10
4
+ version: 1.1.11
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-03-14 00:00:00.000000000 Z
12
+ date: 2013-03-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -357,7 +357,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
357
357
  version: '0'
358
358
  segments:
359
359
  - 0
360
- hash: 2157618431943797521
360
+ hash: 2476789864744035826
361
361
  required_rubygems_version: !ruby/object:Gem::Requirement
362
362
  none: false
363
363
  requirements:
@@ -366,7 +366,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
366
366
  version: '0'
367
367
  segments:
368
368
  - 0
369
- hash: 2157618431943797521
369
+ hash: 2476789864744035826
370
370
  requirements: []
371
371
  rubyforge_project:
372
372
  rubygems_version: 1.8.24