bootswitch 0.0.5 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +2 -2
  3. data/VERSION +1 -1
  4. data/bootswitch.gemspec +52 -55
  5. data/lib/bootswitch/methods.rb +1 -1
  6. data/lib/bootswitch.rb +1 -1
  7. data/lib/generators/bootswitch/install/install_generator.rb +0 -6
  8. data/lib/generators/bootswitch/install/templates/initializer.rb +1 -0
  9. data/spec/dummy/config/initializers/bootswitch.rb +4 -2
  10. data/spec/dummy/config/routes.rb +0 -1
  11. data/spec/helpers/theme_helper_spec.rb +1 -1
  12. data/{app/assets → vendor}/stylesheets/bootswatch/amelia/bootswatch.css.scss +0 -0
  13. data/{app/assets/stylesheets/bootswatch/cerulean → vendor/stylesheets/bootswatch/amelia}/theme.css.scss +2 -2
  14. data/{app/assets → vendor}/stylesheets/bootswatch/amelia/variables.css.scss +0 -0
  15. data/{app/assets → vendor}/stylesheets/bootswatch/cerulean/bootswatch.css.scss +0 -0
  16. data/{app/assets/stylesheets/bootswatch/cosmo → vendor/stylesheets/bootswatch/cerulean}/theme.css.scss +2 -2
  17. data/{app/assets → vendor}/stylesheets/bootswatch/cerulean/variables.css.scss +0 -0
  18. data/{app/assets → vendor}/stylesheets/bootswatch/cosmo/bootswatch.css.scss +0 -0
  19. data/{app/assets/stylesheets/bootswatch/custom → vendor/stylesheets/bootswatch/cosmo}/theme.css.scss +2 -2
  20. data/{app/assets → vendor}/stylesheets/bootswatch/cosmo/variables.css.scss +0 -0
  21. data/{app/assets → vendor}/stylesheets/bootswatch/custom/bootswatch.css.scss +0 -0
  22. data/vendor/stylesheets/bootswatch/custom/theme.css.scss +9 -0
  23. data/{app/assets → vendor}/stylesheets/bootswatch/custom/variables.css.scss +0 -0
  24. data/{app/assets → vendor}/stylesheets/bootswatch/cyborg/bootswatch.css.scss +0 -0
  25. data/vendor/stylesheets/bootswatch/cyborg/theme.css.scss +9 -0
  26. data/{app/assets → vendor}/stylesheets/bootswatch/cyborg/variables.css.scss +0 -0
  27. data/{app/assets → vendor}/stylesheets/bootswatch/darkly/bootswatch.css.scss +0 -0
  28. data/vendor/stylesheets/bootswatch/darkly/theme.css.scss +9 -0
  29. data/{app/assets → vendor}/stylesheets/bootswatch/darkly/variables.css.scss +0 -0
  30. data/{app/assets → vendor}/stylesheets/bootswatch/flatly/bootswatch.css.scss +0 -0
  31. data/vendor/stylesheets/bootswatch/flatly/theme.css.scss +9 -0
  32. data/{app/assets → vendor}/stylesheets/bootswatch/flatly/variables.css.scss +0 -0
  33. data/{app/assets → vendor}/stylesheets/bootswatch/global/build.css.scss +0 -0
  34. data/{app/assets/stylesheets/bootswatch/amelia → vendor/stylesheets/bootswatch/global}/theme.css.scss +0 -0
  35. data/{app/assets → vendor}/stylesheets/bootswatch/journal/bootswatch.css.scss +0 -0
  36. data/vendor/stylesheets/bootswatch/journal/theme.css.scss +9 -0
  37. data/{app/assets → vendor}/stylesheets/bootswatch/journal/variables.css.scss +0 -0
  38. data/{app/assets → vendor}/stylesheets/bootswatch/readable/bootswatch.css.scss +0 -0
  39. data/vendor/stylesheets/bootswatch/readable/theme.css.scss +9 -0
  40. data/{app/assets → vendor}/stylesheets/bootswatch/readable/variables.css.scss +0 -0
  41. data/{app/assets → vendor}/stylesheets/bootswatch/simplex/bootswatch.css.scss +0 -0
  42. data/vendor/stylesheets/bootswatch/simplex/theme.css.scss +9 -0
  43. data/{app/assets → vendor}/stylesheets/bootswatch/simplex/variables.css.scss +0 -0
  44. data/{app/assets → vendor}/stylesheets/bootswatch/slate/bootswatch.css.scss +0 -0
  45. data/vendor/stylesheets/bootswatch/slate/theme.css.scss +9 -0
  46. data/{app/assets → vendor}/stylesheets/bootswatch/slate/variables.css.scss +0 -0
  47. data/{app/assets → vendor}/stylesheets/bootswatch/spacelab/bootswatch.css.scss +0 -0
  48. data/vendor/stylesheets/bootswatch/spacelab/theme.css.scss +9 -0
  49. data/{app/assets → vendor}/stylesheets/bootswatch/spacelab/variables.css.scss +0 -0
  50. data/{app/assets → vendor}/stylesheets/bootswatch/superhero/bootswatch.css.scss +0 -0
  51. data/vendor/stylesheets/bootswatch/superhero/theme.css.scss +9 -0
  52. data/{app/assets → vendor}/stylesheets/bootswatch/superhero/variables.css.scss +0 -0
  53. data/{app/assets → vendor}/stylesheets/bootswatch/united/bootswatch.css.scss +0 -0
  54. data/vendor/stylesheets/bootswatch/united/theme.css.scss +9 -0
  55. data/{app/assets → vendor}/stylesheets/bootswatch/united/variables.css.scss +0 -0
  56. data/{app/assets → vendor}/stylesheets/bootswatch/yeti/bootswatch.css.scss +0 -0
  57. data/vendor/stylesheets/bootswatch/yeti/theme.css.scss +9 -0
  58. data/{app/assets → vendor}/stylesheets/bootswatch/yeti/variables.css.scss +0 -0
  59. metadata +52 -55
  60. data/app/assets/stylesheets/bootswatch/cyborg/theme.css.scss +0 -9
  61. data/app/assets/stylesheets/bootswatch/darkly/theme.css.scss +0 -9
  62. data/app/assets/stylesheets/bootswatch/flatly/theme.css.scss +0 -9
  63. data/app/assets/stylesheets/bootswatch/global/theme.css.scss +0 -9
  64. data/app/assets/stylesheets/bootswatch/journal/theme.css.scss +0 -9
  65. data/app/assets/stylesheets/bootswatch/readable/theme.css.scss +0 -9
  66. data/app/assets/stylesheets/bootswatch/simplex/theme.css.scss +0 -9
  67. data/app/assets/stylesheets/bootswatch/slate/theme.css.scss +0 -9
  68. data/app/assets/stylesheets/bootswatch/spacelab/theme.css.scss +0 -9
  69. data/app/assets/stylesheets/bootswatch/superhero/theme.css.scss +0 -9
  70. data/app/assets/stylesheets/bootswatch/united/theme.css.scss +0 -9
  71. data/app/assets/stylesheets/bootswatch/yeti/theme.css.scss +0 -9
  72. data/app/controllers/bootswitch_controller.rb +0 -2
  73. data/app/controllers/theme_controller.rb +0 -7
  74. data/config/routes.rb +0 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8447e21c182327851533223d0336881f8a06ee57
