Sha256: 880b471d4b8fd09de5ff63c774c5ae2d8e6238b533d1aa97c58948ab8c9d2d25

Contents?: true

Size: 1.39 KB

Versions: 105

Compression:

Stored size: 1.39 KB

Contents

ValidatesTimeliness.setup do |config|
  # Extend ORM/ODMs for full support (:active_record, :mongoid).
  # config.extend_orms = [ :active_record ]
  #
  # Default timezone
  # config.default_timezone = :utc
  #
  # Set the dummy date part for a time type values.
  # config.dummy_date_for_time_type = [ 2000, 1, 1 ]
  #
  # Ignore errors when restriction options are evaluated
  # config.ignore_restriction_errors = false
  #
  # Re-display invalid values in date/time selects
  # config.enable_date_time_select_extension!
  #
  # Handle multiparameter date/time values strictly
  # config.enable_multiparameter_extension!
  #
  # Shorthand date and time symbols for restrictions
  # config.restriction_shorthand_symbols.update(
  #   :now   => lambda { Time.current },
  #   :today => lambda { Date.current }
  # )
  #
  # Use the plugin date/time parser which is stricter and extendable
  # config.use_plugin_parser = false
  #
  # Add one or more formats making them valid. e.g. add_formats(:date, 'd(st|rd|th) of mmm, yyyy')
  # config.parser.add_formats()
  #
  # Remove one or more formats making them invalid. e.g. remove_formats(:date, 'dd/mm/yyy')
  # config.parser.remove_formats()
  #
  # Change the amiguous year threshold when parsing a 2 digit year
  # config.parser.ambiguous_year_threshold =  30
  #
  # Treat ambiguous dates, such as 01/02/1950, as a Non-US date.
  # config.parser.remove_us_formats
end

Version data entries

105 entries across 105 versions & 10 rubygems

Version Path
renalware-core-2.0.0.pre.rc7 config/initializers/validates_timeliness.rb
renalware-core-2.0.0.pre.rc6 config/initializers/validates_timeliness.rb
renalware-core-2.0.0.pre.rc5 config/initializers/validates_timeliness.rb
renalware-core-2.0.0.pre.rc4 config/initializers/validates_timeliness.rb
renalware-core-2.0.0.pre.rc3 config/initializers/validates_timeliness.rb
renalware-core-2.0.0.pre.rc1 config/initializers/validates_timeliness.rb
renalware-core-2.0.0.pre.beta12 config/initializers/validates_timeliness.rb
renalware-core-2.0.0.pre.beta11 config/initializers/validates_timeliness.rb
renalware-core-2.0.0.pre.beta10 config/initializers/validates_timeliness.rb
renalware-core-2.0.0.pre.beta9 config/initializers/validates_timeliness.rb
renalware-core-2.0.0.pre.beta8 config/initializers/validates_timeliness.rb
renalware-core-2.0.0.pre.beta7 config/initializers/validates_timeliness.rb
renalware-core-2.0.0.pre.beta6 config/initializers/validates_timeliness.rb
renalware-core-2.0.0.pre.beta5 config/initializers/validates_timeliness.rb
renalware-core-2.0.0.pre.beta4 config/initializers/validates_timeliness.rb
artfully_ose-1.3.0.pre4 config/initializers/validates_timeliness.rb
artfully_ose-1.3.0.pre3 config/initializers/validates_timeliness.rb
artfully_ose-1.3.0.pre2 config/initializers/validates_timeliness.rb
artfully_ose-1.3.0.pre1 config/initializers/validates_timeliness.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/validates_timeliness-3.0.14/lib/generators/validates_timeliness/templates/validates_timeliness.rb