ventilation 0.1.1 → 0.1.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/README.markdown +1 -1
- data/VERSION +1 -1
- data/lib/app/helpers/esi_helper.rb +1 -1
- data/ventilation.gemspec +1 -1
- metadata +3 -3
data/README.markdown
CHANGED
|
@@ -31,7 +31,7 @@ Include from somewhere else within your application.
|
|
|
31
31
|
<%= esi :header %>
|
|
32
32
|
<%= esi :header, :controller => :site %>
|
|
33
33
|
|
|
34
|
-
Copyright (c) 2010
|
|
34
|
+
Copyright (c) 2010 Agora Games, released under the MIT license
|
|
35
35
|
|
|
36
36
|
Installation
|
|
37
37
|
============
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.2
|
|
@@ -11,7 +11,7 @@ module Ventilation
|
|
|
11
11
|
env = ENV['RAILS_ENV']
|
|
12
12
|
|
|
13
13
|
# If we were passed a url...
|
|
14
|
-
if resource =~ /^(http:\/\/)?[a-zA-Z0-9\-\.]+\.(com|org|net|mil|edu)[a-zA-Z0-9\-\.\/]
|
|
14
|
+
if resource =~ /^(http:\/\/)?[a-zA-Z0-9\-\.]+\.(com|org|net|mil|edu)[a-zA-Z0-9\-\.\/]*$/i
|
|
15
15
|
# ...fetch and render an external resource...
|
|
16
16
|
case env
|
|
17
17
|
when 'production'
|
data/ventilation.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ventilation
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 31
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 2
|
|
10
|
+
version: 0.1.2
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Blake Taylor
|