lite-form 1.1.0 → 1.1.1

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: 586b7faedfe8c9173df9f3ed5a3190e182df29464beef8aaa50d416bbd0ddfea
4
- data.tar.gz: f04200d3a486afc90c0971c0d6b8ef493d6a6015eaa7c0b795fbf3c9b3abbeb3
3
+ metadata.gz: 142b52737a68ae7a86f20db0a4a804ce1c4ddb0e57e2cc7883a3053a15cc7c3a
4
+ data.tar.gz: 97855f37a9ed5940853b3488f0098acdb2cde72dd7489b19167197d055c20ee1
5
5
  SHA512:
6
- metadata.gz: 0b6c37f2dcfd4ff626f610b673b8597f09f1a389d0ce6f1e16097e926160baf34e160d8d90e49cf7a54c37ff95e8a6d6e56a833f82fcb817a13dbae44253f257
7
- data.tar.gz: ae9667fed2747f42a888d625f8333177d554001a7c30b7e014523df0aa29d205158d707cf4d388e36dea12e4e61e9eea1ee0637deadbffd32fb4af0626dc7964
6
+ metadata.gz: 614a3ea626c0c7fcf261ae68a9a242a5bdfcddb477fb05555313456708645cc125d0383e0535d4d088ec039edb981bf6b8a4319b019b616ee80a6ad17a656c1c
7
+ data.tar.gz: e42ade62c632915c4f25a832a0be3154cf4e3427456bfee1b6a68d96f448324e14ce67c6dfbbe45c5d2410a32c574b4de2c6bb17c7959c594e499381055526cc
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.1.1] - 2021-07-21
10
+ ### Changed
11
+ - Improved Railtie support
12
+
9
13
  ## [1.1.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-form (1.1.0)
4
+ lite-form (1.1.1)
5
5
  activemodel
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 FormGenerator < Rails::Generators::NamedBase
7
5
 
data/lib/lite/form.rb CHANGED
@@ -1,6 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'active_model'
3
+ require 'active_model' unless defined?(ActiveModel)
4
+
5
+ require 'generators/rails/form_generator' if defined?(Rails::Generators)
6
+
4
7
  require 'lite/form/version'
5
8
 
6
9
  %w[propagation persistence errors].each do |name|
@@ -10,5 +13,3 @@ end
10
13
  %w[exceptions states base].each do |name|
11
14
  require "lite/form/#{name}"
12
15
  end
13
-
14
- require 'generators/rails/form_generator'
@@ -3,7 +3,7 @@
3
3
  module Lite
4
4
  module Form
5
5
 
6
- VERSION = '1.1.0'
6
+ VERSION = '1.1.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-form
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.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: activemodel