gorgon 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,7 +16,7 @@ class SourceTreeSyncer
16
16
  Dir.chdir(@tempdir)
17
17
 
18
18
  exclude_opt = build_exclude_opt
19
- @sys_command = "#{SYS_COMMAND} #{OPTS} #{exclude_opt} -r --rsh=ssh #{@source_tree_path}/* ."
19
+ @sys_command = "#{SYS_COMMAND} #{OPTS} #{exclude_opt} -r --rsh=ssh #{@source_tree_path}/ ."
20
20
  system(@sys_command)
21
21
 
22
22
  return $?.exitstatus == 0
@@ -1,3 +1,3 @@
1
1
  module Gorgon
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -19,7 +19,7 @@ describe SourceTreeSyncer.new("") do
19
19
  end
20
20
 
21
21
  it "runs rsync system command with appropriate options" do
22
- cmd = /rsync.*-az.*-r --rsh=ssh path\/to\/source\/\* \./
22
+ cmd = /rsync.*-az.*-r --rsh=ssh path\/to\/source\/\ \./
23
23
  @syncer.should_receive(:system).with(cmd)
24
24
  @syncer.sync
25
25
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gorgon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: