lite-component 1.2.0 → 1.2.1
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 -2
- data/lib/lite/component.rb +3 -3
- data/lib/lite/component/engine.rb +1 -3
- data/lib/lite/component/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9b431b6ca0368176f7a0912e1b665c5be22e6a86d938f12dd622539bd2551b2
|
4
|
+
data.tar.gz: d8d62f48b30889ea115f692bb94fc68c21bb6320c4c645d12495624d53ab2591
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 114670bcf6adafe85950655486fc9b097a6d3b2fd1920049020833bc33497b324271e67b51b252ba65c3715ff21f5d15b6b14dc4dec0f7bdf5617eec75096bb8
|
7
|
+
data.tar.gz: 3b8d3482f383090509ca35c472ef0d0f484bea4924329d0d13f2b172656aff8f22132f7bb834196df500cc588378c163089d91bc1693adc6e99a88f17014ac12
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/lite/component.rb
CHANGED
@@ -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 <
|
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')
|
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.
|
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-
|
11
|
+
date: 2021-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionview
|