4
- data.tar.gz: bbf8d7c4956c29b7d41c9dd674493540bf2602d2
3
+ metadata.gz: 5628fe9d45893185b6cbecc498b712a7ba78c167
4
+ data.tar.gz: 6aa093b827e8bcc2d5d5ca9cef0647e0ad016b24
5
5
  SHA512:
6
- metadata.gz: 368bf63fcfb4b6ad35d890760bbfc3f1cbf49af1d9a83d90ba56140ec48cb39dd368d088e76883bc1d001b8ce97ee25910ac57e6b38f53001c141cdb1e6d6d24
7
- data.tar.gz: 43ea113116c4d7cbacada7de3dc7d875176e6b30a7a275fbb8dfd6bc83cb8e178da92dc4af988a856375bd33cc408ee6b954abd2c4259a09aad30f52d5cf33b8
6
+ metadata.gz: 82f6340704373541d7dd1e57b6a245b7faebc7c1421d83dfc3c91b78f2a398bfcfa2bd818a86d7d46a51599200f19d134eeed92e80d39023206168c5bf0ef04d
7
+ data.tar.gz: 5070d2e656bd90c24f093d5f4220a815dfa93fe4e0539da6d028d61f581bffc528a782743988f24e73258f2459686a3f06f5b3e75a06e32ad6a46c9b27da6aba
data/Rakefile CHANGED
@@ -20,8 +20,8 @@ Jeweler::Tasks.new do |gem|
20
20
  gem.name = "bootswitch"
21
21
  gem.homepage = "http://github.com/nerakdon/bootswitch"
22
22
  gem.license = "MIT"
23
- gem.summary = %Q{Designed to get you up and running with a customizable version of boostrap using SASS.}
24
- gem.description = %Q{Bootswitch is designed to get you up and running with a customizable version of boostrap using SASS.}
23
+ gem.summary = %Q{For multi-theme sites, Bootswitch allows a site to configure the Bootswatch theme based on a method set in the initializer file.}
24
+ gem.description = %Q{For multi-theme sites, Bootswitch allows a site to configure the Bootswatch theme based on a method set in the initializer file.}
25
25
  gem.email = "webmaster@sourcherryweb.com"
26
26
  gem.authors = ["Karen Lundgren"]
27
27
  gem.version = version
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.5
1
+ 0.0.7
data/bootswitch.gemspec CHANGED
@@ -2,17 +2,17 @@
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 ruby lib
5
+ # stub: bootswitch 0.0.7 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "bootswitch"
9
- s.version = "0.0.5"
9
+ s.version = "0.0.7"
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"]
13
13
  s.authors = ["Karen Lundgren"]
14
14
  s.date = "2014-05-07"
15
- s.description = "Bootswitch is designed to get you up and running with a customizable version of boostrap using SASS."
15
+ s.description = "For multi-theme sites, Bootswitch allows a site to configure the Bootswatch theme based on a method set in the initializer file."
16
16
  s.email = "webmaster@sourcherryweb.com"
