Jonathan Hefner
fe9abe4436
Leverage new :env option for Thor::Actions#run
...
Follow-up to #34980 .
Also, refactor tests to be less brittle.
2019-12-15 13:18:06 -06:00
Orien Madgwick
493edf044f
Add bug tracker/documentation/mailing list URIs to the gemspecs
2019-10-11 20:47:19 -04:00
Abhay Nikam
476abd403b
Updated links from http to https in guides, docs, etc
2019-03-09 16:43:47 +05:30
Kasper Timm Hansen
647d7e6167
Revert "Revert "Merge pull request #34387 from yhirano55/rails_info_properties_json""
...
I reverted the wrong commit. Damn it.
This reverts commit f66a977fc7
.
2019-01-08 22:19:22 +01:00
Kasper Timm Hansen
f66a977fc7
Revert "Merge pull request #34387 from yhirano55/rails_info_properties_json"
...
We had a discussion on the Core team and we don't want to expose this information
as a JSON endpoint and not by default.
It doesn't make sense to expose this JSON locally and this controller is only
accessible in dev, so the proposed access from a production app seems off.
This reverts commit 8eaffe7e89
, reversing
changes made to b6e4305c3b
.
2019-01-08 22:16:58 +01:00
Kasper Timm Hansen
1b7c3222e8
Require Ruby 2.5 for Rails 6.
...
Generally followed the pattern for https://github.com/rails/rails/pull/32034
* Removes needless CI configs for 2.4
* Targets 2.5 in rubocop
* Updates existing CHANGELOG entries for fewer merge conflicts
* Removes Hash#slice extension as that's inlined on Ruby 2.5.
* Removes the need for send on define_method in MethodCallAssertions.
2018-12-19 21:47:50 +01:00
David Rodríguez
f173ec77fc
Abort early if generator command fails ( #34420 )
...
* No need to go through ruby
* Abort early if a generator command fails
* Reuse `rails_command` method
* Bump thor minimum dependency to 0.20.3
* Add some minimal docs
* Add a changelog entry
* Restore original logging
2018-12-07 15:01:32 +09:00
Gannon McGibbon
e74fdbe00c
Amend CVE note and security guide section wordings
...
Reword first sentence of dep management and CVE section of
security guide. Also, reword and move gemspec notes above deps.
[ci skip]
2018-11-06 18:06:57 -05:00
Gannon McGibbon
1c11688b56
Add CVE note to security guide and gemspecs
...
[ci skip]
2018-11-06 14:25:36 -05:00
Guillermo Iguaran
e10fd57e98
Bump minimum version of Thor to 0.19.0
...
Thor 0.18 is causing failures in all the generator tests.
2018-05-22 15:58:35 -05:00
Jeremy Daer
d4eb0dc89e
Rails 6 requires Ruby 2.4.1+
...
Skipping over 2.4.0 to sidestep the `"symbol_from_string".to_sym.dup` bug.
References #32028
2018-02-17 15:34:57 -08:00
Rafael Mendonça França
0ea8e7db1a
Remove support to Ruby 2.2
...
Rails 6 will only support Ruby >= 2.3.
2018-02-16 18:52:10 -05:00
Pat Allan
acea68de02
Adding frozen_string_literal pragma to Railties.
2017-08-14 19:08:09 +02:00
Matthew Draper
87b3e226d6
Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"
...
This reverts commit 3420a14590
, reversing
changes made to afb66a5a59
.
2017-07-02 02:15:17 +09:30
Matthew Draper
3420a14590
Merge pull request #29540 from kirs/rubocop-frozen-string
...
Enforce frozen string in Rubocop
2017-07-02 01:11:50 +09:30
Koichi ITO
82d0aff2ce
Add source code and changelog link to railties.gemspec
2017-07-01 22:33:00 +09:00
Kir Shatrov
cfade1ec7e
Enforce frozen string in Rubocop
2017-07-01 02:11:03 +03:00
bogdanvlviv
40bdbce191
Define path with __dir__
...
".. with __dir__ we can restore order in the Universe." - by @fxn
Related to 5b8738c2df
2017-05-23 00:53:51 +03:00
Xavier Noria
adca8154c6
applies new string literal convention in the gemspecs
...
The current code base is not uniform. After some discussion,
we have chosen to go with double quotes by default.
2016-08-06 19:27:12 +02:00
Xavier Noria
1eb27fafa9
revises the homepage URL in the gemspecs [ci skip]
...
References https://github.com/rails/homepage/issues/46 .
2016-03-10 07:55:27 +01:00
Brandon Keepers
1ab3c5a86c
Include MIT-LICENSE in railties gem
2015-09-01 14:17:10 -04:00
Guillermo Iguaran
33ea933d7b
Merge pull request #19753 from jonatack/use-ruby-2-2-2
...
Upgrade to Ruby 2.2.2
2015-04-13 22:56:47 -05:00
Jon Atack
32f7491808
Upgrade to Ruby 2.2.2
...
and fix the grammar in the ruby_version_check.rb user message.
2015-04-14 08:41:56 +05:30
Islam Wazery
4521aadae0
Rename railties/bin to railties/exe
...
That will match the new Bundler executables convention.
Bundler Blog Post: http://bundler.io/blog/2015/03/20/moving-bins-to-exe.html
Also updated the necessary tests.
2015-04-11 19:26:34 +02:00
Arthur Neves
9afd9d232c
method_source needs to be a hard dependency on railties
2015-03-19 10:15:03 -04:00
Peter Suschlik
f0768eba28
Target Ruby 2.2.1 in gemspecs
...
This is a follow-up to #19257
2015-03-09 09:56:26 +01:00
claudiob
d3b098b828
Require Ruby 2.2 for Rails 5.0
...
Stems from [this comment](https://github.com/rails/rails/pull/18203#issuecomment-68138096 ) by @robin850
and by the blog post http://weblog.rubyonrails.org/2014/12/19/Rails-4-2-final
2014-12-26 13:53:09 +01:00
claudiob
96d0f751f9
Bump required Ruby version to 2.1.0
...
[This article](http://weblog.rubyonrails.org/2014/8/20/Rails-4-2-beta1/#maintenance-consequences-and-rails-5-0 ) states that:
> Rails 5.0 is in most likelihood going to target Ruby 2.2.
Before the exact minimum version is fully decided, @arthurnn [suggests](https://github.com/rails/rails/pull/17830#issuecomment-64940383 )
that **at least** version 2.1.0 **must** be required by the `gemspec` files.
2014-11-28 22:59:51 -08:00
Łukasz Strzałkowski
d7d3e34172
Add AV as development dependency for railties
...
It's needed for tests
2013-08-25 11:39:12 +02:00
Guillermo Iguaran
d98ab530cb
Use last released version of thor
2013-03-30 11:47:26 -05:00
Xavier Noria
022ed6c763
adds the API home page to the gemspec, needed for doc:rails
2013-03-30 01:03:02 +01:00
Xavier Noria
2595611dc3
rdoc is no longer a gem dependency, sdoc becomes a runtime dependency
2013-03-30 00:10:52 +01:00
Xavier Noria
ddd2c75b26
Revert "instruct RDoc to only parse Ruby files under lib [ Fixes #9779 ]"
...
This reverts commit c24528fbc9
.
2013-03-18 21:19:47 +01:00
Xavier Noria
c24528fbc9
instruct RDoc to only parse Ruby files under lib [ Fixes #9779 ]
2013-03-18 20:36:32 +01:00
Carlos Antonio da Silva
fb3996f89d
Depend on thor >= 0.17.0
2013-01-23 23:08:28 -02:00
Jeremy Kemper
8110035623
Revert "Omit directories from gemspec.files for RubyGems 2 compat."
...
Obviated by rubygems/rubygems@486ed83cc8
This reverts commit bb8923dee0
.
2012-12-09 17:14:27 -07:00
Jeremy Kemper
bb8923dee0
Omit directories from gemspec.files for RubyGems 2 compat.
...
RG2 packager expects each spec.files path to be a file and bombs when it tries to tarball a dir.
May revert if rubygems/rubygems#413 is accepted.
2012-12-08 17:18:46 -07:00
Vinny Diehl
a96a176930
Clean up gemspecs
...
Organized the gemspec files a bit.
* Made quotes more consistent (single quotes dominated, so I used
that).
* Moved license line down a line, separating it logically, and removed
the extra whitespace before its = operator.
* Minor whitespace fixes.
2012-11-08 19:09:43 -05:00
José Valim
e9e6f63d9c
Depend on thor 0.15.4
2012-06-29 15:24:12 +02:00
José Valim
8c02918497
Require thor 0.15.3 onwards
2012-06-18 15:59:22 +02:00
Matt Griffin
6c7b250ac0
Add license field to gemspecs, by Matt Griffin
2012-05-23 09:22:25 -07:00
tomhuda
ad2c5ea278
Allow Thor 0.15 and 1.0, to be released shortly
2012-04-28 15:55:58 -07:00
Rafael Mendonça França
9ec63eb049
Rack::SSL -> ActionDispatch::SSL
2012-03-17 13:36:35 -03:00
Xavier Noria
6d87cd028b
moves the guides up to the root directory
2012-03-17 08:32:49 -07:00
Rahul P. Chaudhari
e883c06a4f
Updated gemspec for ruby 1.9.3
2011-12-21 11:09:01 +05:30
Franck Verrot
1679aa56f3
Synchronize the gemspecs since CHANGELOG has been renamed to CHANGELOG.md
2011-11-04 14:46:39 +01:00
José Valim
71d7c52019
Update railties.gemspec
2011-06-28 09:35:46 -03:00
Jacob Poulsgaard Tjoernholm
35ae29f305
Fix issue #1598 by adding a dependency to the RDoc gem.
2011-06-09 14:37:54 -07:00
David Heinemeier Hansson
f62aba74ef
Now that we are compatible with Rake 0.9.0, lets allow it back in
2011-05-21 12:04:41 -05:00
David Heinemeier Hansson
f3c3a785bd
Bind to Rake 0.8.7 until a fix for Rake 0.9.0 is released
2011-05-21 10:56:03 -05:00