Sha256: f1f0970f2157de6eb02b5c27b37b40a63ac311ee7f399b882158758a7f10f688

Contents?: true

Size: 1.32 KB

Versions: 2

Compression:

Stored size: 1.32 KB

Contents

---
- :key: :para_count_max
  :str: must be at least 1
  :fails_with: "-> (options) { options[:para_count_max] < 1 }"
- :key: :para_count_max
  :str: must be >= the value for --para-count-min
  :fails_with: "-> (options) { options[:para_count_max] < options[:para_count_min]
    }"
- :key: :para_count_min
  :str: must be at least 1
  :fails_with: "-> (options) { options[:para_count_min] < 1 }"
- :key: :para_count_min
  :str: must be <= the value for --para-count-max
  :fails_with: "-> (options) { options[:para_count_max] < options[:para_count_min]
    }"
- :key: :pmtp_text
  :str: may not be empty
  :fails_with: "-> (options) { options[:pmtp_text].to_s.strip.empty? }"
- :key: :sent_count_max
  :str: must be at least 1
  :fails_with: "-> (options) { options[:sent_count_max] < 1 }"
- :key: :sent_count_max
  :str: must be >= the value for --sent-count-min
  :fails_with: "-> (options) { options[:sent_count_max] < options[:sent_count_min]
    }"
- :key: :sent_count_min
  :str: must be at least 1
  :fails_with: "-> (options) { options[:sent_count_min] < 1 }"
- :key: :sent_count_min
  :str: must be <= the value for --sent-count-max
  :fails_with: "-> (options) { options[:sent_count_max] < options[:sent_count_min]
    }"
- :key: :smtp_text
  :str: may not be empty
  :fails_with: "-> (options) { options[:smtp_text].to_s.strip.empty? }"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
article_fixture_gen-0.1.2 data/validations.yml
article_fixture_gen-0.1.1 data/validations.yml