lite-component 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/generators/rails/component_generator.rb +0 -4
- data/lib/lite/component/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2718eb927f69409173e4549ebfa564e82765347f760f74f0c3fccac98f7e0ef9
|
4
|
+
data.tar.gz: 20410f7c2408f269b3c8de1ce587f606b69093776991e9a0d35adacf16d981b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82f77a234c4f328443b26a9f9edd78b8905a9e788cd82d1553c7aa62734ed4e50d39b42a6ca8ef101724025dd280de76777bf950b6fa9be1e4ca1cadff3b816b
|
7
|
+
data.tar.gz: 35e0afa784e75bab5bd1f936d24576625e45b88605ebed3237f3ae6f642e95ba9841a71561d26f5c0020ff7c546c2478608e6812530e3779803c83d861fec762
|
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.6] - 2019-12-21
|
10
|
+
### Removed
|
11
|
+
- Removed generator empty directory check
|
12
|
+
|
9
13
|
## [1.0.5] - 2019-12-21
|
10
14
|
### Added
|
11
15
|
- Added support for `to_a` and `to_hash` for size check
|
data/Gemfile.lock
CHANGED
@@ -14,7 +14,6 @@ module Rails
|
|
14
14
|
|
15
15
|
def copy_components
|
16
16
|
path = File.join('app', 'components', class_path, "#{file_name}_component.rb")
|
17
|
-
empty_directory('app/components')
|
18
17
|
template('component.rb.tt', path)
|
19
18
|
end
|
20
19
|
|
@@ -22,7 +21,6 @@ module Rails
|
|
22
21
|
return if options['skip_erb']
|
23
22
|
|
24
23
|
path = File.join('app', 'views', 'components', class_path, "_#{file_name}.html.erb")
|
25
|
-
empty_directory('app/views')
|
26
24
|
create_file(path)
|
27
25
|
end
|
28
26
|
|
@@ -30,7 +28,6 @@ module Rails
|
|
30
28
|
return if options['skip_js']
|
31
29
|
|
32
30
|
path = File.join('app', 'assets', 'javascripts', 'components', class_path, "#{file_name}.js")
|
33
|
-
empty_directory('app/assets')
|
34
31
|
template('component.js', path)
|
35
32
|
end
|
36
33
|
|
@@ -39,7 +36,6 @@ module Rails
|
|
39
36
|
return if options['skip_css']
|
40
37
|
|
41
38
|
path = File.join('app', 'assets', 'stylesheets', 'components', class_path, "#{file_name}.scss")
|
42
|
-
empty_directory('app/assets')
|
43
39
|
template('component.scss', path)
|
44
40
|
end
|
45
41
|
# rubocop:enable Layout/LineLength
|