gemika 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/lib/gemika/database.rb +1 -1
- data/lib/gemika/matrix_tasks.rb +2 -2
- data/lib/gemika/version.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4c5655b3f616e132d01d22f50a6de28b11a5fa6
|
4
|
+
data.tar.gz: 5e0e381d61905db6a25f9b51f0f2a976da9ee369
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f867ed9e9bae056e1e9b1a48d8b4a1440ebd9b2e2df776adcbe78ed827b11ef31b6c82ee55bfc59fc022971da856c5c802dc7a19799ab9784d332fc71638ccc8
|
7
|
+
data.tar.gz: 8c400e5f38a76d55a012597f3ae8ccdd697ce3958af25020c06318188557111b1510f920fd4eb3ab457b1626ae8321332e3b447c18e54564067a751d925a1848
|
data/.gitignore
CHANGED
data/lib/gemika/database.rb
CHANGED
@@ -17,7 +17,7 @@ module Gemika
|
|
17
17
|
if pg?
|
18
18
|
adapter_config = (@config['postgresql'] || @config['postgres'] || @config['pg']).merge(adapter: 'postgresql')
|
19
19
|
elsif mysql2?
|
20
|
-
adapter_config = (@config['
|
20
|
+
adapter_config = (@config['mysql'] || @config['mysql2']).merge(adapter: 'mysql2', encoding: 'utf8')
|
21
21
|
else
|
22
22
|
raise "Unknown database type"
|
23
23
|
end
|
data/lib/gemika/matrix_tasks.rb
CHANGED
@@ -17,9 +17,9 @@ namespace :matrix do
|
|
17
17
|
end
|
18
18
|
|
19
19
|
desc "Update all Ruby #{RUBY_VERSION} gemfiles"
|
20
|
-
task :update do
|
20
|
+
task :update, :gems do |t, args|
|
21
21
|
Gemika::Matrix.from_travis_yml.each do
|
22
|
-
system(
|
22
|
+
system("bundle update #{args[:gems]}")
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
data/lib/gemika/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
module Gemika
|
2
|
-
VERSION = '0.1.
|
3
|
-
end
|
2
|
+
VERSION = '0.1.1'
|
3
|
+
end
|