artmotion-xss_shield 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/xss_shield.rb +5 -1
  2. metadata +1 -1
@@ -1,4 +1,8 @@
1
1
  require 'xss_shield/safe_string'
2
- require 'xss_shield/haml_hacks'
2
+ begin
3
+ require 'xss_shield/haml_hacks'
4
+ rescue NameError
5
+ puts "skipping haml_hacks"
6
+ end
3
7
  require 'xss_shield/erb_hacks'
4
8
  require 'xss_shield/secure_helpers'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: artmotion-xss_shield
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomasz Wegrzanowski