17
17
  s.extra_rdoc_files = [
18
18
  "LICENSE.txt",
@@ -27,59 +27,9 @@ Gem::Specification.new do |s|
27
27
  "README.rdoc",
28
28
  "Rakefile",
29
29
  "VERSION",
30
- "app/assets/stylesheets/bootswatch/amelia/bootswatch.css.scss",
31
- "app/assets/stylesheets/bootswatch/amelia/theme.css.scss",
32
- "app/assets/stylesheets/bootswatch/amelia/variables.css.scss",
33
- "app/assets/stylesheets/bootswatch/cerulean/bootswatch.css.scss",
34
- "app/assets/stylesheets/bootswatch/cerulean/theme.css.scss",
35
- "app/assets/stylesheets/bootswatch/cerulean/variables.css.scss",
36
- "app/assets/stylesheets/bootswatch/cosmo/bootswatch.css.scss",
37
- "app/assets/stylesheets/bootswatch/cosmo/theme.css.scss",
38
- "app/assets/stylesheets/bootswatch/cosmo/variables.css.scss",
39
- "app/assets/stylesheets/bootswatch/custom/bootswatch.css.scss",
40
- "app/assets/stylesheets/bootswatch/custom/theme.css.scss",
41
- "app/assets/stylesheets/bootswatch/custom/variables.css.scss",
42
- "app/assets/stylesheets/bootswatch/cyborg/bootswatch.css.scss",
43
- "app/assets/stylesheets/bootswatch/cyborg/theme.css.scss",
44
- "app/assets/stylesheets/bootswatch/cyborg/variables.css.scss",
45
- "app/assets/stylesheets/bootswatch/darkly/bootswatch.css.scss",
46
- "app/assets/stylesheets/bootswatch/darkly/theme.css.scss",
47
- "app/assets/stylesheets/bootswatch/darkly/variables.css.scss",
48
- "app/assets/stylesheets/bootswatch/flatly/bootswatch.css.scss",
49
- "app/assets/stylesheets/bootswatch/flatly/theme.css.scss",
50
- "app/assets/stylesheets/bootswatch/flatly/variables.css.scss",
51
- "app/assets/stylesheets/bootswatch/global/build.css.scss",
52
- "app/assets/stylesheets/bootswatch/global/theme.css.scss",
53
- "app/assets/stylesheets/bootswatch/journal/bootswatch.css.scss",
54
- "app/assets/stylesheets/bootswatch/journal/theme.css.scss",
55
- "app/assets/stylesheets/bootswatch/journal/variables.css.scss",
56
- "app/assets/stylesheets/bootswatch/readable/bootswatch.css.scss",
57
- "app/assets/stylesheets/bootswatch/readable/theme.css.scss",
58
- "app/assets/stylesheets/bootswatch/readable/variables.css.scss",
59
- "app/assets/stylesheets/bootswatch/simplex/bootswatch.css.scss",
60
- "app/assets/stylesheets/bootswatch/simplex/theme.css.scss",
61
- "app/assets/stylesheets/bootswatch/simplex/variables.css.scss",
62
- "app/assets/stylesheets/bootswatch/slate/bootswatch.css.scss",
63
- "app/assets/stylesheets/bootswatch/slate/theme.css.scss",
64
- "app/assets/stylesheets/bootswatch/slate/variables.css.scss",
65
- "app/assets/stylesheets/bootswatch/spacelab/bootswatch.css.scss",
66
- "app/assets/stylesheets/bootswatch/spacelab/theme.css.scss",
67
- "app/assets/stylesheets/bootswatch/spacelab/variables.css.scss",
68
- "app/assets/stylesheets/bootswatch/superhero/bootswatch.css.scss",
69
- "app/assets/stylesheets/bootswatch/superhero/theme.css.scss",
70
- "app/assets/stylesheets/bootswatch/superhero/variables.css.scss",
71
- "app/assets/stylesheets/bootswatch/united/bootswatch.css.scss",
72
- "app/assets/stylesheets/bootswatch/united/theme.css.scss",
73
- "app/assets/stylesheets/bootswatch/united/variables.css.scss",
74
- "app/assets/stylesheets/bootswatch/yeti/bootswatch.css.scss",
75
- "app/assets/stylesheets/bootswatch/yeti/theme.css.scss",
76
- "app/assets/stylesheets/bootswatch/yeti/variables.css.scss",
77
- "app/controllers/bootswitch_controller.rb",
78
- "app/controllers/theme_controller.rb",
79
30
  "app/helpers/theme_helper.rb",
80
31
  "app/views/theme/_stylesheet_link_tag.html.haml",
81
32
  "bootswitch.gemspec",
82
- "config/routes.rb",
83
33
  "lib/bootswitch.rb",
84
34
  "lib/bootswitch/configuration.rb",
85
35
  "lib/bootswitch/engine.rb",
@@ -117,12 +67,59 @@ Gem::Specification.new do |s|
117
67
  "spec/dummy/public/index.html",
118
68
  "spec/dummy/script/rails",
119
69
  "spec/helpers/theme_helper_spec.rb",
120
- "spec/spec_helper.rb"
70
+ "spec/spec_helper.rb",
71
+ "vendor/stylesheets/bootswatch/amelia/bootswatch.css.scss",
72
+ "vendor/stylesheets/bootswatch/amelia/theme.css.scss",
73
+ "vendor/stylesheets/bootswatch/amelia/variables.css.scss",
74
+ "vendor/stylesheets/bootswatch/cerulean/bootswatch.css.scss",
75
+ "vendor/stylesheets/bootswatch/cerulean/theme.css.scss",
76
+ "vendor/stylesheets/bootswatch/cerulean/variables.css.scss",
77
+ "vendor/stylesheets/bootswatch/cosmo/bootswatch.css.scss",
78
+ "vendor/stylesheets/bootswatch/cosmo/theme.css.scss",
79
+ "vendor/stylesheets/bootswatch/cosmo/variables.css.scss",
80
+ "vendor/stylesheets/bootswatch/custom/bootswatch.css.scss",
81
+ "vendor/stylesheets/bootswatch/custom/theme.css.scss",
82
+ "vendor/stylesheets/bootswatch/custom/variables.css.scss",
83
+ "vendor/stylesheets/bootswatch/cyborg/bootswatch.css.scss",
84
+ "vendor/stylesheets/bootswatch/cyborg/theme.css.scss",
85
+ "vendor/stylesheets/bootswatch/cyborg/variables.css.scss",
86
+ "vendor/stylesheets/bootswatch/darkly/bootswatch.css.scss",
87
+ "vendor/stylesheets/bootswatch/darkly/theme.css.scss",
88
+ "vendor/stylesheets/bootswatch/darkly/variables.css.scss",
89
+ "vendor/stylesheets/bootswatch/flatly/bootswatch.css.scss",
90
+ "vendor/stylesheets/bootswatch/flatly/theme.css.scss",
91
+ "vendor/stylesheets/bootswatch/flatly/variables.css.scss",
92
+ "vendor/stylesheets/bootswatch/global/build.css.scss",
93
+ "vendor/stylesheets/bootswatch/global/theme.css.scss",
94
+ "vendor/stylesheets/bootswatch/journal/bootswatch.css.scss",
95
+ "vendor/stylesheets/bootswatch/journal/theme.css.scss",
96
+ "vendor/stylesheets/bootswatch/journal/variables.css.scss",
97
+ "vendor/stylesheets/bootswatch/readable/bootswatch.css.scss",
98
+ "vendor/stylesheets/bootswatch/readable/theme.css.scss",
99
+ "vendor/stylesheets/bootswatch/readable/variables.css.scss",
100
+ "vendor/stylesheets/bootswatch/simplex/bootswatch.css.scss",
101
+ "vendor/stylesheets/bootswatch/simplex/theme.css.scss",
102
+ "vendor/stylesheets/bootswatch/simplex/variables.css.scss",
103
+ "vendor/stylesheets/bootswatch/slate/bootswatch.css.scss",
104
+ "vendor/stylesheets/bootswatch/slate/theme.css.scss",
105
+ "vendor/stylesheets/bootswatch/slate/variables.css.scss",
106
+ "vendor/stylesheets/bootswatch/spacelab/bootswatch.css.scss",
107
+ "vendor/stylesheets/bootswatch/spacelab/theme.css.scss",
108
+ "vendor/stylesheets/bootswatch/spacelab/variables.css.scss",
109
+ "vendor/stylesheets/bootswatch/superhero/bootswatch.css.scss",
110
+ "vendor/stylesheets/bootswatch/superhero/theme.css.scss",
111
+ "vendor/stylesheets/bootswatch/superhero/variables.css.scss",
112
+ "vendor/stylesheets/bootswatch/united/bootswatch.css.scss",
113
+ "vendor/stylesheets/bootswatch/united/theme.css.scss",
114
+ "vendor/stylesheets/bootswatch/united/variables.css.scss",
115
+ "vendor/stylesheets/bootswatch/yeti/bootswatch.css.scss",
116
+ "vendor/stylesheets/bootswatch/yeti/theme.css.scss",
117
+ "vendor/stylesheets/bootswatch/yeti/variables.css.scss"
121
118
  ]
