youthtree-capistrano 0.2.1 → 0.2.2

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.
@@ -1,6 +1,6 @@
1
1
  module YouthTree
2
2
  module Capistrano
3
- VERSION = "0.2.1".freeze
3
+ VERSION = "0.2.2".freeze
4
4
 
5
5
  def self.load(&blk)
6
6
  ::Capistrano::Configuration.instance(:must_exist).load(&blk)
@@ -36,7 +36,7 @@ YouthTree::Capistrano.load_named(:syncing) do
36
36
  desc "Loads data into the remote db from the given file"
37
37
  task :load_remote_db do
38
38
  run "mkdir -p '#{syncing_current_remote_dir}'"
39
- run "cd '#{syncing_current_remote_dir}' && tar xzf '#{syncing_remote_archive}' ."
39
+ run "cd '#{syncing_current_remote_dir}' && tar xzf '#{syncing_remote_archive}'"
40
40
  bundle_exec "ydd load '#{syncing_current_remote_dir}' '#{latest_release}' --env='#{rails_env}'"
41
41
  end
42
42
 
@@ -50,7 +50,7 @@ YouthTree::Capistrano.load_named(:syncing) do
50
50
  desc "Loads data into the local db from the given file"
51
51
  task :load_local_db do
52
52
  lrun "mkdir -p '#{syncing_current_local_dir}'"
53
- lrun "cd '#{syncing_current_local_dir}' && tar xzf '#{syncing_local_archive}' ."
53
+ lrun "cd '#{syncing_current_local_dir}' && tar xzf '#{syncing_local_archive}'"
54
54
  lrun "ydd load '#{syncing_current_local_dir}' '#{Dir.pwd}'"
55
55
  end
56
56
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{youthtree-capistrano}
8
- s.version = "0.2.1"
8
+ s.version = "0.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Darcy Laycock"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: youthtree-capistrano
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 1
10
- version: 0.2.1
9
+ - 2
10
+ version: 0.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Darcy Laycock