nac 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d4a5dbcbba373fe64c3ce3e9dda3751f6cfe02c6
4
+ data.tar.gz: 5b1a9e6c32e739556932cd6b6c5fdaeb809a53ff
5
+ SHA512:
6
+ metadata.gz: 207428dc237f2c1c74e3de522392bf89ddc45fa90089f29d0c552f136add60f81f630168efd6c845186be47d5861c56a1de350af90e94532804d1cc76bd4b95e
7
+ data.tar.gz: bfbbf3a4746a837431ae4950280460d8290e0d25b19e44136e98a543216c416735ba26996762d73b84412e59af9d023796ccaf09db2356c0b1cfe91fe425589d
@@ -0,0 +1,8 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
@@ -0,0 +1,16 @@
1
+ # The behavior of RuboCop can be controlled via the .rubocop.yml
2
+ # configuration file. It makes it possible to enable/disable
3
+ # certain cops (checks) and to alter their behavior if they accept
4
+ # any parameters. The file can be placed either in your home
5
+ # directory or in some project directory.
6
+ #
7
+ # RuboCop will start looking for the configuration file in the directory
8
+ # where the inspected file is and continue its way up to the root directory.
9
+ #
10
+ # See https://github.com/rubocop-hq/rubocop/blob/master/manual/configuration.md
11
+ AllCops:
12
+ Include:
13
+ - 'lib/**/*.rb'
14
+ - 'test/**/*.rb'
15
+ Exclude:
16
+ - 'bin/*'
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.3.4
7
+ before_install: gem install bundler -v 2.0.1
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in nac.gemspec
4
+ gemspec
@@ -0,0 +1,99 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ nac (1.0.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ ansi (1.5.0)
10
+ ast (2.4.0)
11
+ builder (3.2.3)
12
+ coderay (1.1.2)
13
+ docile (1.3.2)
14
+ ffi (1.11.1)
15
+ formatador (0.2.5)
16
+ guard (2.15.0)
17
+ formatador (>= 0.2.4)
18
+ listen (>= 2.7, < 4.0)
19
+ lumberjack (>= 1.0.12, < 2.0)
20
+ nenv (~> 0.1)
21
+ notiffany (~> 0.0)
22
+ pry (>= 0.9.12)
23
+ shellany (~> 0.0)
24
+ thor (>= 0.18.1)
25
+ guard-compat (1.2.1)
26
+ guard-minitest (2.4.6)
27
+ guard-compat (~> 1.2)
28
+ minitest (>= 3.0)
29
+ guard-rubocop (1.3.0)
30
+ guard (~> 2.0)
31
+ rubocop (~> 0.20)
32
+ guard-shell (0.7.1)
33
+ guard (>= 2.0.0)
34
+ guard-compat (~> 1.0)
35
+ jaro_winkler (1.5.3)
36
+ json (2.2.0)
37
+ listen (3.1.5)
38
+ rb-fsevent (~> 0.9, >= 0.9.4)
39
+ rb-inotify (~> 0.9, >= 0.9.7)
40
+ ruby_dep (~> 1.2)
41
+ lumberjack (1.0.13)
42
+ method_source (0.9.2)
43
+ minitest (5.11.3)
44
+ minitest-reporters (1.3.6)
45
+ ansi
46
+ builder
47
+ minitest (>= 5.0)
48
+ ruby-progressbar
49
+ nenv (0.3.0)
50
+ notiffany (0.1.3)
51
+ nenv (~> 0.1)
52
+ shellany (~> 0.0)
53
+ parallel (1.17.0)
54
+ parser (2.6.3.0)
55
+ ast (~> 2.4.0)
56
+ pry (0.12.2)
57
+ coderay (~> 1.1.0)
58
+ method_source (~> 0.9.0)
59
+ rainbow (3.0.0)
60
+ rake (10.5.0)
61
+ rb-fsevent (0.10.3)
62
+ rb-inotify (0.10.0)
63
+ ffi (~> 1.0)
64
+ rubocop (0.74.0)
65
+ jaro_winkler (~> 1.5.1)
66
+ parallel (~> 1.10)
67
+ parser (>= 2.6)
68
+ rainbow (>= 2.2.2, < 4.0)
69
+ ruby-progressbar (~> 1.7)
70
+ unicode-display_width (>= 1.4.0, < 1.7)
71
+ ruby-progressbar (1.10.1)
72
+ ruby_dep (1.5.0)
73
+ shellany (0.0.1)
74
+ simplecov (0.17.0)
75
+ docile (~> 1.1)
76
+ json (>= 1.8, < 3)
77
+ simplecov-html (~> 0.10.0)
78
+ simplecov-html (0.10.2)
79
+ thor (0.20.3)
80
+ unicode-display_width (1.6.0)
81
+
82
+ PLATFORMS
83
+ ruby
84
+
85
+ DEPENDENCIES
86
+ bundler (~> 2.0)
87
+ guard (~> 2.15)
88
+ guard-minitest (~> 2.4)
89
+ guard-rubocop (~> 1.3)
90
+ guard-shell (~> 0.7.1)
91
+ minitest (~> 5.0)
92
+ minitest-reporters (~> 1.3)
93
+ nac!
94
+ pry (~> 0.12.2)
95
+ rake (~> 10.0)
96
+ simplecov (~> 0.17.0)
97
+
98
+ BUNDLED WITH
99
+ 2.0.1
@@ -0,0 +1,38 @@
1
+ # A sample Guardfile
2
+ # More info at https://github.com/guard/guard#readme
3
+
4
+ ## Uncomment and set this to only include directories you want to watch
5
+ # directories %w(app lib config test spec features) \
6
+ # .select{|d| Dir.exist?(d) ? d : UI.warning("Directory #{d} does not exist")}
7
+
8
+ ## Note: if you are using the `directories` clause above and you are not
9
+ ## watching the project directory ('.'), then you will want to move
10
+ ## the Guardfile to a watched dir and symlink it back, e.g.
11
+ #
12
+ # $ mkdir config
13
+ # $ mv Guardfile config/
14
+ # $ ln -s config/Guardfile .
15
+ #
16
+ # and, you'll have to watch "config/Guardfile" instead of "Guardfile"
17
+
18
+ guard :minitest do
19
+ # with Minitest::Unit
20
+ #watch(%r{^test/(.*)\/?test_(.*)\.rb$})
21
+ #watch(%r{^lib/(.*/)?([^/]+)\.rb$}) { |m| "test/#{m[1]}test_#{m[2]}.rb" }
22
+ #watch(%r{^test/test_helper\.rb$}) { 'test' }
23
+
24
+ watch(%r{^test/(.*)_test\.rb$})
25
+ watch(%r{^(lib/.*/)?([^/]+)\.rb$}) { |m| "test/#{m[1]}#{m[2]}_test.rb" }
26
+ end
27
+
28
+ guard :rubocop do
29
+ watch(%r{.+\.rb$})
30
+ watch(%r{(?:.+/)?\.rubocop(?:_todo)?\.yml$}) { |m| File.dirname(m[0]) }
31
+ end
32
+
33
+ # Add files and commands to this file, like the example:
34
+ # watch(%r{file/path}) { `command(s)` }
35
+ #
36
+ guard :shell do
37
+ # watch(/(.*).txt/) {|m| `tail #{m[0]}` }
38
+ end
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 Chris Roerig
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,119 @@
1
+ # Nac
2
+
3
+ A very simple yet flexible configuration writer/reader library.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'nac'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install nac
20
+
21
+ ## How it works
22
+
23
+ The source config file and its path will be created if they don't
24
+ already exist. The data is cached when the file is loaded and after a
25
+ new value is saved.
26
+
27
+ ## Usage
28
+
29
+ ### Basic
30
+
31
+ This simple example shows how to load, write, and read.
32
+
33
+ ```ruby
34
+ require 'nac'
35
+
36
+ # load or create a new config
37
+ config = Nac::Config.new('my_config')
38
+
39
+ # set values
40
+ config.set('name', 'Chris')
41
+ config.set('color', 'Blue')
42
+
43
+ # get a single value
44
+ puts config.get('name')
45
+
46
+ # get all data
47
+ puts config.get
48
+ #=> { name: 'Chris', color: 'Blue' }
49
+ ```
50
+
51
+ ### Nesting Keys
52
+
53
+ It's possible to read and write nested data by passing an array to the `set` and `get` methods.
54
+
55
+ ```ruby
56
+ require 'nac'
57
+
58
+ config = Nac::Config.new('my_config')
59
+
60
+ config.set(%[user name first], 'Homer')
61
+ config.set(%[user name last],st 'Simpson')
62
+
63
+ puts config.get('user')
64
+ #=> { name: { first: 'Homer', last: 'Simpson' }}
65
+
66
+ puts config.get(%[user name])
67
+ #=> { first: 'Homer', last: 'Simpson' }
68
+
69
+ puts config.get(%[user name last])
70
+ #=> { last: 'Simpson' }
71
+
72
+ # nil is returned if the key doesn't exist
73
+ puts config.get(%[user name middle])
74
+ #=> nil
75
+
76
+ # Symbol arrays work too!
77
+
78
+ config.set(%i{look ma no}, 'hands')
79
+ puts config.get(:look)
80
+ #=> { ma: { no: 'hands' } }
81
+ ```
82
+
83
+ ## Options
84
+
85
+ * `template`: Optional value that will be converted to yaml and written to the config file. Default is `{}`.
86
+ * `init!`: When true, force the configuration file to be rewritten. Default is `false`.
87
+
88
+ **Note:** One doesn't need to specify `init!` when using `template`.
89
+ The template will not be written if if the configuration file exists.
90
+ However, using `init!` will re-initialize the config file and the
91
+ template *will* be written. Similarly, `template` is not required when
92
+ using `init!`.
93
+
94
+ ### Usage
95
+
96
+ ```ruby
97
+
98
+ requre 'nac'
99
+
100
+ options = {
101
+ template: { some: { default: [:options] } },
102
+ init!: true
103
+ }
104
+
105
+ config = Nac::Config.new('my_config', options)
106
+
107
+ puts config.get
108
+ #=> { some: { default: [:options] } }
109
+
110
+ ```
111
+
112
+
113
+ ## Contributing
114
+
115
+ Bug reports and pull requests are welcome on GitHub at https://github.com/chris-roerig/nac.
116
+
117
+ ## License
118
+
119
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList["test/**/*_test.rb"]
8
+ end
9
+
10
+ task :default => :test
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "nac"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'yaml'
4
+ require 'fileutils'
5
+
6
+ require_relative 'nac/config'
7
+ require_relative 'nac/version'
@@ -0,0 +1,74 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Nac
4
+ # The main configuration manager class
5
+ class Config
6
+ attr_reader :template, :source
7
+
8
+ def initialize(source, options = {})
9
+ @source = source
10
+ @template = (options[:template] || {}).to_yaml
11
+
12
+ options[:init!] ? init! : init
13
+ cache
14
+ end
15
+
16
+ def init!
17
+ FileUtils.mkdir_p(File.dirname(@source))
18
+
19
+ File.open(@source, 'w+') do |file|
20
+ file.write(@template)
21
+ end
22
+ end
23
+
24
+ def get(keys = nil)
25
+ return @cache unless keys
26
+
27
+ val = @cache
28
+
29
+ [keys].flatten.each do |key|
30
+ val = val[key]
31
+ end
32
+
33
+ val
34
+ rescue NoMethodError
35
+ nil
36
+ end
37
+
38
+ def set(keys, value)
39
+ @cache.merge!(bury(keys, value))
40
+
41
+ File.write(@source, @cache.to_yaml)
42
+
43
+ cache!
44
+ end
45
+
46
+ private
47
+
48
+ def init
49
+ return true if File.exist?(@source)
50
+
51
+ init!
52
+ end
53
+
54
+ def bury(keys, value)
55
+ hkeys = [keys].flatten.map { |k| { k => nil } }
56
+
57
+ hkeys.count.times do |i|
58
+ val = hkeys[i + 1] || value
59
+ hkeys[i][hkeys[i].keys[0]] = val
60
+ end
61
+
62
+ hkeys.shift
63
+ end
64
+
65
+ def cache!
66
+ @cache = nil
67
+ cache
68
+ end
69
+
70
+ def cache
71
+ @cache ||= YAML.load_file(@source) || {}
72
+ end
73
+ end
74
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Nac
4
+ VERSION = '1.0.0'
5
+ end
@@ -0,0 +1,49 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'nac/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "nac"
8
+ spec.version = Nac::VERSION
9
+ spec.authors = ["Chris Roerig"]
10
+ spec.email = ["idwyjm@gmail.com"]
11
+
12
+ spec.summary = %q{A simple Ruby Gem to read/write configuration files.}
13
+ spec.description = %q{NAC stands for "not another config" }
14
+ spec.homepage = "https://github.com/chris-roerig/nac"
15
+ spec.license = "MIT"
16
+
17
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
19
+ #if spec.respond_to?(:metadata)
20
+ # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
21
+
22
+ # spec.metadata["homepage_uri"] = spec.homepage
23
+ # spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
24
+ # spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
25
+ #else
26
+ # raise "RubyGems 2.0 or newer is required to protect against " \
27
+ # "public gem pushes."
28
+ #end
29
+
30
+ # Specify which files should be added to the gem when it is released.
31
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
32
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
33
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
34
+ end
35
+ spec.bindir = "exe"
36
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
37
+ spec.require_paths = ["lib"]
38
+
39
+ spec.add_development_dependency "simplecov", "~> 0.17.0"
40
+ spec.add_development_dependency "minitest-reporters", "~> 1.3"
41
+ spec.add_development_dependency "guard", "~> 2.15"
42
+ spec.add_development_dependency "guard-minitest", "~> 2.4"
43
+ spec.add_development_dependency "guard-rubocop", "~> 1.3"
44
+ spec.add_development_dependency "guard-shell", "~> 0.7.1"
45
+ spec.add_development_dependency "pry", "~> 0.12.2"
46
+ spec.add_development_dependency "bundler", "~> 2.0"
47
+ spec.add_development_dependency "rake", "~> 10.0"
48
+ spec.add_development_dependency "minitest", "~> 5.0"
49
+ end
metadata ADDED
@@ -0,0 +1,199 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: nac
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Chris Roerig
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-08-08 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: simplecov
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.17.0
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.17.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: minitest-reporters
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.3'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: guard
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '2.15'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '2.15'
55
+ - !ruby/object:Gem::Dependency
56
+ name: guard-minitest
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2.4'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '2.4'
69
+ - !ruby/object:Gem::Dependency
70
+ name: guard-rubocop
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.3'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.3'
83
+ - !ruby/object:Gem::Dependency
84
+ name: guard-shell
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 0.7.1
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 0.7.1
97
+ - !ruby/object:Gem::Dependency
98
+ name: pry
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 0.12.2
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 0.12.2
111
+ - !ruby/object:Gem::Dependency
112
+ name: bundler
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '2.0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '2.0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rake
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '10.0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '10.0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: minitest
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '5.0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '5.0'
153
+ description: 'NAC stands for "not another config" '
154
+ email:
155
+ - idwyjm@gmail.com
156
+ executables: []
157
+ extensions: []
158
+ extra_rdoc_files: []
159
+ files:
160
+ - ".gitignore"
161
+ - ".rubocop.yml"
162
+ - ".travis.yml"
163
+ - Gemfile
164
+ - Gemfile.lock
165
+ - Guardfile
166
+ - LICENSE.txt
167
+ - README.md
168
+ - Rakefile
169
+ - bin/console
170
+ - bin/setup
171
+ - lib/nac.rb
172
+ - lib/nac/config.rb
173
+ - lib/nac/version.rb
174
+ - nac.gemspec
175
+ homepage: https://github.com/chris-roerig/nac
176
+ licenses:
177
+ - MIT
178
+ metadata: {}
179
+ post_install_message:
180
+ rdoc_options: []
181
+ require_paths:
182
+ - lib
183
+ required_ruby_version: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ required_rubygems_version: !ruby/object:Gem::Requirement
189
+ requirements:
190
+ - - ">="
191
+ - !ruby/object:Gem::Version
192
+ version: '0'
193
+ requirements: []
194
+ rubyforge_project:
195
+ rubygems_version: 2.6.12
196
+ signing_key:
197
+ specification_version: 4
198
+ summary: A simple Ruby Gem to read/write configuration files.
199
+ test_files: []