bootswitch 0.0.3 → 0.0.4

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: b13b7657a10b76f97d4460b4b61e8babd7e12dd2
4
- data.tar.gz: 76eaa23d14b73429feacceaae0f798cee91eccdc
3
+ metadata.gz: 4a00692753dc02d50ea532e62a201eb7b843a68c
4
+ data.tar.gz: 112284bf266536ac4863e5818f01fe0a7815c959
5
5
  SHA512:
6
- metadata.gz: 75d33d93bf95afca3c72d986b4eb4aa7677e62f60f6d7a019dcf8e963ec2b0740183381be283ef383bc764e7bed406b085ce34358c13615f3a50f716d01663e4
7
- data.tar.gz: fc9c8e81de0e5857f9b684ca06a4863f4320548f9bffb2d64c7f40de0be380a8bffa8954363818a322ffb2c48e0a6481945c96448e95f22317b9ea54a79a5c3e
6
+ metadata.gz: 3fda2f7e049721b5dc8f65460ef6a7504e20435af8556fe9f29211d882b3ecadc593ec1d72ea7a89e25b21deb38960935045f4f568461ba73dc7cde970a3fc5d
7
+ data.tar.gz: 1679d7060ce628d7ab56f949ff4220aab3354e08cf24095399e2a60cf6957d18022d20d2a874a8aa17a2217790fe48c438b2644c79bb5458c59f9050f11ca56a
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.3
1
+ 0.0.4
@@ -1,10 +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
2
+ include Bootswitch
5
3
 
6
4
  def theme_name
7
- send(Bootswitch.configuration.theme_method)
5
+ send(configuration.theme_method)
8
6
  end
9
7
 
10
8
  def theme_stylesheet_link_tag
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.3 ruby lib
5
+ # stub: bootswitch 0.0.4 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "bootswitch"
9
- s.version = "0.0.3"
9
+ s.version = "0.0.4"
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"]
@@ -83,6 +83,7 @@ Gem::Specification.new do |s|
83
83
  "lib/bootswitch.rb",
84
84
  "lib/bootswitch/configuration.rb",
85
85
  "lib/bootswitch/engine.rb",
86
+ "lib/bootswitch/methods.rb",
86
87
  "lib/bootswitch/railtie.rb",
87
88
  "lib/bootswitch/version.rb",
88
89
  "lib/generators/bootswitch/install/install_generator.rb",
@@ -0,0 +1,5 @@
1
+ module Bootswitch
2
+ def themes
3
+ ['amelia', 'cerulean', 'cosmo', 'custom', 'cyborg', 'darkly', 'flatly','global','journal','readable','simplex','slate','spacelab','superhero','united','yeti']
4
+ end
5
+ end
data/lib/bootswitch.rb CHANGED
@@ -4,6 +4,7 @@ module Bootswitch
4
4
 
5
5
  require 'bootswitch/engine'
6
6
  require 'bootswitch/configuration'
7
+ require 'bootswitch/methods'
7
8
  require 'bootswitch/railtie'
8
9
  require 'bootswitch/version'
9
10
 
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.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karen Lundgren
@@ -181,6 +181,7 @@ files:
181
181
  - lib/bootswitch.rb
182
182
  - lib/bootswitch/configuration.rb
183
183
  - lib/bootswitch/engine.rb
184
+ - lib/bootswitch/methods.rb
184
185
  - lib/bootswitch/railtie.rb
185
186
  - lib/bootswitch/version.rb
186
187
  - lib/generators/bootswitch/install/install_generator.rb