usagewatch_ext 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZjI1MjAxNDFkODA3YjhlNjc5NWQ1OGVhNjRhMjgyZGFkNTk4MWFkMg==
4
+ NTg1NWQ4NGFkY2I4YWQ5YmQwNTE3YjllYmNhMjI4M2IyZjIyZDIzNA==
5
5
  data.tar.gz: !binary |-
6
- MDRjM2IzMjIxNTU5NDNjYTEzMTgyOTdmZmM2YjhmMDI1MTE2NTM3Ng==
6
+ NTRiNzQwZmQ0YmVkMzBmODIxNDQ1YTlmZDc4YjZhZjc1YjNlYzNjOA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZWVhYTMxMDZjZTFlZTI0YTU5N2FhMzVmNzM5NzkxNzVmNDJjZGJlYmJlZDA2
10
- ZDEyZGI0NTA0Y2RkNjJlOTkwYTU0NWY0ZjRkZDkyMDMwOWM4NTE1NDE1ZmMy
11
- ODE1MDVmNWRmMzUxM2E3N2FjMTBlNjg5YzdkNDdlN2JjZDI3OWM=
9
+ NzQzZTA3OGFlNTJmODg0ZGQwNzVmNjVkOWI4MGVmMzA5ZThjY2I2ZDFiYjll
10
+ ZDI4ZGUwZTUzMWI4NzJhM2JlMzc0YzhlZGIwMTFiZjAwODZlNjUxYTI5NjI4
11
+ ZTc0MTM5MTFiZDc3NjZjODJhYTU1ZjlmMTYyMTQyNjM0MzEyZTQ=
12
12
  data.tar.gz: !binary |-
13
- YTQxYjg5ZjM5YTZkOTJlNDY4YzJiZmNjNzJhYWQ1Yzc2Yzc1NjE2ZDg3NjNj
14
- N2Y0MzE0MjlmYTIwYzEyZDQxNGI4NWNlZjA5ZjI1N2Q3MDQ3ODk4NWY5MTUx
15
- N2ZlYzU3OGUwZjRmYjA3NDlkNGJiMmJlYTQzNGM3MWM5YmQxYzE=
13
+ MGEyYmZjMjI2MDA3N2MyM2M0NzVkNWM0YzA3MzQ1NzRhM2ZjZWU2NTNkZTQ4
14
+ YzkyZjYxMGNiNzA0NDA4MDdkOWZiMjNmN2Y2Yzk5NTEyMmQ1MmYyYTZlYzc1
15
+ YzRiYTcyNjMxYTcwY2UxOWJmM2VmNDFlZWYwN2Q5YWEzNDViNjI=
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/ruby
2
2
 
3
- #License: (MIT), Copyright (C) 2013 Author Phil Chen, Contributor Ruben Espinosa
3
+ #License: (MIT), Copyright (C) 2013 Author Ruben Espinosa
4
4
 
5
5
  require 'usagewatch_ext'
6
6
 
@@ -1,3 +1,3 @@
1
1
  module UsagewatchExt
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -1,10 +1,17 @@
1
1
  require 'rubygems'
2
2
  require 'bundler/setup'
3
- require 'usagewatch'
4
- require 'usagewatch_ext'
5
3
  require 'coveralls'
6
4
  Coveralls.wear!
7
5
 
6
+ os = RUBY_PLATFORM
7
+ if os.include? "darwin"
8
+ require "usagewatch_ext"
9
+ puts "Testing Mac Version"
10
+ elsif os.include? "linux"
11
+ require "usagewatch"
12
+ puts "Testing Linux Version"
13
+ end
14
+
8
15
  RSpec.configure do |config|
9
16
 
10
17
  end
@@ -6,7 +6,7 @@ require 'usagewatch_ext/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "usagewatch_ext"
8
8
  spec.version = UsagewatchExt::VERSION
9
- spec.authors = ["Ruben Espinosa"]
9
+ spec.authors = ["Ruben Espinosa, Phil Chen"]
10
10
  spec.email = ["rderoldan1@gmail.com"]
11
11
  spec.description = %q{A Ruby Gem with methods to find usage statistics such as CPU, Disk, TCP/UDP Connections, Load, Bandwidth, Disk I/O, and Memory}
12
12
  spec.summary = %q{Extended version of usagewatch}
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: usagewatch_ext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
- - Ruben Espinosa
7
+ - Ruben Espinosa, Phil Chen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []