remote_cp 0.0.9 → 0.0.10

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.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- remote_cp (0.0.8)
4
+ remote_cp (0.0.9)
5
5
  aws-s3
6
6
  minitar
7
7
  thor
data/bin/rt CHANGED
@@ -10,10 +10,9 @@ require 'remote_cp'
10
10
  class Clipboard < Thor
11
11
  include Archive::Tar
12
12
  include AWS::S3
13
- include RemoteCp
14
13
 
15
14
  def initialize(*args)
16
- @clipboard = Clipboard.new
15
+ @clipboard = RemoteCp::Clipboard.new
17
16
  super
18
17
  end
19
18
 
@@ -0,0 +1,9 @@
1
+ def rt_cat
2
+ @clipboard ||= RemoteCp::Clipboard.new
3
+ @clipboard.pull
4
+ end
5
+
6
+ def rt_cp
7
+ @clipboard ||= RemoteCp::Clipboard.new
8
+ @clipboard.push(self)
9
+ end
@@ -1,3 +1,3 @@
1
1
  module RemoteCp
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
data/lib/remote_cp.rb CHANGED
@@ -3,6 +3,7 @@ require 'zlib'
3
3
  require 'archive/tar/minitar'
4
4
  require 'thor'
5
5
  require 'aws/s3'
6
+ require 'remote_cp/core_ext'
6
7
 
7
8
  include AWS::S3
8
9
 
@@ -86,4 +87,4 @@ module RemoteCp
86
87
  obj
87
88
  end
88
89
  end
89
- end
90
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remote_cp
3
3
  version: !ruby/object:Gem::Version
4
- hash: 13
4
+ hash: 11
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 9
10
- version: 0.0.9
9
+ - 10
10
+ version: 0.0.10
11
11
  platform: ruby
12
12
  authors:
13
13
  - Martin Chabot
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-04-23 00:00:00 -04:00
18
+ date: 2011-04-24 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -93,6 +93,7 @@ files:
93
93
  - Rakefile
94
94
  - bin/rt
95
95
  - lib/remote_cp.rb
96
+ - lib/remote_cp/core_ext.rb
96
97
  - lib/remote_cp/version.rb
97
98
  - remote_cp.gemspec
98
99
  has_rdoc: true