lite-component 1.0.7 → 1.0.8
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 +4 -0
- data/Gemfile.lock +4 -4
- data/README.md +1 -1
- data/lib/lite/component/base.rb +1 -0
- data/lib/lite/component/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 42c871c9d4d37bbc347dc56f867e94cb7b0f79cdca1d59d19178b53efb0f5ac3
|
|
4
|
+
data.tar.gz: 5344d77cc6ba9ca376de5109a1705482438ab41c249e4c94c674e6d51b0f4468
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 30378e2f2adc971d9254c7b861b83c1e0f6dcc088113fd5e48980ec99171659492b0c9400e6257719eb91b05bea0a0ea0f779ca7441d671b68a5b148372e04c4
|
|
7
|
+
data.tar.gz: 3665e9afb7967818478bb7a8591e76c1eedf5ef70f07da03e2779322b99ab52dcfcfd930814eb31b46d78e10a349022cfb5716db68b9edbcc40b7ce6da48ac95
|
data/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [1.0.8] - 2019-12-26
|
|
10
|
+
### Added
|
|
11
|
+
- Added `c` local variable to access the component
|
|
12
|
+
|
|
9
13
|
## [1.0.7] - 2019-12-24
|
|
10
14
|
### Changed
|
|
11
15
|
- Fixed path to nested partials
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
lite-component (1.0.
|
|
4
|
+
lite-component (1.0.8)
|
|
5
5
|
actionview
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -51,7 +51,7 @@ GEM
|
|
|
51
51
|
nokogiri (1.10.7)
|
|
52
52
|
mini_portile2 (~> 2.4.0)
|
|
53
53
|
parallel (1.19.1)
|
|
54
|
-
parser (2.
|
|
54
|
+
parser (2.7.0.0)
|
|
55
55
|
ast (~> 2.4.0)
|
|
56
56
|
rack (2.0.8)
|
|
57
57
|
rack-test (1.1.0)
|
|
@@ -89,7 +89,7 @@ GEM
|
|
|
89
89
|
rainbow (>= 2.2.2, < 4.0)
|
|
90
90
|
ruby-progressbar (~> 1.7)
|
|
91
91
|
unicode-display_width (>= 1.4.0, < 1.7)
|
|
92
|
-
rubocop-performance (1.5.
|
|
92
|
+
rubocop-performance (1.5.2)
|
|
93
93
|
rubocop (>= 0.71.0)
|
|
94
94
|
rubocop-rspec (1.37.1)
|
|
95
95
|
rubocop (>= 0.68.1)
|
|
@@ -99,7 +99,7 @@ GEM
|
|
|
99
99
|
sexp_processor (4.13.0)
|
|
100
100
|
thor (1.0.1)
|
|
101
101
|
thread_safe (0.3.6)
|
|
102
|
-
tzinfo (1.2.
|
|
102
|
+
tzinfo (1.2.6)
|
|
103
103
|
thread_safe (~> 0.1)
|
|
104
104
|
unicode-display_width (1.6.0)
|
|
105
105
|
zeitwerk (2.2.2)
|
data/README.md
CHANGED
|
@@ -220,7 +220,7 @@ accessed by their key.
|
|
|
220
220
|
```
|
|
221
221
|
|
|
222
222
|
Access to anything provided within its `*_component.rb` file can be done using the
|
|
223
|
-
`component` local which is the instance of the component.
|
|
223
|
+
`component` or `c` local methods which is the instance of the component.
|
|
224
224
|
|
|
225
225
|
```erb
|
|
226
226
|
<%# app/views/components/_alert.html.erb %>
|
data/lib/lite/component/base.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lite-component
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Juan Gomez
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-12-
|
|
11
|
+
date: 2019-12-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: actionview
|