Sha256: a258168991f4d4a411c384a9dd2fc347502a8ed0e45b7a06e167d1d8c4508334
Contents?: true
Size: 571 Bytes
Versions: 1
Compression:
Stored size: 571 Bytes
Contents
require "rails" require "rails_grpc/dependencies" require "google/protobuf" module RailsGrpc class Railtie < ::Rails::Railtie rake_tasks do load "tasks/protoc.rake" end config.before_initialize do |app| RailsGrpc::Dependencies.load_dependencies! end ActiveSupport::Reloader.to_complete do unless RailsGrpc::Dependencies.cache_classes? Google::Protobuf::DescriptorPool.generated_pool.clear RailsGrpc::Dependencies.clear_dependencies! RailsGrpc::Dependencies.load_dependencies! end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_grpc-0.1.0 | lib/rails_grpc/railtie.rb |