solaris-kstat 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES CHANGED
@@ -1,3 +1,7 @@
1
+ == 1.1.1 - 2-Nov-2014
2
+ * Use relative_require instead of manual method.
3
+ * Minor updates to the Rakefile and gemspec.
4
+
1
5
  == 1.1.0 - 13-Oct-2013
2
6
  * Converted code to use FFI.
3
7
  * The Kstat::Error subclass was removed. Any internal FFI
data/README CHANGED
@@ -75,8 +75,14 @@ Kstat#record
75
75
  Artistic 2.0
76
76
 
77
77
  == Copyright
78
- (C) 2003-2013 Daniel J. Berger
78
+ (C) 2003-2014 Daniel J. Berger
79
79
  All Rights Reserved
80
+
81
+ == Contributions
82
+ Although this library is free, please consider having your company
83
+ setup a gittip if used by your company professionally.
84
+
85
+ http://www.gittip.com/djberg96/
80
86
 
81
87
  == Warranty
82
88
  This package is provided "as is" and without any express or
data/Rakefile CHANGED
@@ -25,7 +25,7 @@ namespace :gem do
25
25
  task :install => [:create] do
26
26
  ruby 'solaris-kstat.gemspec'
27
27
  file = Dir["*.gem"].first
28
- sh "gem install #{file}"
28
+ sh "gem install -l #{file}"
29
29
  end
30
30
  end
31
31
 
@@ -1,5 +1,5 @@
1
- require File.join(File.dirname(__FILE__), 'kstat', 'structs')
2
- require File.join(File.dirname(__FILE__), 'kstat', 'functions')
1
+ require_relative 'kstat/structs'
2
+ require_relative 'kstat/functions'
3
3
 
4
4
  module Solaris
5
5
  class Kstat
@@ -8,7 +8,7 @@ module Solaris
8
8
  include Solaris::Functions
9
9
 
10
10
  # The version of the solaris-kstat library
11
- VERSION = '1.1.0'
11
+ VERSION = '1.1.1'
12
12
 
13
13
  # The kstat module
14
14
  attr_accessor :module
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'solaris-kstat'
5
- spec.version = '1.1.0'
5
+ spec.version = '1.1.1'
6
6
  spec.author = 'Daniel J. Berger'
7
7
  spec.license = 'Artistic 2.0'
8
8
  spec.email = 'djberg96@gmail.com'
@@ -11,8 +11,6 @@ Gem::Specification.new do |spec|
11
11
  spec.test_files = Dir['test/*.rb']
12
12
  spec.files = Dir['**/*'].reject{ |f| f.include?('git') }
13
13
 
14
- spec.rubyforge_project = 'solarisutils'
15
-
16
14
  spec.add_dependency('ffi')
17
15
 
18
16
  spec.add_development_dependency('test-unit')
@@ -14,7 +14,7 @@ class TC_Solaris_Kstat < Test::Unit::TestCase
14
14
  end
15
15
 
16
16
  test "version number is set to the expected value" do
17
- assert_equal('1.1.0', Kstat::VERSION)
17
+ assert_equal('1.1.1', Kstat::VERSION)
18
18
  end
19
19
 
20
20
  test "name method basic functionality" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solaris-kstat
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-14 00:00:00.000000000 Z
12
+ date: 2014-11-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ffi
@@ -118,8 +118,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
118
118
  - !ruby/object:Gem::Version
119
119
  version: '0'
120
120
  requirements: []
121
- rubyforge_project: solarisutils
122
- rubygems_version: 1.8.24
121
+ rubyforge_project:
122
+ rubygems_version: 1.8.23
123
123
  signing_key:
124
124
  specification_version: 3
125
125
  summary: Interface for the Solaris kstat library