Sha256: 128527b81c897ec47f069d35c7688b87ee9172e8b6d080db5aba05e30f4dd861

Contents?: true

Size: 388 Bytes

Versions: 12

Compression:

Stored size: 388 Bytes

Contents

require 'jitai'
require 'rails'

module Jitai
  class Railtie < Rails::Railtie

    initializer "jitai.initialization" do |app|
      app.middleware.use Jitai::Middleware
    end

    rake_tasks do
      namespace :jitai do
        desc "hack"
        task :refresh do
          font_manager = Jitai::FontManager.new
          font_manager.refresh
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
jitai-0.3.1 lib/jitai/railtie.rb
jitai-0.3.0 lib/jitai/railtie.rb
jitai-0.2.32 lib/jitai/railtie.rb
jitai-0.2.31 lib/jitai/railtie.rb
jitai-0.2.30 lib/jitai/railtie.rb
jitai-0.2.29 lib/jitai/railtie.rb
jitai-0.2.28 lib/jitai/railtie.rb
jitai-0.2.27 lib/jitai/railtie.rb
jitai-0.2.26 lib/jitai/railtie.rb
jitai-0.2.25 lib/jitai/railtie.rb
jitai-0.2.24 lib/jitai/railtie.rb
jitai-0.2.23 lib/jitai/railtie.rb