Commit Graph

82 Commits

Author SHA1 Message Date
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
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
Xavier Noria cd7cc5254b Remove documentation tasks
This patch removes the tasks doc:app, doc:rails, and doc:guides.

In our experience applications do not generate APIs using doc:app.
Methods may be certainly documented for maintainers, annotated
with YARD tags, etc. but that is intended to be read with the
source code, not in a separate website. Then, teams also have
typically selected topics written down in Markdown files, or in
a GitHub wiki... that kind of thing.

If a team absolutely needs to generate application documentation
for internal purposes, they can still easily write their own task.

Regarding doc:rails and doc:guides, we live in 2015. We are used
to go to online docs all the time. If you really want access to the
API offline RubyGems generates it for every Rails component unless
you tell it not to, and you can checkout the Rails source code to
read the guides as Markdown, or download them for a Kindle reader.

All in all, maintaining this code does not seem to be worthwhile
anymore.

As a consequence of this, guides (+3 MB uncompressed) won't be
distributed with the rails gem anymore. Of course, guides and API
are going to be still part of releases, since documentation is
maintained alongside code and tests.

Also, time permitting, this will allow us to experiment with novel
ways to generate documentation in the Rails docs server, since
right now we were constrained by being able to generate them in
the user's environment.
2015-02-06 21:04:54 +01:00
Kyle Decot acee13be20 targeting 2.2 2014-12-25 23:25:49 -05:00
Igor Zubkov 35a14cfd5d Bump ruby version to 2.1.0 in rails.gemspec too. 2014-11-29 18:45:47 +02:00
Rafael Mendonça França 4d157ea8c1 Merge pull request #17752 from arthurnn/fix_sprockets-rails-dependency
Use sprockets-rails 2.2.x on base app and allow greater version
2014-11-24 19:33:07 -02:00
Arthur Neves 8e1e9f6c70
Fix sprockets-rails dependency dance
- Remove sprockets-rails from generated Gemfile as rails has a hard-dependency on it

- Also allow sprockets-rails >= 2.0.0
2014-11-24 16:30:26 -05:00
Rafael Mendonça França 828c64241c Do not package the guides output
Fixes #17455
2014-10-31 12:25:40 -02:00
Rafael Mendonça França d4f018fc25 Require sprockets-rails 3.0.0.beta1 2014-08-19 19:57:55 -03:00
Abdelkader Boudih 0c232779ec Remove activejob integration tests 2014-08-12 10:07:21 +00:00
Rafael Mendonça França a338b39f75 Make possible to use sprockets-rails 2.1 2014-04-04 16:25:46 -03:00
Arun Agrawal 2adea0a5b3 Added activemodel as a explicit dependency
As we have other dependency explicitly here
it's fine to add activemodel as well
2013-10-02 16:40:17 +02:00
Piotr Sarnacki 78b0934dd1 Add bare actionview gem to the root directory
This commit creates structure for Action View gem and is first of a
series of commits extracting Action View from Action Pack.
2013-06-20 17:23:15 +02:00
Paul Nikitochkin 37db946023 Use sprockets-rails 2.0.0 2013-06-12 16:57:04 +03:00
Guillermo Iguaran be4ccae9c3 Use sprockets-rails 2.0.0.rc4 2013-04-18 13:37:43 -05:00
Xavier Noria 0513f6ca9c fixes gemspec 2013-04-16 18:17:54 +02:00
Xavier Noria 1003f5bd6d removes bindir from the rails gemspec
Nowadays the rails gem itself has no executables.
2013-03-29 13:27:56 +01:00
Jeremy Kemper 202041e762 Bundler 1.3.0 released. We prefer it for new binstub behavior. 2013-02-25 17:07:45 -06:00
Guillermo Iguaran 40111c5c8a Use sprockets-rails 2.0.0.rc3 in new apps 2013-02-24 13:31:29 -05:00
Jeremy Kemper 5be6fa5c33 Relax bundler dep until 1.3.0 is actually released.
Revert "Bump bundler dep to 1.3.0.pre.4+ to introduce 'bundle binstubs <gem>'"

This reverts commit e00b8ecf1a.

Revert "Use bundler --pre for travis builds"

