Sha256: 37b684bfa4dce0bcde7b8ebb0deaf2dbd20747eefb82cdb5f256839c86f4cec3

Contents?: true

Size: 1.02 KB

Versions: 1

Compression:

Stored size: 1.02 KB

Contents

# frozen_string_literal: true

module NeetoCompliance
  class NeetoRepos
    def self.products
      repos["products"]
    end

    def self.nanos_backend
      repos["nanos_backend"].keys
    end

    def self.nanos_frontend
      repos["nanos_frontend"]
    end

    def self.nanos
      repos["nanos_backend"].keys + repos["nanos_frontend"]
    end

    def self.widgets
      repos["widgets"]
    end

    def self.chrome_extensions
      repos["chrome_extensions"]
    end

    def self.helper_packages
      repos["helper_packages"]
    end

    def self.electron_apps
      repos["electron_apps"]
    end

    def self.executables
      repos["executables"]
    end

    def self.mobile_apps
      repos["mobile_apps"]
    end

    def self.other_repos
      repos["other_repos"]
    end

    def self.nanos_mono_repos
      repos["nanos_mono_repos"]
    end

    def self.repos
      file_path = File.expand_path("../../data/neeto_repos.json", __dir__)
      file = File.read(file_path)
      @_repos ||= JSON.parse(file)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
neeto-compliance-1.0.58 lib/neeto_compliance/neeto_repos.rb