sys-proc 1.0.0 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 39b451a1d8735506348a61a6a589dec046c5d6b8
4
- data.tar.gz: 25fa3150119a1192fba407ea7d1e8c9a299b89a0
3
+ metadata.gz: 5eb7eae1877661f309f8d3e78e22a6e9c5939db8
4
+ data.tar.gz: f061939396d5e30a22ff9c887807d4b568f4ddd6
5
5
  SHA512:
6
- metadata.gz: 73830b7f8a7c870ca72e163e9a51e9d812e72eed5524719c1b10cef503759bb84b2afa853e6dbd34ad1373e28a231848789833d6e14f150b7ffb03698845777a
7
- data.tar.gz: c3a71e5772275baae9b0f3b58bde5c910cfcdf49e1498f2a23336b15fc9cad6a26a745fd8c1a99edbe8283a5b1879e8d0bbdde8cec414a75c6da60a75cb9da3c
6
+ metadata.gz: 8da08033a708ba1f035f2c12b5f5780656ac1ff4f5eb561b81f0855f1fb46ad91585deb03c6e72942a2d9846a52d6f360aadb613473bd871067af1fb815edf3f
7
+ data.tar.gz: 80eeba1851b3a1db2c89e2b8db5d11ec7b479d6337a2f348344ea5555c16328b76b1b555f333d772dda88ff0651eaa2d4ae825bc31cf82362aa35457f43b866f
@@ -0,0 +1 @@
1
+ lib/**/*.rb --markup=markdown
@@ -2,6 +2,12 @@
2
2
  # frozen_string_literal: true
3
3
  # rubocop:enable Style/FileName
4
4
 
5
+ # Copyright (C) 2017 Dimitri Arrigoni <dimitri@arrigoni.me>
6
+ # License GPLv3+: GNU GPL version 3 or later
7
+ # <http://www.gnu.org/licenses/gpl.html>.
8
+ # This is free software: you are free to change and redistribute it.
9
+ # There is NO WARRANTY, to the extent permitted by law.
10
+
5
11
  $LOAD_PATH.unshift __dir__
6
12
 
7
13
  if 'development' == ENV['PROJECT_MODE']
@@ -1,5 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # Copyright (C) 2017 Dimitri Arrigoni <dimitri@arrigoni.me>
4
+ # License GPLv3+: GNU GPL version 3 or later
5
+ # <http://www.gnu.org/licenses/gpl.html>.
6
+ # This is free software: you are free to change and redistribute it.
7
+ # There is NO WARRANTY, to the extent permitted by law.
8
+
3
9
  require 'English'
4
10
 
5
11
  # The Sys module is only used as a namespace
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright (C) 2017 Dimitri Arrigoni <dimitri@arrigoni.me>
4
+ # License GPLv3+: GNU GPL version 3 or later
5
+ # <http://www.gnu.org/licenses/gpl.html>.
6
+ # This is free software: you are free to change and redistribute it.
7
+ # There is NO WARRANTY, to the extent permitted by law.
8
+
9
+ require 'active_support/concern'
10
+
11
+ module Sys::Proc::Concern
12
+
13
+ end
@@ -1,5 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # Copyright (C) 2017 Dimitri Arrigoni <dimitri@arrigoni.me>
4
+ # License GPLv3+: GNU GPL version 3 or later
5
+ # <http://www.gnu.org/licenses/gpl.html>.
6
+ # This is free software: you are free to change and redistribute it.
7
+ # There is NO WARRANTY, to the extent permitted by law.
8
+
3
9
  require 'sys/proc/concern'
4
10
  require 'sys/proc/helper'
5
11
 
@@ -1,5 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # Copyright (C) 2017 Dimitri Arrigoni <dimitri@arrigoni.me>
4
+ # License GPLv3+: GNU GPL version 3 or later
5
+ # <http://www.gnu.org/licenses/gpl.html>.
6
+ # This is free software: you are free to change and redistribute it.
7
+ # There is NO WARRANTY, to the extent permitted by law.
8
+
3
9
  require 'sys/proc/concern'
