lite-component 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +56 -56
- data/README.md +119 -321
- data/app/helpers/lite/component/component_helper.rb +2 -3
- data/lib/generators/rails/USAGE +11 -0
- data/lib/generators/rails/component_generator.rb +42 -0
- data/lib/generators/{templates → rails/templates}/install.js +0 -0
- data/lib/generators/{templates → rails/templates}/install.rb.erb +0 -0
- data/lib/generators/{templates → rails/templates}/install.scss +0 -0
- data/lib/lite/component/base.rb +59 -6
- data/lib/lite/component/collection.rb +50 -0
- data/lib/lite/component/engine.rb +0 -11
- data/lib/lite/component/iteration.rb +24 -0
- data/lib/lite/component/locals.rb +29 -0
- data/lib/lite/component/version.rb +1 -1
- data/lib/lite/component.rb +2 -2
- metadata +11 -12
- data/lib/generators/component_generator.rb +0 -39
- data/lib/lite/component/application.rb +0 -19
- data/lib/lite/component/element.rb +0 -124
- data/lib/lite/component/errors.rb +0 -10
- data/vendor/assets/javascripts/lite-component.js.erb +0 -7
- data/vendor/assets/stylesheets/lite-component.css.erb +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2317e34463be37b1dac9715d6b64ce4f73734bfb920439b09005b9c2d7acb3ab
|
4
|
+
data.tar.gz: 8d4ec71562044fe13088330a4f6167c53f3897e0014a7fdb4cdc38fe382c1f44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86007d8751ecd87d26e1dfa2c40f9c861d67baaf2f765e7b2eb3cbdf1d7c1a6f826db0bc8b23cef40c4a02347b00884687070b8dab6ba63ed7cb00be23f9fbdb
|
7
|
+
data.tar.gz: 0a711732df4639a31705d37ec88e396a93c0f55574661b3fcce8ff431ac4b00829f1c16c1b93672bf2099b3de833550152e40defbc9e5b0b74c8afb09c031f62
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [1.0.2] - 2019-12-19
|
10
|
+
### Changed
|
11
|
+
- Rewrite the internals of component building and rendering
|
12
|
+
- Move location of generators to be rails namespaced
|
13
|
+
|
9
14
|
## [1.0.1] - 2019-12-13
|
10
15
|
### Added
|
11
16
|
- Included action view helpers and context
|
data/Gemfile.lock
CHANGED
@@ -1,62 +1,62 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
lite-component (1.0.
|
4
|
+
lite-component (1.0.2)
|
5
5
|
rails (>= 5.1.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actioncable (6.0.1)
|
11
|
-
actionpack (= 6.0.1)
|
10
|
+
actioncable (6.0.2.1)
|
11
|
+
actionpack (= 6.0.2.1)
|
12
12
|
nio4r (~> 2.0)
|
13
13
|
websocket-driver (>= 0.6.1)
|
14
|
-
actionmailbox (6.0.1)
|
15
|
-
actionpack (= 6.0.1)
|
16
|
-
activejob (= 6.0.1)
|
17
|
-
activerecord (= 6.0.1)
|
18
|
-
activestorage (= 6.0.1)
|
19
|
-
activesupport (= 6.0.1)
|
14
|
+
actionmailbox (6.0.2.1)
|
15
|
+
actionpack (= 6.0.2.1)
|
16
|
+
activejob (= 6.0.2.1)
|
17
|
+
activerecord (= 6.0.2.1)
|
18
|
+
activestorage (= 6.0.2.1)
|
19
|
+
activesupport (= 6.0.2.1)
|
20
20
|
mail (>= 2.7.1)
|
21
|
-
actionmailer (6.0.1)
|
22
|
-
actionpack (= 6.0.1)
|
23
|
-
actionview (= 6.0.1)
|
24
|
-
activejob (= 6.0.1)
|
21
|
+
actionmailer (6.0.2.1)
|
22
|
+
actionpack (= 6.0.2.1)
|
23
|
+
actionview (= 6.0.2.1)
|
24
|
+
activejob (= 6.0.2.1)
|
25
25
|
mail (~> 2.5, >= 2.5.4)
|
26
26
|
rails-dom-testing (~> 2.0)
|
27
|
-
actionpack (6.0.1)
|
28
|
-
actionview (= 6.0.1)
|
29
|
-
activesupport (= 6.0.1)
|
30
|
-
rack (~> 2.0)
|
27
|
+
actionpack (6.0.2.1)
|
28
|
+
actionview (= 6.0.2.1)
|
29
|
+
activesupport (= 6.0.2.1)
|
30
|
+
rack (~> 2.0, >= 2.0.8)
|
31
31
|
rack-test (>= 0.6.3)
|
32
32
|
rails-dom-testing (~> 2.0)
|
33
33
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
34
|
-
actiontext (6.0.1)
|
35
|
-
actionpack (= 6.0.1)
|
36
|
-
activerecord (= 6.0.1)
|
37
|
-
activestorage (= 6.0.1)
|
38
|
-
activesupport (= 6.0.1)
|
34
|
+
actiontext (6.0.2.1)
|
35
|
+
actionpack (= 6.0.2.1)
|
36
|
+
activerecord (= 6.0.2.1)
|
37
|
+
activestorage (= 6.0.2.1)
|
38
|
+
activesupport (= 6.0.2.1)
|
39
39
|
nokogiri (>= 1.8.5)
|
40
|
-
actionview (6.0.1)
|
41
|
-
activesupport (= 6.0.1)
|
40
|
+
actionview (6.0.2.1)
|
41
|
+
activesupport (= 6.0.2.1)
|
42
42
|
builder (~> 3.1)
|
43
43
|
erubi (~> 1.4)
|
44
44
|
rails-dom-testing (~> 2.0)
|
45
45
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
46
|
-
activejob (6.0.1)
|
47
|
-
activesupport (= 6.0.1)
|
46
|
+
activejob (6.0.2.1)
|
47
|
+
activesupport (= 6.0.2.1)
|
48
48
|
globalid (>= 0.3.6)
|
49
|
-
activemodel (6.0.1)
|
50
|
-
activesupport (= 6.0.1)
|
51
|
-
activerecord (6.0.1)
|
52
|
-
activemodel (= 6.0.1)
|
53
|
-
activesupport (= 6.0.1)
|
54
|
-
activestorage (6.0.1)
|
55
|
-
actionpack (= 6.0.1)
|
56
|
-
activejob (= 6.0.1)
|
57
|
-
activerecord (= 6.0.1)
|
49
|
+
activemodel (6.0.2.1)
|
50
|
+
activesupport (= 6.0.2.1)
|
51
|
+
activerecord (6.0.2.1)
|
52
|
+
activemodel (= 6.0.2.1)
|
53
|
+
activesupport (= 6.0.2.1)
|
54
|
+
activestorage (6.0.2.1)
|
55
|
+
actionpack (= 6.0.2.1)
|
56
|
+
activejob (= 6.0.2.1)
|
57
|
+
activerecord (= 6.0.2.1)
|
58
58
|
marcel (~> 0.3.1)
|
59
|
-
activesupport (6.0.1)
|
59
|
+
activesupport (6.0.2.1)
|
60
60
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
61
61
|
i18n (>= 0.7, < 2)
|
62
62
|
minitest (~> 5.1)
|
@@ -98,32 +98,32 @@ GEM
|
|
98
98
|
parallel (1.19.1)
|
99
99
|
parser (2.6.5.0)
|
100
100
|
ast (~> 2.4.0)
|
101
|
-
rack (2.0.
|
101
|
+
rack (2.0.8)
|
102
102
|
rack-test (1.1.0)
|
103
103
|
rack (>= 1.0, < 3)
|
104
|
-
rails (6.0.1)
|
105
|
-
actioncable (= 6.0.1)
|
106
|
-
actionmailbox (= 6.0.1)
|
107
|
-
actionmailer (= 6.0.1)
|
108
|
-
actionpack (= 6.0.1)
|
109
|
-
actiontext (= 6.0.1)
|
110
|
-
actionview (= 6.0.1)
|
111
|
-
activejob (= 6.0.1)
|
112
|
-
activemodel (= 6.0.1)
|
113
|
-
activerecord (= 6.0.1)
|
114
|
-
activestorage (= 6.0.1)
|
115
|
-
activesupport (= 6.0.1)
|
104
|
+
rails (6.0.2.1)
|
105
|
+
actioncable (= 6.0.2.1)
|
106
|
+
actionmailbox (= 6.0.2.1)
|
107
|
+
actionmailer (= 6.0.2.1)
|
108
|
+
actionpack (= 6.0.2.1)
|
109
|
+
actiontext (= 6.0.2.1)
|
110
|
+
actionview (= 6.0.2.1)
|
111
|
+
activejob (= 6.0.2.1)
|
112
|
+
activemodel (= 6.0.2.1)
|
113
|
+
activerecord (= 6.0.2.1)
|
114
|
+
activestorage (= 6.0.2.1)
|
115
|
+
activesupport (= 6.0.2.1)
|
116
116
|
bundler (>= 1.3.0)
|
117
|
-
railties (= 6.0.1)
|
117
|
+
railties (= 6.0.2.1)
|
118
118
|
sprockets-rails (>= 2.0.0)
|
119
119
|
rails-dom-testing (2.0.3)
|
120
120
|
activesupport (>= 4.2.0)
|
121
121
|
nokogiri (>= 1.6)
|
122
122
|
rails-html-sanitizer (1.3.0)
|
123
123
|
loofah (~> 2.3)
|
124
|
-
railties (6.0.1)
|
125
|
-
actionpack (= 6.0.1)
|
126
|
-
activesupport (= 6.0.1)
|
124
|
+
railties (6.0.2.1)
|
125
|
+
actionpack (= 6.0.2.1)
|
126
|
+
activesupport (= 6.0.2.1)
|
127
127
|
method_source
|
128
128
|
rake (>= 0.8.7)
|
129
129
|
thor (>= 0.20.3, < 2.0)
|
@@ -142,7 +142,7 @@ GEM
|
|
142
142
|
diff-lcs (>= 1.2.0, < 2.0)
|
143
143
|
rspec-support (~> 3.9.0)
|
144
144
|
rspec-support (3.9.0)
|
145
|
-
rubocop (0.
|
145
|
+
rubocop (0.78.0)
|
146
146
|
jaro_winkler (~> 1.5.1)
|
147
147
|
parallel (~> 1.10)
|
148
148
|
parser (>= 2.6)
|
@@ -151,7 +151,7 @@ GEM
|
|
151
151
|
unicode-display_width (>= 1.4.0, < 1.7)
|
152
152
|
rubocop-performance (1.5.1)
|
153
153
|
rubocop (>= 0.71.0)
|
154
|
-
rubocop-rspec (1.37.
|
154
|
+
rubocop-rspec (1.37.1)
|
155
155
|
rubocop (>= 0.68.1)
|
156
156
|
ruby-progressbar (1.10.1)
|
157
157
|
ruby_parser (3.14.1)
|
@@ -164,7 +164,7 @@ GEM
|
|
164
164
|
actionpack (>= 4.0)
|
165
165
|
activesupport (>= 4.0)
|
166
166
|
sprockets (>= 3.0.0)
|
167
|
-
thor (0.
|
167
|
+
thor (1.0.1)
|
168
168
|
thread_safe (0.3.6)
|
169
169
|
tzinfo (1.2.5)
|
170
170
|
thread_safe (~> 0.1)
|