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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bcb7ba2c5e21389a70483a3160c9bf136890ca5399ac7ea390cfb717feeb38ab
4
- data.tar.gz: e490fec6f741b127a95745e77005a8e06896afc8336ae7eb8836e9f26d973399
3
+ metadata.gz: 2718eb927f69409173e4549ebfa564e82765347f760f74f0c3fccac98f7e0ef9
4
+ data.tar.gz: 20410f7c2408f269b3c8de1ce587f606b69093776991e9a0d35adacf16d981b4
5
5
  SHA512:
6
- metadata.gz: bd1e7a555cfe7699de2ccce76007ba22c25a25648e11f9a1af5b310a29b0821f0af61bf607ad09a2bb8d731392e7ef21e8b6952d75d397b91a7f06e3922ca2f0
7
- data.tar.gz: 6e6807cb9cf96ffdb30c5c91af67aee23619d65eacf7f81106f93d77b63a04517742d67fbce2a94215b0be61c5afdc446ef5100e22a9d24fc8bc0b713a2b77d4
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lite-component (1.0.5)
4
+ lite-component (1.0.6)
5
5
  actionview
6
6
 
7
7
  GEM
@@ -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
@@ -3,7 +3,7 @@
3
3
  module Lite
4
4
  module Component
5
5
 
6
- VERSION ||= '1.0.5'
6
+ VERSION ||= '1.0.6'
7
7
 
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lite-component
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez