html-native 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/html-native/logic.rb +4 -4
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 21997059907e655e0171cd63d1b7bac5be51d1c3474c87849b508463a1ab011b
4
- data.tar.gz: c87c0911546412b8954dd674f22ccd128f0b2ce985df085e2f38cbce3c150686
3
+ metadata.gz: 5a2cde975232defdab37e17881582541235abf7448b690b3a2e7078623961e99
4
+ data.tar.gz: 140e37d1bb7e039a18e159565c35912d6a54cead980872fd9764ad427f4175cf
5
5
  SHA512:
6
- metadata.gz: 566d2c708f9c6829eb727f71f461d1499093ab995a35fdb5748f8b68dc157fb4bf6c650c02acc5cd6a6fc14c88224ea1c0921cbfded11244ebe6a7890ff4e3d7
7
- data.tar.gz: ed6f3a80fea8a20e058770804255f87b93999dcf6d0b81cebaead9bbd2628750e2581549cbc536c16f8581b046e8f5fdfd0f6fc07fe86dc2165a10bf2a35cfdc
6
+ metadata.gz: 20ebdb417720ef51aceba2c24878861966eba922981201031be892fb6b86390319e57586339d968fc9d77a3237955b8aa580eba3d53b8d1e26cd6446200450d4
7
+ data.tar.gz: 4b3d8f0fd9fab698b6fb85d8f270fdc015368497f330ac13c4c3124e499399a313540f159d75672d1b4374335532802d94fdac79677e88544e5325391e939b7c
@@ -21,18 +21,18 @@ end
21
21
  class String
22
22
  define_method(:if) do |bool|
23
23
  if bool
24
- Builder.new(self)
24
+ HTMLComponent::Builder.new(self)
25
25
  else
26
- Builder.new
26
+ HTMLComponent::Builder.new
27
27
  end
28
28
  end
29
29
 
30
30
  define_method(:unless) do |bool|
31
31
  # BAd form, purely for symmetry
32
32
  unless bool
33
- Builder.new(self)
33
+ HTMLComponent::Builder.new(self)
34
34
  else
35
- Builder.new
35
+ HTMLComponent::Builder.new
36
36
  end
37
37
  end
38
38
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html-native
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kellen Watt