bootswitch 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 70e56de104258e6f25e7c22a37106027d4f918af
4
- data.tar.gz: 7a0af8db7988dcdba8ca1f09ab531bcb8e7f4103
3
+ metadata.gz: 0966f3b7051a37e8f0fa58c7afb3327348fe13b7
4
+ data.tar.gz: ccafdedc43bb6e425f55f98974436a1164768541
5
5
  SHA512:
6
- metadata.gz: 8a066df62754f3884f108f36e660129cca7f28e1d3b6339cd40435f23507360f0a81fa058d5f2975b29bc660e559247de203ac064491adc5560c80a1bbadbecf
7
- data.tar.gz: 61b7b1dd2139691896761c561a51b16d2074607aaef70ad9c7522d2160b34b5ad287e38dd78226fead0368d7f579d9639b3475392252d5ffabe61eb01347845f
6
+ metadata.gz: c630ff83bdb2f0317a3c6a0369099913477af148fdbaf5d3eb056d2114424d7d9e4a6b1b8342b28242c4ef35c20db79f0a8bedc5ea745251b6d7eb9989ce3941
7
+ data.tar.gz: f2ea3896c1115339ada2b8f5b03f20ec431c93c7647f9b4771370025681dbe3c46f8003f3c70f11e718f29cbdcad1f672a2770b3b8cf677d3119130e69755b12
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
data/bootswitch.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: bootswitch 0.1.1 ruby lib
5
+ # stub: bootswitch 0.1.2 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "bootswitch"
9
- s.version = "0.1.1"
9
+ s.version = "0.1.2"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
@@ -33,6 +33,7 @@ Gem::Specification.new do |s|
33
33
  "lib/bootswitch/configuration.rb",
34
34
  "lib/bootswitch/engine.rb",
35
35
  "lib/bootswitch/helpers.rb",
36
+ "lib/bootswitch/railtie.rb",
36
37
  "lib/bootswitch/version.rb",
37
38
  "lib/generators/bootswitch/install/install_generator.rb",
38
39
  "lib/generators/bootswitch/install/templates/initializer.rb",
@@ -0,0 +1,9 @@
1
+ module Bootswitch
2
+ class Railtie < Rails::Railtie
3
+ initializer 'bootswitch.add_view_paths', :after => :add_view_paths do |app|
4
+ ActiveSupport.on_load(:action_controller) do
5
+ prepend_view_path Gem.loaded_specs['bootswitch'].full_gem_path + '/app/views'
6
+ end
7
+ end
8
+ end
9
+ end
data/lib/bootswitch.rb CHANGED
@@ -6,6 +6,7 @@ module Bootswitch
6
6
  require 'bootswitch/helpers'
7
7
  require 'bootswitch/version'
8
8
  require 'bootswitch/engine'
9
+ require 'bootswitch/railtie'
9
10
 
10
11
  require 'bootstrap-sass'
11
12
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootswitch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karen Lundgren
@@ -131,6 +131,7 @@ files:
131
131
  - lib/bootswitch/configuration.rb
132
132
  - lib/bootswitch/engine.rb
133
133
  - lib/bootswitch/helpers.rb
134
+ - lib/bootswitch/railtie.rb
134
135
  - lib/bootswitch/version.rb
135
136
  - lib/generators/bootswitch/install/install_generator.rb
136
137
  - lib/generators/bootswitch/install/templates/initializer.rb