capobvious 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/capobvious.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  $:.push File.expand_path("../lib", __FILE__)
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "capobvious"
@@ -96,7 +96,9 @@ namespace :db do
96
96
  system "cd #{local_folder_path} && 7z x #{file_name}"
97
97
  system "echo \"drop database #{local_database}\" | #{run_local_psql}"
98
98
  system "echo \"create database #{local_database} owner #{local_db_username};\" | #{run_local_psql}"
99
- system "#{run_local_psql} #{local_database} < #{local_folder_path}/#{db_file_name}"
99
+ # system "#{run_local_psql} #{local_database} < #{local_folder_path}/#{db_file_name}"
100
+ puts "ENTER your development password: #{local_db_password}"
101
+ system "psql -U#{local_db_username} #{local_database} < #{local_folder_path}/#{db_file_name}"
100
102
  system "rm #{local_folder_path}/#{db_file_name}"
101
103
  end
102
104
  task :pg_import do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capobvious
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -44,7 +44,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
44
44
  version: '0'
45
45
  requirements: []
46
46
  rubyforge_project: capobvious
47
- rubygems_version: 1.8.15
47
+ rubygems_version: 1.8.10
48
48
  signing_key:
49
49
  specification_version: 3
50
50
  summary: Cap recipes