
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Provides a way to manage environment specific configuration settings. It will use the defaults for any environment and override any values you specify for an environment.
Example config file:
defaults:
site_url: http://localhost:3000
host_name: example.com
mail_from: noreply@example.com
site_name: example
admin_email: admin@example.com
production:
site_url: http://example.com
Includes Sekrets integration. See https://github.com/ahoward/sekrets for more information.
The format of the sekrets file is the same as the regular file.
class MyConfig < ConfigReader
configure do |config|
config.environment = Rails.env # (set this however you access the env in your app)
config.config_file = "config/my_config.yml"
config.sekrets_file = "config/my_config.yml.enc" # (default nil)
config.ignore_missing_keys = true # (default false, raises KeyError)
end
end
MyConfig.mail_from #=> noreply@example.com
MyConfig[:mail_from] #=> noreply@example.com
MyConfig["mail_from"] #=> noreply@example.com
Copyright (c) Michael Moen. See LICENSE for details.
FAQs
Unknown package
We found that config_reader demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.