122
119
  s.homepage = "http://github.com/nerakdon/bootswitch"
123
120
  s.licenses = ["MIT"]
124
121
  s.rubygems_version = "2.2.2"
125
- s.summary = "Designed to get you up and running with a customizable version of boostrap using SASS."
122
+ s.summary = "For multi-theme sites, Bootswitch allows a site to configure the Bootswatch theme based on a method set in the initializer file."
126
123
 
127
124
  if s.respond_to? :specification_version then
128
125
  s.specification_version = 4
@@ -1,5 +1,5 @@
1
1
  module Bootswitch
2
2
  def themes
3
- ['amelia', 'cerulean', 'cosmo', 'custom', 'cyborg', 'darkly', 'flatly','global','journal','readable','simplex','slate','spacelab','superhero','united','yeti']
3
+
4
4
  end
5
5
  end
data/lib/bootswitch.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module Bootswitch
2
2
  require 'rails'
3
- require 'haml'
3
+ require 'haml-rails'
4
4
 
5
5
  require 'bootswitch/engine'
6
6
  require 'bootswitch/configuration'
@@ -13,11 +13,5 @@ module Bootswitch
13
13
  output "This installs a basic initializer where you can set the method that stores the name of the bootswatch bootswatch to be displayed.", :magenta
14
14
  template "initializer.rb", "config/initializers/bootswitch.rb"
15
15
  end
