thor-ssh 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,10 @@
1
1
  # Extend create file to work over ssh
2
2
  class Thor
3
3
  module Actions
4
+ def read_file(path)
5
+ destination_files.binread(path)
6
+ end
7
+
4
8
  class CreateFile
5
9
  def identical?
6
10
  exists? && @base.destination_files.binread(destination) == render
@@ -1,3 +1,3 @@
1
1
  module ThorSsh
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thor-ssh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-05 00:00:00.000000000 Z
12
+ date: 2012-06-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
@@ -207,7 +207,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
207
207
  version: '0'
208
208
  segments:
209
209
  - 0
210
- hash: -1411870547247624210
210
+ hash: 2812887104444648608
211
211
  required_rubygems_version: !ruby/object:Gem::Requirement
212
212
  none: false
213
213
  requirements:
@@ -216,7 +216,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
216
216
  version: '0'
217
217
  segments:
218
218
  - 0
219
- hash: -1411870547247624210
219
+ hash: 2812887104444648608
220
220
  requirements: []
221
221
  rubyforge_project:
222
222
  rubygems_version: 1.8.22