Sha256: 86d2a700e36585ae7d78bf1bf931d6eeff28ce841ee616efe919855b91387779

Contents?: true

Size: 441 Bytes

Versions: 7

Compression:

Stored size: 441 Bytes

Contents

require 'locale'

Locale.init(:driver => :cgi)

["i18n", "action_controller", "action_view", "version"].each do  |lib|
  require File.join(File.dirname(__FILE__), "locale_rails", lib)
end

begin
  Rails::Info.property("Locale version") do
    Locale::VERSION
  end
  Rails::Info.property("Locale for Rails version") do
    Locale::LOCALE_RAILS_VERSION
  end
rescue Exception
  $stderr.puts "Locale's Rails::Info is not found." if $DEBUG
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
activeldap-1.2.2 examples/al-admin/vendor/locale_rails/lib/locale_rails.rb
locale_rails-2.0.5 lib/locale_rails.rb
locale_rails-0.1.0 lib/locale_rails.rb
locale_rails-2.0.1 lib/locale_rails.rb
locale_rails-2.0.4 lib/locale_rails.rb
locale_rails-2.0.2 lib/locale_rails.rb
locale_rails-2.0.3 lib/locale_rails.rb