komponent 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +3 -2
- data/lib/komponent/komponent_helper.rb +1 -1
- data/lib/komponent/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4bc33ea363a4b36cdcac55451d53d0d7820a8420
|
|
4
|
+
data.tar.gz: 0be312d16fc8f34fa4c63b34f0be96d2b57db88e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d86754c2778f9ae90066090229b0467d74a1e3467fc224a74c9769a8c8589703c3f3736f85d288000f0717b3841f4959d940395ef920ff20c1c6662e3f773cc3
|
|
7
|
+
data.tar.gz: a3d654154152e906a9a61f2b1a8ee8682c3a45eafeb8d16e05dc5e9a4737a8c26a3a8ded4ca890522678276efa851acff1b7d994b4a1de6251016967bf2ac520
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
# <img alt="Komponent" src="https://raw.github.com/ouvrages/komponent/master/logo.svg?sanitize=true" width="200" height="40" />
|
|
2
2
|
[](https://travis-ci.org/komposable/komponent)
|
|
3
3
|

|
|
4
|
-
[](https://beta.gemnasium.com/projects/github.com/komposable/komponent)
|
|
5
4
|
[](https://codeclimate.com/github/komposable/komponent/maintainability)
|
|
6
5
|

|
|
7
6
|
|
|
@@ -18,7 +17,8 @@ This README examples are written in Slim, but Komponent is compatible with:
|
|
|
18
17
|
|
|
19
18
|
This gem has been inspired by our Rails development practices at [Ouvrages](https://ouvrages-web.fr) and [Etamin Studio](https://etaminstudio.com), and the (excellent) [_Modern Front-end in Rails_](https://evilmartians.com/chronicles/evil-front-part-1) article from Evil Martians.
|
|
20
19
|
|
|
21
|
-
|
|
20
|
+
<details>
|
|
21
|
+
<summary>Table of Contents</summary>
|
|
22
22
|
|
|
23
23
|
- [Compatibility](#compatibility)
|
|
24
24
|
- [Getting started](#getting-started)
|
|
@@ -42,6 +42,7 @@ This gem has been inspired by our Rails development practices at [Ouvrages](http
|
|
|
42
42
|
- [Additional paths](#additional-paths)
|
|
43
43
|
- [Contributing](#contributing)
|
|
44
44
|
- [License](#license)
|
|
45
|
+
</details>
|
|
45
46
|
|
|
46
47
|
## Compatibility
|
|
47
48
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
module KomponentHelper
|
|
4
4
|
def component(component_name, locals = {}, options = {}, &block)
|
|
5
|
-
captured_block = proc { capture(&block) } if block_given?
|
|
5
|
+
captured_block = proc { |args| capture(args, &block) } if block_given?
|
|
6
6
|
Komponent::ComponentRenderer.new(
|
|
7
7
|
controller,
|
|
8
8
|
).render(
|
data/lib/komponent/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: komponent
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ouvrages
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-05-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: actionview
|