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 +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/generators/rails/form_generator.rb +0 -2
- data/lib/lite/form.rb +4 -3
- data/lib/lite/form/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: 142b52737a68ae7a86f20db0a4a804ce1c4ddb0e57e2cc7883a3053a15cc7c3a
|
4
|
+
data.tar.gz: 97855f37a9ed5940853b3488f0098acdb2cde72dd7489b19167197d055c20ee1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 614a3ea626c0c7fcf261ae68a9a242a5bdfcddb477fb05555313456708645cc125d0383e0535d4d088ec039edb981bf6b8a4319b019b616ee80a6ad17a656c1c
|
7
|
+
data.tar.gz: e42ade62c632915c4f25a832a0be3154cf4e3427456bfee1b6a68d96f448324e14ce67c6dfbbe45c5d2410a32c574b4de2c6bb17c7959c594e499381055526cc
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
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'
|
data/lib/lite/form/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2021-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|