hackathon-bootstrap 0.0.1.4 → 0.0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d95f698edbf05b807d6bfb512fb087fb3a2bfe7c
4
- data.tar.gz: 36735e856e7b63fc45125e3b1881de2c4e36c10f
3
+ metadata.gz: 079b3588bf37b2d8df4aaa6f37d29cbbdb93cd09
4
+ data.tar.gz: 8cc63854a8b75b0198bb9d8cc239ca5a8331d56f
5
5
  SHA512:
6
- metadata.gz: 985a3b7f8ccaa8eb2e57d49ec079afc3ab86e07c6016f54b013870a00ab60f9bbaee62f7abd97963247138c94bbaab8a0c6b6cb9d3b7d4e612d5b9ba5f389f48
7
- data.tar.gz: 878977122b2ee9890ef7df2911e123be56bd49d7d113a4d4373ef196155dd3d6fd741c6cb05f74a81b03246b82720128b61d69cfbb173697e07289f51894453d
6
+ metadata.gz: 1b5d49d58e59d16c8daffeb34edd8bd6079fc1d78c222ddad3b930ca3d81ce17ddad3c3da7f6941cedd95bcfd42b74daec84406a9bc7828bc2e740c4b44a1da5
7
+ data.tar.gz: 434efccbe431186f152c08193624a2fe1cc88a55d1bd52902b6d9c40970200af7e8b8c3e636399a01bc4282708d81d327d6f9451b545667cf9613ad48e67df77
@@ -6,7 +6,7 @@ module Hackathon
6
6
  module Bootstrap
7
7
  module Rails
8
8
  class Engine < ::Rails::Engine
9
- initializer :after_append_asset_paths, :group => :all, :after => :append_assets_path do |app|
9
+ initializer :after_append_asset_paths, group: :all, after: :append_assets_path do |app|
10
10
  ::Hackathon::Bootstrap.load!
11
11
  app.config.assets.paths.unshift File.join(::Hackathon::Bootstrap.stylesheets_path, 'hackathon-bootstrap')
12
12
  end
@@ -1,6 +1,6 @@
1
1
  module Hackathon
2
2
  module Bootstrap
3
3
  VERSION = "0.0.1"
4
- PATCHLEVEL = 4
4
+ PATCHLEVEL = 5
5
5
  end
6
6
  end
@@ -3,6 +3,7 @@ require 'hackathon/bootstrap/version'
3
3
  module Hackathon
4
4
  module Bootstrap
5
5
  class << self
6
+ @@theme = 'default'
6
7
  # Inspired by Kaminari
7
8
  def load!
8
9
  register_compass_extension if compass?
@@ -11,11 +12,11 @@ module Hackathon
11
12
  end
12
13
 
13
14
  def use theme
14
- @theme = theme
15
+ @@theme = theme
15
16
  end
16
17
 
17
18
  def theme
18
- @theme ||= 'default'
19
+ @@theme ||= 'default'
19
20
  end
20
21
 
21
22
  # Paths
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hackathon-bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.4
4
+ version: 0.0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - steigr