triplet 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a9a70da4253bc13f56358d94ad6fd728a5ff505d08eaa189cf7340f2738f6f56
4
- data.tar.gz: 401e54a2a4232d02169a120e52a020ee8c040127ac3c6d5abccc35bba3bfe583
3
+ metadata.gz: b40b0b70887646a31162a22cabddccae123dbccda5d43dc80fd7242b5aa94f81
4
+ data.tar.gz: 48bfda56958ed0fe61cb24706217b7f64488cd5154ef6f35385cb090abc956f0
5
5
  SHA512:
6
- metadata.gz: 191d40c421c97a606a7aaa8266a5fbe031b9be87b27b3768717222e692080fdb2f57c13fd14b716cba9d6bc80566a3f46c5f2a27989ab18c817379f88523db19
7
- data.tar.gz: c8968e91d41f1613bda73c0eb8edfdf3471e3a5b41fa78ab31204265ddc55ce6e541d710592ec5d263a712d1949a8961c38aec3225dcbe105a3be2df73587491
6
+ metadata.gz: a41c7887916837e1f588fd5ebb224d5de2995abba38f2724d1dbb02aa7c9bea51d59b340851d98cc0fe362aa805f2f226870e745af06bf3224c6bc83fd69dfbe
7
+ data.tar.gz: a6dd49020e45e0feeb3e0ee616f3c04832956c4a6c0c7d133b8435874092f2d7c7a15861f9b815f5c2025811af62733060ffae0a22acd83ff11e2b3e3a36412c
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- triplet (0.1.1)
4
+ triplet (0.1.2)
5
5
  actionview (>= 5.0.0, < 7.0)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -17,9 +17,8 @@ And then execute: `bundle install` in your shell.
17
17
 
18
18
  ```ruby
19
19
  nav_items = { "home": "/", "Sign Up": "/sign-up" }
20
- template = Template.new # Create a new template
21
20
 
22
- template.eval do
21
+ Triplet.template do
23
22
  nav class: "max-w-3xl mx-auto flex" do
24
23
  h1(class: "font-3xl") { "My App" }
25
24
 
@@ -10,6 +10,6 @@ module Triplet
10
10
  class Error < StandardError; end
11
11
 
12
12
  def self.template(&block)
13
- Template.new.run(&block)
13
+ Template.new(&block).to_s
14
14
  end
15
15
  end
@@ -1,3 +1,3 @@
1
1
  module Triplet
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: triplet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blake Williams