16
-
17
- def add_route
18
- output "Adding Bootswitch to your routes.rb file", :magenta
19
- gsub_file "config/routes.rb", /mount Bootswitch::Engine => '\/bootswatch\/', :as => 'bootswitch'/, ''
20
- route("mount Bootswitch::Engine => '/bootswatch/', :as => 'bootswitch'")
21
- end
22
16
  end
23
17
  end
@@ -2,4 +2,5 @@ Bootswitch.configure do |config|
2
2
  # What helper method should determine the Bootswatch theme displayed?
3
3
  config.theme_method = :user_theme
4
4
  config.default_theme = 'slate'
5
+ config.themes = ['amelia', 'cerulean', 'cosmo', 'custom', 'cyborg', 'darkly', 'flatly','global','journal','readable','simplex','slate','spacelab','superhero','united','yeti']
5
6
  end
@@ -1,4 +1,6 @@
1
1
  Bootswitch.configure do |config|
2
- # What helper method should determine the bootswatch theme displayed?
3
- config.theme_method = :random_theme
2
+ # What helper method should determine the Bootswatch theme displayed?
3
+ config.theme_method = :user_theme
4
+ config.default_theme = 'slate'
5
+ config.themes = ['amelia', 'cerulean', 'cosmo', 'custom', 'cyborg', 'darkly', 'flatly','global','journal','readable','simplex','slate','spacelab','superhero','united','yeti']
4
6
  end
@@ -1,5 +1,4 @@
1
1
  Dummy::Application.routes.draw do
2
- mount Bootswitch::Engine => '/bootswatch/', :as => 'bootswitch'
3
2
  # The priority is based upon order of creation:
4
3
  # first created -> highest priority.
5
4
 
@@ -8,7 +8,7 @@ describe ThemeHelper do
8
8
  end
9
9
  describe '#theme_name' do
10
10
  it 'returns the a theme name' do
11
- ['amelia', 'cerulean', 'cosmo', 'custom', 'cyborg', 'darkly', 'flatly','global','journal','readable','simplex','slate','spacelab','superhero','united','yeti'].should include helper.theme_name
11
+ helper.themes.should include helper.theme_name
12
12
  end
13
13
  end
14
14
  describe '#theme_stylesheet_link_tag' do
@@ -1,9 +1,9 @@
1
1
 
2
2
  // First import bootswatch variables
3
- @import "./variables.css.scss";
3
+ @import "variables";
4
4
 
5
5
  // Then bootstrap itself
6
6
  @import "bootstrap";
7
7
 
8
8
  // And finally bootswatch bootswatch itself
9
- @import "./bootswatch.css.scss";
9
+ @import "bootswatch";
@@ -1,9 +1,9 @@
1
1
 
2
2
  // First import bootswatch variables
3
- @import "./variables.css.scss";
3
+ @import "variables";
4
4
 
5
5
  // Then bootstrap itself
6
6
  @import "bootstrap";
7
7
 
8
8
  // And finally bootswatch bootswatch itself
9
- @import "./bootswatch.css.scss";
9
+ @import "bootswatch";
@@ -1,9 +1,9 @@
1
1
 
2
2
  // First import bootswatch variables
3
- @import "./variables.css.scss";
3
+ @import "variables";
4
4
 
5
5
  // Then bootstrap itself
6
6
  @import "bootstrap";
7
7
 
8
8
  // And finally bootswatch bootswatch itself
