Sha256: 5cf79ae27e45113ecf786e1b4a1bdb2579101ddf6e5ae524dda8021b38840001

Contents?: true

Size: 689 Bytes

Versions: 8

Compression:

Stored size: 689 Bytes

Contents

require 'rubygems'

$LOAD_PATH << File.expand_path("../lib", File.dirname(__FILE__))

require 'tempfile'
require 'active_support'
require 'active_record'
require 'action_controller'
require 'action_mailer'
require 'fast_gettext'
require 'gettext_i18n_rails'

begin
  Gem.all_load_paths
rescue
  puts "Fixing Gem.all_load_paths"
  module Gem;def self.all_load_paths;[];end;end
end

module Rails
  def self.root
    File.dirname(__FILE__)
  end

  module VERSION
    MAJOR = 3
    MINOR = 1
    PATCH = 0
    STRING = "#{MAJOR}.#{MINOR}.#{PATCH}"
  end
end

def with_file(content)
  Tempfile.open('gettext_i18n_rails_specs') do |f|
    f.write(content)
    f.close
    yield f.path
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
nulogy-gettext_i18n_rails-0.4.6.2 spec/spec_helper.rb
nulogy-gettext_i18n_rails-0.4.6.1 spec/spec_helper.rb
gettext_i18n_rails-0.4.6 spec/spec_helper.rb
gettext_i18n_rails-0.4.5 spec/spec_helper.rb
gettext_i18n_rails-0.4.4 spec/spec_helper.rb
gettext_i18n_rails-0.4.3 spec/spec_helper.rb
gettext_i18n_rails-0.4.2 spec/spec_helper.rb
gettext_i18n_rails-0.4.1 spec/spec_helper.rb