Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

rubygems.org : cre

Cre reduces the amount of code you have to write when fetching rails credentials. If your encrypted credentials look like this: production: password: 'foobar' development: password: 'foobar' test: password: 'foobar' Usually you have to get it like this: `Rails.application.credentials.dig(Rails.env, :password)` with Cre you can just do: `Cre.dig(:password)`. By default it grabs the current Rails environment. To overwrite this behavior add the enviroment as the first argument: `Cre.dig(:production, :password)`

Registry - Source - Documentation - JSON
purl: pkg:gem/cre
Keywords: awesome, cre, credentials, gem, pry, rails, rails-gem, rails5, rspec, ruby, ruby-on-rails
License: MIT
Latest release: over 2 years ago
First release: over 5 years ago
Dependent repositories: 2
Downloads: 16,323 total
Stars: 3 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 21 days ago

    Loading...
    Readme
    Loading...