lib/swagger_engine/engine.rb in swagger_engine-0.0.2 vs lib/swagger_engine/engine.rb in swagger_engine-0.0.3

- old
+ new

@@ -1,17 +1,19 @@ module SwaggerEngine class Engine < ::Rails::Engine isolate_namespace SwaggerEngine - initializer "swagger_engine.assets.precompile" do |app| + initializer "swagger_engine.assets.precompile", group: :all do |app| app.config.assets.precompile += %w(print.css reset.css) end end class Configuration #[{ default: "swagger.json" }] attr_accessor :json_files + attr_accessor :admin_username + attr_accessor :admin_password end class << self attr_writer :configuration end