1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

12 commits

Author SHA1 Message Date
Prathamesh Sonpatki
dafe2997ca Replaced render :text with render :plain in AC gem bug report template
- Followup of https://github.com/rails/rails/pull/20929.
 [ci skip]
2015-07-18 17:07:58 +05:30
akihiro17
b07483490f Output an error message and raise an error if bundler 1.10.x is not installed when reporting bugs 2015-06-06 23:09:46 +09:00
Roque Pinel
89550bc1a0 Add the bug report templates to the Travis CI build
The bug report templates are now executed from the `ci/travis.rb` when
`GEM` contains `guides`.

I started by creating a `test` task in `guides/Rakefile` to handle this,
but since inline `gemfile` must not be executed with `bundle exec`, that
rake task would not be consistent with others. So I went back by
executing them directly from `Build`.

Use inline Gemfile dependency when reporting gem bugs
2015-06-05 15:29:48 -05:00
yuuji.yaginuma
7c342af1b7 load "rack/test" before "action_controller/railtie" in bug report templates [ci skip] 2015-02-05 08:19:45 +09:00
Prathamesh Sonpatki
55298629c0 Update bug report templates to use version 4.2.0 instead of 5.0.0 [ci skip]
- Right now master is 5.0.0. Latest gem release is 4.2.0 for which we
  are accepting bug reports. So lets use it in bug report templates.
- 5.0.0 is not installable as it's not available on Rubygems yet. So the
  gem bug templates are not usable without editing the version. Using
  4.2.0 will make them usable again.
2015-01-04 16:06:01 +05:30
Lucas Caton
8d2135881c Using Rails 5.0 in bug report templates [ci skip] 2015-01-02 09:06:11 +10:00
Benjamin Fleischer
db5f1a46f2 secret_token is now saved in Rails.application.secrets.secret_token
- `secrets.secret_token` is now used in all places `config.secret_token` was
  - `secrets.secret_token`, when not present in `config/secrets.yml`,
    now falls back to the value of `config.secret_token`
  - when `secrets.secret_token` is set, it over-writes
    `config.secret_token` so they are the same (for backwards-compatibility)
  - Update docs to reference app.secrets in all places
    - Remove references to `config.secret_token`, `config.secret_key_base`
- Warn that missing secret_key_base is deprecated
- Add tests for secret_token, key_generator, and message_verifier
  - the legacy key generator is used with the message verifier when
    secrets.secret_key_base is blank and secret_token is set
  - app.key_generator raises when neither secrets.secret_key_base nor
    secret_token are set
  - app.env_config    raises when neither secrets.secret_key_base nor
    secret_token are set
- Add changelog

Run focused tests via
ruby -w -Itest test/application/configuration_test.rb -n '/secret_|key_/'
2014-11-02 21:21:09 -06:00
Robin Dupret
a9444916ee Ensure backward compatibility between Minitest 5 and 4
Define Minitest::Test in case we are running the gist under Minitest 4
and avoid relying on MiniTest::Unit::TestCase to avoid displaying
warning on version five.

[ci skip]
2013-12-27 11:30:53 +01:00
Arun Agrawal
fd1c515d4d Minitest::Unit::TestCase is Minitest::Test [ci skip] 2013-12-26 23:55:59 +01:00
Vipul A M
7bae2921ec Change all MiniTest to Minitest since, MiniTest namespace has been renamed to Minitest
Ref: https://github.com/seattlerb/minitest/blob/master/History.txt
2013-12-18 14:39:50 +05:30
Roman Kushnir
299fe844dd Include URL helpers in TestController in bug report templates
[ci skip]

Fixes #12848.
2013-11-11 21:28:26 +02:00
Paul Nikitochkin
9d9254f5e0 Added bug report template for ActionController
[ci skip]
2013-08-21 23:26:20 +03:00