lite-component 1.0.3 → 1.0.4

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: e363087100ee78c9e7a154815680d42707467ff16f9f77606c8cfecf4e7afe7a
4
- data.tar.gz: fefd80fb36d4fd2e35e533258fb27434c18e78841f0c5d3ebd5f4cb83b58efa6
3
+ metadata.gz: 41534fd17e7cfda5187c537d255e41ae6451624b666cefd61579bca3e8cf59c3
4
+ data.tar.gz: fd52bbac5931e9021468519f62a1a9801f7f01742c4731ff4843dcbbedcd4483
5
5
  SHA512:
6
- metadata.gz: 4cceae23254cf5e0e80693929580910a6c798a6201f03280504700a81381dfecb71f2eb5c322b76c98aa5e06ec6ce1b83583c8a8cdf2ed8efa32725f44df0404
7
- data.tar.gz: 0ad326b891c245dc231f15b366f33f11a7196a7c7d2190abdcb8fa297086ab35ac042a8abd427e496ca22bd07a63b0069150a8a61bc6e1426d84a169b6068ac6
6
+ metadata.gz: 8933b889df91e694a02a37752753a2a5cc32d3adb29723178ca8eadf69c9508e03b2d05b92f1edfac859b26d006cff4074853fb66f4634320c94fe29f96dab71
7
+ data.tar.gz: 7a945851fbb2aa0f7aa1576d962853374bfab0b6c35e0bc7a6ecef553da901c334c4603c2fd82858b4e3af2418b11128a6c4a0f7b1b17e83cc634302588bb156
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.4] - 2019-12-20
10
+ ### Changed
11
+ - Fixed generator template name
12
+
9
13
  ## [1.0.3] - 2019-12-20
10
14
  ### Changed
11
15
  - Reworked component generator
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lite-component (1.0.3)
4
+ lite-component (1.0.4)
5
5
  rails (>= 5.1.0)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -42,10 +42,10 @@ Or install it yourself as:
42
42
 
43
43
  Use `rails g component NAME` will generate the following files:
44
44
 
45
- ```
45
+ ```erb
46
46
  app/assets/javascripts/components/[name].js
47
47
  app/assets/stylesheets/components/[name].scss
48
- app/components/[name]_query.rb
48
+ app/components/[name]_component.rb
49
49
  app/views/components/_[name].html.erb
50
50
  ```
51
51
 
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  <% module_namespacing do -%>
4
- class <%= class_name %>Command < <%= ApplicationComponent.to_s rescue 'Lite::Component::Base' %>
4
+ class <%= class_name %>Component < <%= ApplicationComponent.to_s rescue 'Lite::Component::Base' %>
5
5
  end
6
6
  <% end -%>
@@ -3,7 +3,7 @@
3
3
  module Lite
4
4
  module Component
5
5
 
6
- VERSION ||= '1.0.3'
6
+ VERSION ||= '1.0.4'
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.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez