vx-builder 0.5.18 → 0.5.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/vx_ruby_auto_build +13 -1
- data/lib/vx/builder/version.rb +1 -1
- 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: 0bfa3dad412e205dc7652efe10a53201e045d3dd
|
4
|
+
data.tar.gz: 9e9539f98154708819b0c36c4aa87f13fd6b42b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b1c095e1b56f29b0058264a5efbd0c9e55c29a822f92fdfdd12387140c60c095263521ef58cf530c88c0c0735b90b9ec8c2d1cec0b461510de12d10392f3873
|
7
|
+
data.tar.gz: 0181d6f657e4a1b9ec5d0720c23e137ff50756c99ea9c0f14eb0ae4f47ae2f89f315de3c40c5730b70ef06e57ba96f47b7e0b58d3ea72b8b242bfc8fabe4bbfc
|
data/bin/vx_ruby_auto_build
CHANGED
@@ -46,6 +46,17 @@ EOL
|
|
46
46
|
)
|
47
47
|
}
|
48
48
|
|
49
|
+
rails_gen_database_spec_for_sqlite () {
|
50
|
+
bundle show sqlite3 > /dev/null && (
|
51
|
+
notice 'create config/database.yml for sqlite3'
|
52
|
+
cat > config/database.yml <<EOL
|
53
|
+
test:
|
54
|
+
adapter: sqlite3
|
55
|
+
database: db/test.sqlite3
|
56
|
+
EOL
|
57
|
+
)
|
58
|
+
}
|
59
|
+
|
49
60
|
rails_db_create () {
|
50
61
|
echo $ bundle exec rake db:create
|
51
62
|
bundle exec rake db:create
|
@@ -65,7 +76,8 @@ rails_setup_database () {
|
|
65
76
|
rails_detect && (
|
66
77
|
(
|
67
78
|
rails_gen_database_spec_for_pg ||
|
68
|
-
rails_gen_database_spec_for_mysql
|
79
|
+
rails_gen_database_spec_for_mysql ||
|
80
|
+
rails_gen_database_spec_for_sqlite
|
69
81
|
) &&
|
70
82
|
rails_db_create
|
71
83
|
)
|
data/lib/vx/builder/version.rb
CHANGED