sinatra-twitter-bootstrap 2.3.1 → 2.3.1.1

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.
Files changed (2) hide show
  1. data/lib/sinatra/twitter-bootstrap.rb +10 -4
  2. metadata +1 -1
@@ -8,18 +8,24 @@ module Sinatra
8
8
 
9
9
  ASSETS = {
10
10
  :css => [
11
- ['bootstrap.min.css', 'a5cee949f15193b2e2f9aa7275051dea69d0eea1'],
12
- ['bootstrap-responsive.min.css', '68e924c9fcbee3cb5d47ca6d284fb3eec82dd304'],
13
- ['glyphicons-halflings.png', '84f613631b07d4fe22acbab50e551c0fe04bd78b'],
11
+ ['bootstrap.min.css', '6df96f1ee261f227752817cc6f94f4935e70d6fc' ],
12
+ ['bootstrap-responsive.min.css', '11ea0ad5ea631f0f1d77ef4edaa47f78ba3970ec'],
14
13
  ],
15
14
  :js => [
16
15
  ['jquery.min.js', '8b6babff47b8a9793f37036fd1b1a3ad41d38423'],
17
- ['bootstrap.min.js', '3e6ab2b64de4239acb763383a591d76a44053293'],
16
+ ['bootstrap.min.js', '6ab5d9b8349fc98fa656de69c8900ef968a96e75'],
18
17
  ['html5.js', 'c9d8ca77abcd9789b91b4c3263f257e1fc1ee103']
19
18
  ],
20
19
  }
21
20
 
22
21
  def self.generate_bootstrap_asset_routes(app)
22
+ # Add images
23
+ app.get '/img/glyphicons-halflings.png' do
24
+ cache_control :public, :must_revalidate, :max_age => 3600
25
+ etag '84f613631b07d4fe22acbab50e551c0fe04bd78b'
26
+ File.read(File.join(File.dirname(__FILE__), 'assets', 'glyphicons-halflings.png'))
27
+ end
28
+ # Other files
23
29
  ASSETS.each do |kind, files|
24
30
  files.each do |file|
25
31
  name, sha1 = file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-twitter-bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1
4
+ version: 2.3.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: