dendrite 0.4.4 → 0.4.5

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
  SHA1:
3
- metadata.gz: bad4d18d07075176dbe3c2b022d5e4b7388815ec
4
- data.tar.gz: 3988a55003746c5af19ac0e948ca672cfedcc228
3
+ metadata.gz: 60c2b6fffda67f74954dcb48843565d1961dc828
4
+ data.tar.gz: d4057165eb65727f6ca097743500211b20914d3e
5
5
  SHA512:
6
- metadata.gz: e41d4dc75c1b1c57685bd957c214e84fed1b1e42d9a279faac85e204981391631ec9c7781965d68a34c20bb66d6e9d9c3b68275f5dddacb23950009039bbfe1a
7
- data.tar.gz: d2a2d7f76f2f66c32289cfbfb8c794e894cd70934dbb1301375561b45356c78230c2fc025092a865c74d167bb31990fe220aa7451ae9f21500ce45e64240303a
6
+ metadata.gz: 70664b15a20a3b89ff506fcf7f90334b34b133a3fdd20a687fdc48473e148e76f6f87a81ccc3be1789ced0aabd7e1d2e55be144788165f2db1505b38a2b3651e
7
+ data.tar.gz: d248fe859931165439460a094f3d44891a295b33ac33c4aea75fb3b40ae008399784f9f0a24a03f6a1ce5fee58a89beb777ea09a5ebbe42f877742bf3a1a3184
@@ -96,10 +96,10 @@ module Dendrite
96
96
  :name, :type
97
97
 
98
98
  validates :organization, format: { with: /\A[a-z]+\z/, message: "only allows lowercase letters" }
99
- validates :component, format: { with: /\A[a-z]+\z/, message: "only allows lowercase letters" }
99
+ validates :component, format: { with: /\A[0-9a-z]+\z/, message: "only allows lowercase letters" }
100
100
  validates :lead_email, format: { with: VALID_EMAIL_REGEX, message: "invalid email format" }
101
101
  validates :team_email, format: { with: VALID_EMAIL_REGEX, message: "invalid email format" }
102
- validates :name, format: { with: /\A[a-z_]+\z/, message: "only allows lowercase letters" }
102
+ validates :name, format: { with: /\A[0-9a-z_]+\z/, message: "only allows lowercase letters" }
103
103
  validates :type, inclusion: { in: -> (_) { Dendrite::Config.valid_types } , message: "%{value} is not a valid type" }
104
104
 
105
105
  def initialize(**args)
@@ -1,3 +1,3 @@
1
1
  module Dendrite
2
- VERSION = "0.4.4"
2
+ VERSION = "0.4.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dendrite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yagnik