psenv/spec/rails
2020-02-19 07:52:46 -05:00
..
app/services Let someone else worry about style (#17) 2020-02-19 07:52:46 -05:00
bin Let someone else worry about style (#17) 2020-02-19 07:52:46 -05:00
config Let someone else worry about style (#17) 2020-02-19 07:52:46 -05:00
lib/tasks Add sample Rails application (#9) 2019-10-09 22:25:20 -04:00
log Add sample Rails application (#9) 2019-10-09 22:25:20 -04:00
public Add sample Rails application (#9) 2019-10-09 22:25:20 -04:00
test Let someone else worry about style (#17) 2020-02-19 07:52:46 -05:00
tmp Add sample Rails application (#9) 2019-10-09 22:25:20 -04:00
vendor Add sample Rails application (#9) 2019-10-09 22:25:20 -04:00
.gitignore Add sample Rails application (#9) 2019-10-09 22:25:20 -04:00
.ruby-version Add sample Rails application (#9) 2019-10-09 22:25:20 -04:00
config.ru Let someone else worry about style (#17) 2020-02-19 07:52:46 -05:00
Gemfile Let someone else worry about style (#17) 2020-02-19 07:52:46 -05:00
Rakefile Let someone else worry about style (#17) 2020-02-19 07:52:46 -05:00
README.md Add sample Rails application (#9) 2019-10-09 22:25:20 -04:00

psenv-test

Used for testing the psenv-rails gem to validate.

Usage

  • Generate new parameter store variable in AWS
    • /psenv/test/API_KEY with value "api_key_value"
  • PARAMETER_STORE_PATH=/psenv/test bundle exec rails test

New Versions

To test new versions of the gem, you can install the psenv-rails gem locally and reference it:

  1. Clone psenv and complete work
    1. Likely updating Railtie requirements
  2. Update psenv lib/psenv/version.rb
    1. Example version name: 0.5.16-local
  3. Run bundle exec rake install in psenv directory
  4. Note new gem version installed locally
    1. Example gem version: 0.5.16.pre.local
  5. Open psenv-test project
  6. Update Gemfile with test version
    1. gem 'psenv-rails', '0.5.16.pre.local'
    2. bundle install
  7. PARAMETER_STORE_PATH=/psenv/test bundle exec rails test