RubyGems Navigation menu

cre 0.1.2

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)`

Gemfile:
=

安裝:
=

版本列表:

  1. 2.1.1 December 17, 2021 (6.5 KB)
  2. 2.1.0 July 10, 2021 (6.5 KB)
  3. 2 January 05, 2020 (6.5 KB)
  4. 0.1.5 January 31, 2019 (6.5 KB)
  5. 0.1.3 October 02, 2018 (6.5 KB)
  6. 0.1.2 October 02, 2018 (6.5 KB)
顯示所有版本(共 9)

Runtime 相依性套件 (1):

rails ~> 5.2

Development 相依性套件 (5):

awesome_print ~> 1.8
pry ~> 0.11
rspec ~> 3.8
simplecov ~> 0.10
sqlite3 >= 1.3.13, ~> 1.3

擁有者:

作者:

  • Khalil Gharbaoui

SHA 256 總和檢查碼:

=

總下載次數 22,336

這個版本 1,716

版本发布:

授權:

MIT

Ruby 版本需求: >= 0

相關連結: