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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ro_thor.rb +2 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 16e3c4918cf4fd964dfb9815f913e00a5d105c34
4
- data.tar.gz: c4ace374373185d9431b8fb93d961722622f83a5
3
+ metadata.gz: d34d7aa1f871564500f58c24f3e2c768cf1185a5
4
+ data.tar.gz: 4b1c238a3f75575f17df87ba68514ef562b2f8a1
5
5
  SHA512:
6
- metadata.gz: 80c16a256c4233da8b0e44a771acd403a050351a1995b99962ba75553646f6599e4a0abe3cdefa07f7464f1bd8296e974d2763661e368e9e7df85382b82dc444
7
- data.tar.gz: e041ef6a6a363aa9e7028ab19090de9e31e751c668064a337951d68965c7ad648121e7a207972f04994745dfa587f828639ae7b5ae3df3db6fbd5db149c6cbc6
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 mv #{f} #{buffer}"
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.6
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-25 00:00:00.000000000 Z
11
+ date: 2015-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor