bootswatch_rails 3.3.0.2 → 3.3.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 +4 -4
- data/lib/bootswatch_rails/engine.rb +2 -2
- data/lib/bootswatch_rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f4505bf53747868d1ac32189f20a37b085ff796f
|
|
4
|
+
data.tar.gz: 741a49698dd6d2d3e29e291db4cc6bc9c010b4b3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3ae947a7ca79e59830677e22e99a5934e74fe7e996cc9af7e10c82bb17fa78df0bf871d047445d6e8f03a2dbddd7504e6f525ac4aa5600050d22de7fe1f82799
|
|
7
|
+
data.tar.gz: 13622cbeb9b97bbd9bbb65faf3f9c01063271977527f49fdb1aa25584dfb821baf7fd6f8a15209a46de57f51debc2844f9543d960a23fe2796d6e600c93b37fe
|
|
@@ -7,8 +7,8 @@ module BootswatchRails
|
|
|
7
7
|
def bootswatch_link_tag(theme = nil, options = {})
|
|
8
8
|
theme ||= BootswatchRails::THEMES[BootswatchRails::DEFAULT].to_s
|
|
9
9
|
return stylesheet_link_tag(theme) if !options.delete(:force) and OFFLINE
|
|
10
|
-
bootswatch_url = "//maxcdn.bootstrapcdn.com/bootswatch
|
|
11
|
-
fontawesome_url = "//maxcdn.bootstrapcdn.com/font-awesome
|
|
10
|
+
bootswatch_url = "//maxcdn.bootstrapcdn.com/bootswatch/#{BootswatchRails::BOOTSTRAP}/#{theme}/bootstrap.min.css"
|
|
11
|
+
fontawesome_url = "//maxcdn.bootstrapcdn.com/font-awesome/#{BootswatchRails::FONT_AWESOME}/css/font-awesome.min.css"
|
|
12
12
|
stylesheet_link_tag(bootswatch_url) + "\n " + stylesheet_link_tag(fontawesome_url)
|
|
13
13
|
end
|
|
14
14
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module BootswatchRails
|
|
2
2
|
BOOTSTRAP = "3.3.0"
|
|
3
3
|
FONT_AWESOME = "4.2.0"
|
|
4
|
-
VERSION = "3.3.0.
|
|
4
|
+
VERSION = "3.3.0.3"
|
|
5
5
|
|
|
6
6
|
THEMES = [:cerulean, :cosmo, :custom, :cyborg, :darkly, :flatly, :journal, :lumen, :paper, :readable, :sandstone, :simplex, :slate, :spacelab, :superhero, :united, :yeti]
|
|
7
7
|
DEFAULT = 0
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bootswatch_rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.3.0.
|
|
4
|
+
version: 3.3.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Volker Wiegand
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-11-
|
|
11
|
+
date: 2014-11-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: railties
|