frame 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- frame (0.1.0)
4
+ frame (0.1.1)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
@@ -32,7 +32,7 @@ end
32
32
  task :backup, :roles => :db, :only => { :primary => true } do
33
33
  filename = "#{Rails.application.class.parent_name.downcase}.db_backup.#{Time.now.to_f}.sql.bz2"
34
34
  filepath = File.join(deploy_to,'current',filename)
35
- config = YAML.load_file(File.join(deploy_to,'private', 'config', 'database.yml')
35
+ config = YAML.load_file(File.join(deploy_to,'private', 'config', 'database.yml'))
36
36
  run "mysqldump -u #{config['production']['username']} -p #{config['production']['database']} | bzip2 -c > #{filepath}" do |ch, stream, out|
37
37
  ch.send_data "#{config['production']['password']}\n" if out =~ /^Enter password:/
38
38
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: frame
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: