greenenvy 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: ef6e6a05847bc6b1ddc07008875c81ee8d18e28266efe4b77dad7ed072e14dfc
4
+ data.tar.gz: 69465094b55506dc57e17587aed0fd1f5b3cb36370945a163c76450a8b964a98
5
+ SHA512:
6
+ metadata.gz: 3ad5ac56fe219b61300ecc20e2bb978908cc3ef7522e2456ccaa442be06fada9af40d16ee1d9d7feedfdb69a4e4ad9e2bbd3132ab893ff9e85356c7285ed8580
7
+ data.tar.gz: 671d36ea27656ffe82c9430aa82f3b5f6e49d4aa5e1032a5eee85859615e0d9b0fb8e446a9d1b32a7a7e9489403a3859e068c6dff3a5ffd5be3d007c3f958f57
data/.gitignore ADDED
@@ -0,0 +1,8 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.5.0
data/.travis.yml ADDED
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.5.0
5
+ before_install: gem install bundler -v 1.16.1
@@ -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 aaron.gibralter@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,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in greenenvy.gemspec
6
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,22 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ greenenvy (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ minitest (5.11.3)
10
+ rake (10.5.0)
11
+
12
+ PLATFORMS
13
+ ruby
14
+
15
+ DEPENDENCIES
16
+ bundler (~> 1.16)
17
+ greenenvy!
18
+ minitest (~> 5.0)
19
+ rake (~> 10.0)
20
+
21
+ BUNDLED WITH
22
+ 1.16.1
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2018 Aaron Gibralter
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 all
13
+ 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 THE
21
+ SOFTWARE.
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2018 Aaron Gibralter
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
@@ -0,0 +1,102 @@
1
+ # Greenenvy
2
+
3
+ Greenenvy is yet another configuration DSL for Ruby applications. It provides a system for clearly
4
+ declaring environment-specific settings, such as third-party API keys and endpoints.
5
+
6
+ This project was heavily inspired by https://github.com/jcmuller/figleaf and others.
7
+
8
+ ## Installation
9
+
10
+ Add this line to your application's Gemfile:
11
+
12
+ ```ruby
13
+ gem 'greenenvy'
14
+ ```
15
+
16
+ And then execute:
17
+
18
+ $ bundle
19
+
20
+ Or install it yourself as:
21
+
22
+ $ gem install greenenvy
23
+
24
+ ## Usage
25
+
26
+ For example, for use in a Rails application, you could add Greenenvy to your
27
+ `config/application.rb`:
28
+
29
+ ```ruby
30
+ require_relative 'boot'
31
+
32
+ require "rails"
33
+ # ...
34
+
35
+ Bundler.require(*Rails.groups)
36
+
37
+ module MyApp
38
+ class Application < Rails::Application
39
+
40
+ # Load config/settings/*.rb with Greenenvy gem
41
+ ::Settings = Greenenvy.load_env(
42
+ Rails.env,
43
+ Rails.root.join("config", "settings"),
44
+ )
45
+
46
+ config.load_defaults 5.2
47
+ end
48
+ end
49
+ ```
50
+
51
+ Given the following file in `config/settings/some_settings.rb`:
52
+
53
+ ```ruby
54
+
55
+ # Default applies to all environments
56
+ default do
57
+ set :enabled, false
58
+ set :api_key, ENV["SOME_API_KEY"]
59
+ end
60
+
61
+ # Env-specific takes precedence over the defaults
62
+ env :production do
63
+ set :enabled, true
64
+ end
65
+ ```
66
+
67
+ You could call the following in your Rails code:
68
+
69
+ ```ruby
70
+ # Note `some_settings` is the name of the `.rb` file above.
71
+ api_key = Settings.some_settings.api_key
72
+ ```
73
+
74
+ ## Development
75
+
76
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run
77
+ `rake test` to run the tests. You can also run `bin/console` for an interactive
78
+ prompt that will allow you to experiment.
79
+
80
+ To install this gem onto your local machine, run `bundle exec rake install`. To
81
+ release a new version, update the version number in `version.rb`, and then run
82
+ `bundle exec rake release`, which will create a git tag for the version, push
83
+ git commits and tags, and push the `.gem` file to
84
+ [rubygems.org](https://rubygems.org).
85
+
86
+ ## Contributing
87
+
88
+ Bug reports and pull requests are welcome on GitHub at
89
+ https://github.com/agibralter/greenenvy. This project is intended to be a safe,
90
+ welcoming space for collaboration, and contributors are expected to adhere to
91
+ the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
92
+
93
+ ## License
94
+
95
+ The gem is available as open source under the terms of the [MIT
96
+ License](https://opensource.org/licenses/MIT).
97
+
98
+ ## Code of Conduct
99
+
100
+ Everyone interacting in the Greenenvy project’s codebases, issue trackers, chat
101
+ rooms and mailing lists is expected to follow the [code of
102
+ conduct](https://github.com/agibralter/greenenvy/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -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
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "greenenvy"
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__)
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/greenenvy.gemspec ADDED
@@ -0,0 +1,35 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "greenenvy/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "greenenvy"
8
+ spec.version = Greenenvy::VERSION
9
+ spec.authors = ["Aaron Gibralter"]
10
+ spec.email = ["aaron.gibralter@gmail.com"]
11
+
12
+ spec.summary = %q{Greenenvy is yet another configuration DSL for Ruby applications.}
13
+ spec.homepage = "https://github.com/agibralter/greenenvy"
14
+ spec.license = "MIT"
15
+
16
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
17
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
18
+ if spec.respond_to?(:metadata)
19
+ spec.metadata["allowed_push_host"] = "https://rubygems.org"
20
+ else
21
+ raise "RubyGems 2.0 or newer is required to protect against " \
22
+ "public gem pushes."
23
+ end
24
+
25
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
26
+ f.match(%r{^(test|spec|features)/})
27
+ end
28
+ spec.bindir = "exe"
29
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
30
+ spec.require_paths = ["lib"]
31
+
32
+ spec.add_development_dependency "bundler", "~> 1.16"
33
+ spec.add_development_dependency "rake", "~> 10.0"
34
+ spec.add_development_dependency "minitest", "~> 5.0"
35
+ end
data/lib/greenenvy.rb ADDED
@@ -0,0 +1,15 @@
1
+ require "greenenvy/context"
2
+ require "greenenvy/exceptions"
3
+ require "greenenvy/loader"
4
+ require "greenenvy/name_checker"
5
+ require "greenenvy/name_validator"
6
+ require "greenenvy/open_struct_like"
7
+ require "greenenvy/version"
8
+
9
+ module Greenenvy
10
+ def self.load_env(env, dir)
11
+ name_validator = NameValidator.new(NameChecker.new)
12
+ loader = Loader.new(Context, name_validator, env, dir).load
13
+ OpenStructLike.new(loader)
14
+ end
15
+ end
@@ -0,0 +1,60 @@
1
+ module Greenenvy
2
+ class Context
3
+ def initialize(name_validator, env, code, container_class=OpenStructLike)
4
+ @name_validator = name_validator
5
+ @env = env
6
+ @code = code
7
+ @container_class = container_class
8
+ end
9
+
10
+ def load_settings
11
+ default_settings = {}
12
+ env_settings = {}
13
+
14
+ outer_context = OuterContext.new(
15
+ @name_validator,
16
+ @env,
17
+ default_settings,
18
+ env_settings,
19
+ )
20
+ outer_context.instance_eval(@code)
21
+
22
+ @container_class.new(default_settings.merge(env_settings))
23
+ end
24
+ end
25
+
26
+ class OuterContext
27
+ def initialize(name_validator, env, default_settings, env_settings)
28
+ @name_validator = name_validator
29
+ @env = env
30
+ @default_settings = default_settings
31
+ @env_settings = env_settings
32
+ end
33
+
34
+ def env(env_name, &block)
35
+ if env_name.to_s == @env.to_s
36
+ @name_validator.validate!(env_name)
37
+ inner_context = InnerContext.new(@name_validator, @env_settings)
38
+ inner_context.instance_eval(&block)
39
+ end
40
+ end
41
+
42
+ def default(&block)
43
+ inner_context = InnerContext.new(@name_validator, @default_settings)
44
+ inner_context.instance_eval(&block)
45
+ end
46
+ end
47
+
48
+ class InnerContext
49
+
50
+ def initialize(name_validator, settings)
51
+ @name_validator = name_validator
52
+ @settings = settings
53
+ end
54
+
55
+ def set(name, value)
56
+ @name_validator.validate!(name)
57
+ @settings[name.to_sym] = value
58
+ end
59
+ end
60
+ end
@@ -0,0 +1,6 @@
1
+ module Greenenvy
2
+ module Exceptions
3
+ MissingKey = Class.new(StandardError)
4
+ InvalidKey = Class.new(StandardError)
5
+ end
6
+ end
@@ -0,0 +1,31 @@
1
+ module Greenenvy
2
+ class Loader
3
+ def initialize(context_class, name_validator, env, dir)
4
+ @context_class = context_class
5
+ @name_validator = name_validator
6
+ @env = env
7
+ @dir = dir
8
+ end
9
+
10
+ def load
11
+ settings = {}
12
+
13
+ each_file do |property_name, file_contents|
14
+ context = @context_class.new(@name_validator, @env, file_contents)
15
+ settings[property_name] = context.load_settings
16
+ end
17
+
18
+ settings
19
+ end
20
+
21
+ private
22
+
23
+ def each_file
24
+ Dir.glob(File.join(@dir, "*.rb")) do |file_path|
25
+ property_name = File.basename(file_path, ".rb").to_sym
26
+ file_contents = File.read(file_path)
27
+ yield(property_name, file_contents)
28
+ end
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,35 @@
1
+ module Greenenvy
2
+ class NameChecker
3
+ BASIC_OBJECT_METHODS = [
4
+ :!,
5
+ :!=,
6
+ :==,
7
+ :__id__,
8
+ :__send__,
9
+ :equal?,
10
+ :instance_eval,
11
+ :instance_exec,
12
+ :method_missing,
13
+ :singleton_method_added,
14
+ :singleton_method_removed,
15
+ :singleton_method_undefined,
16
+ :initialize,
17
+ :inspect,
18
+ ].freeze
19
+
20
+ def valid?(name)
21
+ name = name.to_s
22
+ !reserved_method?(name) && valid_pattern?(name)
23
+ end
24
+
25
+ private
26
+
27
+ def reserved_method?(name)
28
+ BASIC_OBJECT_METHODS.include?(name)
29
+ end
30
+
31
+ def valid_pattern?(name)
32
+ %r{\A[A-Za-z]+\w+\z}.match?(name)
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,13 @@
1
+ module Greenenvy
2
+ class NameValidator
3
+ def initialize(name_checker)
4
+ @name_checker = name_checker
5
+ end
6
+
7
+ def validate!(name)
8
+ unless @name_checker.valid?(name)
9
+ raise Exceptions::InvalidKey, "Invalid key, #{name}."
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,52 @@
1
+ module Greenenvy
2
+ class OpenStructLike < BasicObject
3
+ def initialize(hash)
4
+ @hash = hash
5
+ @method_missing_handler = MethodMissingHandler.new(hash)
6
+ end
7
+
8
+ def method_missing(name, *_)
9
+ @method_missing_handler.call(name)
10
+ end
11
+
12
+ def inspect
13
+ @hash.inspect
14
+ end
15
+
16
+ class MethodMissingHandler
17
+ def initialize(hash)
18
+ @hash = hash
19
+ end
20
+
21
+ def call(name)
22
+ name, predicate = process_predicate(name.to_s)
23
+
24
+ name = name.to_sym
25
+
26
+ if @hash.key?(name)
27
+ result_with_predicate(name, predicate)
28
+ else
29
+ raise Exceptions::MissingKey, missing_key_message(name)
30
+ end
31
+ end
32
+
33
+ private
34
+
35
+ def process_predicate(name)
36
+ if name[-1] == "?"
37
+ [name[0..-2], true]
38
+ else
39
+ [name, false]
40
+ end
41
+ end
42
+
43
+ def result_with_predicate(key, predicate)
44
+ predicate ? !!@hash[key] : @hash[key]
45
+ end
46
+
47
+ def missing_key_message(name)
48
+ "Unknown key: #{name}. Valid keys: #{@hash.keys.join(", ")}."
49
+ end
50
+ end
51
+ end
52
+ end
@@ -0,0 +1,3 @@
1
+ module Greenenvy
2
+ VERSION = "0.1.0"
3
+ end
metadata ADDED
@@ -0,0 +1,108 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: greenenvy
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Aaron Gibralter
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2018-03-02 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.16'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.16'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: minitest
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '5.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '5.0'
55
+ description:
56
+ email:
57
+ - aaron.gibralter@gmail.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - ".gitignore"
63
+ - ".ruby-version"
64
+ - ".travis.yml"
65
+ - CODE_OF_CONDUCT.md
66
+ - Gemfile
67
+ - Gemfile.lock
68
+ - LICENSE
69
+ - LICENSE.txt
70
+ - README.md
71
+ - Rakefile
72
+ - bin/console
73
+ - bin/setup
74
+ - greenenvy.gemspec
75
+ - lib/greenenvy.rb
76
+ - lib/greenenvy/context.rb
77
+ - lib/greenenvy/exceptions.rb
78
+ - lib/greenenvy/loader.rb
79
+ - lib/greenenvy/name_checker.rb
80
+ - lib/greenenvy/name_validator.rb
81
+ - lib/greenenvy/open_struct_like.rb
82
+ - lib/greenenvy/version.rb
83
+ homepage: https://github.com/agibralter/greenenvy
84
+ licenses:
85
+ - MIT
86
+ metadata:
87
+ allowed_push_host: https://rubygems.org
88
+ post_install_message:
89
+ rdoc_options: []
90
+ require_paths:
91
+ - lib
92
+ required_ruby_version: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ required_rubygems_version: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ requirements: []
103
+ rubyforge_project:
104
+ rubygems_version: 2.7.3
105
+ signing_key:
106
+ specification_version: 4
107
+ summary: Greenenvy is yet another configuration DSL for Ruby applications.
108
+ test_files: []