valid_hostname 2.0.0 → 2.0.1

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: 346e7e0b14e9e33d3928c36403d99c86fd0ce30d3a4943e7859c4f37ced27e42
4
- data.tar.gz: 3684b1d42623226fee3bc29a65a802508156ad47c5c04cb144b30dbe40a1c396
3
+ metadata.gz: b0c28906bf85c806da2c281d7583adf07e795ac2921404eba016f37c8d733c27
4
+ data.tar.gz: 98160f4c123df323f4b8ec9acf17f3112eb03f3b6e2d6dd446d59f98b7a2def3
5
5
  SHA512:
6
- metadata.gz: 27d765ddcb16cbd731d89c5b41a43b012fe68b9bb71af632dd9b992a46df379e73da6f4e4888cfc16073f9bb8918e2f27852cfb89081021dbac5be3bf54e1b93
7
- data.tar.gz: df485fac0e5858e6a3eb18d2bb74a66c9518a7a0033a2c36bc7b9e9f3be5d88c0fe0b426f868553102917f92474613c1af5afc266e3b420644652d51410366db
6
+ metadata.gz: 236e4705497c8e2fa048b26367dd634e7523c582cb1ae58a0077625e33b32f0f62ae06618a18f76456dc9b19ba2c6f7f756e41a72c28eb4d977a9046b41ce48c
7
+ data.tar.gz: f37cd34cb29f436557949db3dcfcdac1c74f12a8db85eebf4cf5a4ffcb873928fc432a6e2c7e4fcf65479512aec106b809e2dedd60dfd687804c6171d49d115e
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # Changelog
2
2
 
3
- ## 2.0.0 [2022-10-31]
3
+ ## 2.0.1 [2022-10-26]
4
+
5
+ - German translations added
6
+
7
+ ## 2.0.0 [2022-10-26]
4
8
 
5
9
  - fork of <https://github.com/KimNorgaard/validates_hostname>
6
10
  - refactor gem
@@ -2,12 +2,12 @@ de:
2
2
  errors:
3
3
  messages:
4
4
  hostname:
5
- invalid_hostname_length: must be between 1 and 255 characters long
6
- invalid_label_length: must be between 1 and 63 characters long
7
- label_begins_or_ends_with_hyphen: begins or ends with hyphen
8
- label_contains_invalid_characters: "contains invalid characters (valid characters: [%{valid_chars}])"
9
- hostname_label_is_numeric: unqualified hostname part cannot consist of numeric values only
10
- hostname_is_not_fqdn: is not a fully qualified domain name
11
- single_numeric_hostname_label: cannot consist of a single numeric label
12
- hostname_contains_consecutive_dots: must not contain consecutive dots
13
- hostname_ends_with_dot: must not end with a dot
5
+ invalid_hostname_length: muss zwischen 1 und 255 Zeichen lang sein
6
+ invalid_label_length: muss zwischen 1 und 63 Zeichen lang sein
7
+ label_begins_or_ends_with_hyphen: beginnt oder endet mit Bindestrich
8
+ label_contains_invalid_characters: "enthält ungültige Zeichen (gültige Zeichen: [%{valid_chars}])"
9
+ hostname_label_is_numeric: Der nicht qualifizierte Teil des Hostnamens darf nicht nur aus numerischen Werten bestehen
10
+ hostname_is_not_fqdn: ist kein vollständig qualifizierter Domänenname
11
+ single_numeric_hostname_label: darf nicht aus einem einzigen numerischen Label bestehen
12
+ hostname_contains_consecutive_dots: darf keine aufeinanderfolgenden Punkte enthalten
13
+ hostname_ends_with_dot: darf nicht mit einem Punkt enden
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ValidHostname
4
- VERSION = '2.0.0'
4
+ VERSION = '2.0.1'
5
5
  end
@@ -28,5 +28,4 @@ Gem::Specification.new do |spec|
28
28
  spec.add_development_dependency 'rubocop'
29
29
  spec.add_development_dependency 'rubocop-performance'
30
30
  spec.add_development_dependency 'rubocop-rspec'
31
- spec.add_development_dependency 'solargraph'
32
31
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: valid_hostname
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kim Nøgaard
@@ -123,20 +123,6 @@ dependencies:
123
123
  - - ">="
124
124
  - !ruby/object:Gem::Version
125
125
  version: '0'
126
- - !ruby/object:Gem::Dependency
127
- name: solargraph
128
- requirement: !ruby/object:Gem::Requirement
129
- requirements:
130
- - - ">="
131
- - !ruby/object:Gem::Version
132
- version: '0'
133
- type: :development
134
- prerelease: false
135
- version_requirements: !ruby/object:Gem::Requirement
136
- requirements:
137
- - - ">="
138
- - !ruby/object:Gem::Version
139
- version: '0'
140
126
  description: Extension to ActiveRecord::Base for validating hostnames
141
127
  email:
142
128
  - jasen@jasen.dk