844 B
844 B
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:
- Clone psenv and complete work
- Likely updating Railtie requirements
- Update psenv lib/psenv/version.rb
- Example version name:
0.5.16-local
- Example version name:
- Run
bundle exec rake install
in psenv directory - Note new gem version installed locally
- Example gem version:
0.5.16.pre.local
- Example gem version:
- Open psenv-test project
- Update Gemfile with test version
gem 'psenv-rails', '0.5.16.pre.local'
bundle install
PARAMETER_STORE_PATH=/psenv/test bundle exec rails test