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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eda6265f83b80b9f6ca6851dd1e4d07fef52025c
4
- data.tar.gz: 50f8ab241dd04850ddfeab57e7fcb08ac83d8434
3
+ metadata.gz: 8fb134d7d3165b8f0cadff74b7034f4e224038bc
4
+ data.tar.gz: 6e7ca0bc33779c867ae65300e03089ed0373fcf6
5
5
  SHA512:
6
- metadata.gz: e86ab8711a386492ae18fd9b37421c5d201527ddcdf953a1efaed84856f9c8e5ed92dc83a946e55ee2ae1a5b57b3e34b656858c7c036719340774741f1ec3314
7
- data.tar.gz: 7ae14cc92ef07af1825f096ae70f4f9d8fcb795853d9516102200002499b9097030180ddeef707a6ab82828f68564f8dee08e018bdd67737f570a35ddc4ee34e
6
+ metadata.gz: e89576d50d72a667b86e1dee6eaeb74884b10636d9b7bac7c492e04545e23079e53fd5983aff5882fbcf5746ac200411f0b1949452090e865f9bf24623884f7e
7
+ data.tar.gz: d2b0a825e85faf07d982603ca2deadfeebaa002f6ccfdd026a4876aecb82373985df3ce297c6dac92c84a0a0a54d34ff6e73529f3b2a160fadc7f9fb9639befa
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.11
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.11 ruby lib
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.11"
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",
@@ -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.11
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
@@ -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