pdscan_rb 0.1.0 → 0.1.1
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
- data/lib/pdscan_rb/scan.rb +2 -3
- data/lib/pdscan_rb/version.rb +1 -1
- metadata +2 -3
- data/pdscan_rb.gemspec +0 -37
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3c7ae4998bb641ed56e49fd674b15c2f0ace3bff5e694ff61beb840b1340b04e
|
|
4
|
+
data.tar.gz: dcdbd87e8834edc5a5ff0b0132bfde40024657af3db272fa1e966b34df0cb440
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 96296612623035fec784e70b8192455b0cb89bad9deecf291c02e807488627f56aa9482716c53d0a5447bd186075e279b4ca418cb7e42bf92c3cf5278b483940
|
|
7
|
+
data.tar.gz: 07bbcd64e8fce5ce9efe73618e6c1f23324f68b03189181c12e3204767f701f6c519192ae0d645d3fe899a328078d3bc1598b2b06f23dfa8f1276b31570dedde
|
data/lib/pdscan_rb/scan.rb
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
module PdscanRb
|
|
2
2
|
class PiiScan
|
|
3
3
|
def self.scan url, options
|
|
4
|
-
|
|
5
|
-
resp = `#{
|
|
6
|
-
# Add all your parsing code below
|
|
4
|
+
x = `bundle show pdscan_rb`
|
|
5
|
+
resp = `#{x}/lib/pdscan #{url} #{options}`
|
|
7
6
|
resp
|
|
8
7
|
end
|
|
9
8
|
end
|
data/lib/pdscan_rb/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pdscan_rb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Anuj
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-12-
|
|
11
|
+
date: 2022-12-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Ruby gem wrapper around PDSCAN library. This only acts as a simple method
|
|
14
14
|
to call pdscan library included in the gem. Only for the linux.
|
|
@@ -32,7 +32,6 @@ files:
|
|
|
32
32
|
- lib/pdscan_rb.rb
|
|
33
33
|
- lib/pdscan_rb/scan.rb
|
|
34
34
|
- lib/pdscan_rb/version.rb
|
|
35
|
-
- pdscan_rb.gemspec
|
|
36
35
|
homepage: https://github.com/ankane/pdscan
|
|
37
36
|
licenses:
|
|
38
37
|
- MIT
|
data/pdscan_rb.gemspec
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
require_relative "lib/pdscan_rb/version"
|
|
4
|
-
|
|
5
|
-
Gem::Specification.new do |spec|
|
|
6
|
-
spec.name = "pdscan_rb"
|
|
7
|
-
spec.version = PdscanRb::VERSION
|
|
8
|
-
spec.authors = ["Anuj"]
|
|
9
|
-
spec.email = ["mohatkaranuj@gmail.com"]
|
|
10
|
-
|
|
11
|
-
spec.summary = "Ruby gem wrapper around PDSCAN library"
|
|
12
|
-
spec.description = "Ruby gem wrapper around PDSCAN library. This only acts as a simple method to call pdscan library included in the gem. Only for the linux."
|
|
13
|
-
spec.homepage = "https://github.com/ankane/pdscan"
|
|
14
|
-
spec.license = "MIT"
|
|
15
|
-
spec.required_ruby_version = ">= 2.5.0"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
spec.metadata["homepage_uri"] = spec.homepage
|
|
19
|
-
spec.metadata["source_code_uri"] = "https://github.com/Anujlinux/pdscan_rb"
|
|
20
|
-
|
|
21
|
-
# Specify which files should be added to the gem when it is released.
|
|
22
|
-
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
23
|
-
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
|
24
|
-
`git ls-files -z`.split("\x0").reject do |f|
|
|
25
|
-
(f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
|
|
26
|
-
end
|
|
27
|
-
end
|
|
28
|
-
spec.bindir = "exe"
|
|
29
|
-
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
|
30
|
-
spec.require_paths = ["lib"]
|
|
31
|
-
|
|
32
|
-
# Uncomment to register a new dependency of your gem
|
|
33
|
-
# spec.add_dependency "example-gem", "~> 1.0"
|
|
34
|
-
|
|
35
|
-
# For more information and examples about making a new gem, checkout our
|
|
36
|
-
# guide at: https://bundler.io/guides/creating_gem.html
|
|
37
|
-
end
|