4
10
 
5
11
  # Provides static accesses
@@ -1,5 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # Copyright (C) 2017 Dimitri Arrigoni <dimitri@arrigoni.me>
4
+ # License GPLv3+: GNU GPL version 3 or later
5
+ # <http://www.gnu.org/licenses/gpl.html>.
6
+ # This is free software: you are free to change and redistribute it.
7
+ # There is NO WARRANTY, to the extent permitted by law.
8
+
3
9
  require 'sys/proc/concern'
4
10
  require 'sys/proc/concern/helper'
5
11
 
@@ -1,5 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # Copyright (C) 2017 Dimitri Arrigoni <dimitri@arrigoni.me>
4
+ # License GPLv3+: GNU GPL version 3 or later
5
+ # <http://www.gnu.org/licenses/gpl.html>.
6
+ # This is free software: you are free to change and redistribute it.
7
+ # There is NO WARRANTY, to the extent permitted by law.
8
+
3
9
  require 'sys/proc/concern/helper'
4
10
  require 'sys/proc/concern/system'
5
11
  require 'sys/proc/concern/system/generic'
@@ -1,5 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # Copyright (C) 2017 Dimitri Arrigoni <dimitri@arrigoni.me>
4
+ # License GPLv3+: GNU GPL version 3 or later
5
+ # <http://www.gnu.org/licenses/gpl.html>.
6
+ # This is free software: you are free to change and redistribute it.
7
+ # There is NO WARRANTY, to the extent permitted by law.
8
+
3
9
  require 'sys/proc/concern/system'
4
10
 
5
11
  # Provides generic methods
@@ -1,5 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # Copyright (C) 2017 Dimitri Arrigoni <dimitri@arrigoni.me>
4
+ # License GPLv3+: GNU GPL version 3 or later
5
+ # <http://www.gnu.org/licenses/gpl.html>.
6
+ # This is free software: you are free to change and redistribute it.
7
+ # There is NO WARRANTY, to the extent permitted by law.
8
+
3
9
  require 'sys/proc/concern/helper'
4
10
  require 'sys/proc/concern/system'
5
11
  require 'sys/proc/concern/system/generic'
@@ -1,5 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # Copyright (C) 2017 Dimitri Arrigoni <dimitri@arrigoni.me>
4
+ # License GPLv3+: GNU GPL version 3 or later
5
+ # <http://www.gnu.org/licenses/gpl.html>.
6
+ # This is free software: you are free to change and redistribute it.
7
+ # There is NO WARRANTY, to the extent permitted by law.
8
+
3
9
  require 'pathname'
4
10
 
5
11
  require 'sys/proc/concern'
@@ -1,5 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # Copyright (C) 2017 Dimitri Arrigoni <dimitri@arrigoni.me>
4
+ # License GPLv3+: GNU GPL version 3 or later
5
+ # <http://www.gnu.org/licenses/gpl.html>.
6
+ # This is free software: you are free to change and redistribute it.
7
+ # There is NO WARRANTY, to the extent permitted by law.
8
+
3
9
  require 'sys/proc'
4
10
 
5
11
  # Provides access to helper classes
@@ -1,5 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # Copyright (C) 2017 Dimitri Arrigoni <dimitri@arrigoni.me>
4
+ # License GPLv3+: GNU GPL version 3 or later
5
+ # <http://www.gnu.org/licenses/gpl.html>.
6
+ # This is free software: you are free to change and redistribute it.
7
+ # There is NO WARRANTY, to the extent permitted by law.
8
+
3
9
  require 'sys/proc/helper'
4
10
 
5
11
  class Sys::Proc::Helper::Inflector
@@ -1,5 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # Copyright (C) 2017 Dimitri Arrigoni <dimitri@arrigoni.me>
4
+ # License GPLv3+: GNU GPL version 3 or later
5
+ # <http://www.gnu.org/licenses/gpl.html>.
6
+ # This is free software: you are free to change and redistribute it.
7
+ # There is NO WARRANTY, to the extent permitted by law.
8
+
3
9
  require 'fiddle'
