1. 28 Mar, 2017 5 commits
    • Mark Stenglein's avatar
      DelegatorsParam: Setter: Refactor delegators · db0b75c8
      Mark Stenglein authored
      
      
      This commit refactors the setter in DelegatorsParam so that it uses a
      more understandable code style.
      
      Replacing the foreach with a single if statement which uses Array.every,
      and then using Array.map as well as a prepared string to make the
      paramValues for the generator function.
      Reported-by: Akshay Karthik's avatarAkshay Karthik <akshay.karthik@gmail.com>
      Signed-off-by: Mark Stenglein's avatarMark Stenglein <mark@stengle.in>
      db0b75c8
    • Mark Stenglein's avatar
      Merge branch 'DelegatorsParam' into develop · 4a82e831
      Mark Stenglein authored
      
      
      Adds in the Delegators Parameter from RFC 5545 section 3.2.4.
      
      There are a couple TODO's left behind for when I get to later sections
      of the RFC. It doesn't make sense to work out an implementation until
      I'm working on those actual features that will use it.
      Signed-off-by: Mark Stenglein's avatarMark Stenglein <mark@stengle.in>
      4a82e831
    • Mark Stenglein's avatar
      Parameter: Refactoring · 5e94d371
      Mark Stenglein authored
      I know I told @rhitt
      
       I don't use the backspace key, and instead write
      perfect code, but this was super awkward.
      
      This commit eliminates an unneeded boolean flag variable as well as some
      hacky control structures by throwing the exception when the problem is
      detected instead of waiting.
      
      As a bonus, this should help increase speed when dealing with longer
      lists of parameter values where one may be invalid.
      Signed-off-by: Mark Stenglein's avatarMark Stenglein <mark@stengle.in>
      5e94d371
    • Mark Stenglein's avatar
      NPM: Package: Fix behavior of testing · 32d76c54
      Mark Stenglein authored
      
      
      There was an issue where the entire test suite would bail after one
      specfile fails. That is not useful.
      
      This commit fixes the issue by simply removing the `--bail` flag from
      the npm test script.
      Signed-off-by: Mark Stenglein's avatarMark Stenglein <mark@stengle.in>
      32d76c54
    • Mark Stenglein's avatar
      DelegatorsParam: Finish out initial build · 2d1a6b5f
      Mark Stenglein authored
      
      
      This commit along with the previous commits implements
      the Delegator Parameter sufficiently to move on.
      
      There are still a couple of TODO's out for this one,
      but for the most part it's all ++ and the test cases are
      successful.
      
      When this gets to the point where I have implemented the
      different CAL-ADDRESS value type, I'll need to come back to this
      and figure out how to implement that TODO.
      Signed-off-by: Mark Stenglein's avatarMark Stenglein <mark@stengle.in>
      2d1a6b5f
  2. 27 Mar, 2017 1 commit
  3. 24 Mar, 2017 3 commits
  4. 23 Mar, 2017 17 commits
  5. 16 Mar, 2017 5 commits
  6. 12 Mar, 2017 1 commit
    • Mark Stenglein's avatar
      Start adding DelegatorsParam · 1cc8cbbb
      Mark Stenglein authored
      - Going to need to work on getting the ability to add with a string
        or a string[]. Might just make it only work with Array and go back
        to clean up the API later.
      1cc8cbbb
  7. 11 Mar, 2017 2 commits
  8. 27 Feb, 2017 6 commits