butler_static 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/lib/butler/static.rb CHANGED
@@ -78,10 +78,11 @@ module Butler
78
78
  def initialize(app, options={})
79
79
  @app = app
80
80
  path = options[:path] || ''
81
+ # CLEAN THIS MESS UP
81
82
  path ||= Rails.application.config.paths['public'].first if defined? Rails
82
83
  @header_rules = {}
83
84
  if defined? Rails
84
- header_rules = Rails.application.confg.assets.header_rules
85
+ header_rules = Rails.application.config.assets.header_rules
85
86
  @header_rules.merge(header_rules) if header_rules
86
87
  end
87
88
  @header_rules = @header_rules.merge(options[:header_rules]) if options[:header_rules]
@@ -1,3 +1,3 @@
1
1
  module Butler
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: butler_static
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: