Commit Graph

23 Commits

Author SHA1 Message Date
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
Rafael Mendonça França
86637391db Remove rack and i18n master from bug report tempaltes [ci skip] 2014-12-19 15:12:31 -02: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
yuuji.yaginuma
ea88b8e8c3 [ci skip]Add i18n master to the Gemfile 2014-07-24 17:08:11 +09:00
Abdelkader Boudih
d966ee0eca [Bug report templates] Added rack master to the Gemfile 2014-07-12 10:36:57 +00:00
Abdelkader Boudih
f367f2e50e Add arel to the controller template 2014-07-03 19:35:53 +00:00
Godfrey Chan
16cc914645 Revert "Don't rely on Arel master in bug report template [ci skip]"
This reverts commit fd6d7835.

We are back on arel master, see b395265f.
2014-04-27 10:26:56 -07:00
Robin Dupret
fd6d78356f Don't rely on Arel master in bug report template [ci skip]
We should rely instead on the version supported by Active Record

Closes #14809
2014-04-19 18:25:11 +02: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
Yves Senn
d4294fe952 add missing arel dependency to active_record_master bug report script.
[ci skip].

This solves:

```
Could not find gem 'arel (~> 5.0.0) ruby', which is required by gem 'rails (>= 0) ruby', in any of the sources.
```
2013-11-29 17:07:24 +01:00
Roman Kushnir
299fe844dd Include URL helpers in TestController in bug report templates
[ci skip]

Fixes #12848.
2013-11-11 21:28:26 +02:00
laurocaetano
d48222d22e remove warnings on ruby trunk 2013-11-01 18:15:53 -02:00
Robin Dupret
5c7762b171 Use MiniTest::Unit::TestCase instead of Minitest::Test
Since Rails 4.0.x is depending on Minitest 4.x, the constant won't be
available so the gist won't run.

[ci skip]
2013-09-07 12:08:15 +02:00
Paul Nikitochkin
9d9254f5e0 Added bug report template for ActionController
[ci skip]
2013-08-21 23:26:20 +03:00
Paul Nikitochkin
0643daaf4c Updated bug report templates
* use `Minitest::Test` instead of deprectaed `MiniTest::Unit::TestCase`

 [ci skip]
2013-08-21 22:52:12 +03:00
Prathamesh Sonpatki
2a7882f0fd Use activerecord 4.0.0 for reporting bugs using the template[ci skip] 2013-06-27 12:26:58 +05:30
Neeraj Singh
f72b15eb63 bump the rails version in bug report template 2013-04-17 17:30:19 -04:00
Neeraj Singh
261520d918 template should have generic name
since users just copy and paste and the class name is never changed
2013-04-04 18:00:50 -04:00
Neeraj Singh
e267c0ee5e write sql queries to terminal 2013-04-02 11:55:58 -04:00
Xavier Noria
3f35924b3c gist for Active Record issues [Neeraj Singh & Xavier Noria]
This commit closes issue #9775.
2013-04-01 09:43:57 +02:00