Class: NeetoCompliance::NeetoRepos

Inherits:
Object
  • Object
show all
Defined in:
lib/neeto_compliance/neeto_repos.rb

Class Method Summary collapse

Class Method Details

.chrome_extensionsObject



25
26
27
# File 'lib/neeto_compliance/neeto_repos.rb', line 25

def self.chrome_extensions
  repos["chrome_extensions"]
end

.electron_appsObject



33
34
35
# File 'lib/neeto_compliance/neeto_repos.rb', line 33

def self.electron_apps
  repos["electron_apps"]
end

.executablesObject



37
38
39
# File 'lib/neeto_compliance/neeto_repos.rb', line 37

def self.executables
  repos["executables"]
end

.helper_packagesObject



29
30
31
# File 'lib/neeto_compliance/neeto_repos.rb', line 29

def self.helper_packages
  repos["helper_packages"]
end

.mobile_appsObject



41
42
43
# File 'lib/neeto_compliance/neeto_repos.rb', line 41

def self.mobile_apps
  repos["mobile_apps"]
end

.nanosObject



17
18
19
# File 'lib/neeto_compliance/neeto_repos.rb', line 17

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

.nanos_backendObject



9
10
11
# File 'lib/neeto_compliance/neeto_repos.rb', line 9

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

.nanos_frontendObject



13
14
15
# File 'lib/neeto_compliance/neeto_repos.rb', line 13

def self.nanos_frontend
  repos["nanos_frontend"]
end

.nanos_mono_reposObject



49
50
51
# File 'lib/neeto_compliance/neeto_repos.rb', line 49

def self.nanos_mono_repos
  repos["nanos_mono_repos"]
end

.other_reposObject



45
46
47
# File 'lib/neeto_compliance/neeto_repos.rb', line 45

def self.other_repos
  repos["other_repos"]
end

.productsObject



5
6
7
# File 'lib/neeto_compliance/neeto_repos.rb', line 5

def self.products
  repos["products"]
end

.reposObject



53
54
55
56
57
# File 'lib/neeto_compliance/neeto_repos.rb', line 53

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

.widgetsObject



21
22
23
# File 'lib/neeto_compliance/neeto_repos.rb', line 21

def self.widgets
  repos["widgets"]
end