Sha256: f5fea5c5b2aa645478d0de2489ed488b6c63df3b33220a56f665b53282fb965c

Contents?: true

Size: 617 Bytes

Versions: 108

Compression:

Stored size: 617 Bytes

Contents

if defined?(Rake.application) && Rake.application
  skip = ENV["SKIP_AR_JDBC_RAKE_REDEFINES"] # jruby -J-Darjdbc.tasks.skip=true -S rake ...
  if !(Java::JavaLang::Boolean.getBoolean('arjdbc.tasks.skip') || ( skip && skip != 'false' ))
    databases_rake = File.expand_path('tasks/databases.rake', File.dirname(__FILE__))
    if Rake.application.lookup("db:create")
      load databases_rake # load the override tasks now
    else # rails tasks not loaded yet; load as an import
      Rake.application.add_import(databases_rake)
    end
  end
else
  warn "ArJdbc: could not load rake tasks - rake not loaded ..."
end

Version data entries

108 entries across 108 versions & 5 rubygems

Version Path
activerecord-jdbc-alt-adapter-61.3.0-java lib/arjdbc/tasks.rb
activerecord-jdbc-alt-adapter-71.0.0.alpha2-java lib/arjdbc/tasks.rb
activerecord-jdbc-alt-adapter-71.0.0.alpha1-java lib/arjdbc/tasks.rb
activerecord-jdbc-alt-adapter-70.2.0-java lib/arjdbc/tasks.rb
activerecord-jdbc-adapter-70.2-java lib/arjdbc/tasks.rb
activerecord-jdbc-adapter-61.3-java lib/arjdbc/tasks.rb
activerecord-jdbc-alt-adapter-70.1.0-java lib/arjdbc/tasks.rb
activerecord-jdbc-alt-adapter-70.0.0-java lib/arjdbc/tasks.rb
activerecord-jdbc-adapter-70.1-java lib/arjdbc/tasks.rb
activerecord-jdbc-alt-adapter-70.0.0.rc2-java lib/arjdbc/tasks.rb
activerecord-jdbc-alt-adapter-60.3.0-java lib/arjdbc/tasks.rb
activerecord-jdbc-alt-adapter-61.2.0-java lib/arjdbc/tasks.rb
activerecord-jdbc-alt-adapter-70.0.0.rc1-java lib/arjdbc/tasks.rb
activerecord-jdbc-adapter-70.0-java lib/arjdbc/tasks.rb
activerecord-jdbc-adapter-70.0.pre-java lib/arjdbc/tasks.rb
activerecord-jdbc-adapter-61.2-java lib/arjdbc/tasks.rb
activerecord-jdbc-alt-adapter-60.2.0-java lib/arjdbc/tasks.rb
activerecord-jdbc-alt-adapter-61.1.0-java lib/arjdbc/tasks.rb
activerecord-jdbc-adapter-61.1-java lib/arjdbc/tasks.rb
activerecord-jdbc-adapter-60.4-java lib/arjdbc/tasks.rb