ferry 1.3.2 → 1.3.3

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: 069e210a3e3bae19e3c57d652c7eb113bb46773e
4
- data.tar.gz: b6adf60a7bcc2e3b488e53b732c61dc518ba1459
3
+ metadata.gz: d2ea374461adb3e147321f225cb172802431a78a
4
+ data.tar.gz: fae16da54831f76bbc8722d47c5bb8ddedad3313
5
5
  SHA512:
6
- metadata.gz: 12ebfb91b47c796aa3e2d39adb8c1d952078d1030374a3090b1657311b507f07029cc5d2ff578292ab6c5677913ac39e43d0a9d0ce05b8275192a402f1b7cb07
7
- data.tar.gz: a7eb8d5eebab048992eed7db72e1acd08e141b9815aca80a5d273a00620bc02d77be967e36358ab399f54314a29f28557b82a611875f8416006b1aac21a7bfa1
6
+ metadata.gz: 3fc0b7f1a21ab1a7cf7a6d12fcb131615f2e1ae59829464ab3d9a68a1ebd9ff24a28768023ccf1d9938b110531f3967690a5f6412471ed865529cd8356b0e26d
7
+ data.tar.gz: a29778e674b94c6c89296753e94c98b0bc1ade3993083e595ea4b94b613f060a938a36b104febad177318687a7bf29fd3e68c566440876a922691f33f2251713
@@ -11,7 +11,6 @@ require 'highline/import'
11
11
  require 'optparse'
12
12
  require 'progressbar'
13
13
  require 'pp'
14
- Dir["../../script/.sh"].each {|file| require file }
15
14
  require 'yaml'
16
15
 
17
16
  module Ferry
@@ -15,7 +15,6 @@ module Ferry
15
15
  if check_valid_db(@dbadapter)
16
16
  create_dirs
17
17
  execute(@commands[@dbadapter])
18
- p "Complete!"
19
18
  else
20
19
  raise "Dump failed: #{@dbadapter} is not supported by ferry at this time"
21
20
  return false
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Ferry
2
- VERSION = "1.3.2"
2
+ VERSION = "1.3.3"
3
3
  end
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.2
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-20 00:00:00.000000000 Z
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
@@ -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