anjlab-bootstrap-rails 2.2.2.0 → 2.2.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,8 +2,14 @@ module Bootstrap
2
2
  module Rails
3
3
  class Engine < ::Rails::Engine
4
4
  initializer 'anjlab-bootstrap-rails-setup', :group => :all do |app|
5
+ frameworks_path = File.join(config.root, 'vendor', 'frameworks')
6
+ # rails 3.2.x
5
7
  if config.respond_to? :sass
6
- config.sass.load_paths << File.join(config.root, 'vendor', 'frameworks')
8
+ config.sass.load_paths << frameworks_path
9
+ end
10
+ # rails 4.0.x
11
+ if config.respond_to? :assets
12
+ config.assets.paths << frameworks_path
7
13
  end
8
14
  end
9
15
  end
@@ -1,5 +1,5 @@
1
1
  module Bootstrap
2
2
  module Rails
3
- VERSION = "2.2.2.0"
3
+ VERSION = "2.2.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: anjlab-bootstrap-rails
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.2.2.0
5
+ version: 2.2.2.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Yury Korolev
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-10 00:00:00.000000000 Z
12
+ date: 2013-01-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  version_requirements: !ruby/object:Gem::Requirement
@@ -168,7 +168,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
168
168
  version: '0'
169
169
  segments:
170
170
  - 0
171
- hash: 2028513592731663622
171
+ hash: 704695740889684225
172
172
  none: false
173
173
  required_rubygems_version: !ruby/object:Gem::Requirement
174
174
  requirements:
@@ -177,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
177
177
  version: '0'
178
178
  segments:
179
179
  - 0
180
- hash: 2028513592731663622
180
+ hash: 704695740889684225
181
181
  none: false
182
182
  requirements: []
183
183
  rubyforge_project: