Let's load jruby-openssl now for all. #jruby
This commit is contained in:
parent
82857adc56
commit
69bad8f517
|
@ -4,7 +4,7 @@ source 'http://rubygems.org'
|
|||
|
||||
<%= database_gemfile_entry -%>
|
||||
|
||||
<%= "gem 'jruby-openssl'\n" if defined?(JRUBY_VERSION) && JRUBY_VERSION < "1.6" -%>
|
||||
<%= "gem 'jruby-openssl'\n" if defined?(JRUBY_VERSION) -%>
|
||||
# Asset template engines
|
||||
<%= "gem 'json'\n" if RUBY_VERSION < "1.9.2" -%>
|
||||
gem 'sass'
|
||||
|
|
|
@ -136,7 +136,9 @@ class AppGeneratorTest < Rails::Generators::TestCase
|
|||
run_generator([destination_root, "-d", "jdbcmysql"])
|
||||
assert_file "config/database.yml", /jdbcmysql/
|
||||
assert_file "Gemfile", /^gem\s+["']activerecord-jdbcmysql-adapter["']$/
|
||||
assert_file "Gemfile", /^gem\s+["']jruby-openssl["']$/ if defined?(JRUBY_VERSION) && JRUBY_VERSION < "1.6"
|
||||
# TODO: When the JRuby guys merge jruby-openssl in
|
||||
# jruby this will be removed
|
||||
assert_file "Gemfile", /^gem\s+["']jruby-openssl["']$/ if defined?(JRUBY_VERSION)
|
||||
end
|
||||
|
||||
def test_config_jdbcsqlite3_database
|
||||
|
|
Loading…
Reference in New Issue