jammit-sinatra 0.6.0.1 → 0.6.0.2
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.
- data/jammit-sinatra.gemspec +1 -1
- data/lib/jammit/middleware.rb +2 -1
- metadata +19 -10
data/jammit-sinatra.gemspec
CHANGED
data/lib/jammit/middleware.rb
CHANGED
|
@@ -10,6 +10,7 @@ module Jammit
|
|
|
10
10
|
|
|
11
11
|
SUFFIX_STRIPPER = /-(datauri|mhtml)\Z/
|
|
12
12
|
|
|
13
|
+
PUBLIC_ROOT = defined?(Jammit.public_root) ? Jammit.public_root : PUBLIC_ROOT
|
|
13
14
|
NOT_FOUND_PATH = "#{PUBLIC_ROOT}/404.html"
|
|
14
15
|
|
|
15
16
|
def initialize(app)
|
|
@@ -111,4 +112,4 @@ module Jammit
|
|
|
111
112
|
end
|
|
112
113
|
|
|
113
114
|
end
|
|
114
|
-
end
|
|
115
|
+
end
|
metadata
CHANGED
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jammit-sinatra
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
+
hash: 123
|
|
4
5
|
prerelease:
|
|
5
|
-
|
|
6
|
+
segments:
|
|
7
|
+
- 0
|
|
8
|
+
- 6
|
|
9
|
+
- 0
|
|
10
|
+
- 2
|
|
11
|
+
version: 0.6.0.2
|
|
6
12
|
platform: ruby
|
|
7
13
|
authors:
|
|
8
14
|
- Jacques Crocker
|
|
@@ -10,19 +16,23 @@ autorequire:
|
|
|
10
16
|
bindir: bin
|
|
11
17
|
cert_chain: []
|
|
12
18
|
|
|
13
|
-
date:
|
|
14
|
-
default_executable:
|
|
19
|
+
date: 2012-03-22 00:00:00 Z
|
|
15
20
|
dependencies:
|
|
16
21
|
- !ruby/object:Gem::Dependency
|
|
17
|
-
|
|
22
|
+
prerelease: false
|
|
23
|
+
type: :runtime
|
|
18
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
|
19
25
|
none: false
|
|
20
26
|
requirements:
|
|
21
27
|
- - ">="
|
|
22
28
|
- !ruby/object:Gem::Version
|
|
29
|
+
hash: 7
|
|
30
|
+
segments:
|
|
31
|
+
- 0
|
|
32
|
+
- 6
|
|
33
|
+
- 0
|
|
23
34
|
version: 0.6.0
|
|
24
|
-
|
|
25
|
-
prerelease: false
|
|
35
|
+
name: jammit
|
|
26
36
|
version_requirements: *id001
|
|
27
37
|
description: " Jammit is an industrial strength asset packaging library for Sinatra/Padrino,\n providing both the CSS and JavaScript concatenation and compression that\n you'd expect, as well as YUI Compressor and Closure Compiler compatibility,\n ahead-of-time gzipping, built-in JavaScript template support, and optional\n Data-URI / MHTML image embedding.\n"
|
|
28
38
|
email: railsjedi@gmail.com
|
|
@@ -39,7 +49,6 @@ files:
|
|
|
39
49
|
- jammit-sinatra.gemspec
|
|
40
50
|
- LICENSE
|
|
41
51
|
- README.md
|
|
42
|
-
has_rdoc: true
|
|
43
52
|
homepage: http://documentcloud.github.com/jammit/
|
|
44
53
|
licenses: []
|
|
45
54
|
|
|
@@ -53,7 +62,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
53
62
|
requirements:
|
|
54
63
|
- - ">="
|
|
55
64
|
- !ruby/object:Gem::Version
|
|
56
|
-
hash:
|
|
65
|
+
hash: 3
|
|
57
66
|
segments:
|
|
58
67
|
- 0
|
|
59
68
|
version: "0"
|
|
@@ -62,14 +71,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
62
71
|
requirements:
|
|
63
72
|
- - ">="
|
|
64
73
|
- !ruby/object:Gem::Version
|
|
65
|
-
hash:
|
|
74
|
+
hash: 3
|
|
66
75
|
segments:
|
|
67
76
|
- 0
|
|
68
77
|
version: "0"
|
|
69
78
|
requirements: []
|
|
70
79
|
|
|
71
80
|
rubyforge_project:
|
|
72
|
-
rubygems_version: 1.
|
|
81
|
+
rubygems_version: 1.8.15
|
|
73
82
|
signing_key:
|
|
74
83
|
specification_version: 3
|
|
75
84
|
summary: Industrial Strength Asset Packaging for Sinatra/Padrino
|