Merge branch 'master' into openid
This commit is contained in:
commit
b917a0eba0
15 changed files with 20 additions and 46 deletions
|
@ -82,8 +82,8 @@ module Rails
|
||||||
end
|
end
|
||||||
|
|
||||||
def load_rubygems
|
def load_rubygems
|
||||||
require 'rubygems'
|
|
||||||
min_version = '1.3.1'
|
min_version = '1.3.1'
|
||||||
|
require 'rubygems'
|
||||||
unless rubygems_version >= min_version
|
unless rubygems_version >= min_version
|
||||||
$stderr.puts %Q(Rails requires RubyGems >= #{min_version} (you have #{rubygems_version}). Please `gem update --system` and try again.)
|
$stderr.puts %Q(Rails requires RubyGems >= #{min_version} (you have #{rubygems_version}). Please `gem update --system` and try again.)
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Add new inflection rules using the following format
|
# Add new inflection rules using the following format
|
||||||
# (all these examples are active by default):
|
# (all these examples are active by default):
|
||||||
# Inflector.inflections do |inflect|
|
# ActiveSupport::Inflector.inflections do |inflect|
|
||||||
# inflect.plural /^(ox)$/i, '\1en'
|
# inflect.plural /^(ox)$/i, '\1en'
|
||||||
# inflect.singular /^(ox)en/i, '\1'
|
# inflect.singular /^(ox)en/i, '\1'
|
||||||
# inflect.irregular 'person', 'people'
|
# inflect.irregular 'person', 'people'
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
require File.dirname(__FILE__) + '/../config/boot'
|
require File.expand_path('../../config/boot', __FILE__)
|
||||||
require 'commands/about'
|
$LOAD_PATH.unshift "#{RAILTIES_PATH}/builtin/rails_info"
|
||||||
|
require 'commands/about'
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
#!/usr/bin/env ruby
|
|
||||||
require File.dirname(__FILE__) + '/../config/boot'
|
|
||||||
require 'commands/breakpointer'
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
require File.dirname(__FILE__) + '/../config/boot'
|
require File.expand_path('../../config/boot', __FILE__)
|
||||||
require 'commands/console'
|
require 'commands/console'
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
require File.dirname(__FILE__) + '/../config/boot'
|
require File.expand_path('../../config/boot', __FILE__)
|
||||||
require 'commands/dbconsole'
|
require 'commands/dbconsole'
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
require File.dirname(__FILE__) + '/../config/boot'
|
require File.expand_path('../../config/boot', __FILE__)
|
||||||
require 'commands/destroy'
|
require 'commands/destroy'
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
require File.dirname(__FILE__) + '/../config/boot'
|
require File.expand_path('../../config/boot', __FILE__)
|
||||||
require 'commands/generate'
|
require 'commands/generate'
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
require File.dirname(__FILE__) + '/../../config/boot'
|
require File.expand_path('../../../config/boot', __FILE__)
|
||||||
require 'commands/performance/benchmarker'
|
require 'commands/performance/benchmarker'
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
require File.dirname(__FILE__) + '/../../config/boot'
|
require File.expand_path('../../../config/boot', __FILE__)
|
||||||
require 'commands/performance/profiler'
|
require 'commands/performance/profiler'
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
#!/usr/bin/env ruby
|
|
||||||
require File.dirname(__FILE__) + '/../../config/boot'
|
|
||||||
require 'commands/performance/request'
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
require File.dirname(__FILE__) + '/../config/boot'
|
require File.expand_path('../../config/boot', __FILE__)
|
||||||
require 'commands/plugin'
|
require 'commands/plugin'
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
require File.dirname(__FILE__) + '/../config/boot'
|
require File.expand_path('../../config/boot', __FILE__)
|
||||||
require 'commands/runner'
|
require 'commands/runner'
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
require File.dirname(__FILE__) + '/../config/boot'
|
require File.expand_path('../../config/boot', __FILE__)
|
||||||
require 'commands/server'
|
require 'commands/server'
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
#!/usr/bin/env ruby
|
|
||||||
require "yaml"
|
|
||||||
|
|
||||||
buffer = []
|
|
||||||
STDIN.each_line { |l| buffer << l }
|
|
||||||
|
|
||||||
contexts = YAML::load(buffer.join("\n"))
|
|
||||||
|
|
||||||
contexts.each do |context,specifications|
|
|
||||||
puts ""
|
|
||||||
puts "context \"#{context}\" do"
|
|
||||||
puts ""
|
|
||||||
specifications.each do |specification|
|
|
||||||
puts " specify \"#{specification}\" do"
|
|
||||||
puts " violated \"no assertions performed\""
|
|
||||||
puts " end"
|
|
||||||
puts ""
|
|
||||||
end
|
|
||||||
puts "end"
|
|
||||||
end
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue