sys-admin 1.8.0-universal-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data/CHANGES.md +204 -0
- data/Gemfile +2 -0
- data/LICENSE +177 -0
- data/MANIFEST.md +20 -0
- data/README.md +162 -0
- data/Rakefile +44 -0
- data/certs/djberg96_pub.pem +26 -0
- data/doc/sys-admin-unix.txt +162 -0
- data/doc/sys-admin-windows.txt +346 -0
- data/examples/example_groups.rb +27 -0
- data/examples/example_users.rb +41 -0
- data/lib/bsd/sys/admin.rb +262 -0
- data/lib/darwin/sys/admin.rb +244 -0
- data/lib/linux/sys/admin.rb +272 -0
- data/lib/sunos/sys/admin.rb +268 -0
- data/lib/sys/admin/common.rb +134 -0
- data/lib/sys/admin/custom.rb +16 -0
- data/lib/sys/admin.rb +24 -0
- data/lib/sys-admin.rb +1 -0
- data/lib/unix/sys/admin.rb +165 -0
- data/lib/windows/sys/admin.rb +1018 -0
- data/spec/sys_admin_unix_spec.rb +262 -0
- data/spec/sys_admin_windows_spec.rb +350 -0
- data/sys-admin.gemspec +44 -0
- data.tar.gz.sig +0 -0
- metadata +162 -0
- metadata.gz.sig +0 -0
data/sys-admin.gemspec
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
# Do not use this file directly. Build the gem via the Rake tasks.
|
2
|
+
require 'rubygems'
|
3
|
+
|
4
|
+
Gem::Specification.new do |spec|
|
5
|
+
spec.name = 'sys-admin'
|
6
|
+
spec.version = '1.8.0'
|
7
|
+
spec.author = 'Daniel J. Berger'
|
8
|
+
spec.license = 'Apache-2.0'
|
9
|
+
spec.email = 'djberg96@gmail.com'
|
10
|
+
spec.homepage = 'http://www.github.com/djberg96/sys-admin'
|
11
|
+
spec.summary = 'A unified, cross platform replacement for the "etc" library.'
|
12
|
+
spec.test_files = Dir['spec/*.rb']
|
13
|
+
spec.files = Dir['**/*'].reject{ |f| f.include?('git') }
|
14
|
+
spec.cert_chain = ['certs/djberg96_pub.pem']
|
15
|
+
|
16
|
+
spec.extra_rdoc_files = Dir['*.rdoc']
|
17
|
+
|
18
|
+
spec.add_dependency('ffi', '~> 1.1')
|
19
|
+
|
20
|
+
if Gem.win_platform?
|
21
|
+
spec.platform = Gem::Platform.new(['universal', 'mingw32'])
|
22
|
+
spec.add_dependency('win32-security', '~> 0.5')
|
23
|
+
end
|
24
|
+
|
25
|
+
spec.add_development_dependency('rspec', '~> 3.9')
|
26
|
+
spec.add_development_dependency('rake')
|
27
|
+
|
28
|
+
spec.metadata = {
|
29
|
+
'homepage_uri' => 'https://github.com/djberg96/sys-admin',
|
30
|
+
'bug_tracker_uri' => 'https://github.com/djberg96/sys-admin/issues',
|
31
|
+
'changelog_uri' => 'https://github.com/djberg96/sys-admin/blob/main/CHANGES.md',
|
32
|
+
'documentation_uri' => 'https://github.com/djberg96/sys-admin/wiki',
|
33
|
+
'source_code_uri' => 'https://github.com/djberg96/sys-admin',
|
34
|
+
'wiki_uri' => 'https://github.com/djberg96/sys-admin/wiki'
|
35
|
+
}
|
36
|
+
|
37
|
+
spec.description = <<-EOF
|
38
|
+
The sys-admin library is a unified, cross platform replacement for the
|
39
|
+
'etc' library that ships as part of the Ruby standard library. It
|
40
|
+
provides a common interface for all platforms, including MS Windows. In
|
41
|
+
addition, it provides an interface for adding, deleting and configuring
|
42
|
+
users on MS Windows.
|
43
|
+
EOF
|
44
|
+
end
|
data.tar.gz.sig
ADDED
Binary file
|
metadata
ADDED
@@ -0,0 +1,162 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sys-admin
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.8.0
|
5
|
+
platform: universal-mingw32
|
6
|
+
authors:
|
7
|
+
- Daniel J. Berger
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIEcDCCAtigAwIBAgIBATANBgkqhkiG9w0BAQsFAD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kiG9w0BAQsFAAOCAYEAW2tnYixXQtKxgGXq
|
29
|
+
/3iSWG2bLwvxS4go3srO+aRXZHrFUMlJ5W0mCxl03aazxxKTsVVpZD8QZxvK91OQ
|
30
|
+
h9zr9JBYqCLcCVbr8SkmYCi/laxIZxsNE5YI8cC8vvlLI7AMgSfPSnn/Epq1GjGY
|
31
|
+
6L1iRcEDtanGCIvjqlCXO9+BmsnCfEVehqZkQHeYczA03tpOWb6pon2wzvMKSsKH
|
32
|
+
ks0ApVdstSLz1kzzAqem/uHdG9FyXdbTAwH1G4ZPv69sQAFAOCgAqYmdnzedsQtE
|
33
|
+
1LQfaQrx0twO+CZJPcRLEESjq8ScQxWRRkfuh2VeR7cEU7L7KqT10mtUwrvw7APf
|
34
|
+
DYoeCY9KyjIBjQXfbj2ke5u1hZj94Fsq9FfbEQg8ygCgwThnmkTrrKEiMSs3alYR
|
35
|
+
ORVCZpRuCPpmC8qmqxUnARDArzucjaclkxjLWvCVHeFa9UP7K3Nl9oTjJNv+7/jM
|
36
|
+
WZs4eecIcUc4tKdHxcAJ0MO/Dkqq7hGaiHpwKY76wQ1+8xAh
|
37
|
+
-----END CERTIFICATE-----
|
38
|
+
date: 2021-08-26 00:00:00.000000000 Z
|
39
|
+
dependencies:
|
40
|
+
- !ruby/object:Gem::Dependency
|
41
|
+
name: ffi
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '1.1'
|
47
|
+
type: :runtime
|
48
|
+
prerelease: false
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '1.1'
|
54
|
+
- !ruby/object:Gem::Dependency
|
55
|
+
name: win32-security
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0.5'
|
61
|
+
type: :runtime
|
62
|
+
prerelease: false
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - "~>"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0.5'
|
68
|
+
- !ruby/object:Gem::Dependency
|
69
|
+
name: rspec
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - "~>"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '3.9'
|
75
|
+
type: :development
|
76
|
+
prerelease: false
|
77
|
+
version_requirements: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - "~>"
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '3.9'
|
82
|
+
- !ruby/object:Gem::Dependency
|
83
|
+
name: rake
|
84
|
+
requirement: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
type: :development
|
90
|
+
prerelease: false
|
91
|
+
version_requirements: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ">="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
description: |2
|
97
|
+
The sys-admin library is a unified, cross platform replacement for the
|
98
|
+
'etc' library that ships as part of the Ruby standard library. It
|
99
|
+
provides a common interface for all platforms, including MS Windows. In
|
100
|
+
addition, it provides an interface for adding, deleting and configuring
|
101
|
+
users on MS Windows.
|
102
|
+
email: djberg96@gmail.com
|
103
|
+
executables: []
|
104
|
+
extensions: []
|
105
|
+
extra_rdoc_files: []
|
106
|
+
files:
|
107
|
+
- CHANGES.md
|
108
|
+
- Gemfile
|
109
|
+
- LICENSE
|
110
|
+
- MANIFEST.md
|
111
|
+
- README.md
|
112
|
+
- Rakefile
|
113
|
+
- certs/djberg96_pub.pem
|
114
|
+
- doc/sys-admin-unix.txt
|
115
|
+
- doc/sys-admin-windows.txt
|
116
|
+
- examples/example_groups.rb
|
117
|
+
- examples/example_users.rb
|
118
|
+
- lib/bsd/sys/admin.rb
|
119
|
+
- lib/darwin/sys/admin.rb
|
120
|
+
- lib/linux/sys/admin.rb
|
121
|
+
- lib/sunos/sys/admin.rb
|
122
|
+
- lib/sys-admin.rb
|
123
|
+
- lib/sys/admin.rb
|
124
|
+
- lib/sys/admin/common.rb
|
125
|
+
- lib/sys/admin/custom.rb
|
126
|
+
- lib/unix/sys/admin.rb
|
127
|
+
- lib/windows/sys/admin.rb
|
128
|
+
- spec/sys_admin_unix_spec.rb
|
129
|
+
- spec/sys_admin_windows_spec.rb
|
130
|
+
- sys-admin.gemspec
|
131
|
+
homepage: http://www.github.com/djberg96/sys-admin
|
132
|
+
licenses:
|
133
|
+
- Apache-2.0
|
134
|
+
metadata:
|
135
|
+
homepage_uri: https://github.com/djberg96/sys-admin
|
136
|
+
bug_tracker_uri: https://github.com/djberg96/sys-admin/issues
|
137
|
+
changelog_uri: https://github.com/djberg96/sys-admin/blob/main/CHANGES.md
|
138
|
+
documentation_uri: https://github.com/djberg96/sys-admin/wiki
|
139
|
+
source_code_uri: https://github.com/djberg96/sys-admin
|
140
|
+
wiki_uri: https://github.com/djberg96/sys-admin/wiki
|
141
|
+
post_install_message:
|
142
|
+
rdoc_options: []
|
143
|
+
require_paths:
|
144
|
+
- lib
|
145
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
146
|
+
requirements:
|
147
|
+
- - ">="
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
version: '0'
|
150
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
151
|
+
requirements:
|
152
|
+
- - ">="
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: '0'
|
155
|
+
requirements: []
|
156
|
+
rubygems_version: 3.2.19
|
157
|
+
signing_key:
|
158
|
+
specification_version: 4
|
159
|
+
summary: A unified, cross platform replacement for the "etc" library.
|
160
|
+
test_files:
|
161
|
+
- spec/sys_admin_unix_spec.rb
|
162
|
+
- spec/sys_admin_windows_spec.rb
|
metadata.gz.sig
ADDED
Binary file
|