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

Merge pull request #12173 from arunagw/fixes_reverted_by_revert_commit

Revert fixes
This commit is contained in:
Guillermo Iguaran 2013-09-10 07:05:17 -07:00
commit 005b33222d
4 changed files with 17 additions and 11 deletions

View file

@ -5,7 +5,7 @@ Gem::Specification.new do |s|
s.name = 'actionview'
s.version = version
s.summary = 'Rendering framework putting the V in MVC (part of Rails).'
s.description = ''
s.description = 'Simple, battle-tested conventions and helpers for building web pages.'
s.required_ruby_version = '>= 1.9.3'

View file

@ -106,7 +106,11 @@ module XmlMiniTest
module Nokogiri end
setup do
@xml = ActiveSupport::XmlMini
@xml, @default_backend = ActiveSupport::XmlMini, ActiveSupport::XmlMini.backend
end
teardown do
ActiveSupport::XmlMini.backend = @default_backend
end
test "#with_backend should switch backend and then switch back" do
@ -135,7 +139,11 @@ module XmlMiniTest
module LibXML end
setup do
@xml = ActiveSupport::XmlMini
@xml, @default_backend = ActiveSupport::XmlMini, ActiveSupport::XmlMini.backend
end
teardown do
ActiveSupport::XmlMini.backend = @default_backend
end
test "#with_backend should be thread-safe" do

View file

@ -16,8 +16,7 @@ module Rails
:include => %w(
README.rdoc
lib/active_record/**/*.rb
),
:exclude => 'lib/active_record/vendor/*'
)
},
'activemodel' => {
@ -33,23 +32,22 @@ module Rails
lib/abstract_controller/**/*.rb
lib/action_controller/**/*.rb
lib/action_dispatch/**/*.rb
),
:exclude => 'lib/action_controller/vendor/*'
)
},
'actionview' => {
:include => %w(
README.rdoc
lib/action_view/**/*.rb
)
),
:exclude => 'lib/action_view/vendor/*'
},
'actionmailer' => {
:include => %w(
README.rdoc
lib/action_mailer/**/*.rb
),
:exclude => 'lib/action_mailer/vendor/*'
)
},
'railties' => {

View file

@ -2,7 +2,7 @@ require 'pathname'
module Rails
module AppRailsLoader
RUBY = File.join(*RbConfig::CONFIG.values_at("bindir", "ruby_install_name")) + RbConfig::CONFIG["EXEEXT"]
RUBY = Gem.ruby
EXECUTABLES = ['bin/rails', 'script/rails']
BUNDLER_WARNING = <<EOS
Looks like your app's ./bin/rails is a stub that was generated by Bundler.