Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allows contact form email address to be set via an environment variable #1176

Merged
merged 1 commit into from
May 31, 2017

Conversation

bbranan
Copy link
Contributor

@bbranan bbranan commented May 31, 2017

Fixes #1174

Changes contact email config value to pull from settings.yml, allowing the value to be set via an environment variable. Also fixes the comment in settings.yml that indicates how to set values via an environment variable.

Note; I think this should work, but don't have a local environment set up that allows testing this change. Comments and testing are welcome.

Copy link

@houndci-bot houndci-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some files could not be reviewed due to errors:

/app/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/config_loader_r...
/app/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/config_loader_resolver.rb:15:in require': cannot load such file -- rubocop-rspec (LoadError)<br>	from /app/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/config_loader_resolver.rb:15:in block in resolve_requires'
from /app/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/config_loader_resolver.rb:11:in each'<br> from /app/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/config_loader_resolver.rb:11:in resolve_requires'
from /app/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/config_loader.rb:40:in load_file'<br> from /app/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/config_loader.rb:105:in configuration_from_file'
from /app/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/config_store.rb:44:in for'<br> from /app/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cli.rb:93:in apply_default_formatter'
from /app/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/lib/rubocop/cli.rb:25:in run'<br> from /app/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/bin/rubocop:13:in block in <top (required)>'
from /app/vendor/ruby-2.3.1/lib/ruby/2.3.0/benchmark.rb:308:in realtime'<br> from /app/vendor/bundle/ruby/2.3.0/gems/rubocop-0.46.0/bin/rubocop:12:in <top (required)>'
from /app/vendor/bundle/ruby/2.3.0/bin/rubocop:23:in load'<br> from /app/vendor/bundle/ruby/2.3.0/bin/rubocop:23:in '

@mjgiarlo
Copy link
Member

@bbranan Having a look now.

@mjgiarlo mjgiarlo merged commit a52d3af into samvera:master May 31, 2017
@mjgiarlo
Copy link
Member

I don't believe the CI failures are related to this work. Merging!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow contact form email address to be set via environment variable
3 participants