is_valid 0.0.1 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/is_valid.rb +1 -1
  3. metadata +6 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e96d9c1a791ba11acb379e7166358fd83dc4844413c019520b701fdf0a00ab1c
4
- data.tar.gz: 3c16d37f4c34622d16ffb64cb038c7c7ac71624dd054adfcc3df8a3529a07e7a
3
+ metadata.gz: cd9879ba5fc94db2883019a76682c7d6ef2c0396c94091326eb3bf2b6b872724
4
+ data.tar.gz: b15cc3d4d5038ce6f1acb7cc47e7a8b059a53545db58f427115897c8a9a91c70
5
5
  SHA512:
6
- metadata.gz: 68d7f6007244130a280d74b88a147ccef183c4e641517b5ecf30ec9ab0b690923da023c5013ff1d9ee52023af76dd92e37d7a05092bfa9ee624c4498a1c40705
7
- data.tar.gz: ddfd8f754905aec700a0d44a96c7c739ed342dc1e1471f5cb3b3d7f545acdf28a0328f9f39ce4dc821163bffdb05d90a0ab7c7e865e1c782bd7fe2b73a3427de
6
+ metadata.gz: 07d02bdfd80e3762aa7187054c75850983041c701cc6411fa1e77061cd380e71fdacfc9faad1d64a899ddcb9d343a4185f704ecd531b35871e4ee7efd4833272
7
+ data.tar.gz: 20f93b5d2bc60a9970cd121fcb76eb39e5c16f818103cbe56178835e3981c7d82b3d9758b001b0b27ca38fd57934d2855bf19e10dc2abebc68523c83ca17b18e
data/lib/is_valid.rb CHANGED
@@ -1,4 +1,4 @@
1
- class ValidCheck
1
+ class IsValid
2
2
  def initialize(templates={}, rules={})
3
3
  @rules = {
4
4
  integer: '^(\d)+$',
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: is_valid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergei Illarionov (www.butteff.ru/en/)
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-14 00:00:00.000000000 Z
11
+ date: 2024-04-15 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: 'Ruby Gem to make a validation of a variable or a hash, based on regular
14
14
  expressions or own predefined validation templates in an easy way. See full documentation
@@ -19,10 +19,11 @@ extensions: []
19
19
  extra_rdoc_files: []
20
20
  files:
21
21
  - lib/is_valid.rb
22
- homepage: https://github.com/butteff/valid_check_ruby_gem
22
+ homepage: https://butteff.ru/en/
23
23
  licenses:
24
24
  - MIT
25
- metadata: {}
25
+ metadata:
26
+ source_code_uri: https://github.com/butteff/is_valid_ruby_gem
26
27
  post_install_message:
27
28
  rdoc_options: []
28
29
  require_paths:
@@ -38,7 +39,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
38
39
  - !ruby/object:Gem::Version
39
40
  version: '0'
40
41
  requirements: []
41
- rubygems_version: 3.4.10
42
+ rubygems_version: 3.3.15
42
43
  signing_key:
43
44
  specification_version: 4
44
45
  summary: Validation of a variable or a hash, based on predefined or own easy rules