mmode 0.0.7 → 0.0.8

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/mmode/user.rb +1 -2
  2. data/lib/mmode/version.rb +1 -1
  3. metadata +4 -4
@@ -1,6 +1,5 @@
1
1
  module Mmode
2
2
  class User
3
-
4
3
  attr_accessor :name
5
4
 
6
5
  def initialize(name)
@@ -22,7 +21,7 @@ module Mmode
22
21
  end
23
22
 
24
23
  def run_if_user_exists(command)
25
- "ssh scrcpt2.nine.ch \"if [ -d '#{homedir}' ]; then #{command}; else echo #{error}; fi\""
24
+ `ssh scrcpt2.nine.ch \"if [ -d '#{homedir}' ]; then #{command}; else echo #{error}; fi\"`
26
25
  end
27
26
 
28
27
  def error
@@ -1,3 +1,3 @@
1
1
  module Mmode
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mmode
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 7
10
- version: 0.0.7
9
+ - 8
10
+ version: 0.0.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Felipe Kaufmann
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-04-23 00:00:00 Z
18
+ date: 2012-05-18 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: thor