briefbag 0.0.1

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 24c807fdac63eab78442377c2b2765ae65bb6e0f3436a3cc8ff6b20b5de6ef6c
4
+ data.tar.gz: 9adb0fe34b1d23af84ee18d75fb1813a5ae4d8e52b7d2987ff1df5bbd0e0cd0c
5
+ SHA512:
6
+ metadata.gz: b9436d0adc2e01f38710bfc6c0ecb1a6dd1bddc27c296e3ad3b54d23c06543a51cb83cbeb8a86251a141d6ee642a7550e5f7148e39e8a5b15afcba84aa4290b6
7
+ data.tar.gz: b24fa250adb528144c68e6f1fdc04bda1170e85ba6980032d67993a2a40c123f9e46baf54323ee83e013337da258de383c8fce420243ba5fc9a8efe8eb384fc6
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.4.2@briefbag
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ # CHANGELOG
2
+
3
+ ## 0.0.1 - 2023-01-22
4
+
5
+ * Briefbag was born
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at mmseleznev@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
6
+
7
+ # Specify your gem's dependencies in briefbag.gemspec
8
+ gemspec
9
+
10
+ gem 'anyway_config'
11
+ gem 'diplomat'
12
+ gem 'hash_to_struct'
13
+ gem 'rainbow'
data/Gemfile.lock ADDED
@@ -0,0 +1,81 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ briefbag (0.0.1)
5
+ anyway_config (~> 1.4.4)
6
+ diplomat (~> 2.4.4)
7
+ hash_to_struct (~> 1.0.0)
8
+ rainbow (~> 3.1.1)
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ anyway_config (1.4.4)
14
+ ast (2.4.2)
15
+ byebug (11.1.3)
16
+ concurrent-ruby (1.2.0)
17
+ deep_merge (1.2.2)
18
+ diff-lcs (1.5.0)
19
+ diplomat (2.4.4)
20
+ deep_merge (~> 1.0, >= 1.0.1)
21
+ faraday (>= 0.9, < 1.1.0)
22
+ faker (2.12.0)
23
+ i18n (>= 1.6, < 2)
24
+ faraday (1.0.1)
25
+ multipart-post (>= 1.2, < 3)
26
+ hash_to_struct (1.0.0)
27
+ i18n (1.12.0)
28
+ concurrent-ruby (~> 1.0)
29
+ multipart-post (2.3.0)
30
+ parallel (1.20.1)
31
+ parser (3.2.0.0)
32
+ ast (~> 2.4.1)
33
+ rainbow (3.1.1)
34
+ rake (13.0.6)
35
+ regexp_parser (2.6.2)
36
+ rexml (3.2.5)
37
+ rspec (3.12.0)
38
+ rspec-core (~> 3.12.0)
39
+ rspec-expectations (~> 3.12.0)
40
+ rspec-mocks (~> 3.12.0)
41
+ rspec-core (3.12.0)
42
+ rspec-support (~> 3.12.0)
43
+ rspec-expectations (3.12.2)
44
+ diff-lcs (>= 1.2.0, < 2.0)
45
+ rspec-support (~> 3.12.0)
46
+ rspec-mocks (3.12.3)
47
+ diff-lcs (>= 1.2.0, < 2.0)
48
+ rspec-support (~> 3.12.0)
49
+ rspec-support (3.12.0)
50
+ rubocop (1.12.1)
51
+ parallel (~> 1.10)
52
+ parser (>= 3.0.0.0)
53
+ rainbow (>= 2.2.2, < 4.0)
54
+ regexp_parser (>= 1.8, < 3.0)
55
+ rexml
56
+ rubocop-ast (>= 1.2.0, < 2.0)
57
+ ruby-progressbar (~> 1.7)
58
+ unicode-display_width (>= 1.4.0, < 3.0)
59
+ rubocop-ast (1.4.1)
60
+ parser (>= 2.7.1.5)
61
+ ruby-progressbar (1.11.0)
62
+ unicode-display_width (2.4.2)
63
+
64
+ PLATFORMS
65
+ ruby
66
+
67
+ DEPENDENCIES
68
+ anyway_config
69
+ briefbag!
70
+ bundler (~> 1.17.3)
71
+ byebug
72
+ diplomat
73
+ faker (~> 2.12.0)
74
+ hash_to_struct
75
+ rainbow
76
+ rake (~> 13.0.6)
77
+ rspec (~> 3.12.0)
78
+ rubocop (~> 1.12.1)
79
+
80
+ BUNDLED WITH
81
+ 1.17.3
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2023 MichaelHitchens
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.
data/README.md ADDED
File without changes
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rake/testtask'
5
+
6
+ Rake::TestTask.new(:test) do |t|
7
+ t.libs << 'test'
8
+ t.libs << 'lib'
9
+ t.test_files = FileList['test/**/*_test.rb']
10
+ end
11
+
12
+ task default: :test
data/bin/console ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'bundler/setup'
5
+ require 'briefbag'
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ # (If you use this, don't forget to add pry to your Gemfile!)
11
+ # require "pry"
12
+ # Pry.start
13
+
14
+ require 'irb'
15
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -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
data/briefbag.gemspec ADDED
@@ -0,0 +1,47 @@
1
+ # frozen_string_literal: true
2
+
3
+ lib = File.expand_path('lib', __dir__)
4
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
+ require 'briefbag/version'
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = 'briefbag'
9
+ spec.version = Briefbag::VERSION
10
+ spec.authors = ['Michael Hitchens']
11
+ spec.email = ['mmseleznev@gmail.com']
12
+
13
+ spec.summary = 'Briefbag manage your config'
14
+ spec.homepage = 'https://github.com/MichaelHitchens/briefbag'
15
+ spec.license = 'MIT'
16
+ spec.required_ruby_version = '>= 2.4.2'
17
+
18
+ spec.metadata = {
19
+ 'homepage_uri' => spec.homepage,
20
+ 'source_code_uri' => spec.homepage,
21
+ 'changelog_uri' => 'https://github.com/MichaelHitchens/briefbag/blob/master/CHANGELOG.md'
22
+ }
23
+
24
+ # Specify which files should be added to the gem when it is released.
25
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
26
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
27
+ `git ls-files -z`.split("\x0").reject do |f|
28
+ (f == __FILE__) || f.match(%r{\A(?:(?:test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
29
+ end
30
+ end
31
+ spec.bindir = 'exe'
32
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
33
+ spec.require_paths = ['lib']
34
+
35
+ # Requires Ruby faraday to http request
36
+ spec.add_dependency 'anyway_config', '~> 1.4.4'
37
+ spec.add_dependency 'diplomat', '~> 2.4.4'
38
+ spec.add_dependency 'hash_to_struct', '~> 1.0.0'
39
+ spec.add_dependency 'rainbow', '~> 3.1.1'
40
+
41
+ spec.add_development_dependency 'bundler', '~> 1.17.3'
42
+ spec.add_development_dependency 'byebug'
43
+ spec.add_development_dependency 'faker', '~> 2.12.0'
44
+ spec.add_development_dependency 'rake', '~> 13.0.6'
45
+ spec.add_development_dependency 'rspec', '~> 3.12.0'
46
+ spec.add_development_dependency 'rubocop', '~> 1.12.1'
47
+ end
@@ -0,0 +1,2 @@
1
+ development:
2
+ test: 'i am file'
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'briefbag/diplomat'
4
+ require 'anyway_config'
5
+ require 'rainbow'
6
+ require 'byebug'
7
+ require 'hash_to_struct'
8
+
9
+ module Briefbag
10
+ class Configuration
11
+ attr_reader :config, :config_name
12
+
13
+ MESSAGES = {
14
+ notice_yml: 'NOTICE! Your app using configs from yml file',
15
+ notice_consul: 'NOTICE! Your app using configs from consul now
16
+ If you want to use local configs need to create config file. Just run `rake settings:consul2yml`',
17
+ error_consul: 'ALARM! You try are get consul config, but not connection to consul.
18
+ Please! connect to VPN or check consul configuration',
19
+ error_yml: "ALARM! You try are using local schema connection! But file configuration doesn't exist!
20
+ Just run `rake settings:consul2yml`"
21
+ }.freeze
22
+
23
+ def initialize(config)
24
+ @config_name = config[:config_name] || 'application'
25
+ @config = config
26
+ end
27
+
28
+ def call
29
+ diplomat = Briefbag::Diplomat.new(config).call
30
+
31
+ return file_config if file_exist? && config[:environment].eql?('development')
32
+
33
+ return diplomat_config(diplomat[:consul_data]) if diplomat.success?
34
+ return Briefbag.aborting_message(MESSAGES[:error_consul]) unless diplomat.success?
35
+ rescue StandardError
36
+ return Briefbag.aborting_message(MESSAGES[:error_yml]) unless file_exist?
37
+
38
+ file_config
39
+ end
40
+
41
+ def diplomat_config(data)
42
+ Briefbag.warning_message(MESSAGES[:notice_consul])
43
+ HashToStruct.struct(data)
44
+ end
45
+
46
+ def file_config
47
+ Briefbag.warning_message(MESSAGES[:notice_yml])
48
+ data = Anyway::Config.for(:application)[config[:environment]]
49
+ HashToStruct.struct(data)
50
+ end
51
+
52
+ def file_exist?
53
+ return true if File.exist?(yaml_file)
54
+
55
+ false
56
+ end
57
+
58
+ def yaml_file
59
+ @yaml_file ||= "./config/#{config_name}.yml"
60
+ end
61
+
62
+ def local_keys
63
+ @local_keys ||= YAML.safe_load(File.read(yaml_file))[environment].keys
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,77 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'diplomat'
4
+ require 'byebug'
5
+ require 'socket'
6
+
7
+ module Briefbag
8
+ class Diplomat
9
+ Result = Struct.new(:success?, :errors, :consul_data)
10
+ attr_reader :config, :consul_folder
11
+
12
+ def initialize(config)
13
+ @config = config
14
+ @consul_folder = "#{config[:environment]}/#{config[:consul_folder]}"
15
+ end
16
+
17
+ def call
18
+ configuration
19
+ data_from_consul
20
+ end
21
+
22
+ def configuration
23
+ ::Diplomat.configure do |conf|
24
+ # Set up a custom Consul URL
25
+ conf.url = url_build(config[:consul_host], config[:consul_port])
26
+ conf.options = {
27
+ ssl: { version: :TLSv1_2 }, # rubocop:disable Naming/VariableNumber
28
+ headers: { 'X-Consul-Token' => config[:consul_token] }
29
+ }
30
+ end
31
+ end
32
+
33
+ private
34
+
35
+ def consul_data
36
+ ::Diplomat::Kv.get_all(consul_folder)
37
+ end
38
+
39
+ def json_parsing(value)
40
+ return JSON.parse(value.force_encoding('UTF-8')) if value.encoding.eql? 'ASCII-8BIT'
41
+
42
+ JSON.parse(value)
43
+ end
44
+
45
+ def mapping_hash
46
+ consul_data.each_with_object({}) do |item, hash|
47
+ hash[item[:key].split('/').last.to_sym] = json_parsing(item[:value])
48
+ end
49
+ end
50
+
51
+ def parsed_configs
52
+ Result.new(true, nil, mapping_hash)
53
+ rescue StandardError => e
54
+ Result.new(false, [e], nil)
55
+ end
56
+
57
+ def data_from_consul
58
+ return Result.new(false, 'consul unavailable', nil) unless check_consul.success?
59
+ return Result.new(false, parsed_configs.errors, nil) unless parsed_configs.success?
60
+
61
+ parsed_configs
62
+ rescue StandardError => e
63
+ Result.new(false, [e], nil)
64
+ end
65
+
66
+ def url_build(host, port)
67
+ Object.const_get("URI::HTTP#{port.eql?(443) ? 'S' : ''}").build(host: host, port: port)
68
+ end
69
+
70
+ def check_consul
71
+ Timeout.timeout(1) { TCPSocket.new(config[:consul_host], config[:consul_port]) }
72
+ Result.new(true, nil, nil)
73
+ rescue Timeout::Error => e
74
+ Result.new(false, [e], nil)
75
+ end
76
+ end
77
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Briefbag
4
+ VERSION = '0.0.1'
5
+ end
data/lib/briefbag.rb ADDED
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'briefbag/version'
4
+ require 'briefbag/configuration'
5
+ require 'multipart/post'
6
+
7
+ module Briefbag
8
+ class << self
9
+ def warning_message(message, color: nil)
10
+ color ||= :yellow
11
+ warn Rainbow(message).send(:color, color)
12
+ end
13
+
14
+ def aborting_message(message)
15
+ abort Rainbow(message).red
16
+ end
17
+ end
18
+ class Error < StandardError; end
19
+ end
metadata ADDED
@@ -0,0 +1,202 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: briefbag
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Michael Hitchens
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2023-02-03 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: anyway_config
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 1.4.4
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 1.4.4
27
+ - !ruby/object:Gem::Dependency
28
+ name: diplomat
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 2.4.4
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 2.4.4
41
+ - !ruby/object:Gem::Dependency
42
+ name: hash_to_struct
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 1.0.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 1.0.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: rainbow
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 3.1.1
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 3.1.1
69
+ - !ruby/object:Gem::Dependency
70
+ name: bundler
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 1.17.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.17.3
83
+ - !ruby/object:Gem::Dependency
84
+ name: byebug
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: faker
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 2.12.0
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 2.12.0
111
+ - !ruby/object:Gem::Dependency
112
+ name: rake
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 13.0.6
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 13.0.6
125
+ - !ruby/object:Gem::Dependency
126
+ name: rspec
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: 3.12.0
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: 3.12.0
139
+ - !ruby/object:Gem::Dependency
140
+ name: rubocop
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: 1.12.1
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: 1.12.1
153
+ description:
154
+ email:
155
+ - mmseleznev@gmail.com
156
+ executables: []
157
+ extensions: []
158
+ extra_rdoc_files: []
159
+ files:
160
+ - ".ruby-version"
161
+ - CHANGELOG.md
162
+ - CODE_OF_CONDUCT.md
163
+ - Gemfile
164
+ - Gemfile.lock
165
+ - LICENSE.txt
166
+ - README.md
167
+ - Rakefile
168
+ - bin/console
169
+ - bin/setup
170
+ - briefbag.gemspec
171
+ - config/application.yml
172
+ - lib/briefbag.rb
173
+ - lib/briefbag/configuration.rb
174
+ - lib/briefbag/diplomat.rb
175
+ - lib/briefbag/version.rb
176
+ homepage: https://github.com/MichaelHitchens/briefbag
177
+ licenses:
178
+ - MIT
179
+ metadata:
180
+ homepage_uri: https://github.com/MichaelHitchens/briefbag
181
+ source_code_uri: https://github.com/MichaelHitchens/briefbag
182
+ changelog_uri: https://github.com/MichaelHitchens/briefbag/blob/master/CHANGELOG.md
183
+ post_install_message:
184
+ rdoc_options: []
185
+ require_paths:
186
+ - lib
187
+ required_ruby_version: !ruby/object:Gem::Requirement
188
+ requirements:
189
+ - - ">="
190
+ - !ruby/object:Gem::Version
191
+ version: 2.4.2
192
+ required_rubygems_version: !ruby/object:Gem::Requirement
193
+ requirements:
194
+ - - ">="
195
+ - !ruby/object:Gem::Version
196
+ version: '0'
197
+ requirements: []
198
+ rubygems_version: 3.0.9
199
+ signing_key:
200
+ specification_version: 4
201
+ summary: Briefbag manage your config
202
+ test_files: []