9
- @import "./bootswatch.css.scss";
9
+ @import "bootswatch";
@@ -0,0 +1,9 @@
1
+
2
+ // First import bootswatch variables
3
+ @import "variables";
4
+
5
+ // Then bootstrap itself
6
+ @import "bootstrap";
7
+
8
+ // And finally bootswatch bootswatch itself
9
+ @import "bootswatch";
@@ -0,0 +1,9 @@
1
+
2
+ // First import bootswatch variables
3
+ @import "variables";
4
+
5
+ // Then bootstrap itself
6
+ @import "bootstrap";
7
+
8
+ // And finally bootswatch bootswatch itself
9
+ @import "bootswatch";
@@ -0,0 +1,9 @@
1
+
2
+ // First import bootswatch variables
3
+ @import "variables";
4
+
5
+ // Then bootstrap itself
6
+ @import "bootstrap";
7
+
8
+ // And finally bootswatch bootswatch itself
9
+ @import "bootswatch";
@@ -0,0 +1,9 @@
1
+
2
+ // First import bootswatch variables
3
+ @import "variables";
4
+
5
+ // Then bootstrap itself
6
+ @import "bootstrap";
7
+
8
+ // And finally bootswatch bootswatch itself
9
+ @import "bootswatch";
@@ -0,0 +1,9 @@
1
+
2
+ // First import bootswatch variables
3
+ @import "variables";
4
+
5
+ // Then bootstrap itself
6
+ @import "bootstrap";
7
+
8
+ // And finally bootswatch bootswatch itself
9
+ @import "bootswatch";
@@ -0,0 +1,9 @@
1
+
2
+ // First import bootswatch variables
3
+ @import "variables";
4
+
5
+ // Then bootstrap itself
6
+ @import "bootstrap";
7
+
8
+ // And finally bootswatch bootswatch itself
9
+ @import "bootswatch";
@@ -0,0 +1,9 @@
1
+
2
+ // First import bootswatch variables
3
+ @import "variables";
4
+
5
+ // Then bootstrap itself
6
+ @import "bootstrap";
7
+
8
+ // And finally bootswatch bootswatch itself
9
+ @import "bootswatch";
@@ -0,0 +1,9 @@
1
+
2
+ // First import bootswatch variables
3
+ @import "variables";
4
+
5
+ // Then bootstrap itself
6
+ @import "bootstrap";
7
+
8
+ // And finally bootswatch bootswatch itself
9
+ @import "bootswatch";
@@ -0,0 +1,9 @@
1
+
2
+ // First import bootswatch variables
3
+ @import "variables";
4
+
5
+ // Then bootstrap itself
6
+ @import "bootstrap";
7
+
8
+ // And finally bootswatch bootswatch itself
9
+ @import "bootswatch";
@@ -0,0 +1,9 @@
1
+
2
+ // First import bootswatch variables
3
+ @import "variables";
4
+
5
+ // Then bootstrap itself
6
+ @import "bootstrap";
7
+
8
+ // And finally bootswatch bootswatch itself
9
+ @import "bootswatch";
@@ -0,0 +1,9 @@
1
+
2
+ // First import bootswatch variables
3
+ @import "variables";
4
+
5
+ // Then bootstrap itself
6
+ @import "bootstrap";
7
+
8
+ // And finally bootswatch bootswatch itself
9
+ @import "bootswatch";
@@ -0,0 +1,9 @@
1
+
2
+ // First import bootswatch variables
3
+ @import "variables";
4
+
5
+ // Then bootstrap itself
6
+ @import "bootstrap";
7
+
8
+ // And finally bootswatch bootswatch itself
9
+ @import "bootswatch";
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.5
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karen Lundgren
@@ -108,8 +108,8 @@ dependencies:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
- description: Bootswitch is designed to get you up and running with a customizable
112
- version of boostrap using SASS.
111
+ description: For multi-theme sites, Bootswitch allows a site to configure the Bootswatch
112
+ theme based on a method set in the initializer file.
113
113
  email: webmaster@sourcherryweb.com
114
114
  executables: []
115
115
  extensions: []
@@ -125,59 +125,9 @@ files:
125
125
  - README.rdoc
126
126
  - Rakefile
127
127
  - VERSION
128
- - app/assets/stylesheets/bootswatch/amelia/bootswatch.css.scss
129
- - app/assets/stylesheets/bootswatch/amelia/theme.css.scss
130
- - app/assets/stylesheets/bootswatch/amelia/variables.css.scss
131
- - app/assets/stylesheets/bootswatch/cerulean/bootswatch.css.scss
132
- - app/assets/stylesheets/bootswatch/cerulean/theme.css.scss
133
- - app/assets/stylesheets/bootswatch/cerulean/variables.css.scss
134
- - app/assets/stylesheets/bootswatch/cosmo/bootswatch.css.scss
135
- - app/assets/stylesheets/bootswatch/cosmo/theme.css.scss
136
- - app/assets/stylesheets/bootswatch/cosmo/variables.css.scss
137
- - app/assets/stylesheets/bootswatch/custom/bootswatch.css.scss
138
- - app/assets/stylesheets/bootswatch/custom/theme.css.scss
139
- - app/assets/stylesheets/bootswatch/custom/variables.css.scss
140
- - app/assets/stylesheets/bootswatch/cyborg/bootswatch.css.scss
141
- - app/assets/stylesheets/bootswatch/cyborg/theme.css.scss
142
- - app/assets/stylesheets/bootswatch/cyborg/variables.css.scss
143
- - app/assets/stylesheets/bootswatch/darkly/bootswatch.css.scss
144
- - app/assets/stylesheets/bootswatch/darkly/theme.css.scss
145
- - app/assets/stylesheets/bootswatch/darkly/variables.css.scss
146
- - app/assets/stylesheets/bootswatch/flatly/bootswatch.css.scss
147
- - app/assets/stylesheets/bootswatch/flatly/theme.css.scss
148
- - app/assets/stylesheets/bootswatch/flatly/variables.css.scss
149
- - app/assets/stylesheets/bootswatch/global/build.css.scss
150
- - app/assets/stylesheets/bootswatch/global/theme.css.scss
151
- - app/assets/stylesheets/bootswatch/journal/bootswatch.css.scss
152
- - app/assets/stylesheets/bootswatch/journal/theme.css.scss
153
- - app/assets/stylesheets/bootswatch/journal/variables.css.scss
154
- - app/assets/stylesheets/bootswatch/readable/bootswatch.css.scss
155
- - app/assets/stylesheets/bootswatch/readable/theme.css.scss
156
- - app/assets/stylesheets/bootswatch/readable/variables.css.scss
157
- - app/assets/stylesheets/bootswatch/simplex/bootswatch.css.scss
158
- - app/assets/stylesheets/bootswatch/simplex/theme.css.scss
159
- - app/assets/stylesheets/bootswatch/simplex/variables.css.scss
160
- - app/assets/stylesheets/bootswatch/slate/bootswatch.css.scss
161
- - app/assets/stylesheets/bootswatch/slate/theme.css.scss
162
- - app/assets/stylesheets/bootswatch/slate/variables.css.scss
163
- - app/assets/stylesheets/bootswatch/spacelab/bootswatch.css.scss
164
- - app/assets/stylesheets/bootswatch/spacelab/theme.css.scss
165
- - app/assets/stylesheets/bootswatch/spacelab/variables.css.scss
166
- - app/assets/stylesheets/bootswatch/superhero/bootswatch.css.scss
167
- - app/assets/stylesheets/bootswatch/superhero/theme.css.scss
168
- - app/assets/stylesheets/bootswatch/superhero/variables.css.scss
169
- - app/assets/stylesheets/bootswatch/united/bootswatch.css.scss
170
- - app/assets/stylesheets/bootswatch/united/theme.css.scss
171
- - app/assets/stylesheets/bootswatch/united/variables.css.scss
172
- - app/assets/stylesheets/bootswatch/yeti/bootswatch.css.scss
173
- - app/assets/stylesheets/bootswatch/yeti/theme.css.scss
174
- - app/assets/stylesheets/bootswatch/yeti/variables.css.scss
175
- - app/controllers/bootswitch_controller.rb
176
- - app/controllers/theme_controller.rb
177
128
  - app/helpers/theme_helper.rb