4
10
  require 'sys/proc/helper'
5
11
 
@@ -1,5 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # Copyright (C) 2017 Dimitri Arrigoni <dimitri@arrigoni.me>
4
+ # License GPLv3+: GNU GPL version 3 or later
5
+ # <http://www.gnu.org/licenses/gpl.html>.
6
+ # This is free software: you are free to change and redistribute it.
7
+ # There is NO WARRANTY, to the extent permitted by law.
8
+
3
9
  # System helper
4
10
  class Sys::Proc::Helper::System
5
11
  # Identify operating system
@@ -1,5 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # Copyright (C) 2017 Dimitri Arrigoni <dimitri@arrigoni.me>
4
+ # License GPLv3+: GNU GPL version 3 or later
5
+ # <http://www.gnu.org/licenses/gpl.html>.
6
+ # This is free software: you are free to change and redistribute it.
7
+ # There is NO WARRANTY, to the extent permitted by law.
8
+
3
9
  require 'sys/proc/helper/system'
4
10
 
5
11
  # Provides access to ``Sys::Proc::Concerns::System::Generic`` methods
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright (C) 2017 Dimitri Arrigoni <dimitri@arrigoni.me>
4
+ # License GPLv3+: GNU GPL version 3 or later
5
+ # <http://www.gnu.org/licenses/gpl.html>.
6
+ # This is free software: you are free to change and redistribute it.
7
+ # There is NO WARRANTY, to the extent permitted by law.
8
+
9
+ require 'sys/proc'
10
+
11
+ # OS specific namespace
12
+ module Sys::Proc::System
13
+
14
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright (C) 2017 Dimitri Arrigoni <dimitri@arrigoni.me>
4
+ # License GPLv3+: GNU GPL version 3 or later
5
+ # <http://www.gnu.org/licenses/gpl.html>.
6
+ # This is free software: you are free to change and redistribute it.
7
+ # There is NO WARRANTY, to the extent permitted by law.
8
+
9
+ require 'sys/proc/system'
10
+
11
+ # Freebsd specific namespace
12
+ module Sys::Proc::System::Freebsd
13
+
14
+ end
@@ -1,5 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # Copyright (C) 2017 Dimitri Arrigoni <dimitri@arrigoni.me>
4
+ # License GPLv3+: GNU GPL version 3 or later
5
+ # <http://www.gnu.org/licenses/gpl.html>.
6
+ # This is free software: you are free to change and redistribute it.
7
+ # There is NO WARRANTY, to the extent permitted by law.
8
+
3
9
  require 'fiddle'
4
10
  require 'sys/proc/system/freebsd'
5
11
  require 'sys/proc/concern/helper'
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright (C) 2017 Dimitri Arrigoni <dimitri@arrigoni.me>
4
+ # License GPLv3+: GNU GPL version 3 or later
5
+ # <http://www.gnu.org/licenses/gpl.html>.
6
+ # This is free software: you are free to change and redistribute it.
7
+ # There is NO WARRANTY, to the extent permitted by law.
8
+
9
+ require 'sys/proc/system'
10
+
11
+ # GNU/Linux specific namespace
12
+ module Sys::Proc::System::LinuxGnu
13
+
14
+ end
@@ -1,5 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # Copyright (C) 2017 Dimitri Arrigoni <dimitri@arrigoni.me>
4
+ # License GPLv3+: GNU GPL version 3 or later
5
+ # <http://www.gnu.org/licenses/gpl.html>.
6
+ # This is free software: you are free to change and redistribute it.
7
+ # There is NO WARRANTY, to the extent permitted by law.
8
+
3
9
  require 'fiddle'
4
10
  require 'sys/proc/system/linux_gnu'
5
11
  require 'sys/proc/concern/helper'
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  major: 1
3
3
  minor: 0
