fuburake 1.0.1.39 → 1.0.1.40

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +8 -8
  2. data/lib/fuburake.rb +4 -0
  3. data/lib/platform.rb +2 -3
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZjdiYjE4NWNhYzhjOTc3MDIzMjliMzU4MjcyMGZmY2E1ZTM5OWZhZA==
4
+ MTI2ZTcwMDczMGQ5Y2FkNGE3ZGQ1N2NkYTFlZTYxNmM4YTY0NzNjMA==
5
5
  data.tar.gz: !binary |-
6
- OWFhMzNjNDA5N2U0MmFjZThlYjE1YjVlNjI3OGI2N2I3ODZmYjkzNg==
6
+ ZTc5OWYyZTE2ZmNlZjk1YmNiOWM1YTQ3N2VhYzEwYTUyNjgxYzVmYQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YTEwOTVmMzdmZGZiM2EzNDRhOTU5OTgzYWNiNTQ3MjdkMjhjYjgyM2ZhMzc3
10
- M2JhNDk1ZmZkYWUxNDA4ZTFlZGY0YTM0YTFlMGYyMzk0MmQ3MDYwNDQ5YWEy
11
- MTU4MDZhY2U4MzIxYWM5NGMzZjQzYmY0YjI5MzY2Y2FiYzg1MTk=
9
+ ODlkMzA4NTEwMDMwYzc0ZjZiZWFlMGM4ZGUzNDA3OGZjMDI1MjBiYjZhMmEz
10
+ OWM3NGE1OWYyOTllYTA5NjYzMGNkZGMwNGM3NjkwMGQwZTY1MDllN2JhYWU3
11
+ ZDI2NzE2YWUyMzVmZTljZjZhNWVmZWUyNDg5NmY4YTVjZTNjYWI=
12
12
  data.tar.gz: !binary |-
13
- MTBlNDQ3ZDEwMzhlOGNmODg0NGQ0ZjdhNWJhYmYwNDZlNDAxMzUwMDg0MDk3
14
- NjAyOTI1YmRjNDI1NDAzMDZjMjhjMjQzMjQ5OTlhOWY2OThkY2YzYjcwYmJl
15
- Mjk4ZTVjMWJhOWU4ZjMwZTcyNDkxNzAxYWMxYWNjNmFjMmI1MmI=
13
+ ZDRiZWNiOGYwNWNhNzgxOGFlNjcwODI0ZmE3MWJmOGZmMTViMThlNTU2NTg1
14
+ MjliNmM2YWNmZDFhYzI3NzkzMzA3ODYzZTFiNDE0MDlhM2ViOWFlYmUzN2Zm
15
+ NWZhMjY5YzgzOTlhNjcyNmFhODNiNDcyNTI3YWNmYzc3NzljMGI=
data/lib/fuburake.rb CHANGED
@@ -321,6 +321,10 @@ module FubuRake
321
321
  args += " -p:#{options[:password]}"
322
322
  end
323
323
 
324
+ if (options[:sudo] == true)
325
+ args += " --sudo"
326
+ end
327
+
324
328
  if (options[:autostart] == true)
325
329
  args += " --autostart"
326
330
  end
data/lib/platform.rb CHANGED
@@ -30,12 +30,11 @@ module Platform
30
30
  def self.start(command)
31
31
  if self.is_linux
32
32
  command = "xterm -e '#{command}'"
33
- elsif self.is_darmin
33
+ elsif self.is_darwin
34
34
  command = "Terminal -e '#{command}'"
35
35
  else
36
- command = "start '#{command}'"
36
+ command = "start #{command}"
37
37
  end
38
- sh command
39
38
  end
40
39
 
41
40
  def self.runtime(cmd, runtime='v4.0.30319')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fuburake
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1.39
4
+ version: 1.0.1.40
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy D. Miller
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-12-17 00:00:00.000000000 Z
13
+ date: 2013-12-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: ripple-cli