karo 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of karo might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6412b96a09152c57b747a5b598281a960341177a
4
- data.tar.gz: 86bf8989096685da28d41543f8c55525dee8720c
3
+ metadata.gz: 94c8f41c2c2c2ca7892c4a32631754edbd688325
4
+ data.tar.gz: 2ae932e067daaece50d4ded3bc5e426672f17df2
5
5
  SHA512:
6
- metadata.gz: 0159dbf955624062988815439ec8e210d72ccd53b080dc6b3d1fd91d514c69a89e9c4ef91d2df59a0854f9cc68a21272b791d689a9f495ed11d886a3481cf187
7
- data.tar.gz: 02f5f646e498ddc6539d18dffd7883d83c9c58742e3617a7398dc7e637e70b944f89bca3755e01da595f6f004cf91e16db38b963f79737fa7bc9ac2e375c7e68
6
+ metadata.gz: ac23517374c9817c16fe40c9445495cccc77c46d2e748c583c7b37f1ffadab24677665d1d64e2a237173c7f9131c7c06b524bbaca4bd668928626e1f43663aae
7
+ data.tar.gz: 494a5fd7385038ff0b36f00917b6b4b6788eee8ccaa4f00e8d3d6c9019a665cbadb02a8da5fd31678d5fd7a58c51865869554e353d8928a453c8ba1bcd6d7b70
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## v1.2.1
4
+
5
+ ### Bug Fixes
6
+
7
+ - Fixed a bug causing db pull to fail if no database exist
8
+
3
9
  ## v1.2.0
4
10
 
5
11
  ### Features
data/lib/karo/db.rb CHANGED
@@ -52,7 +52,7 @@ module Karo
52
52
  say "Loading #{options[:environment]} server database configuration", :green
53
53
 
54
54
  # Drop local database and re-create
55
- system "mysql -v -h #{local_db_config["host"]} -u#{local_db_config["username"]} -p#{local_db_config["password"]} -e 'DROP DATABASE `#{local_db_config["database"]}`; CREATE DATABASE IF NOT EXISTS `#{local_db_config["database"]}`;'"
55
+ system "mysql -v -h #{local_db_config["host"]} -u#{local_db_config["username"]} -p#{local_db_config["password"]} -e 'DROP DATABASE IF EXISTS `#{local_db_config["database"]}`; CREATE DATABASE IF NOT EXISTS `#{local_db_config["database"]}`;'"
56
56
 
57
57
  ssh = "ssh #{configuration["user"]}@#{configuration["host"]}"
58
58
 
data/lib/karo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Karo
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: karo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rahul Trikha