bootswitch 0.0.2 → 0.0.3

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: 50c654633846ced1315d8b754347301a9d39516c
4
- data.tar.gz: 93a2befa89cb8215eed57bc63077b47ca00a416c
3
+ metadata.gz: b13b7657a10b76f97d4460b4b61e8babd7e12dd2
4
+ data.tar.gz: 76eaa23d14b73429feacceaae0f798cee91eccdc
5
5
  SHA512:
6
- metadata.gz: 336e458edeff3eba96801a6621b4b30ba234813a326010e79b341e3b0b16b6784d1ce56364942beb9c6259b6dc986a15f1754457d6c3cc2e9ff2a7084748d650
7
- data.tar.gz: e3f37c719b025cefca632009143976d4485c969a8565ea8cbc48a9c84e26e2ff5deb0bb9b5952d361edaa0b4748e29f0f0197459fbaa84881fd04d27276926b0
6
+ metadata.gz: 75d33d93bf95afca3c72d986b4eb4aa7677e62f60f6d7a019dcf8e963ec2b0740183381be283ef383bc764e7bed406b085ce34358c13615f3a50f716d01663e4
7
+ data.tar.gz: fc9c8e81de0e5857f9b684ca06a4863f4320548f9bffb2d64c7f40de0be380a8bffa8954363818a322ffb2c48e0a6481945c96448e95f22317b9ea54a79a5c3e
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.2
1
+ 0.0.3
@@ -1,17 +1,7 @@
1
1
  class ThemeController < BootswitchController
2
- def variables
3
- respond_to do |format|
4
- format.css { render :file => "bootswatch/" + theme_name + "/variables", :handlers => [:scss]}
5
- end
6
- end
7
2
  def theme
8
3
  respond_to do |format|
9
4
  format.css { render :file => "bootswatch/" + theme_name + "/theme", :handlers => [:scss]}
10
5
  end
11
6
  end
12
- def layout
13
- respond_to do |format|
14
- format.css { render :file => "bootswatch/" + theme_name + "/bootswatch", :handlers => [:scss]}
15
- end
16
- end
17
7
  end
@@ -1,4 +1,8 @@
1
1
  module ThemeHelper
2
+ def themes
3
+ ['amelia', 'cerulean', 'cosmo', 'custom', 'cyborg', 'darkly', 'flatly','global','journal','readable','simplex','slate','spacelab','superhero','united','yeti']
4
+ end
5
+
2
6
  def theme_name
3
7
  send(Bootswitch.configuration.theme_method)
4
8
  end
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.2 ruby lib
5
+ # stub: bootswitch 0.0.3 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "bootswitch"
9
- s.version = "0.0.2"
9
+ s.version = "0.0.3"
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"]
@@ -1,5 +1,5 @@
1
1
  module ApplicationHelper
2
2
  def random_theme
3
- ['amelia', 'cerulean', 'cosmo', 'custom', 'cyborg', 'darkly', 'flatly','global','journal','readable','simplex','slate','spacelab','superhero','united','yeti'].sample
3
+ themes.sample
4
4
  end
5
5
  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.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karen Lundgren