178
129
  - app/views/theme/_stylesheet_link_tag.html.haml
179
130
  - bootswitch.gemspec
180
- - config/routes.rb
181
131
  - lib/bootswitch.rb
182
132
  - lib/bootswitch/configuration.rb
183
133
  - lib/bootswitch/engine.rb
@@ -216,6 +166,53 @@ files:
216
166
  - spec/dummy/script/rails
217
167
  - spec/helpers/theme_helper_spec.rb
218
168
  - spec/spec_helper.rb
169
+ - vendor/stylesheets/bootswatch/amelia/bootswatch.css.scss
170
+ - vendor/stylesheets/bootswatch/amelia/theme.css.scss
171
+ - vendor/stylesheets/bootswatch/amelia/variables.css.scss
172
+ - vendor/stylesheets/bootswatch/cerulean/bootswatch.css.scss
173
+ - vendor/stylesheets/bootswatch/cerulean/theme.css.scss
174
+ - vendor/stylesheets/bootswatch/cerulean/variables.css.scss
175
+ - vendor/stylesheets/bootswatch/cosmo/bootswatch.css.scss
176
+ - vendor/stylesheets/bootswatch/cosmo/theme.css.scss
177
+ - vendor/stylesheets/bootswatch/cosmo/variables.css.scss
178
+ - vendor/stylesheets/bootswatch/custom/bootswatch.css.scss
179
+ - vendor/stylesheets/bootswatch/custom/theme.css.scss
180
+ - vendor/stylesheets/bootswatch/custom/variables.css.scss
181
+ - vendor/stylesheets/bootswatch/cyborg/bootswatch.css.scss
182
+ - vendor/stylesheets/bootswatch/cyborg/theme.css.scss
183
+ - vendor/stylesheets/bootswatch/cyborg/variables.css.scss
184
+ - vendor/stylesheets/bootswatch/darkly/bootswatch.css.scss
185
+ - vendor/stylesheets/bootswatch/darkly/theme.css.scss
186
+ - vendor/stylesheets/bootswatch/darkly/variables.css.scss
187
+ - vendor/stylesheets/bootswatch/flatly/bootswatch.css.scss
188
+ - vendor/stylesheets/bootswatch/flatly/theme.css.scss
189
+ - vendor/stylesheets/bootswatch/flatly/variables.css.scss
190
+ - vendor/stylesheets/bootswatch/global/build.css.scss
191
+ - vendor/stylesheets/bootswatch/global/theme.css.scss
192
+ - vendor/stylesheets/bootswatch/journal/bootswatch.css.scss
193
+ - vendor/stylesheets/bootswatch/journal/theme.css.scss
194
+ - vendor/stylesheets/bootswatch/journal/variables.css.scss
195
+ - vendor/stylesheets/bootswatch/readable/bootswatch.css.scss
196
+ - vendor/stylesheets/bootswatch/readable/theme.css.scss
197
+ - vendor/stylesheets/bootswatch/readable/variables.css.scss
198
+ - vendor/stylesheets/bootswatch/simplex/bootswatch.css.scss
199
+ - vendor/stylesheets/bootswatch/simplex/theme.css.scss
200
+ - vendor/stylesheets/bootswatch/simplex/variables.css.scss
201
+ - vendor/stylesheets/bootswatch/slate/bootswatch.css.scss
202
+ - vendor/stylesheets/bootswatch/slate/theme.css.scss
203
+ - vendor/stylesheets/bootswatch/slate/variables.css.scss
204
+ - vendor/stylesheets/bootswatch/spacelab/bootswatch.css.scss
205
+ - vendor/stylesheets/bootswatch/spacelab/theme.css.scss
206
+ - vendor/stylesheets/bootswatch/spacelab/variables.css.scss
207
+ - vendor/stylesheets/bootswatch/superhero/bootswatch.css.scss
208
+ - vendor/stylesheets/bootswatch/superhero/theme.css.scss
209
+ - vendor/stylesheets/bootswatch/superhero/variables.css.scss
210
+ - vendor/stylesheets/bootswatch/united/bootswatch.css.scss
211
+ - vendor/stylesheets/bootswatch/united/theme.css.scss
212
+ - vendor/stylesheets/bootswatch/united/variables.css.scss
213
+ - vendor/stylesheets/bootswatch/yeti/bootswatch.css.scss
214
+ - vendor/stylesheets/bootswatch/yeti/theme.css.scss
215
+ - vendor/stylesheets/bootswatch/yeti/variables.css.scss
219
216
  homepage: http://github.com/nerakdon/bootswitch
