application_form 0.5.3 → 0.5.4

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: b81f5d6a05cf8fcfabc3714481407e04d5ee752c6dced927000764de369b7172
4
- data.tar.gz: e72b208fadad3073246fd8feb0819af6efefa87738930d7cab21e65913da423f
3
+ metadata.gz: ef96372acd66b16420e3a1c63699eaf37f10b92cba2d834c3139bbdc056a8b46
4
+ data.tar.gz: ed40f7353a74c021381e579361a49c9c88f29f22df9f18a3bfd80d43ab132c76
5
5
  SHA512:
6
- metadata.gz: 0cff5090a0feb65b5d2f243262f8679b47478a3407e8a957690f7d182ff45ecbe71292be1fd7d27af0558cb8a79182dd938c161697f1002095f5d3dbd99263ae
7
- data.tar.gz: 290f830403a64539fc3f0bf7c9119ae3c0c9aca4627d4aa2bb363179064f2330d61de204a9feaf7071fca1b3e7f980fc32dfb01ed3423cfb4b70de271c56e2d5
6
+ metadata.gz: 05220ee71ee33781a8ddeb624aa639e2afddd57035924b1270549218948509a9d9493a79d052dd6f2b320fe33df8d26750be2f6c7e8320ed0a457105ef89c18b
7
+ data.tar.gz: d805e59a90b554cb232ff55ed33700d402bb116d88140eaacd5319e42491dc15196f2df3ddd47ef11e7a011d092ac415ff69c9f9c9c1032212e781b076c589a8
@@ -10,12 +10,12 @@ Gem::Specification.new do |spec|
10
10
 
11
11
  spec.summary = 'Painless forms for ActiveRecord'
12
12
  spec.description = 'Lightweight inheritance based forms solution'
13
- spec.homepage = 'https://github.com/rbbr_io/application_form'
13
+ spec.homepage = 'https://github.com/rbbr-io/application_form'
14
14
  spec.license = 'MIT'
15
15
  spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
16
16
 
17
17
  spec.metadata['homepage_uri'] = spec.homepage
18
- spec.metadata['source_code_uri'] = 'https://github.com/rbbr_io/application_form.git'
18
+ spec.metadata['source_code_uri'] = 'https://github.com/rbbr-io/application_form.git'
19
19
  # spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
20
20
 
21
21
  # Specify which files should be added to the gem when it is released.
@@ -77,9 +77,8 @@ module ApplicationForm
77
77
  errors.details[:base].first[:error].to_s
78
78
  end
79
79
 
80
- def assign_attrs(attrsibutes)
81
- attrs = ActiveSupport::HashWithIndifferentAccess.new(attributes)
82
- assign_attributes(attrs)
80
+ def assign_attrs(attributes)
81
+ assign_attributes(attributes)
83
82
  self
84
83
  end
85
84
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ApplicationForm
4
- VERSION = '0.5.3'
4
+ VERSION = '0.5.4'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: application_form
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kirill Mokevnin
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2021-08-14 00:00:00.000000000 Z
12
+ date: 2021-08-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -77,12 +77,12 @@ files:
77
77
  - lib/generators/application_form/USAGE
78
78
  - lib/generators/application_form/form_generator.rb
79
79
  - lib/generators/application_form/templates/form.rb
80
- homepage: https://github.com/rbbr_io/application_form
80
+ homepage: https://github.com/rbbr-io/application_form
81
81
  licenses:
82
82
  - MIT
83
83
  metadata:
84
- homepage_uri: https://github.com/rbbr_io/application_form
85
- source_code_uri: https://github.com/rbbr_io/application_form.git
84
+ homepage_uri: https://github.com/rbbr-io/application_form
85
+ source_code_uri: https://github.com/rbbr-io/application_form.git
86
86
  post_install_message:
87
87
  rdoc_options: []
88
88
  require_paths: