intrigue-ident 0.41 → 0.42

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 551c2e7fbad43d3a88103d9d2a11eb9eae04dfe61bfdba3c4a6f984a0ecfb790
4
- data.tar.gz: aaf4e1231545ca2914ee992d877839400568d67d25e0e52f32a1778b1ab8afd0
3
+ metadata.gz: b5d22bb6ba0a17cb4f63563d139000b5b362aa0804736de68665f5e5d27d0219
4
+ data.tar.gz: d5b42a4de90a45a3c9f018038b40159afbf6a12a5471d22d184b87068103b8da
5
5
  SHA512:
6
- metadata.gz: 679b542c3613ba840e66d02e640f17e6a8a669b224cec7b36b83c7a15c873f73df4579bd1c28b3d09142395a3af36a3acb4518400456ff762b9758fd784d2782
7
- data.tar.gz: ef8758ca3d1fb4d715b9634566d457d4acc87580491ad77ae58f5df2978955effc14b374d6cf6c465eb907bbdd6abad7a1f80f3c937cc620a1f93861c6f82e7c
6
+ metadata.gz: 40c62632d3babf34b888b7258fe4d780f6508612754606cd0d0f4961a7966d327d6f7c1dc6d85911bfe34e341a299c6190c1aac9ac57307f770596bf3d12ab7a
7
+ data.tar.gz: 724e63d5ee4c97b17c8b0aa5205edf51de8a05573d8622469aec349aa802e57fce663ce1b90b5a89afe3f6d0ebfd8b0e2902568b073a6d9bda5ccefab5cf81f3
data/Gemfile CHANGED
@@ -2,4 +2,3 @@ source 'https://rubygems.org'
2
2
  ruby '2.5.1'
3
3
 
4
4
  gem "rspec"
5
- gem "pry"
data/Gemfile.lock CHANGED
@@ -1,12 +1,7 @@
1
1
  GEM
2
2
  remote: https://rubygems.org/
3
3
  specs:
4
- coderay (1.1.2)
5
4
  diff-lcs (1.3)
6
- method_source (0.9.0)
7
- pry (0.11.3)
8
- coderay (~> 1.1.0)
9
- method_source (~> 0.9.0)
10
5
  rspec (3.7.0)
11
6
  rspec-core (~> 3.7.0)
12
7
  rspec-expectations (~> 3.7.0)
@@ -25,7 +20,6 @@ PLATFORMS
25
20
  ruby
26
21
 
27
22
  DEPENDENCIES
28
- pry
29
23
  rspec
30
24
 
31
25
  RUBY VERSION
@@ -1,5 +1,5 @@
1
1
  # coding: utf-8
2
- require_relative 'ident'
2
+ require_relative 'lib/intrigue-ident'
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = "intrigue-ident"
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
  spec.description = %q{Fingerprinter for Intrigue Data}
12
12
  spec.homepage = "https://intrigue.io"
13
13
  spec.license = "BSD"
14
- spec.files = ["ident.rb"].concat(`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) })
14
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
15
15
  spec.bindir = "exe"
16
16
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
17
17
  spec.require_paths = ["lib"]
@@ -0,0 +1,22 @@
1
+ module Intrigue
2
+ module Ident
3
+ module Check
4
+ class Vmware < Intrigue::Ident::Check::Base
5
+
6
+ def generate_checks(uri)
7
+ [
8
+ {
9
+ :name => "VMWare Horizon",
10
+ :description => "VMWare Horizon",
11
+ :version => nil,
12
+ :type => :content_body,
13
+ :content => /<title>VMware Horizon/,
14
+ :paths => ["#{uri}"]
15
+ }
16
+ ]
17
+ end
18
+
19
+ end
20
+ end
21
+ end
22
+ end
@@ -3,15 +3,15 @@ require 'net/http'
3
3
  require 'openssl'
4
4
  require 'zlib'
5
5
 
6
- require_relative 'lib/check_factory'
7
- require_relative 'lib/checks/base'
8
- check_folder = File.expand_path('lib/checks', File.dirname(__FILE__)) # get absolute directory
6
+ require_relative 'check_factory'
7
+ require_relative 'checks/base'
8
+ check_folder = File.expand_path('checks', File.dirname(__FILE__)) # get absolute directory
9
9
  Dir["#{check_folder}/*.rb"].each { |file| require_relative file }
10
10
 
11
11
  module Intrigue
12
12
  module Ident
13
13
 
14
- VERSION=0.41
14
+ VERSION=0.42
15
15
 
16
16
  def generate_requests_and_check(url)
17
17
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: intrigue-ident
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.41'
4
+ version: '0.42'
5
5
  platform: ruby
6
6
  authors:
7
7
  - jcran
@@ -61,7 +61,6 @@ extra_rdoc_files: []
61
61
  files:
62
62
  - Gemfile
63
63
  - Gemfile.lock
64
- - ident.rb
65
64
  - intrigue-ident.gemspec
66
65
  - lib/check_factory.rb
67
66
  - lib/checks/akamai.rb
@@ -104,8 +103,10 @@ files:
104
103
  - lib/checks/telerik.rb
105
104
  - lib/checks/tomcat.rb
106
105
  - lib/checks/varnish.rb
106
+ - lib/checks/vmware.rb
107
107
  - lib/checks/wordpress.rb
108
108
  - lib/checks/wp_engine.rb
109
+ - lib/intrigue-ident.rb
109
110
  homepage: https://intrigue.io
110
111
  licenses:
111
112
  - BSD