ro_thor 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ro_thor.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d34d7aa1f871564500f58c24f3e2c768cf1185a5
|
4
|
+
data.tar.gz: 4b1c238a3f75575f17df87ba68514ef562b2f8a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31415a4d6ca0c524b57bc9ab030a2e1ef048b890d5359d1ac50bdc4287f7b21bc45b3b9e6b1b3759154fd55e8d8c579156099680752ebe17586a51a107510cc9
|
7
|
+
data.tar.gz: 6aeb5990d2be76742ace5260d67f4256695a9c6aa9e0f14dc892ef64bae0ae0fb9b8c2548ce53431376155ae18a5f953b8decf9a7d3c4f7fc67eaa0999d43a3e
|
data/lib/ro_thor.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
require 'thor'
|
2
2
|
require 'open3'
|
3
3
|
require 'active_support/core_ext/array'
|
4
|
+
require 'pathname'
|
4
5
|
|
5
6
|
class RoThor < Thor
|
6
7
|
class << self
|
@@ -27,7 +28,7 @@ class RoThor < Thor
|
|
27
28
|
end
|
28
29
|
|
29
30
|
def read(f, *args, &blk)
|
30
|
-
bash "sudo
|
31
|
+
bash "sudo cp #{f} #{buffer}"
|
31
32
|
File.read(buffer)
|
32
33
|
end
|
33
34
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ro_thor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|