This reverts commit 4d240ec20a.
2013-01-10 12:37:12 -07:00
Xavier Noria 9c5fb00141 let the rails gem ship with the README
The doc:rails application rake task needs this README.
2013-01-08 00:50:55 +01:00
Jeremy Kemper e00b8ecf1a Bump bundler dep to 1.3.0.pre.4+ to introduce 'bundle binstubs <gem>' 2013-01-03 17:41:52 -07: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
claudiob 626086a3c6 Revert "rails gem has no lib directory to require"
This reverts commit 6bcbd6046f.

The default value for require_paths is ['lib'], and Rails does not
need to include any lib/ file to build the gem, so the previous
commit 'makes sense'. However, gems will not be built at all if
require_paths is empty (see https://gist.github.com/1065473), so
it's better to stick with the default, which does not have any
side-effects
2012-11-28 10:20:54 -08:00
Akira Matsuda 6bcbd6046f rails gem has no lib directory to require 2012-11-27 17:14:14 +09:00
Kentaro Kuribayashi 9a07996aed Depend bundler from `=> 1.2.2` to `< 2.0` 2012-11-16 23:13:27 +09:00
Kentaro Kuribayashi 65c2d2fa05 Updated dependency for bundler to ~> 1.2.2 2012-11-16 12:58:29 +09: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
Carlos Antonio da Silva 18e979eea3 Update rails gemspec to use sprockets-rails 2.0.0.rc1
So that we can bundle and travis can run our tests.
2012-10-19 13:30:04 -03:00
Joshua Peek b8c7e31a57 Switch to new sprockets-rails plugin 2012-10-15 18:22:12 -05:00
Piotr Sarnacki 5f99bdbec2 Require bundler 1.2 2012-08-31 20:59:15 +02:00
Matt Griffin 6c7b250ac0 Add license field to gemspecs, by Matt Griffin 2012-05-23 09:22:25 -07:00
Xavier Noria 6d87cd028b moves the guides up to the root directory 2012-03-17 08:32:49 -07:00
Guillermo Iguaran 4b333812ad Depend on sprockets-rails v1.0 2012-03-13 18:06:45 -05:00
Prem Sichanugrist f1637bf2bb Remove Active Resource source files from the repository
Dear Active Resource,

It's not that I hate you or anything, but you didn't get much attention lately. There're so many alternatives out there, and I think people have made their choice to use them than you. I think it's time for you to have a big rest, peacefully in this Git repository.

I will miss you,

@sikachu.
2012-03-13 14:55:44 -04:00
José Valim 3742152310 Bump bundler dependency. 2012-03-09 22:10:43 +01:00
Guillermo Iguaran 461834b528 Bump rubygems required version to 1.8.11 (default version in 1.9.3-p0) 2012-01-21 11:56:35 -05:00
Rahul P. Chaudhari e883c06a4f Updated gemspec for ruby 1.9.3 2011-12-21 11:09:01 +05:30
José Valim 11fa70dd09 Just provide the executable for railtie. This should be fine since Rubygems now warns before overriding them. 2011-09-12 09:05:11 -07:00
Andrew White 718542bb18 Revert "The rails gem doesn't have a lib directory - closes #1958."
RubyGems requires at least one require_path.

This reverts commit e7fc5d1cad.
2011-07-04 16:59:51 +01:00
Andrew White e7fc5d1cad The rails gem doesn't have a lib directory - closes #1958. 2011-07-04 14:52:29 +01:00
Arun Agrawal f72f591c8c Not updating rubyforge for new versions. Result of "gem list -d rails" is not useful. 2011-05-20 17:43:40 +05:30
Santiago Pastorino 9de8dea2e8 default_executable is deprecated since rubygems 1.7.0 2011-04-01 23:58:37 -03:00
David Heinemeier Hansson 0eb6e5e270 Moved Turn activation/dependency to railties 2011-03-31 16:20:59 -07:00
David Heinemeier Hansson b27057731c Use Turn to format all Rails tests and enable the natural language case names 2011-03-31 12:11:03 -07:00
Yehuda Katz 7cc371a032 Allow bundler 1.1 (and 1.2, etc.) in Rails 1.0.2 and above 2010-11-12 18:36:55 -06:00
Santiago Pastorino b44e2abd9f Bump bundler up to 1.0.3 2010-10-16 14:36:25 -02:00
David Heinemeier Hansson e119aaecd6 Depend on Bundler 1.0 w/ tiny fixes 2010-08-29 13:25:52 -05:00
David Heinemeier Hansson b983145dfc Depend on latest Bundler RC 2010-08-23 21:24:22 -05:00