neetob 0.5.25 → 0.5.27

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: 463e3069608150d1b71ed3e14bb1997bbbfe08eb93791197c8e2a4b8f89bcff6
4
- data.tar.gz: 71474eaad031964346b1ab2079a2e953d3506d610c2022b8e8e3805ccf78e355
3
+ metadata.gz: 43bee5927b6fc71846d91dde3422ae976aafe5f25a9d00324b74fdf1e9582c2f
4
+ data.tar.gz: c8335267601b2bbcb5a2055d09c774aa76d1c1868fc0b2e3d9437bfe6c2cd3cd
5
5
  SHA512:
6
- metadata.gz: de8ffbe2984bafb15e22912adf3e51b79da0107c1dab6393edf3814d6b88ffd1e8d73caa66c8badda2e73330721acc1741cc48a33b63d97251d23e92a83b689f
7
- data.tar.gz: ca27c65ae1b8d805a757d1cdf36fdf7ee7aab86134c818a20955d11903c3d3a5b6638286a93efa33da349c1c9fb97b834ae0f089645de75d252b71cf2819e07e
6
+ metadata.gz: 3f51dcfcae88fc1bcb8993c7f69473cc7cea25e434f551f5fa2a737c16b3a580bad6c85077e0160b76021fe0c86750e2d5a78b291b5d845fbff32bcd833fd8c3
7
+ data.tar.gz: 4be54dcb091c319bead3605732579fe1e8079903014d9802cfd512397b5191fd6314b23b746916b91e2adf74a908b2da31b1cfc8400d88e931a060da95a4eddf
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- neetob (0.5.25)
4
+ neetob (0.5.27)
5
5
  brakeman (~> 5.0)
6
6
  chronic
7
7
  dotenv (~> 2.8.1)
@@ -6,6 +6,11 @@ module Neetob
6
6
  module InstancesAndAddons
7
7
  module Cloudflare
8
8
  class DnsEntryHasProxyStatus < CLI::Base
9
+ DOMAINS_TO_IGNORE_AUDIT_RESULT_FOR = [
10
+ "neeto.com",
11
+ "bigbinary.com",
12
+ "neetorecord.com",
13
+ ]
9
14
  def initialize
10
15
  super()
11
16
  end
@@ -22,10 +27,13 @@ module Neetob
22
27
  proxiable_records = Neetob::CLI::Cloudflare::DnsProxyStatus.new(domain).run
23
28
  record_to_check = proxiable_records.select { |record| record[:name] == "*.#{domain}" }.first
24
29
  if record_to_check.nil?
25
- domains_data << [domain, "No * records found", "No"]
30
+ audit_passed = DOMAINS_TO_IGNORE_AUDIT_RESULT_FOR.include?(domain.to_s) ? "Ignored" : "No"
31
+ domains_data << [domain, "No * records found", audit_passed]
26
32
  else
27
33
  is_wildcard_subdomain_proxied = record_to_check[:proxied]
28
- audit_passed = is_wildcard_subdomain_proxied ? "Yes" : "No"
34
+ audit_passed = DOMAINS_TO_IGNORE_AUDIT_RESULT_FOR.include?(domain.to_s) ?
35
+ "Ignored" :
36
+ (is_wildcard_subdomain_proxied ? "Yes" : "No")
29
37
  proxy_status = is_wildcard_subdomain_proxied ? "on" : "off"
30
38
  domains_data << [domain, "#{record_to_check[:name]} has proxying turned #{proxy_status}",
31
39
  audit_passed]
@@ -54,6 +54,8 @@ module Neetob
54
54
  "neeto-wireframe-web-staging",
55
55
  "neeto-publish-web-staging",
56
56
  "neeto-publish-web-production",
57
+ "neeto-playdash-web-staging",
58
+ "neeto-playdash-web-production",
57
59
  "neeto-engage-web-staging",
58
60
  "neeto-engage-web-production"
59
61
  ]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Neetob
4
- VERSION = "0.5.25"
4
+ VERSION = "0.5.27"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neetob
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.25
4
+ version: 0.5.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Udai Gupta