haml_interceptor 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -2
- data/README.md +2 -2
- data/TODO.md +1 -0
- data/VERSION +1 -1
- data/haml_interceptor.gemspec +10 -9
- metadata +7 -6
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -8,12 +8,12 @@ Of course, you'll need to pair this with haml.js on the client-side to re-expand
|
|
8
8
|
|
9
9
|
# Gemfile
|
10
10
|
|
11
|
-
gem '
|
11
|
+
gem 'haml_interceptor', '~> 0.1.0'
|
12
12
|
|
13
13
|
|
14
14
|
# config.ru
|
15
15
|
|
16
|
-
require '
|
16
|
+
require 'haml_interceptor'
|
17
17
|
|
18
18
|
use HamlInterceptor
|
19
19
|
run MyRackApp
|
data/TODO.md
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
* Recursively parse JSON bodies for HTML to Hamlize
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.0
|
data/haml_interceptor.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{haml_interceptor}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.2.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Ben Scofield"]
|
12
|
-
s.date = %q{2011-06-
|
12
|
+
s.date = %q{2011-06-04}
|
13
13
|
s.description = %q{haml_interceptor is a Rack middleware designed to intercept JS responses from a web application and re-process them from HTML to Haml, resulting in a smaller package sent down the wire to the client.}
|
14
14
|
s.email = %q{git@turrean.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -22,6 +22,7 @@ Gem::Specification.new do |s|
|
|
22
22
|
"LICENSE.txt",
|
23
23
|
"README.md",
|
24
24
|
"Rakefile",
|
25
|
+
"TODO.md",
|
25
26
|
"VERSION",
|
26
27
|
"haml_interceptor.gemspec",
|
27
28
|
"lib/haml_interceptor.rb",
|
@@ -33,25 +34,25 @@ Gem::Specification.new do |s|
|
|
33
34
|
s.homepage = %q{http://github.com/bscofield/haml_interceptor}
|
34
35
|
s.licenses = ["MIT"]
|
35
36
|
s.require_paths = ["lib"]
|
36
|
-
s.rubygems_version = %q{1.3.
|
37
|
+
s.rubygems_version = %q{1.3.8}
|
37
38
|
s.summary = %q{Rack middleware to process HTML into Haml for slimmer JS responses}
|
38
39
|
|
39
40
|
if s.respond_to? :specification_version then
|
40
41
|
s.specification_version = 3
|
41
42
|
|
42
43
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
43
|
-
s.add_runtime_dependency(%q<rack>, [">= 1.
|
44
|
+
s.add_runtime_dependency(%q<rack>, [">= 1.2.0"])
|
44
45
|
s.add_runtime_dependency(%q<rake>, [">= 0.8.7"])
|
45
|
-
s.add_runtime_dependency(%q<haml>, [">= 3.1.
|
46
|
+
s.add_runtime_dependency(%q<haml>, [">= 3.1.0"])
|
46
47
|
s.add_runtime_dependency(%q<hpricot>, [">= 0.8.4"])
|
47
48
|
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
48
49
|
s.add_development_dependency(%q<jeweler>, ["~> 1.6.2"])
|
49
50
|
s.add_development_dependency(%q<rcov>, [">= 0"])
|
50
51
|
s.add_development_dependency(%q<rack-test>, ["~> 0.6.0"])
|
51
52
|
else
|
52
|
-
s.add_dependency(%q<rack>, [">= 1.
|
53
|
+
s.add_dependency(%q<rack>, [">= 1.2.0"])
|
53
54
|
s.add_dependency(%q<rake>, [">= 0.8.7"])
|
54
|
-
s.add_dependency(%q<haml>, [">= 3.1.
|
55
|
+
s.add_dependency(%q<haml>, [">= 3.1.0"])
|
55
56
|
s.add_dependency(%q<hpricot>, [">= 0.8.4"])
|
56
57
|
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
57
58
|
s.add_dependency(%q<jeweler>, ["~> 1.6.2"])
|
@@ -59,9 +60,9 @@ Gem::Specification.new do |s|
|
|
59
60
|
s.add_dependency(%q<rack-test>, ["~> 0.6.0"])
|
60
61
|
end
|
61
62
|
else
|
62
|
-
s.add_dependency(%q<rack>, [">= 1.
|
63
|
+
s.add_dependency(%q<rack>, [">= 1.2.0"])
|
63
64
|
s.add_dependency(%q<rake>, [">= 0.8.7"])
|
64
|
-
s.add_dependency(%q<haml>, [">= 3.1.
|
65
|
+
s.add_dependency(%q<haml>, [">= 3.1.0"])
|
65
66
|
s.add_dependency(%q<hpricot>, [">= 0.8.4"])
|
66
67
|
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
67
68
|
s.add_dependency(%q<jeweler>, ["~> 1.6.2"])
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: haml_interceptor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.
|
5
|
+
version: 0.2.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Ben Scofield
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-06-
|
13
|
+
date: 2011-06-04 00:00:00 -04:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - ">="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 1.
|
23
|
+
version: 1.2.0
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: *id001
|
@@ -42,7 +42,7 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - ">="
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: 3.1.
|
45
|
+
version: 3.1.0
|
46
46
|
type: :runtime
|
47
47
|
prerelease: false
|
48
48
|
version_requirements: *id003
|
@@ -116,6 +116,7 @@ files:
|
|
116
116
|
- LICENSE.txt
|
117
117
|
- README.md
|
118
118
|
- Rakefile
|
119
|
+
- TODO.md
|
119
120
|
- VERSION
|
120
121
|
- haml_interceptor.gemspec
|
121
122
|
- lib/haml_interceptor.rb
|
@@ -137,7 +138,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
137
138
|
requirements:
|
138
139
|
- - ">="
|
139
140
|
- !ruby/object:Gem::Version
|
140
|
-
hash:
|
141
|
+
hash: -1861882101416818593
|
141
142
|
segments:
|
142
143
|
- 0
|
143
144
|
version: "0"
|
@@ -150,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
150
151
|
requirements: []
|
151
152
|
|
152
153
|
rubyforge_project:
|
153
|
-
rubygems_version: 1.3.
|
154
|
+
rubygems_version: 1.3.8
|
154
155
|
signing_key:
|
155
156
|
specification_version: 3
|
156
157
|
summary: Rack middleware to process HTML into Haml for slimmer JS responses
|