sys-admin 1.7.4 → 1.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/{CHANGES.rdoc → CHANGES.md} +32 -26
- data/{MANIFEST.rdoc → MANIFEST.md} +0 -0
- data/{README.rdoc → README.md} +50 -44
- data/lib/sys/admin.rb +1 -1
- data/lib/windows/sys/admin.rb +4 -4
- data/sys-admin.gemspec +3 -5
- data/test/test_sys_admin.rb +1 -1
- metadata +15 -18
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 219597639587e8c6d43f3a6d638d7f3ad11de0d3ea7cb2a1754e424f939b7622
|
|
4
|
+
data.tar.gz: 8d91cbd9e39bdb7ab4dc7f9ba4dc854b093de06b02028aa5934f27d3255e4bd2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4da726426d1300cf1cc0d18f3149c347d52e290542de35d81a7a0b8a036ea2724acbb5e6d22af10939ec12862ef87be46ecc473bcd83a7439f486bc5eb9b5aac
|
|
7
|
+
data.tar.gz: 494f981d6621a9f8b0fe25e9bb759e41b8ad0a3c35039ee907ce84ead9630f34f1c24e9fb3369b58756717854e1454ca9044665f1635e03096b605ade0e6e7ad
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/{CHANGES.rdoc → CHANGES.md}
RENAMED
|
@@ -1,39 +1,45 @@
|
|
|
1
|
-
|
|
1
|
+
## 1.7.5 - 30-Dec-2020
|
|
2
|
+
* Switched from rdoc to markdown since github isn't rendering rdoc properly.
|
|
3
|
+
|
|
4
|
+
## 1.7.4 - 19-Mar-2020
|
|
5
|
+
* Properly include a LICENSE file as per the Apache-2.0 license.
|
|
6
|
+
|
|
7
|
+
## 1.7.3 - 16-Jan-2020
|
|
2
8
|
* Add explicit .rdoc extension to various rdoc files so that they show up
|
|
3
9
|
better in github.
|
|
4
10
|
* Some formatting adjustments to the rdoc files.
|
|
5
11
|
|
|
6
|
-
|
|
12
|
+
## 1.7.2 - 28-Jan-2019
|
|
7
13
|
* Fixed the license name, was missing a hyphen.
|
|
8
14
|
* Fixed the homepage in the gemspec.
|
|
9
15
|
|
|
10
|
-
|
|
16
|
+
## 1.7.1 - 19-Mar-2018
|
|
11
17
|
* Fixed deprecation warnings in tests.
|
|
12
18
|
* Added gemspec metadata.
|
|
13
19
|
* Updated cert again, this one should last 10 years.
|
|
14
20
|
|
|
15
|
-
|
|
21
|
+
## 1.7.0 - 21-Feb-2018
|
|
16
22
|
* Changed the license to Apache 2.0.
|
|
17
23
|
* VERSION constant is now frozen.
|
|
18
24
|
* Ignore dependency warnings in gem:create task.
|
|
19
25
|
* Minor README updates.
|
|
20
26
|
* Updated cert.
|
|
21
27
|
|
|
22
|
-
|
|
28
|
+
## 1.6.4 - 6-Sep-2015
|
|
23
29
|
* Added a sys-admin.rb file for convenience.
|
|
24
30
|
* Set VERSION in a single place.
|
|
25
31
|
* Assume Rubygems 2.x for Rakefile tasks.
|
|
26
32
|
* This gem is now signed.
|
|
27
33
|
|
|
28
|
-
|
|
34
|
+
## 1.6.3 - 8-Mar-2014
|
|
29
35
|
* The Admin#get_group method now handles groups with very large numbers
|
|
30
36
|
of members more robustly.
|
|
31
37
|
|
|
32
|
-
|
|
38
|
+
## 1.6.2 - 11-Feb-2014
|
|
33
39
|
* The User#gid method is now supported on MS Windows. It returns the user's
|
|
34
40
|
primary group ID.
|
|
35
41
|
|
|
36
|
-
|
|
42
|
+
## 1.6.1 - 24-Jan-2014
|
|
37
43
|
* Added the Admin.add_group_member and Admin.remove_group member methods. These
|
|
38
44
|
let you add a user to a specific group. Thanks go to Alexey Kolyanov for the
|
|
39
45
|
idea and the code.
|
|
@@ -43,7 +49,7 @@
|
|
|
43
49
|
* Updated the gem:create task in the Rakefile.
|
|
44
50
|
* Added rake as a development dependency.
|
|
45
51
|
|
|
46
|
-
|
|
52
|
+
## 1.6.0 - 5-Jan-2013
|
|
47
53
|
* Converted code to use FFI. This mostly only affects the unix flavors.
|
|
48
54
|
* The Admin.users and Admin.groups methods no longer accept a block.
|
|
49
55
|
* Some test suite updates.
|
|
@@ -51,13 +57,13 @@
|
|
|
51
57
|
separate gems. There is now a single, unified gem that works on all
|
|
52
58
|
supported platforms.
|
|
53
59
|
|
|
54
|
-
|
|
60
|
+
## 1.5.6 - 30-Jul-2011
|
|
55
61
|
* Fixed issue for non-gnu platforms where it would use the wrong function
|
|
56
62
|
prototype because the Ruby core team took it upon themselves to explicitly
|
|
57
63
|
defined _GNU_SOURCE in config.h in 1.8.7 and later for reasons that baffle me.
|
|
58
64
|
* Some tests on Windows are now skipped unless run with elevated security.
|
|
59
65
|
|
|
60
|
-
|
|
66
|
+
## 1.5.5 - 5-Jul-2011
|
|
61
67
|
* Modified lastlog handling, and ignore getpwent_r and getgrent_r, on AIX.
|
|
62
68
|
Thanks go to Rick Ohnemus for the spot and patches.
|
|
63
69
|
* Explicitly set spec.cpu on Windows to 'universal' in the gem creation task.
|
|
@@ -65,21 +71,21 @@
|
|
|
65
71
|
being generated was incorrect if no options were passed. Thanks go to
|
|
66
72
|
Matthew Brown for the spot.
|
|
67
73
|
|
|
68
|
-
|
|
74
|
+
## 1.5.4 - 7-Oct-2010
|
|
69
75
|
* Prefer the getlastlogx() function over lastlog() where supported.
|
|
70
76
|
|
|
71
|
-
|
|
77
|
+
## 1.5.3 - 6-Oct-2010
|
|
72
78
|
* Refactored the Rakefile. The old installation tasks have been replaced
|
|
73
79
|
with gem build and install tasks. In addition, the platform handling has
|
|
74
80
|
been updated for MS Windows.
|
|
75
81
|
* Portions of the gemspec have been moved into the Rakefile gem tasks.
|
|
76
82
|
* Deploying the mingw gem by default for MS Windows now.
|
|
77
83
|
|
|
78
|
-
|
|
84
|
+
## 1.5.2 - 2-Aug-2009
|
|
79
85
|
* Now compatible with Ruby 1.9.x.
|
|
80
86
|
* Added test-unit as a development dependency.
|
|
81
87
|
|
|
82
|
-
|
|
88
|
+
## 1.5.1 - 23-Jul-2009
|
|
83
89
|
* Added the User#dir attribute. This attribute contains a user's home
|
|
84
90
|
directory if set, or nil if it isn't.
|
|
85
91
|
* User objects returned by the Admin.users method now include the uid.
|
|
@@ -87,7 +93,7 @@
|
|
|
87
93
|
* Added win32-security as a dependency.
|
|
88
94
|
* Changed license to Artistic 2.0.
|
|
89
95
|
|
|
90
|
-
|
|
96
|
+
## 1.5.0 - 29-Mar-2009
|
|
91
97
|
* INTERFACE CHANGE (WINDOWS ONLY): The interface for MS Windows has undergone
|
|
92
98
|
a radical change. Most methods now accept a hash of options that are
|
|
93
99
|
passed directly to the underlying WMI class. Please see the documentation
|
|
@@ -104,14 +110,14 @@
|
|
|
104
110
|
get lastlog information even if the lastlog.h or utmp.h headers couldn't
|
|
105
111
|
be found.
|
|
106
112
|
|
|
107
|
-
|
|
113
|
+
## 1.4.4 - 19-Nov-2008
|
|
108
114
|
* Added the User#uid method for MS Windows (which is just the user's relative
|
|
109
115
|
identifier).
|
|
110
116
|
* Now requires test-unit 2.x.
|
|
111
117
|
* Some updates to the test suite to take advantage of test-unit 2.x features.
|
|
112
118
|
* Some minor gemspec tweaks.
|
|
113
119
|
|
|
114
|
-
|
|
120
|
+
## 1.4.3 - 2-Mar-2008
|
|
115
121
|
* The block form of Admin.users now properly ensures that endpwent() is
|
|
116
122
|
called. Likewise, the block form of Admin.groups now properly ensures
|
|
117
123
|
that endgrent() is called. This would only have been an issue if you
|
|
@@ -119,7 +125,7 @@
|
|
|
119
125
|
* The AdminError class is now Admin::Error.
|
|
120
126
|
* Some internal directory layout changes.
|
|
121
127
|
|
|
122
|
-
|
|
128
|
+
## 1.4.2 - 26-Jun-2007
|
|
123
129
|
* Fixed a bug in the Admin.get_login method where it would return junk
|
|
124
130
|
if the underlying getlogin() function failed (Unix). Thanks go to Gonzalo
|
|
125
131
|
Garramuno for the spot. This bug also resulted in some refactoring of the
|
|
@@ -127,13 +133,13 @@
|
|
|
127
133
|
* Removed the install.rb file. The logic in that file has been moved directly
|
|
128
134
|
into the Rakefile.
|
|
129
135
|
|
|
130
|
-
|
|
136
|
+
## 1.4.1 - 21-Mar-2007
|
|
131
137
|
* Bug fix for OS X. Thanks go to an anonymous user for the spot.
|
|
132
138
|
* Added a Rakefile. Building, testing and installing should now use the
|
|
133
139
|
Rake tasks (for non-gem installs).
|
|
134
140
|
* Much more inline documentation, especially for User and Group attributes.
|
|
135
141
|
|
|
136
|
-
|
|
142
|
+
## 1.4.0 - 20-Jan-2007
|
|
137
143
|
* Added the following methods: add_local_user, config_local_user,
|
|
138
144
|
delete_local_user, add_global_group, config_global_group, and
|
|
139
145
|
delete_global_group. MS Windows only at the moment.
|
|
@@ -149,18 +155,18 @@
|
|
|
149
155
|
integer.
|
|
150
156
|
* Renamed tc_win32.rb to tc_windows.rb
|
|
151
157
|
|
|
152
|
-
|
|
158
|
+
## 1.3.1 - 29-Jun-2005
|
|
153
159
|
* Fixed a bug where the inability to read the lastlog file caused an error.
|
|
154
160
|
From now on that error is ignored, and the lastlog attributes of the User
|
|
155
161
|
object are set to nil.
|
|
156
162
|
* Added a beta version of Admin.delete_user (Windows only).
|
|
157
163
|
|
|
158
|
-
|
|
164
|
+
## 1.3.0 - 3-Jun-2005
|
|
159
165
|
* Bug fixes for Linux.
|
|
160
166
|
* Removed the version.h file - no longer needed since the Win32 version is
|
|
161
167
|
pure Ruby.
|
|
162
168
|
|
|
163
|
-
|
|
169
|
+
## 1.2.0 - 30-Apr-2005
|
|
164
170
|
* Replaced the Win32 version with a pure Ruby version that uses Win32API and
|
|
165
171
|
win32ole + WMI.
|
|
166
172
|
* The LocalGroup class no longer exists in the Win32 version. Instead, it is
|
|
@@ -170,7 +176,7 @@
|
|
|
170
176
|
over global accounts.
|
|
171
177
|
* Corresponding doc changes and test suite changes.
|
|
172
178
|
|
|
173
|
-
|
|
179
|
+
## 1.1.0 - 1-Apr-2005
|
|
174
180
|
* Fixed bug where a segfault could occur when trying to retrieve a user or
|
|
175
181
|
group by an ID that didn't exist (Unix).
|
|
176
182
|
* Added tests for intentional failures.
|
|
@@ -178,5 +184,5 @@
|
|
|
178
184
|
* Modified the way User objects are created internally (Unix).
|
|
179
185
|
* Fixed a bug in the User#shell attribute (Unix).
|
|
180
186
|
|
|
181
|
-
|
|
187
|
+
## 1.0.0 - 25-Mar-2005
|
|
182
188
|
* Initial release
|
|
File without changes
|
data/{README.rdoc → README.md}
RENAMED
|
@@ -1,62 +1,68 @@
|
|
|
1
|
-
|
|
1
|
+
## Description
|
|
2
2
|
The sys-admin library is a unified, cross platform replacement for the Etc module.
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
## Installation
|
|
5
|
+
`gem install sys-admin`
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
## Synopsis
|
|
8
|
+
```ruby
|
|
9
|
+
require 'sys/admin' # or sys-admin
|
|
10
|
+
include Sys
|
|
10
11
|
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
# Returns an Array of User objects
|
|
13
|
+
a = Admin.users
|
|
13
14
|
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
# Returns an Array of Group objects
|
|
16
|
+
g = Admin.groups
|
|
16
17
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
# Get information about a particular user
|
|
19
|
+
p Admin.get_user("nobody")
|
|
20
|
+
p Admin.get_user("nobody", :localaccount => true)
|
|
20
21
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
# Get information about a particular group
|
|
23
|
+
p Admin.get_group("adm")
|
|
24
|
+
p Admin.get_group("adm", :localaccount => true)
|
|
25
|
+
```
|
|
24
26
|
|
|
25
|
-
|
|
26
|
-
Admin.get_login
|
|
27
|
+
## Admin
|
|
28
|
+
`Admin.get_login`
|
|
27
29
|
|
|
28
30
|
Returns the user name (only) of the current login.
|
|
29
31
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
+
```
|
|
33
|
+
Admin.get_user(name, options = {})
|
|
34
|
+
Admin.get_user(uid, options = {})
|
|
35
|
+
```
|
|
32
36
|
|
|
33
|
-
Returns a User object based on
|
|
37
|
+
Returns a User object based on `name` or `uid`. The `options` hash is
|
|
34
38
|
for MS Windows only, and allows you to restrict the search based on the
|
|
35
39
|
options you provide, e.g. 'domain' or 'localaccount'.
|
|
36
40
|
|
|
37
|
-
|
|
38
|
-
|
|
41
|
+
```
|
|
42
|
+
Admin.get_group(name, options = {})
|
|
43
|
+
Admin.get_group(gid, options = {})
|
|
44
|
+
```
|
|
39
45
|
|
|
40
|
-
Returns a Group object based on
|
|
46
|
+
Returns a Group object based on `name` or `uid`. The `options` hash is
|
|
41
47
|
for MS Windows only, and allows you to restrict the search based on the
|
|
42
48
|
options you provide, e.g. 'domain' or 'localaccount'.
|
|
43
49
|
|
|
44
|
-
|
|
50
|
+
`Admin.groups(options = {})`
|
|
45
51
|
|
|
46
52
|
Returns an Array of Group objects.
|
|
47
53
|
|
|
48
|
-
The
|
|
54
|
+
The `options` hash is for MS Windows only, and allows you to restrict the
|
|
49
55
|
search based on the options you provide, e.g. 'domain' or 'localaccount'.
|
|
50
56
|
|
|
51
|
-
|
|
57
|
+
`Admin.users(options = {})`
|
|
52
58
|
|
|
53
59
|
Returns an Array of User objects.
|
|
54
60
|
|
|
55
|
-
The
|
|
61
|
+
The `options` hash is for MS Windows only, and allows you to restrict the
|
|
56
62
|
search based on the options you provide, e.g. 'domain' or 'localaccount'.
|
|
57
63
|
|
|
58
|
-
|
|
59
|
-
|
|
64
|
+
## User class
|
|
65
|
+
### User (Windows)
|
|
60
66
|
The User class has the following attributes on MS Windows systems:
|
|
61
67
|
|
|
62
68
|
* account_type
|
|
@@ -78,7 +84,7 @@ The User class has the following attributes on MS Windows systems:
|
|
|
78
84
|
* password_required?
|
|
79
85
|
* uid
|
|
80
86
|
|
|
81
|
-
|
|
87
|
+
### User (Unix)
|
|
82
88
|
The User class has the following attributes on Unix systems:
|
|
83
89
|
|
|
84
90
|
* name
|
|
@@ -95,8 +101,8 @@ The User class has the following attributes on Unix systems:
|
|
|
95
101
|
* change
|
|
96
102
|
* expire
|
|
97
103
|
|
|
98
|
-
|
|
99
|
-
|
|
104
|
+
## Group Classes
|
|
105
|
+
### Group (Windows)
|
|
100
106
|
The Group class has the following attributes on MS Windows systems:
|
|
101
107
|
|
|
102
108
|
* caption
|
|
@@ -109,7 +115,7 @@ The Group class has the following attributes on MS Windows systems:
|
|
|
109
115
|
* gid
|
|
110
116
|
* local?
|
|
111
117
|
|
|
112
|
-
|
|
118
|
+
### Group (Unix)
|
|
113
119
|
The Group class has the following attributes on Unix systems:
|
|
114
120
|
|
|
115
121
|
* name
|
|
@@ -117,37 +123,37 @@ The Group class has the following attributes on Unix systems:
|
|
|
117
123
|
* members
|
|
118
124
|
* passwd
|
|
119
125
|
|
|
120
|
-
|
|
121
|
-
|
|
126
|
+
## Error Classes
|
|
127
|
+
`Admin::Error < StandardError`
|
|
122
128
|
|
|
123
129
|
Raised if anything goes wrong with any of the above methods.
|
|
124
130
|
|
|
125
|
-
|
|
126
|
-
|
|
131
|
+
## Developer's Notes
|
|
132
|
+
### MS Windows
|
|
127
133
|
The Windows version now uses a win32ole + WMI approach to getting
|
|
128
134
|
information. This means that the WMI service must be running on the
|
|
129
135
|
target machine in order to work (which it is, by default).
|
|
130
136
|
|
|
131
|
-
|
|
137
|
+
### UNIX
|
|
132
138
|
The underlying implementation is similar to core Ruby's Etc implementation.
|
|
133
139
|
But, in addition to the different interface, I use the re-entrant version
|
|
134
140
|
of the appropriate functions when available.
|
|
135
141
|
|
|
136
|
-
|
|
142
|
+
## Future Plans
|
|
137
143
|
* Make the User and Group objects comparable.
|
|
138
144
|
* Add ability to add, configure and delete users on Unix platforms.
|
|
139
145
|
|
|
140
|
-
|
|
146
|
+
## Known Bugs
|
|
141
147
|
None that I'm aware of. If you find any, please log them on the project page at:
|
|
142
148
|
|
|
143
149
|
https://github.com/djberg96/sys-admin
|
|
144
150
|
|
|
145
|
-
|
|
151
|
+
## License
|
|
146
152
|
Apache-2.0
|
|
147
153
|
|
|
148
|
-
|
|
154
|
+
## Copyright
|
|
149
155
|
(C) 2005-2020, Daniel J. Berger
|
|
150
156
|
All Rights Reserved
|
|
151
157
|
|
|
152
|
-
|
|
158
|
+
## Author
|
|
153
159
|
Daniel J. Berger
|
data/lib/sys/admin.rb
CHANGED
data/lib/windows/sys/admin.rb
CHANGED
|
@@ -705,7 +705,7 @@ module Sys
|
|
|
705
705
|
end
|
|
706
706
|
}
|
|
707
707
|
|
|
708
|
-
if usr.kind_of?(
|
|
708
|
+
if usr.kind_of?(Integer)
|
|
709
709
|
query << " and sid like '%-#{usr}'"
|
|
710
710
|
else
|
|
711
711
|
query << " and name = '#{usr}'"
|
|
@@ -718,7 +718,7 @@ module Sys
|
|
|
718
718
|
|
|
719
719
|
# Because our 'like' query isn't fulproof, let's parse
|
|
720
720
|
# the SID again to make sure
|
|
721
|
-
if usr.kind_of?(
|
|
721
|
+
if usr.kind_of?(Integer)
|
|
722
722
|
next if usr != uid
|
|
723
723
|
end
|
|
724
724
|
|
|
@@ -886,7 +886,7 @@ module Sys
|
|
|
886
886
|
end
|
|
887
887
|
}
|
|
888
888
|
|
|
889
|
-
if grp.kind_of?(
|
|
889
|
+
if grp.kind_of?(Integer)
|
|
890
890
|
query << " and sid like '%-#{grp}'"
|
|
891
891
|
else
|
|
892
892
|
query << " and name = '#{grp}'"
|
|
@@ -899,7 +899,7 @@ module Sys
|
|
|
899
899
|
|
|
900
900
|
# Because our 'like' query isn't fulproof, let's parse
|
|
901
901
|
# the SID again to make sure
|
|
902
|
-
if grp.kind_of?(
|
|
902
|
+
if grp.kind_of?(Integer)
|
|
903
903
|
next if grp != gid
|
|
904
904
|
end
|
|
905
905
|
|
data/sys-admin.gemspec
CHANGED
|
@@ -3,7 +3,7 @@ require 'rubygems'
|
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |spec|
|
|
5
5
|
spec.name = 'sys-admin'
|
|
6
|
-
spec.version = '1.7.
|
|
6
|
+
spec.version = '1.7.5'
|
|
7
7
|
spec.author = 'Daniel J. Berger'
|
|
8
8
|
spec.license = 'Apache-2.0'
|
|
9
9
|
spec.email = 'djberg96@gmail.com'
|
|
@@ -13,9 +13,7 @@ Gem::Specification.new do |spec|
|
|
|
13
13
|
spec.files = Dir['**/*'].reject{ |f| f.include?('git') }
|
|
14
14
|
spec.cert_chain = ['certs/djberg96_pub.pem']
|
|
15
15
|
|
|
16
|
-
spec.
|
|
17
|
-
|
|
18
|
-
spec.add_dependency('ffi', '>= 1.1.0')
|
|
16
|
+
spec.add_dependency('ffi', '~> 1.1')
|
|
19
17
|
|
|
20
18
|
spec.add_development_dependency('test-unit', '>= 2.5.0')
|
|
21
19
|
spec.add_development_dependency('rake')
|
|
@@ -23,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
|
23
21
|
spec.metadata = {
|
|
24
22
|
'homepage_uri' => 'https://github.com/djberg96/sys-admin',
|
|
25
23
|
'bug_tracker_uri' => 'https://github.com/djberg96/sys-admin/issues',
|
|
26
|
-
'changelog_uri' => 'https://github.com/djberg96/sys-admin/blob/ffi/CHANGES',
|
|
24
|
+
'changelog_uri' => 'https://github.com/djberg96/sys-admin/blob/ffi/CHANGES.md',
|
|
27
25
|
'documentation_uri' => 'https://github.com/djberg96/sys-admin/wiki',
|
|
28
26
|
'source_code_uri' => 'https://github.com/djberg96/sys-admin',
|
|
29
27
|
'wiki_uri' => 'https://github.com/djberg96/sys-admin/wiki'
|
data/test/test_sys_admin.rb
CHANGED
metadata
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sys-admin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.7.
|
|
4
|
+
version: 1.7.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel J. Berger
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain:
|
|
11
11
|
- |
|
|
@@ -35,22 +35,22 @@ cert_chain:
|
|
|
35
35
|
ORVCZpRuCPpmC8qmqxUnARDArzucjaclkxjLWvCVHeFa9UP7K3Nl9oTjJNv+7/jM
|
|
36
36
|
WZs4eecIcUc4tKdHxcAJ0MO/Dkqq7hGaiHpwKY76wQ1+8xAh
|
|
37
37
|
-----END CERTIFICATE-----
|
|
38
|
-
date:
|
|
38
|
+
date:
|
|
39
39
|
dependencies:
|
|
40
40
|
- !ruby/object:Gem::Dependency
|
|
41
41
|
name: ffi
|
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
|
43
43
|
requirements:
|
|
44
|
-
- - "
|
|
44
|
+
- - "~>"
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
|
-
version: 1.1
|
|
46
|
+
version: '1.1'
|
|
47
47
|
type: :runtime
|
|
48
48
|
prerelease: false
|
|
49
49
|
version_requirements: !ruby/object:Gem::Requirement
|
|
50
50
|
requirements:
|
|
51
|
-
- - "
|
|
51
|
+
- - "~>"
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
|
-
version: 1.1
|
|
53
|
+
version: '1.1'
|
|
54
54
|
- !ruby/object:Gem::Dependency
|
|
55
55
|
name: test-unit
|
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -88,17 +88,16 @@ description: |2
|
|
|
88
88
|
email: djberg96@gmail.com
|
|
89
89
|
executables: []
|
|
90
90
|
extensions: []
|
|
91
|
-
extra_rdoc_files:
|
|
92
|
-
- CHANGES.rdoc
|
|
93
|
-
- MANIFEST.rdoc
|
|
94
|
-
- README.rdoc
|
|
91
|
+
extra_rdoc_files: []
|
|
95
92
|
files:
|
|
96
93
|
- LICENSE
|
|
97
94
|
- test
|
|
98
95
|
- test/test_sys_admin_windows.rb
|
|
99
96
|
- test/test_sys_admin.rb
|
|
100
97
|
- test/test_sys_admin_unix.rb
|
|
98
|
+
- README.md
|
|
101
99
|
- Rakefile
|
|
100
|
+
- MANIFEST.md
|
|
102
101
|
- certs
|
|
103
102
|
- certs/djberg96_pub.pem
|
|
104
103
|
- examples
|
|
@@ -129,24 +128,22 @@ files:
|
|
|
129
128
|
- lib/windows
|
|
130
129
|
- lib/windows/sys
|
|
131
130
|
- lib/windows/sys/admin.rb
|
|
132
|
-
- CHANGES.
|
|
131
|
+
- CHANGES.md
|
|
133
132
|
- doc
|
|
134
133
|
- doc/sys-admin-windows.txt
|
|
135
134
|
- doc/sys-admin-unix.txt
|
|
136
|
-
- MANIFEST.rdoc
|
|
137
135
|
- sys-admin.gemspec
|
|
138
|
-
- README.rdoc
|
|
139
136
|
homepage: http://www.github.com/djberg96/sys-admin
|
|
140
137
|
licenses:
|
|
141
138
|
- Apache-2.0
|
|
142
139
|
metadata:
|
|
143
140
|
homepage_uri: https://github.com/djberg96/sys-admin
|
|
144
141
|
bug_tracker_uri: https://github.com/djberg96/sys-admin/issues
|
|
145
|
-
changelog_uri: https://github.com/djberg96/sys-admin/blob/ffi/CHANGES
|
|
142
|
+
changelog_uri: https://github.com/djberg96/sys-admin/blob/ffi/CHANGES.md
|
|
146
143
|
documentation_uri: https://github.com/djberg96/sys-admin/wiki
|
|
147
144
|
source_code_uri: https://github.com/djberg96/sys-admin
|
|
148
145
|
wiki_uri: https://github.com/djberg96/sys-admin/wiki
|
|
149
|
-
post_install_message:
|
|
146
|
+
post_install_message:
|
|
150
147
|
rdoc_options: []
|
|
151
148
|
require_paths:
|
|
152
149
|
- lib
|
|
@@ -161,8 +158,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
161
158
|
- !ruby/object:Gem::Version
|
|
162
159
|
version: '0'
|
|
163
160
|
requirements: []
|
|
164
|
-
rubygems_version: 3.0.
|
|
165
|
-
signing_key:
|
|
161
|
+
rubygems_version: 3.0.3
|
|
162
|
+
signing_key:
|
|
166
163
|
specification_version: 4
|
|
167
164
|
summary: A unified, cross platform replacement for the "etc" library.
|
|
168
165
|
test_files:
|
metadata.gz.sig
CHANGED
|
Binary file
|