ferry 1.3.2 → 1.3.3
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.
- checksums.yaml +4 -4
- data/lib/ferry.rb +0 -1
- data/lib/ferry/dumper.rb +0 -1
- data/lib/ferry/filler.rb +0 -1
- data/lib/ferry/version.rb +1 -1
- metadata +2 -4
- data/script/mysql2_install.sh +0 -19
- data/script/postgresql_install.sh +0 -30
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2ea374461adb3e147321f225cb172802431a78a
|
4
|
+
data.tar.gz: fae16da54831f76bbc8722d47c5bb8ddedad3313
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fc0b7f1a21ab1a7cf7a6d12fcb131615f2e1ae59829464ab3d9a68a1ebd9ff24a28768023ccf1d9938b110531f3967690a5f6412471ed865529cd8356b0e26d
|
7
|
+
data.tar.gz: a29778e674b94c6c89296753e94c98b0bc1ade3993083e595ea4b94b613f060a938a36b104febad177318687a7bf29fd3e68c566440876a922691f33f2251713
|
data/lib/ferry.rb
CHANGED
data/lib/ferry/dumper.rb
CHANGED
data/lib/ferry/filler.rb
CHANGED
@@ -18,7 +18,6 @@ module Ferry
|
|
18
18
|
}
|
19
19
|
if check_valid_db(@dbadapter) && check_valid_filetype(@filepath)
|
20
20
|
execute(@commands[@dbadapter])
|
21
|
-
p "Complete!"
|
22
21
|
else
|
23
22
|
raise "Dump failed: Check to make sure #{@filepath} exists and is the proper type and that #{@dbenv} is supported in our documentation."
|
24
23
|
return false
|
data/lib/ferry/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ferry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anthony Corletti
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-04-
|
13
|
+
date: 2015-04-23 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activerecord
|
@@ -225,8 +225,6 @@ files:
|
|
225
225
|
- lib/ferry/importer.rb
|
226
226
|
- lib/ferry/utilities.rb
|
227
227
|
- lib/ferry/version.rb
|
228
|
-
- script/mysql2_install.sh
|
229
|
-
- script/postgresql_install.sh
|
230
228
|
- spec/config/database.yml
|
231
229
|
- spec/contexts.rb
|
232
230
|
- spec/ferry_spec.rb
|
data/script/mysql2_install.sh
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
|
3
|
-
# install mysql
|
4
|
-
mysql=`brew list | grep mysql`
|
5
|
-
if [[ ! $mysql ]]; then
|
6
|
-
echo ''
|
7
|
-
echo '##### Installing Formula Mysql via homebrew ...'
|
8
|
-
brew install mysql
|
9
|
-
echo '##### starting local mysql server'
|
10
|
-
mysql.server start
|
11
|
-
fi
|
12
|
-
|
13
|
-
# install postgres gem
|
14
|
-
mysql_gem=`gem list mysql2`
|
15
|
-
if [[ ! $mysql_gem ]]; then
|
16
|
-
echo ''
|
17
|
-
echo '##### Installing Mysql2 Gem ...'
|
18
|
-
gem install mysql2
|
19
|
-
fi
|
@@ -1,30 +0,0 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
|
3
|
-
# install postgres
|
4
|
-
postgres=`brew list | grep postgres | bundle list pg`
|
5
|
-
if [[ ! $postgres ]]; then
|
6
|
-
echo ''
|
7
|
-
echo '##### Installing Postgres via Postgres.app ...'
|
8
|
-
echo '##### To Downloads folder'
|
9
|
-
cd ~/Downloads
|
10
|
-
echo '##### curl -O https://github.com/PostgresApp/PostgresApp/releases/download/9.3.5.2/Postgres-9.3.5.2.zip'
|
11
|
-
curl -O https://github.com/PostgresApp/PostgresApp/releases/download/9.3.5.2/Postgres-9.3.5.2.zip
|
12
|
-
echo '##### Open that zip'
|
13
|
-
open Postgres-9.3.5.2.zip
|
14
|
-
echo '##### Moving to Applications dir'
|
15
|
-
mv ~/Downloads/Postgres.app /Applications
|
16
|
-
echo '##### Starting Postgres'
|
17
|
-
open Postgres.app
|
18
|
-
else
|
19
|
-
echo 'nothing to install'
|
20
|
-
fi
|
21
|
-
|
22
|
-
# install postgres gem
|
23
|
-
pg_gem=`gem list pg`
|
24
|
-
if [[ ! $pg_gem ]]; then
|
25
|
-
echo ''
|
26
|
-
echo '##### Installing PG Gem ...'
|
27
|
-
gem install pg
|
28
|
-
else
|
29
|
-
echo 'nothing to install'
|
30
|
-
fi
|