lite-component 1.2.0 → 1.2.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 94fe577f5d86072b350e7397dc6d7025f08a93966806b75d040ba575cc5f8d6a
4
- data.tar.gz: 8c2ff2ffdb573cdf74178d4bf35a4d6fd006fb330e5a71b8db26632f45fc0aa2
3
+ metadata.gz: c9b431b6ca0368176f7a0912e1b665c5be22e6a86d938f12dd622539bd2551b2
4
+ data.tar.gz: d8d62f48b30889ea115f692bb94fc68c21bb6320c4c645d12495624d53ab2591
5
5
  SHA512:
6
- metadata.gz: 8d62c2c14499a4ca7510cf040f8891c86e8a4e5494f4977828a169e93f56229514dc21916d8d5c1acf192254a8aaf58b1f4acd962970a001d4792821eeb46a3c
7
- data.tar.gz: 17e6ad40cc126de92f2bdf5550c613451bf780a72c3f7ffe1f37f8e007f6b7313e087a13e1964dfdba3b0be20f85b901d42c0a036961af8608f690c181de013f
6
+ metadata.gz: 114670bcf6adafe85950655486fc9b097a6d3b2fd1920049020833bc33497b324271e67b51b252ba65c3715ff21f5d15b6b14dc4dec0f7bdf5617eec75096bb8
7
+ data.tar.gz: 3b8d3482f383090509ca35c472ef0d0f484bea4924329d0d13f2b172656aff8f22132f7bb834196df500cc588378c163089d91bc1693adc6e99a88f17014ac12
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.2.1] - 2021-07-21
10
+ ### Changed
11
+ - Improved Railtie support
12
+
9
13
  ## [1.2.0] - 2021-07-19
10
14
  ### Added
11
15
  - Added Ruby 3.0 support
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lite-component (1.2.0)
4
+ lite-component (1.2.1)
5
5
  actionview
6
6
 
7
7
  GEM
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'rails/generators'
4
-
5
3
  module Rails
6
4
  class ComponentGenerator < Rails::Generators::NamedBase
7
5
 
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'action_view'
3
+ require 'action_view' unless defined?(ActionView)
4
+
5
+ require 'generators/rails/component_generator' if defined?(Rails::Generators)
4
6
 
5
7
  %w[version engine iteration locals base].each do |filename|
6
8
  require "lite/component/#{filename}"
7
9
  end
8
-
9
- require 'generators/rails/component_generator'
@@ -1,10 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'rails/engine'
4
-
5
3
  module Lite
6
4
  module Component
7
- class Engine < ::Rails::Engine
5
+ class Engine < Rails::Engine
8
6
 
9
7
  initializer('lite-component.setup', group: :all) do |app|
10
8
  app.paths['config'] << File.join(config.root, 'app')
@@ -3,7 +3,7 @@
3
3
  module Lite
4
4
  module Component
5
5
 
6
- VERSION = '1.2.0'
6
+ VERSION = '1.2.1'
7
7
 
8
8
  end
9
9
  end
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.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-07-20 00:00:00.000000000 Z
11
+ date: 2021-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview