myreplicator 1.1.6 → 1.1.7
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/lib/exporter/mysql_exporter.rb +1 -0
 - data/lib/exporter/sql_commands.rb +2 -2
 - data/lib/myreplicator/version.rb +1 -1
 - metadata +3 -3
 
| 
         @@ -103,8 +103,8 @@ module Myreplicator 
     | 
|
| 
       103 
103 
     | 
    
         | 
| 
       104 
104 
     | 
    
         
             
                  cmd = Myreplicator.mysql
         
     | 
| 
       105 
105 
     | 
    
         
             
                  cmd += "#{flags} -u#{db_configs(db)["username"]} -p#{db_configs(db)["password"]} " 
         
     | 
| 
       106 
     | 
    
         
            -
                  cmd += "-h#{db_host} " 
         
     | 
| 
       107 
106 
     | 
    
         | 
| 
      
 107 
     | 
    
         
            +
                  cmd += "-h#{db_host} " 
         
     | 
| 
       108 
108 
     | 
    
         
             
                  cmd += db_configs(db)["port"].blank? ? "-P3306 " : "-P#{db_configs(db)["port"]} "
         
     | 
| 
       109 
109 
     | 
    
         
             
                  cmd += "--execute=\"#{options[:sql]}\" "
         
     | 
| 
       110 
110 
     | 
    
         
             
                  cmd += " > #{options[:filepath]} "
         
     | 
| 
         @@ -175,7 +175,7 @@ module Myreplicator 
     | 
|
| 
       175 
175 
     | 
    
         
             
                    cmd += "-u#{db_configs(db)["username"]} -p#{db_configs(db)["password"]} " 
         
     | 
| 
       176 
176 
     | 
    
         
             
                  end
         
     | 
| 
       177 
177 
     | 
    
         | 
| 
       178 
     | 
    
         
            -
                  cmd += "-h#{db_host} "  
     | 
| 
      
 178 
     | 
    
         
            +
                  cmd += "-h#{db_host} " 
         
     | 
| 
       179 
179 
     | 
    
         
             
                  cmd += db_configs(db)["port"].blank? ? "-P3306 " : "-P#{db_configs(db)["port"]} "
         
     | 
| 
       180 
180 
     | 
    
         
             
                  cmd += "--execute=\"#{get_outfile_sql(options)}\" "
         
     | 
| 
       181 
181 
     | 
    
         | 
    
        data/lib/myreplicator/version.rb
    CHANGED
    
    
    
        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. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.1.7
         
     | 
| 
       5 
5 
     | 
    
         
             
              prerelease: 
         
     | 
| 
       6 
6 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       7 
7 
     | 
    
         
             
            authors:
         
     | 
| 
         @@ -370,7 +370,7 @@ required_ruby_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       370 
370 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       371 
371 
     | 
    
         
             
                  segments:
         
     | 
| 
       372 
372 
     | 
    
         
             
                  - 0
         
     | 
| 
       373 
     | 
    
         
            -
                  hash:  
     | 
| 
      
 373 
     | 
    
         
            +
                  hash: 45298977780065472
         
     | 
| 
       374 
374 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       375 
375 
     | 
    
         
             
              none: false
         
     | 
| 
       376 
376 
     | 
    
         
             
              requirements:
         
     | 
| 
         @@ -379,7 +379,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       379 
379 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       380 
380 
     | 
    
         
             
                  segments:
         
     | 
| 
       381 
381 
     | 
    
         
             
                  - 0
         
     | 
| 
       382 
     | 
    
         
            -
                  hash:  
     | 
| 
      
 382 
     | 
    
         
            +
                  hash: 45298977780065472
         
     | 
| 
       383 
383 
     | 
    
         
             
            requirements: []
         
     | 
| 
       384 
384 
     | 
    
         
             
            rubyforge_project: 
         
     | 
| 
       385 
385 
     | 
    
         
             
            rubygems_version: 1.8.23
         
     |