bootswitch 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/bootswitch.gemspec +2 -3
- data/lib/bootswitch/methods.rb +8 -0
- metadata +1 -2
- data/app/helpers/theme_helper.rb +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8fb134d7d3165b8f0cadff74b7034f4e224038bc
|
4
|
+
data.tar.gz: 6e7ca0bc33779c867ae65300e03089ed0373fcf6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e89576d50d72a667b86e1dee6eaeb74884b10636d9b7bac7c492e04545e23079e53fd5983aff5882fbcf5746ac200411f0b1949452090e865f9bf24623884f7e
|
7
|
+
data.tar.gz: d2b0a825e85faf07d982603ca2deadfeebaa002f6ccfdd026a4876aecb82373985df3ce297c6dac92c84a0a0a54d34ff6e73529f3b2a160fadc7f9fb9639befa
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.12
|
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.0.
|
5
|
+
# stub: bootswitch 0.0.12 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "bootswitch"
|
9
|
-
s.version = "0.0.
|
9
|
+
s.version = "0.0.12"
|
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"]
|
@@ -27,7 +27,6 @@ Gem::Specification.new do |s|
|
|
27
27
|
"README.rdoc",
|
28
28
|
"Rakefile",
|
29
29
|
"VERSION",
|
30
|
-
"app/helpers/theme_helper.rb",
|
31
30
|
"app/views/theme/_stylesheet_link_tag.html.haml",
|
32
31
|
"bootswitch.gemspec",
|
33
32
|
"lib/bootswitch.rb",
|
data/lib/bootswitch/methods.rb
CHANGED
@@ -2,4 +2,12 @@ module Bootswitch
|
|
2
2
|
def self.themes
|
3
3
|
configuration.themes
|
4
4
|
end
|
5
|
+
|
6
|
+
def theme_name
|
7
|
+
send(Bootswitch.configuration.theme_method) || Bootswitch.configuration.default_theme
|
8
|
+
end
|
9
|
+
|
10
|
+
def theme_stylesheet_link_tag
|
11
|
+
render(partial: 'theme/stylesheet_link_tag')
|
12
|
+
end
|
5
13
|
end
|
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.0.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karen Lundgren
|
@@ -125,7 +125,6 @@ files:
|
|
125
125
|
- README.rdoc
|
126
126
|
- Rakefile
|
127
127
|
- VERSION
|
128
|
-
- app/helpers/theme_helper.rb
|
129
128
|
- app/views/theme/_stylesheet_link_tag.html.haml
|
130
129
|
- bootswitch.gemspec
|
131
130
|
- lib/bootswitch.rb
|
data/app/helpers/theme_helper.rb
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
module ThemeHelper
|
2
|
-
def themes
|
3
|
-
Bootswitch.configuration.themes
|
4
|
-
end
|
5
|
-
|
6
|
-
def theme_name
|
7
|
-
send(Bootswitch.configuration.theme_method) || Bootswitch.configuration.default_theme
|
8
|
-
end
|
9
|
-
|
10
|
-
def theme_stylesheet_link_tag
|
11
|
-
render(partial: 'theme/stylesheet_link_tag')
|
12
|
-
end
|
13
|
-
end
|