tinspitz 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/tinspitz.rb +40 -0
  2. metadata +81 -12
data/lib/tinspitz.rb CHANGED
@@ -49,6 +49,46 @@ class TinSpitz
49
49
  def self.hostname
50
50
  Facter.hostname
51
51
  end
52
+
53
+ def self.domainname
54
+ Facter.fqdn
55
+ end
56
+
57
+ def self.current_user
58
+ Facter.id
59
+ end
60
+
61
+ def self.hardwaremodel
62
+ Facter.hardwaremodel
63
+ end
64
+
65
+ def self.kernelmajorv
66
+ Facter.kernelmajversion
67
+ end
68
+
69
+ def self.swap
70
+ Facter.swapsize
71
+ end
72
+
73
+ def self.swapfree
74
+ Facter.swapfree
75
+ end
76
+
77
+ def self.timezone
78
+ Facter.timezone
79
+ end
80
+
81
+ def self.rubyversion
82
+ Facter.rubyversion
83
+ end
84
+
85
+ def self.uptime
86
+ Facter.uptime
87
+ end
88
+
89
+ def self.arch
90
+ Facter.architecture
91
+ end
52
92
  end
53
93
 
54
94
  #puts TinSpitz::family
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tinspitz
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,41 +9,104 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-28 00:00:00.000000000 Z
12
+ date: 2012-08-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: require_relative
16
- requirement: &14830560 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - =
19
+ - - '='
20
20
  - !ruby/object:Gem::Version
21
21
  version: 1.0.3
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *14830560
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - '='
28
+ - !ruby/object:Gem::Version
29
+ version: 1.0.3
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: rake
27
- requirement: &14829520 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - '='
36
+ - !ruby/object:Gem::Version
37
+ version: 0.9.2.2
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
28
41
  none: false
29
42
  requirements:
30
- - - =
43
+ - - '='
31
44
  - !ruby/object:Gem::Version
32
45
  version: 0.9.2.2
46
+ - !ruby/object:Gem::Dependency
47
+ name: guard
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - '='
52
+ - !ruby/object:Gem::Version
53
+ version: 1.2.3
33
54
  type: :development
34
55
  prerelease: false
35
- version_requirements: *14829520
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - '='
60
+ - !ruby/object:Gem::Version
61
+ version: 1.2.3
62
+ - !ruby/object:Gem::Dependency
63
+ name: guard-minitest
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - '='
68
+ - !ruby/object:Gem::Version
69
+ version: 0.5.0
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - '='
76
+ - !ruby/object:Gem::Version
77
+ version: 0.5.0
36
78
  - !ruby/object:Gem::Dependency
37
79
  name: facter
38
- requirement: &14828520 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
39
81
  none: false
40
82
  requirements:
41
- - - =
83
+ - - '='
42
84
  - !ruby/object:Gem::Version
43
85
  version: 1.6.2
44
86
  type: :runtime
45
87
  prerelease: false
46
- version_requirements: *14828520
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - '='
92
+ - !ruby/object:Gem::Version
93
+ version: 1.6.2
94
+ - !ruby/object:Gem::Dependency
95
+ name: minitest
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - '='
100
+ - !ruby/object:Gem::Version
101
+ version: 3.2.0
102
+ type: :runtime
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - '='
108
+ - !ruby/object:Gem::Version
109
+ version: 3.2.0
47
110
  description: TinSpitz is an interface for your hardware & software stats. Currently
48
111
  Linux only.
49
112
  email:
@@ -65,15 +128,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
65
128
  - - ! '>='
66
129
  - !ruby/object:Gem::Version
67
130
  version: '0'
131
+ segments:
132
+ - 0
133
+ hash: -780661809
68
134
  required_rubygems_version: !ruby/object:Gem::Requirement
69
135
  none: false
70
136
  requirements:
71
137
  - - ! '>='
72
138
  - !ruby/object:Gem::Version
73
139
  version: '0'
140
+ segments:
141
+ - 0
142
+ hash: -780661809
74
143
  requirements: []
75
144
  rubyforge_project:
76
- rubygems_version: 1.8.17
145
+ rubygems_version: 1.8.23
77
146
  signing_key:
78
147
  specification_version: 3
79
148
  summary: To be filled.