4
- patch: 0
4
+ patch: 2
5
5
  authors: ['Dimitri Arrigoni']
6
6
  email: 'dimitri@arrigoni.me'
7
7
  date: '2017-05-20'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sys-proc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dimitri Arrigoni
@@ -240,27 +240,28 @@ executables: []
240
240
  extensions: []
241
241
  extra_rdoc_files: []
242
242
  files:
243
- - src/lib/sys-proc.rb
244
- - src/lib/sys/proc.rb
245
- - src/lib/sys/proc/concern.rb
246
- - src/lib/sys/proc/concern/helper.rb
247
- - src/lib/sys/proc/concern/static_instance.rb
248
- - src/lib/sys/proc/concern/system.rb
249
- - src/lib/sys/proc/concern/system/freebsd.rb
250
- - src/lib/sys/proc/concern/system/generic.rb
251
- - src/lib/sys/proc/concern/system/linux_gnu.rb
252
- - src/lib/sys/proc/concern/versionable.rb
253
- - src/lib/sys/proc/helper.rb
254
- - src/lib/sys/proc/helper/inflector.rb
255
- - src/lib/sys/proc/helper/lib_c.rb
256
- - src/lib/sys/proc/helper/system.rb
257
- - src/lib/sys/proc/helper/system/generic.rb
258
- - src/lib/sys/proc/system.rb
259
- - src/lib/sys/proc/system/freebsd.rb
260
- - src/lib/sys/proc/system/freebsd/lib_c.rb
261
- - src/lib/sys/proc/system/linux_gnu.rb
262
- - src/lib/sys/proc/system/linux_gnu/prctl.rb
263
- - src/lib/sys/proc/version_info.yml
243
+ - ".yardopts"
244
+ - lib/sys-proc.rb
245
+ - lib/sys/proc.rb
246
+ - lib/sys/proc/concern.rb
247
+ - lib/sys/proc/concern/helper.rb
248
+ - lib/sys/proc/concern/static_instance.rb
249
+ - lib/sys/proc/concern/system.rb
250
+ - lib/sys/proc/concern/system/freebsd.rb
251
+ - lib/sys/proc/concern/system/generic.rb
252
+ - lib/sys/proc/concern/system/linux_gnu.rb
253
+ - lib/sys/proc/concern/versionable.rb
254
+ - lib/sys/proc/helper.rb
255
+ - lib/sys/proc/helper/inflector.rb
256
+ - lib/sys/proc/helper/lib_c.rb
257
+ - lib/sys/proc/helper/system.rb
258
+ - lib/sys/proc/helper/system/generic.rb
259
+ - lib/sys/proc/system.rb
260
+ - lib/sys/proc/system/freebsd.rb
261
+ - lib/sys/proc/system/freebsd/lib_c.rb
262
+ - lib/sys/proc/system/linux_gnu.rb
263
+ - lib/sys/proc/system/linux_gnu/prctl.rb
264
+ - lib/sys/proc/version_info.yml
264
265
  homepage: https://github.com/SwagDevOps/sys-proc
265
266
  licenses:
266
267
  - GPL-3.0
@@ -268,7 +269,7 @@ metadata: {}
268
269
  post_install_message:
269
270
  rdoc_options: []
270
271
  require_paths:
271
- - src/lib
272
+ - lib
272
273
  required_ruby_version: !ruby/object:Gem::Requirement
273
274
  requirements:
274
275
  - - ">="
@@ -1,7 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'active_support/concern'
4
-
5
- module Sys::Proc::Concern
6
-
7
- end
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'sys/proc'
4
-
5
- # OS specific namespace
6
- module Sys::Proc::System
7
-
8
- end
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'sys/proc/system'
4
-
5
- # Freebsd specific namespace
6
- module Sys::Proc::System::Freebsd
7
-
8
- end
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'sys/proc/system'
4
-
5
- # GNU/Linux specific namespace
6
- module Sys::Proc::System::LinuxGnu
7
-
8
- end