domtempl 0.0.2 → 0.0.3

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/domtempl.rb +1 -1
  2. metadata +2 -2
@@ -12,7 +12,7 @@ class DOMtempl
12
12
  @vars = { }
13
13
  @var_iters = { }
14
14
 
15
- if (flags & FRAGMENT)
15
+ if (!(flags & FRAGMENT).zero?)
16
16
  @_document = Nokogiri::XML::DocumentFragment.parse(input)
17
17
  else
18
18
  @_document = Nokogiri::HTML(open(input))
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: domtempl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-08-21 00:00:00.000000000 Z
12
+ date: 2015-04-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri