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 +8 -8
- data/examples/mac_example.rb +1 -1
- data/lib/usagewatch_ext/version.rb +1 -1
- data/spec/spec_helper.rb +9 -2
- data/usagewatch_ext.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NTg1NWQ4NGFkY2I4YWQ5YmQwNTE3YjllYmNhMjI4M2IyZjIyZDIzNA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NTRiNzQwZmQ0YmVkMzBmODIxNDQ1YTlmZDc4YjZhZjc1YjNlYzNjOA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NzQzZTA3OGFlNTJmODg0ZGQwNzVmNjVkOWI4MGVmMzA5ZThjY2I2ZDFiYjll
|
10
|
+
ZDI4ZGUwZTUzMWI4NzJhM2JlMzc0YzhlZGIwMTFiZjAwODZlNjUxYTI5NjI4
|
11
|
+
ZTc0MTM5MTFiZDc3NjZjODJhYTU1ZjlmMTYyMTQyNjM0MzEyZTQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MGEyYmZjMjI2MDA3N2MyM2M0NzVkNWM0YzA3MzQ1NzRhM2ZjZWU2NTNkZTQ4
|
14
|
+
YzkyZjYxMGNiNzA0NDA4MDdkOWZiMjNmN2Y2Yzk5NTEyMmQ1MmYyYTZlYzc1
|
15
|
+
YzRiYTcyNjMxYTcwY2UxOWJmM2VmNDFlZWYwN2Q5YWEzNDViNjI=
|
data/examples/mac_example.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -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
|
data/usagewatch_ext.gemspec
CHANGED
@@ -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