220
217
  licenses:
221
218
  - MIT
@@ -239,6 +236,6 @@ rubyforge_project:
239
236
  rubygems_version: 2.2.2
240
237
  signing_key:
241
238
  specification_version: 4
242
- summary: Designed to get you up and running with a customizable version of boostrap
243
- using SASS.
239
+ summary: For multi-theme sites, Bootswitch allows a site to configure the Bootswatch
240
+ theme based on a method set in the initializer file.
244
241
  test_files: []
@@ -1,9 +0,0 @@
1
-
2
- // First import bootswatch variables
3
- @import "./variables.css.scss";
4
-
5
- // Then bootstrap itself
6
- @import "bootstrap";
7
-
8
- // And finally bootswatch bootswatch itself
9
- @import "./bootswatch.css.scss";
@@ -1,9 +0,0 @@
1
-
2
- // First import bootswatch variables
3
- @import "./variables.css.scss";
4
-
5
- // Then bootstrap itself
6
- @import "bootstrap";
7
-
8
- // And finally bootswatch bootswatch itself
9
- @import "./bootswatch.css.scss";
@@ -1,9 +0,0 @@
1
-
2
- // First import bootswatch variables
3
- @import "./variables.css.scss";
4
-
5
- // Then bootstrap itself
6
- @import "bootstrap";
7
-
8
- // And finally bootswatch bootswatch itself
9
- @import "./bootswatch.css.scss";
@@ -1,9 +0,0 @@
1
-
2
- // First import bootswatch variables
3
- @import "./variables.css.scss";
4
-
5
- // Then bootstrap itself
6
- @import "bootstrap";
7
-
8
- // And finally bootswatch bootswatch itself
9
- @import "./bootswatch.css.scss";
@@ -1,9 +0,0 @@
1
-
2
- // First import bootswatch variables
3
- @import "./variables.css.scss";
4
-
5
- // Then bootstrap itself
6
- @import "bootstrap";
7
-
8
- // And finally bootswatch bootswatch itself
9
- @import "./bootswatch.css.scss";
@@ -1,9 +0,0 @@
1
-
2
- // First import bootswatch variables
3
- @import "./variables.css.scss";
4
-
5
- // Then bootstrap itself
6
- @import "bootstrap";
7
-
8
- // And finally bootswatch bootswatch itself
9
- @import "./bootswatch.css.scss";
@@ -1,9 +0,0 @@
1
-
2
- // First import bootswatch variables
3
- @import "./variables.css.scss";
4
-
5
- // Then bootstrap itself
6
- @import "bootstrap";
7
-
8
- // And finally bootswatch bootswatch itself
9
- @import "./bootswatch.css.scss";
@@ -1,9 +0,0 @@
1
-
2
- // First import bootswatch variables
3
- @import "./variables.css.scss";
4
-
5
- // Then bootstrap itself
6
- @import "bootstrap";
7
-
8
- // And finally bootswatch bootswatch itself
9
- @import "./bootswatch.css.scss";
@@ -1,9 +0,0 @@
1
-
2
- // First import bootswatch variables
3
- @import "./variables.css.scss";
4
-
5
- // Then bootstrap itself
6
- @import "bootstrap";
7
-
8
- // And finally bootswatch bootswatch itself
9
- @import "./bootswatch.css.scss";
@@ -1,9 +0,0 @@
1
-
2
- // First import bootswatch variables
3
- @import "./variables.css.scss";
4
-
5
- // Then bootstrap itself
6
- @import "bootstrap";
7
-
8
- // And finally bootswatch bootswatch itself
9
- @import "./bootswatch.css.scss";
@@ -1,9 +0,0 @@
1
-
2
- // First import bootswatch variables
3
- @import "./variables.css.scss";
4
-
5
- // Then bootstrap itself
6
- @import "bootstrap";
7
-
8
- // And finally bootswatch bootswatch itself
9
- @import "./bootswatch.css.scss";
@@ -1,9 +0,0 @@
1
-
2
- // First import bootswatch variables
3
- @import "./variables.css.scss";
4
-
5
- // Then bootstrap itself
6
- @import "bootstrap";
7
-
8
- // And finally bootswatch bootswatch itself
9
- @import "./bootswatch.css.scss";
@@ -1,2 +0,0 @@
1
- class BootswitchController < ApplicationController
2
- end
@@ -1,7 +0,0 @@
1
- class ThemeController < BootswitchController
2
- def theme
3
- respond_to do |format|
4
- format.css { render :file => "bootswatch/" + theme_name + "/theme", :handlers => [:scss]}
5
- end
6
- end
7
- end
data/config/routes.rb DELETED
@@ -1,4 +0,0 @@
1
- Bootswitch::Engine.routes.draw do
2
- get 'variables', to: 'bootswatch#variables'
3
- get 'layout', to: 'bootswatch#layout'
4
- end