dysinger-rush 0.4.1221060147 → 0.4.1221072146

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/rush/box.rb +2 -0
  2. data/lib/rush/dir.rb +2 -0
  3. metadata +1 -1
data/lib/rush/box.rb CHANGED
@@ -76,6 +76,8 @@ class Rush::Box
76
76
  end
77
77
  end
78
78
 
79
+ alias_method(:sh, :bash)
80
+
79
81
  def command_with_environment(command, env) # :nodoc:
80
82
  return command unless env
81
83
 
data/lib/rush/dir.rb CHANGED
@@ -123,6 +123,8 @@ class Rush::Dir < Rush::Entry
123
123
  box.bash "cd #{full_path} && #{command}", options
124
124
  end
125
125
 
126
+ alias_method(:sh, :bash)
127
+
126
128
  # Destroy all of the contents of the directory, leaving it fresh and clean.
127
129
  def purge
128
130
  connection.purge full_path
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dysinger-rush
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1221060147
4
+ version: 0.4.1221072146
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Wiggins