sinatra-twitter-bootstrap 2.3.3 → 2.3.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 +7 -0
- data/lib/sinatra/twitter-bootstrap.rb +3 -2
- metadata +11 -13
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 2d13db378e52434ad308ea057b6de615ebb30053
|
|
4
|
+
data.tar.gz: 60f0e35190c7bf30403fa8205b8611b02175aa67
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 0b0c640c0033c519cc907e6e8f059674c40e83687791d42c048592b521948505c7b8edf824a91599341f51673896ed6c8a7b0e1aef5f330b65fb899a6d04df85
|
|
7
|
+
data.tar.gz: d3f9a3a286a45340757694a6b2e65914b18da54aaac1cf8b3a3ae47388a60557fb8448ac7122b9c890a31293fb32abb916bda7e57f8e3871cac18b22bd620ab6
|
|
@@ -28,9 +28,10 @@ module Sinatra
|
|
|
28
28
|
name, sha1 = file
|
|
29
29
|
kind_route = (kind == :png) ? :img : kind
|
|
30
30
|
app.get '/%s/%s' % [kind_route.to_s, name], :provides => kind do
|
|
31
|
-
cache_control :public, :must_revalidate, :max_age =>
|
|
31
|
+
cache_control :public, :must_revalidate, :max_age => 1
|
|
32
32
|
etag sha1
|
|
33
|
-
File.
|
|
33
|
+
path = File.join(File.dirname(__FILE__), 'assets', name)
|
|
34
|
+
send_file path, :disposition => nil
|
|
34
35
|
end
|
|
35
36
|
end
|
|
36
37
|
end
|
metadata
CHANGED
|
@@ -1,8 +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.
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 2.3.4
|
|
6
5
|
platform: ruby
|
|
7
6
|
authors:
|
|
8
7
|
- Michal Fojtik
|
|
@@ -18,38 +17,37 @@ extensions: []
|
|
|
18
17
|
extra_rdoc_files:
|
|
19
18
|
- README.md
|
|
20
19
|
files:
|
|
21
|
-
-
|
|
22
|
-
- lib/sinatra/helpers/haml_helpers.rb
|
|
20
|
+
- README.md
|
|
23
21
|
- lib/sinatra/assets/bootstrap-responsive.min.css
|
|
24
22
|
- lib/sinatra/assets/bootstrap.min.css
|
|
25
23
|
- lib/sinatra/assets/bootstrap.min.js
|
|
24
|
+
- lib/sinatra/assets/glyphicons-halflings-white.png
|
|
25
|
+
- lib/sinatra/assets/glyphicons-halflings.png
|
|
26
26
|
- lib/sinatra/assets/html5.js
|
|
27
27
|
- lib/sinatra/assets/jquery.min.js
|
|
28
|
-
- lib/sinatra/
|
|
29
|
-
- lib/sinatra/
|
|
30
|
-
- README.md
|
|
28
|
+
- lib/sinatra/helpers/haml_helpers.rb
|
|
29
|
+
- lib/sinatra/twitter-bootstrap.rb
|
|
31
30
|
homepage: http://github.com/mifo/sinatra-twitter-bootstrap
|
|
32
31
|
licenses: []
|
|
32
|
+
metadata: {}
|
|
33
33
|
post_install_message:
|
|
34
34
|
rdoc_options: []
|
|
35
35
|
require_paths:
|
|
36
36
|
- lib
|
|
37
37
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
38
|
-
none: false
|
|
39
38
|
requirements:
|
|
40
|
-
- -
|
|
39
|
+
- - ">="
|
|
41
40
|
- !ruby/object:Gem::Version
|
|
42
41
|
version: '0'
|
|
43
42
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
44
|
-
none: false
|
|
45
43
|
requirements:
|
|
46
|
-
- -
|
|
44
|
+
- - ">="
|
|
47
45
|
- !ruby/object:Gem::Version
|
|
48
46
|
version: '0'
|
|
49
47
|
requirements: []
|
|
50
48
|
rubyforge_project:
|
|
51
|
-
rubygems_version:
|
|
49
|
+
rubygems_version: 2.4.8
|
|
52
50
|
signing_key:
|
|
53
|
-
specification_version:
|
|
51
|
+
specification_version: 4
|
|
54
52
|
summary: Bootstrap Sinatra extension with HAML helpers
|
|
55
53
|
test_files: []
|