README.md in infield-0.2.0 vs README.md in infield-0.3.0
- old
+ new
@@ -2,21 +2,21 @@
This gem handles reporting deprecation warnings to Infield from a Rails app.
## Setup
-You'll need an API key and repo environment ID to use this gem. Get your API key from https://app.infield.ai/settings/api_key and your environment ID from the environments configuration page.
+You'll need an API key and repo environment ID to use this gem. You can find these at https://app.infield.ai/deprecations after signing up.
Add the gem to your gemfile:
gem 'infield', require: false
Then in `config/application.rb`:
if ENV['INFIELD_API_KEY']
require 'infield'
Infield.run(api_key: ENV['INFIELD_API_KEY'],
- repo_environment_id: ENV['INFIELD_REPO_ENVIRONMENT_ID')
+ repo_environment_id: ENV['INFIELD_REPO_ENVIRONMENT_ID'])
end
And in any environment you want to profile from:
config.active_support.deprecation = :notify