sys-proctable 1.2.6 → 1.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/{CHANGES.rdoc → CHANGES.md} +64 -49
- data/Gemfile +2 -0
- data/{MANIFEST.rdoc → MANIFEST.md} +1 -0
- data/README.md +8 -3
- data/Rakefile +7 -4
- data/certs/djberg96_pub.pem +26 -0
- data/lib/darwin/sys/proctable.rb +53 -20
- data/lib/freebsd/sys/proctable.rb +1 -1
- data/lib/linux/sys/proctable/cgroup_entry.rb +4 -2
- data/lib/linux/sys/proctable/smaps.rb +29 -17
- data/lib/linux/sys/proctable.rb +41 -35
- data/lib/sunos/sys/proctable.rb +2 -2
- data/lib/sys/proctable/version.rb +1 -1
- data/lib/sys/top.rb +1 -1
- data/lib/windows/sys/proctable.rb +36 -32
- data/spec/spec_helper.rb +13 -0
- data/spec/sys_proctable_aix_spec.rb +74 -76
- data/spec/sys_proctable_all_spec.rb +45 -45
- data/spec/sys_proctable_darwin_spec.rb +85 -58
- data/spec/sys_proctable_freebsd_spec.rb +111 -113
- data/spec/sys_proctable_linux_spec.rb +196 -195
- data/spec/sys_proctable_sunos_spec.rb +190 -192
- data/spec/sys_proctable_windows_spec.rb +153 -153
- data/spec/sys_top_spec.rb +20 -21
- data/sys-proctable.gemspec +15 -24
- data.tar.gz.sig +0 -0
- metadata +54 -16
- metadata.gz.sig +0 -0
@@ -1,15 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
############################################################################
|
2
4
|
# sys_proctable_windows_spec.rb
|
3
5
|
#
|
4
6
|
# Test suite for the sys-proctable library for MS Windows. This should be
|
5
|
-
# run via the 'rake
|
7
|
+
# run via the 'rake spec' task.
|
6
8
|
############################################################################
|
7
|
-
require '
|
8
|
-
require 'sys-proctable'
|
9
|
+
require 'spec_helper'
|
9
10
|
require 'socket'
|
10
|
-
require_relative 'sys_proctable_all_spec'
|
11
11
|
|
12
|
-
describe Sys::ProcTable do
|
12
|
+
RSpec.describe Sys::ProcTable, :windows do
|
13
13
|
let(:hostname) { Socket.gethostname }
|
14
14
|
let(:fields) {
|
15
15
|
%w[
|
@@ -60,258 +60,258 @@ describe Sys::ProcTable do
|
|
60
60
|
]
|
61
61
|
}
|
62
62
|
|
63
|
-
context
|
64
|
-
it
|
63
|
+
context 'fields' do
|
64
|
+
it 'responds to a fields method' do
|
65
65
|
expect(described_class).to respond_to(:fields)
|
66
66
|
end
|
67
67
|
|
68
|
-
it
|
68
|
+
it 'returns the expected results for the fields method' do
|
69
69
|
expect(described_class.fields).to be_kind_of(Array)
|
70
70
|
expect(described_class.fields).to eql(fields)
|
71
71
|
end
|
72
72
|
end
|
73
73
|
|
74
|
-
context
|
75
|
-
it
|
76
|
-
expect{ described_class.ps(host
|
74
|
+
context 'ps' do
|
75
|
+
it 'accepts an optional host' do
|
76
|
+
expect{ described_class.ps(:host => hostname) }.not_to raise_error
|
77
77
|
end
|
78
78
|
|
79
|
-
it
|
80
|
-
expect{ described_class.ps(:smaps => false) }.
|
79
|
+
it 'ignores unused options' do
|
80
|
+
expect{ described_class.ps(:smaps => false) }.not_to raise_error
|
81
81
|
end
|
82
82
|
end
|
83
83
|
|
84
|
-
context
|
85
|
-
subject
|
84
|
+
context 'ProcTable::Struct members' do
|
85
|
+
subject(:process){ described_class.ps.first }
|
86
86
|
|
87
|
-
it
|
88
|
-
expect(
|
89
|
-
expect(
|
87
|
+
it 'has a write_transfer_count struct member with the expected data type' do
|
88
|
+
expect(process).to respond_to(:write_transfer_count)
|
89
|
+
expect(process.write_transfer_count).to be_kind_of(Integer)
|
90
90
|
end
|
91
91
|
|
92
|
-
it
|
93
|
-
expect(
|
94
|
-
expect(
|
92
|
+
it 'has a write_operation_count struct member with the expected data type' do
|
93
|
+
expect(process).to respond_to(:write_operation_count)
|
94
|
+
expect(process.write_operation_count).to be_kind_of(Integer)
|
95
95
|
end
|
96
96
|
|
97
|
-
it
|
98
|
-
expect(
|
99
|
-
expect(
|
97
|
+
it 'has a working_set_size struct member with the expected data type' do
|
98
|
+
expect(process).to respond_to(:working_set_size)
|
99
|
+
expect(process.working_set_size).to be_kind_of(Integer)
|
100
100
|
end
|
101
101
|
|
102
|
-
it
|
103
|
-
expect(
|
104
|
-
expect(
|
102
|
+
it 'has a windows_version struct member with the expected data type' do
|
103
|
+
expect(process).to respond_to(:windows_version)
|
104
|
+
expect(process.windows_version).to be_kind_of(String)
|
105
105
|
end
|
106
106
|
|
107
|
-
it
|
108
|
-
expect(
|
109
|
-
expect(
|
107
|
+
it 'has a virtual_size struct member with the expected data type' do
|
108
|
+
expect(process).to respond_to(:virtual_size)
|
109
|
+
expect(process.virtual_size).to be_kind_of(Integer)
|
110
110
|
end
|
111
111
|
|
112
|
-
it
|
113
|
-
expect(
|
114
|
-
expect(
|
112
|
+
it 'has a user_mode_time struct member with the expected data type' do
|
113
|
+
expect(process).to respond_to(:user_mode_time)
|
114
|
+
expect(process.user_mode_time).to be_kind_of(Integer)
|
115
115
|
end
|
116
116
|
|
117
|
-
it
|
118
|
-
expect(
|
119
|
-
expect(
|
117
|
+
it 'has a thread_count struct member with the expected data type' do
|
118
|
+
expect(process).to respond_to(:thread_count)
|
119
|
+
expect(process.thread_count).to be_kind_of(Integer)
|
120
120
|
end
|
121
121
|
|
122
|
-
it
|
123
|
-
expect(
|
124
|
-
expect(
|
122
|
+
it 'has a termination_date struct member with the expected data type' do
|
123
|
+
expect(process).to respond_to(:termination_date)
|
124
|
+
expect(process.termination_date).to be_kind_of(Date) if process.termination_date
|
125
125
|
end
|
126
126
|
|
127
|
-
it
|
128
|
-
expect(
|
129
|
-
expect(
|
127
|
+
it 'has a status struct member with the expected data type' do
|
128
|
+
expect(process).to respond_to(:status)
|
129
|
+
expect(process.status).to be_nil # Always nil according to MSDN
|
130
130
|
end
|
131
131
|
|
132
|
-
it
|
133
|
-
expect(
|
134
|
-
expect(
|
132
|
+
it 'has a session_id struct member with the expected data type' do
|
133
|
+
expect(process).to respond_to(:session_id)
|
134
|
+
expect(process.session_id).to be_kind_of(Integer)
|
135
135
|
end
|
136
136
|
|
137
|
-
it
|
138
|
-
expect(
|
139
|
-
expect(
|
137
|
+
it 'has a read_transfer_count struct member with the expected data type' do
|
138
|
+
expect(process).to respond_to(:read_transfer_count)
|
139
|
+
expect(process.read_transfer_count).to be_kind_of(Integer)
|
140
140
|
end
|
141
141
|
|
142
|
-
it
|
143
|
-
expect(
|
144
|
-
expect(
|
142
|
+
it 'has a read_operation_count struct member with the expected data type' do
|
143
|
+
expect(process).to respond_to(:read_operation_count)
|
144
|
+
expect(process.read_operation_count).to be_kind_of(Integer)
|
145
145
|
end
|
146
146
|
|
147
|
-
it
|
148
|
-
expect(
|
149
|
-
expect(
|
147
|
+
it 'has a quota_peak_paged_pool_usage struct member with the expected data type' do
|
148
|
+
expect(process).to respond_to(:quota_peak_paged_pool_usage)
|
149
|
+
expect(process.quota_peak_paged_pool_usage).to be_kind_of(Integer)
|
150
150
|
end
|
151
151
|
|
152
|
-
it
|
153
|
-
expect(
|
154
|
-
expect(
|
152
|
+
it 'has a quota_peak_non_paged_pool_usage struct member with the expected data type' do
|
153
|
+
expect(process).to respond_to(:quota_peak_non_paged_pool_usage)
|
154
|
+
expect(process.quota_peak_non_paged_pool_usage).to be_kind_of(Integer)
|
155
155
|
end
|
156
156
|
|
157
|
-
it
|
158
|
-
expect(
|
159
|
-
expect(
|
157
|
+
it 'has a quota_paged_pool_usage struct member with the expected data type' do
|
158
|
+
expect(process).to respond_to(:quota_paged_pool_usage)
|
159
|
+
expect(process.quota_paged_pool_usage).to be_kind_of(Integer)
|
160
160
|
end
|
161
161
|
|
162
|
-
it
|
163
|
-
expect(
|
164
|
-
expect(
|
162
|
+
it 'has a quota_non_paged_pool_usage struct member with the expected data type' do
|
163
|
+
expect(process).to respond_to(:quota_non_paged_pool_usage)
|
164
|
+
expect(process.quota_non_paged_pool_usage).to be_kind_of(Integer)
|
165
165
|
end
|
166
166
|
|
167
|
-
it
|
168
|
-
expect(
|
169
|
-
expect(
|
167
|
+
it 'has a pid struct member with the expected data type' do
|
168
|
+
expect(process).to respond_to(:pid)
|
169
|
+
expect(process.pid).to be_kind_of(Integer)
|
170
170
|
end
|
171
171
|
|
172
|
-
it
|
173
|
-
expect(
|
174
|
-
expect(
|
172
|
+
it 'has a private_page_count struct member with the expected data type' do
|
173
|
+
expect(process).to respond_to(:private_page_count)
|
174
|
+
expect(process.private_page_count).to be_kind_of(Integer)
|
175
175
|
end
|
176
176
|
|
177
|
-
it
|
178
|
-
expect(
|
179
|
-
expect(
|
177
|
+
it 'has a priority struct member with the expected data type' do
|
178
|
+
expect(process).to respond_to(:priority)
|
179
|
+
expect(process.priority).to be_kind_of(Integer)
|
180
180
|
end
|
181
181
|
|
182
|
-
it
|
183
|
-
expect(
|
184
|
-
expect(
|
182
|
+
it 'has a peak_working_set_size struct member with the expected data type' do
|
183
|
+
expect(process).to respond_to(:peak_working_set_size)
|
184
|
+
expect(process.peak_working_set_size).to be_kind_of(Integer)
|
185
185
|
end
|
186
186
|
|
187
|
-
it
|
188
|
-
expect(
|
189
|
-
expect(
|
187
|
+
it 'has a peak_virtual_size struct member with the expected data type' do
|
188
|
+
expect(process).to respond_to(:peak_virtual_size)
|
189
|
+
expect(process.peak_virtual_size).to be_kind_of(Integer)
|
190
190
|
end
|
191
191
|
|
192
|
-
it
|
193
|
-
expect(
|
194
|
-
expect(
|
192
|
+
it 'has a peak_page_file_usage struct member with the expected data type' do
|
193
|
+
expect(process).to respond_to(:peak_page_file_usage)
|
194
|
+
expect(process.peak_page_file_usage).to be_kind_of(Integer)
|
195
195
|
end
|
196
196
|
|
197
|
-
it
|
198
|
-
expect(
|
199
|
-
expect(
|
197
|
+
it 'has a ppid struct member with the expected data type' do
|
198
|
+
expect(process).to respond_to(:ppid)
|
199
|
+
expect(process.ppid).to be_kind_of(Integer)
|
200
200
|
end
|
201
201
|
|
202
|
-
it
|
203
|
-
expect(
|
204
|
-
expect(
|
202
|
+
it 'has a page_file_usage struct member with the expected data type' do
|
203
|
+
expect(process).to respond_to(:page_file_usage)
|
204
|
+
expect(process.page_file_usage).to be_kind_of(Integer)
|
205
205
|
end
|
206
206
|
|
207
|
-
it
|
208
|
-
expect(
|
209
|
-
expect(
|
207
|
+
it 'has a page_faults struct member with the expected data type' do
|
208
|
+
expect(process).to respond_to(:page_faults)
|
209
|
+
expect(process.page_faults).to be_kind_of(Integer)
|
210
210
|
end
|
211
211
|
|
212
|
-
it
|
213
|
-
expect(
|
214
|
-
expect(
|
212
|
+
it 'has a other_transfer_count struct member with the expected data type' do
|
213
|
+
expect(process).to respond_to(:other_transfer_count)
|
214
|
+
expect(process.other_transfer_count).to be_kind_of(Integer)
|
215
215
|
end
|
216
216
|
|
217
|
-
it
|
218
|
-
expect(
|
219
|
-
expect(
|
217
|
+
it 'has a other_operation_count struct member with the expected data type' do
|
218
|
+
expect(process).to respond_to(:other_operation_count)
|
219
|
+
expect(process.other_operation_count).to be_kind_of(Integer)
|
220
220
|
end
|
221
221
|
|
222
|
-
it
|
223
|
-
expect(
|
224
|
-
expect(
|
222
|
+
it 'has a os_name struct member with the expected data type' do
|
223
|
+
expect(process).to respond_to(:os_name)
|
224
|
+
expect(process.os_name).to be_kind_of(String)
|
225
225
|
end
|
226
226
|
|
227
|
-
it
|
228
|
-
expect(
|
229
|
-
expect(
|
227
|
+
it 'has a os_creation_class_name struct member with the expected data type' do
|
228
|
+
expect(process).to respond_to(:os_creation_class_name)
|
229
|
+
expect(process.os_creation_class_name).to be_kind_of(String)
|
230
230
|
end
|
231
231
|
|
232
|
-
it
|
233
|
-
expect(
|
234
|
-
expect(
|
232
|
+
it 'has a name struct member with the expected data type' do
|
233
|
+
expect(process).to respond_to(:name)
|
234
|
+
expect(process.name).to be_kind_of(String)
|
235
235
|
end
|
236
236
|
|
237
|
-
it
|
238
|
-
expect(
|
239
|
-
expect(
|
237
|
+
it 'has a minimum_working_set_size struct member with the expected data type' do
|
238
|
+
expect(process).to respond_to(:minimum_working_set_size)
|
239
|
+
expect(process.minimum_working_set_size).to be_kind_of(Integer) if process.minimum_working_set_size
|
240
240
|
end
|
241
241
|
|
242
|
-
it
|
243
|
-
expect(
|
244
|
-
expect(
|
242
|
+
it 'has a maximum_working_set_size struct member with the expected data type' do
|
243
|
+
expect(process).to respond_to(:maximum_working_set_size)
|
244
|
+
expect(process.maximum_working_set_size).to be_kind_of(Integer) if process.maximum_working_set_size
|
245
245
|
end
|
246
246
|
|
247
|
-
it
|
248
|
-
expect(
|
249
|
-
expect(
|
247
|
+
it 'has a kernel_mode_time struct member with the expected data type' do
|
248
|
+
expect(process).to respond_to(:kernel_mode_time)
|
249
|
+
expect(process.kernel_mode_time).to be_kind_of(Integer)
|
250
250
|
end
|
251
251
|
|
252
|
-
it
|
253
|
-
expect(
|
254
|
-
expect(
|
252
|
+
it 'has a install_date struct member with the expected data type' do
|
253
|
+
expect(process).to respond_to(:install_date)
|
254
|
+
expect(process.install_date).to be_kind_of(Date) if process.install_date
|
255
255
|
end
|
256
256
|
|
257
|
-
it
|
258
|
-
expect(
|
259
|
-
expect(
|
257
|
+
it 'has a handle_count struct member with the expected data type' do
|
258
|
+
expect(process).to respond_to(:handle_count)
|
259
|
+
expect(process.handle_count).to be_kind_of(Integer)
|
260
260
|
end
|
261
261
|
|
262
|
-
it
|
263
|
-
expect(
|
264
|
-
expect(
|
262
|
+
it 'has a handle struct member with the expected data type' do
|
263
|
+
expect(process).to respond_to(:handle)
|
264
|
+
expect(process.handle).to be_kind_of(String)
|
265
265
|
end
|
266
266
|
|
267
|
-
it
|
268
|
-
expect(
|
269
|
-
expect(
|
267
|
+
it 'has a execution_state struct member with the expected data type' do
|
268
|
+
expect(process).to respond_to(:execution_state)
|
269
|
+
expect(process.execution_state).to be_nil
|
270
270
|
end
|
271
271
|
|
272
|
-
it
|
273
|
-
expect(
|
274
|
-
expect(
|
272
|
+
it 'has a executable_path struct member with the expected data type' do
|
273
|
+
expect(process).to respond_to(:executable_path)
|
274
|
+
expect(process.executable_path).to be_kind_of(String) if process.executable_path
|
275
275
|
end
|
276
276
|
|
277
|
-
it
|
278
|
-
expect(
|
279
|
-
expect(
|
277
|
+
it 'has a description struct member with the expected data type' do
|
278
|
+
expect(process).to respond_to(:description)
|
279
|
+
expect(process.description).to be_kind_of(String)
|
280
280
|
end
|
281
281
|
|
282
|
-
it
|
283
|
-
expect(
|
284
|
-
expect(
|
282
|
+
it 'has a cs_name struct member with the expected data type' do
|
283
|
+
expect(process).to respond_to(:cs_name)
|
284
|
+
expect(process.cs_name).to be_kind_of(String)
|
285
285
|
end
|
286
286
|
|
287
|
-
it
|
288
|
-
expect(
|
289
|
-
expect(
|
287
|
+
it 'has a cs_creation_class_name struct member with the expected data type' do
|
288
|
+
expect(process).to respond_to(:cs_creation_class_name)
|
289
|
+
expect(process.cs_creation_class_name).to be_kind_of(String)
|
290
290
|
end
|
291
291
|
|
292
|
-
it
|
293
|
-
expect(
|
294
|
-
expect(
|
292
|
+
it 'has a creation_date struct member with the expected data type' do
|
293
|
+
expect(process).to respond_to(:creation_date)
|
294
|
+
expect(process.creation_date).to be_kind_of(Date) if process.creation_date
|
295
295
|
end
|
296
296
|
|
297
|
-
it
|
298
|
-
expect(
|
299
|
-
expect(
|
297
|
+
it 'has a creation_class_name struct member with the expected data type' do
|
298
|
+
expect(process).to respond_to(:creation_class_name)
|
299
|
+
expect(process.creation_class_name).to be_kind_of(String)
|
300
300
|
end
|
301
301
|
|
302
|
-
it
|
303
|
-
expect(
|
304
|
-
expect(
|
302
|
+
it 'has a comm struct member with the expected data type' do
|
303
|
+
expect(process).to respond_to(:comm)
|
304
|
+
expect(process.comm).to be_kind_of(String)
|
305
305
|
end
|
306
306
|
|
307
|
-
it
|
308
|
-
expect(
|
309
|
-
expect(
|
307
|
+
it 'has a cmdline struct member with the expected data type' do
|
308
|
+
expect(process).to respond_to(:cmdline)
|
309
|
+
expect(process.cmdline).to be_kind_of(String) if process.cmdline
|
310
310
|
end
|
311
311
|
|
312
|
-
it
|
313
|
-
expect(
|
314
|
-
expect(
|
312
|
+
it 'has a caption struct member with the expected data type' do
|
313
|
+
expect(process).to respond_to(:caption)
|
314
|
+
expect(process.caption).to be_kind_of(String)
|
315
315
|
end
|
316
316
|
end
|
317
317
|
end
|
data/spec/sys_top_spec.rb
CHANGED
@@ -3,49 +3,48 @@
|
|
3
3
|
#
|
4
4
|
# Test suite for the sys-top library that is included with this distribution.
|
5
5
|
##############################################################################
|
6
|
-
require '
|
7
|
-
require 'sys/top'
|
6
|
+
require 'spec_helper'
|
8
7
|
|
9
|
-
describe Sys::Top do
|
10
|
-
context
|
11
|
-
it
|
8
|
+
RSpec.describe Sys::Top do
|
9
|
+
context 'constants' do
|
10
|
+
it 'sets the version to the expected value' do
|
12
11
|
expect(Sys::Top::VERSION).to eql('1.0.5')
|
13
12
|
end
|
14
13
|
end
|
15
14
|
|
16
|
-
context
|
17
|
-
it
|
18
|
-
expect(described_class).to respond_to(:top)
|
15
|
+
context 'top' do
|
16
|
+
it 'defines a top method' do
|
17
|
+
expect(described_class).to respond_to(:top)
|
19
18
|
end
|
20
19
|
|
21
|
-
it
|
20
|
+
it 'returns an array' do
|
22
21
|
expect(described_class.top).to be_kind_of(Array)
|
23
22
|
end
|
24
23
|
|
25
|
-
it
|
26
|
-
expect{ described_class.top }.
|
24
|
+
it 'works with no arguments' do
|
25
|
+
expect{ described_class.top }.not_to raise_error
|
27
26
|
end
|
28
27
|
|
29
|
-
it
|
28
|
+
it 'accepts a maximum of two arguments' do
|
30
29
|
expect{ described_class.top(1, 'foo', 2) }.to raise_error(ArgumentError)
|
31
30
|
end
|
32
31
|
|
33
|
-
it
|
34
|
-
expect{ described_class.top(5) }.
|
35
|
-
expect{ described_class.top(5, 'cmdline') }.
|
32
|
+
it 'accepts optional arguments' do
|
33
|
+
expect{ described_class.top(5) }.not_to raise_error
|
34
|
+
expect{ described_class.top(5, 'cmdline') }.not_to raise_error
|
36
35
|
end
|
37
36
|
|
38
|
-
it
|
39
|
-
expect(described_class.top.size).to
|
37
|
+
it 'returns the expected results with no arguments' do
|
38
|
+
expect(described_class.top.size).to be(10)
|
40
39
|
expect(described_class.top.first).to be_kind_of(Struct::ProcTableStruct)
|
41
40
|
end
|
42
41
|
|
43
|
-
it
|
44
|
-
expect(described_class.top(5).size).to
|
42
|
+
it 'returns the expected result with a size argument' do
|
43
|
+
expect(described_class.top(5).size).to be(5)
|
45
44
|
end
|
46
45
|
|
47
|
-
it
|
48
|
-
expect(described_class.top(5, :cmdline).size).to
|
46
|
+
it 'returns the expected result with a size and sort_by argument' do
|
47
|
+
expect(described_class.top(5, :cmdline).size).to be(5)
|
49
48
|
end
|
50
49
|
end
|
51
50
|
end
|
data/sys-proctable.gemspec
CHANGED
@@ -1,41 +1,32 @@
|
|
1
1
|
require 'rubygems'
|
2
|
+
require_relative 'lib/sys/proctable/version'
|
2
3
|
|
3
4
|
Gem::Specification.new do |spec|
|
4
5
|
spec.name = 'sys-proctable'
|
5
|
-
spec.version =
|
6
|
+
spec.version = Sys::ProcTable::VERSION
|
6
7
|
spec.author = 'Daniel J. Berger'
|
7
8
|
spec.license = 'Apache-2.0'
|
8
9
|
spec.email = 'djberg96@gmail.com'
|
9
10
|
spec.homepage = 'http://github.com/djberg96/sys-proctable'
|
10
11
|
spec.summary = 'An interface for providing process table information'
|
11
|
-
spec.
|
12
|
+
spec.files = Dir['**/*'].reject{ |f| f.include?('git') }
|
13
|
+
spec.test_files = Dir['spec/*.rb']
|
12
14
|
spec.cert_chain = ['certs/djberg96_pub.pem']
|
13
15
|
|
14
|
-
spec.
|
15
|
-
|
16
|
-
"examples/**/*.rb",
|
17
|
-
"lib/**/*.rb",
|
18
|
-
'CHANGES.rdoc',
|
19
|
-
'LICENSE',
|
20
|
-
'MANIFEST.rdoc',
|
21
|
-
'Rakefile',
|
22
|
-
'README.md',
|
23
|
-
'sys-proctable.gemspec'
|
24
|
-
]
|
25
|
-
|
26
|
-
spec.extra_rdoc_files = ['CHANGES.rdoc', 'README.md', 'MANIFEST.rdoc']
|
27
|
-
|
28
|
-
spec.add_dependency('ffi')
|
29
|
-
spec.add_development_dependency('rspec')
|
16
|
+
spec.add_dependency('ffi', '~> 1.1')
|
17
|
+
spec.add_development_dependency('rspec', '~> 3.9')
|
30
18
|
spec.add_development_dependency('rake')
|
19
|
+
spec.add_development_dependency('rubocop')
|
20
|
+
spec.add_development_dependency('rubocop-rspec')
|
31
21
|
|
32
22
|
spec.metadata = {
|
33
|
-
'homepage_uri'
|
34
|
-
'bug_tracker_uri'
|
35
|
-
'changelog_uri'
|
36
|
-
'documentation_uri'
|
37
|
-
'source_code_uri'
|
38
|
-
'wiki_uri'
|
23
|
+
'homepage_uri' => 'https://github.com/djberg96/sys-proctable',
|
24
|
+
'bug_tracker_uri' => 'https://github.com/djberg96/sys-proctable/issues',
|
25
|
+
'changelog_uri' => 'https://github.com/djberg96/sys-proctable/blob/main/CHANGES.md',
|
26
|
+
'documentation_uri' => 'https://github.com/djberg96/sys-proctable/wiki',
|
27
|
+
'source_code_uri' => 'https://github.com/djberg96/sys-proctable',
|
28
|
+
'wiki_uri' => 'https://github.com/djberg96/sys-proctable/wiki',
|
29
|
+
'rubygems_mfa_required' => 'true'
|
39
30
|
}
|
40
31
|
|
41
32
|
spec.description = <<-EOF
|
data.tar.gz.sig
CHANGED
Binary file
|