Permalink
Commits on Sep 25, 2017
  1. Refactor: extract class for verifying input

    avit committed Sep 25, 2017
    Move methods related to input verification into their own object.
Commits on Sep 18, 2017
  1. Remove access to illogical rule parts

    avit committed Sep 18, 2017
    Some combinations of rule parts do not apply. Rather than exposing all possible
    validations on all recurrence rule types, limit to ones that produce results.
  2. Realign recurrence rules to their time parts

    avit committed Sep 18, 2017
    When time parts (hour_of_day, minute_of_hour, second_of_minute) are specified on
    recurrence rules, the rules would jump over valid occurrences unless they were
    realigned.
  3. Raise errors for invalid combinations of interval

    avit committed Sep 18, 2017
    Reject illogical combinations of rule types with intervals that would never
    align with any occurrences.
  4. Prevent specs from running indefinitely

    avit committed Sep 18, 2017
    Limit each example to 1 second in case of infinite loops. Can be redefined with
    timeout: 0 on example metadata.
Commits on Sep 17, 2017
  1. Move spec out of module

    avit committed Sep 17, 2017
Commits on Sep 16, 2017
  1. Rubyforge is gone

    avit committed Sep 14, 2017
  2. Use % string interpolation for translations

    avit committed Sep 14, 2017
    Instead of traversing the string to replace multiple options, use built-in ruby
    methods to interpolate string templates in a single pass.
  3. More obvious spec definition

    avit committed Sep 14, 2017
  4. Avoid mixing IceCube into the global namespace

    avit committed Sep 14, 2017
    Until specs can be adjusted to reference IceCube objects explicitly, this
    permits lookup for the commonly used IceCube constants only, without polluting
    the global Object namespace with all methods and constants from IceCube.
  5. Fix warning for space before ()

    avit committed Sep 16, 2017
  6. Update deprecated to_yaml to use encode_with

    avit committed Sep 14, 2017
    The poorly-documented YAML coder allows us to tell YAML to use our Hash
    representation when encoding. This avoids warnings that `to_yaml` was redefined
    from the default Object implementation.
  7. Remove old unused methods

    avit committed Sep 14, 2017
  8. Simplify rule iteration

    avit committed Sep 14, 2017
    Avoid traversing rules twice, just check them all since single occurrences are
    terminating.
    
    Terminating is true as implied for .all? on empty sets.
  9. Fix core extension load order between ActiveSupport and I18n

    avit committed Sep 14, 2017
    Avoids warnings for already-defined methods.
    
    DRY locales path definition for loading
    
    I18n should be lazy-loaded in order to require it later in order after
    ActiveSupport. It appears that I18n is better at detecting already-defined core
    extension methods on ruby classes.
  10. Read validation values directly instead of holding a copy

    avit committed Sep 12, 2017
    Avoid undefined variable warnings
  11. Simplify method definition

    avit committed Sep 12, 2017
  12. Define comparable methods instead of delegating >, <, etc.

    avit committed Sep 14, 2017
    Simplify method lookup instead of depending on method_missing.
  13. Convert forwardable to explicit methods

    avit committed Sep 12, 2017
    Compiled (eval'd) definitions for <=> and == were giving warnings. This is more
    efficient anyway and removes a stdlib dependency.
Commits on Sep 15, 2017
Commits on Aug 15, 2017
  1. Merge pull request #411 from seejohnrun/parse_rdate

    seejohnrun committed Aug 15, 2017
    Parse RDATE lines in iCal parser
  2. Added CHANGELOG entry

    seejohnrun committed Aug 15, 2017