ilex 0.1.3 → 0.1.4

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: 05f0478149655dc4fc56136bc17054bd1b89a2a7ba20a701f0043c96a5ccf423
4
- data.tar.gz: 8161c073bc92aa9ef0698dd3526181a4f3d96ce986130dba0eab4efac47bb83f
3
+ metadata.gz: f82da20e01bb5e4051b176bfa0434191271ad11bb8337b1665539a047f3e6a6d
4
+ data.tar.gz: e68418c30ffe861bae04640a9c7db675c56b69977a27c1432d51683c7cd94166
5
5
  SHA512:
6
- metadata.gz: 2aa4d959ae5d0e38db60a6ce4b5dc79bb80034a555a485d839d08c9da9e39b3c2fdc7f096954d9b27c2187234f96036042efde2ba8658125069e402d6bc353aa
7
- data.tar.gz: d4f7a0c6f6c3e046f201b823a306684a0717eccdbcd078687927dcd2bbda7c7532515a2d7056cacbf370f24a860424fbc4e69e72e065474c65c8c10530407d62
6
+ metadata.gz: 4bdf3430e7a97ed4c184884507d94a023a3ba061d911b0436dddb92f89f6ebbc4302ded795b25eac2bed9ff2c9415e0cfe1d969c20dcfa536ed4c1131d8fa85a
7
+ data.tar.gz: 1b8a4ae20d0c5e9b2e298cfc62532714c20f0f013d2feee385649f4c0361c0aaa95068c148b0aabe131d406a8125e2fa88146ef17adbdeb3f2fc61e9c896066f
data/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.1.4](https://github.com/joshleblanc/cedar/compare/v0.1.3...v0.1.4) (2021-04-16)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * redirect content to view_component ([b13943f](https://github.com/joshleblanc/cedar/commit/b13943fec1fe22e4a9c47c6300ba306eb1bd248a))
11
+
5
12
  ### [0.1.3](https://github.com/joshleblanc/cedar/compare/v0.1.2...v0.1.3) (2021-04-16)
6
13
 
7
14
  ### [0.1.2](https://github.com/joshleblanc/ilex/compare/v0.1.1...v0.1.2) (2021-04-16)
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ilex (0.1.3)
4
+ ilex (0.1.4)
5
5
  arbre
6
6
 
7
7
  GEM
@@ -19,8 +19,6 @@ module Ilex
19
19
  module Component
20
20
  include Arbre::HTML
21
21
 
22
- # The empty first arg is just to trick rubymine
23
- # when using `render` inside the arbre context
24
22
  def render(&blk)
25
23
  define_method :call do
26
24
  ctx = Context.new(self)
data/lib/ilex/context.rb CHANGED
@@ -20,6 +20,10 @@ module Ilex
20
20
  end
21
21
  end
22
22
 
23
+ def content
24
+ @component.send :content
25
+ end
26
+
23
27
  def respond_to_missing?(method, include_all)
24
28
  @component.respond_to?(method) || @component_wardens[method].exists? || super
25
29
  end
data/lib/ilex/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ilex
4
- VERSION = "0.1.3"
4
+ VERSION = "0.1.4"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ilex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua LeBlanc