mini_defender 0.1.1 → 0.1.3

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: 6442a233854e38c0ac2a50d040d132c927be919fbba2c1a0dd8a303501c53fb4
4
- data.tar.gz: 28b2336b4e20828a3a3e92027c9c501902426e1ef8319b88f84d92c7589ab92b
3
+ metadata.gz: a699d084ae691ee23d0df09ce95ed6dddc7bad0f47fdc1888025cbcc7a546aa2
4
+ data.tar.gz: c5bd193ab55f4bdb8d850225425aac884aac3d70cf86cfa763f11a9aed0ddb07
5
5
  SHA512:
6
- metadata.gz: 3ab48998b4c80d478ae46fcab7d161d8c4f2fee7c7e43c0066c9d46cf5188db1b02cb3ef578f4b4db58a48add2fbad048d443f1606a4156bfa9f724e70832a62
7
- data.tar.gz: 18f49db6546dca476afbbd137e28a0f4c6e0760ee7cd9aeb083624ff0da5fbdfd6484af4a44bbfdd7a5a961935a3000cdb7662b5fa83765d78f706531fb8f1ad
6
+ metadata.gz: 847de8ae3fd9563ff61013ebd36a660946a5ad8bbfdce2b82dee8d81d90abdef0704acdd976425cf5f20bf62bca9ea0353d888f0331964b4accf44f9afdad585
7
+ data.tar.gz: cec864f4236ba28b34bf3b44987f59ebc22695e37b79b318aa1deed35308caa43981c3b58081b6ed244415632de2c8d62853013749601df5623af5554efa24d0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mini_defender (0.1.0)
4
+ mini_defender (0.1.2)
5
5
  actionpack (>= 6.0)
6
6
  activemodel (>= 6.0)
7
7
  activesupport (>= 6.0)
@@ -46,7 +46,7 @@ module MiniDefender
46
46
  end
47
47
 
48
48
  unless @data.key?(k)
49
- @errors[k] << 'The field is missing' if required
49
+ @errors[k] << 'This field is missing.' if required
50
50
  next
51
51
  end
52
52
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MiniDefender
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.3"
5
5
  end
@@ -10,15 +10,14 @@ Gem::Specification.new do |spec|
10
10
 
11
11
  spec.summary = "A small and efficient validation library for Rails and anything that uses Ruby."
12
12
  spec.description = spec.summary
13
- spec.homepage = "https://mini.ahoshaiyan.com"
13
+ spec.homepage = "https://github.com/ahoshaiyan/mini-defender"
14
14
  spec.license = "MIT"
15
15
  spec.required_ruby_version = ">= 2.6.0"
16
16
 
17
17
  # spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'"
18
18
 
19
19
  spec.metadata["homepage_uri"] = spec.homepage
20
- # spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
21
- # spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
20
+ spec.metadata["source_code_uri"] = spec.homepage
22
21
 
23
22
  # Specify which files should be added to the gem when it is released.
24
23
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mini_defender
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ali Alhoshaiyan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-11-21 00:00:00.000000000 Z
11
+ date: 2022-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -177,11 +177,12 @@ files:
177
177
  - lib/mini_defender/version.rb
178
178
  - mini_defender.gemspec
179
179
  - sig/mini_defender.rbs
180
- homepage: https://mini.ahoshaiyan.com
180
+ homepage: https://github.com/ahoshaiyan/mini-defender
181
181
  licenses:
182
182
  - MIT
183
183
  metadata:
184
- homepage_uri: https://mini.ahoshaiyan.com
184
+ homepage_uri: https://github.com/ahoshaiyan/mini-defender
185
+ source_code_uri: https://github.com/ahoshaiyan/mini-defender
185
186
  post_install_message:
186
187
  rdoc_options: []
187
188
  require_paths: