migsql 1.0.6 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f64099740e799ae5f22f6892a9db6d9d7c36fd78
4
- data.tar.gz: e5cd9d2217805ad0a5c640f54c6b69c86ffb3bb7
3
+ metadata.gz: c9c726ff2929f6b63493ef6668b84394f954b452
4
+ data.tar.gz: d5bc0d61a2d77d8440fc36b361d8d174e4d1190d
5
5
  SHA512:
6
- metadata.gz: a2143353fc0b516eab6bbb9f60952f6afc020749ed6f1f1f857e47cb1d28fad1ca09bc743ba8b53808bf06d5770147501545d521dd2f83dac4daf6b68b74f382
7
- data.tar.gz: d59ca627f647052f066329f510be15dae3a6d1d63323c3669a36a11b154e57b953e0644bb8a7eaaee10da8aa1c97b6b43d4e3b239ef6c74361440fe742c18d75
6
+ metadata.gz: 559d0e3a19248a8b14cc7fe8210aed8a655efec021c032811be2d9914a9689ead5e27ce2db9231fa82fe945cc8da0c386a9c61b2366bd17d7c93240cdcb07ec1
7
+ data.tar.gz: 6b1a1dccf3c3fc392cd2d40fd6d9b2a39d47cee8272bf85a84d9800a7de811b710f2742fa96ce963b641fd5ae5f562ba9bff18ac799a425b8690d036d3177b7f
data/lib/migsql/app.rb CHANGED
@@ -7,7 +7,7 @@ class MigSql
7
7
 
8
8
  def handle_argv(argv)
9
9
  if argv.length == 0
10
- puts 'Usage: migsql {init|create-migration|migrate}'.white
10
+ puts 'Usage: migsql {init|create-migration|migrate|apply}'.white
11
11
  else
12
12
  case argv[0]
13
13
  when 'init'
@@ -1,6 +1,5 @@
1
1
  require 'fileutils'
2
2
  require 'yaml'
3
- require 'tiny_tds'
4
3
  require 'colorize'
5
4
  require_relative 'sqlserver'
6
5
 
@@ -1,11 +1,11 @@
1
1
  require 'rake'
2
2
  require 'fileutils'
3
3
  require 'yaml'
4
- require 'tiny_tds'
5
4
  require 'colorize'
6
5
 
7
6
  class SqlServer
8
7
  def initialize(name, address, database, username, password)
8
+ require 'tiny_tds'
9
9
  @name = name
10
10
  @address = address
11
11
  @database = database
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: migsql
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karl Stoney
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-05 00:00:00.000000000 Z
11
+ date: 2014-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: tiny_tds
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - '>='
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - '>='
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: colorize
29
15
  requirement: !ruby/object:Gem::Requirement