Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Key#expires? and fix SubKey#expires #51

Merged
merged 1 commit into from Sep 16, 2014
Merged

Add Key#expires? and fix SubKey#expires #51

merged 1 commit into from Sep 16, 2014

Conversation

ushis
Copy link
Contributor

@ushis ushis commented Sep 15, 2014

Hey, i made some minor changes to the Key API. Please let me know, what you think about it.

  • Add SubKey#expires?

    Returns true if the subkey has an expiration date, else false

  • Fix SubKey#expires

    Returns nil if the key has no expiration date

  • Add Key#expires?

    Returns true if the key has an expiration date, else false

- Add SubKey#expires?

  Returns true if the subkey has an expiration date, else false

- Fix SubKey#expires

  Returns nil if the key has no expiration date

- Add Key#expires?

  Returns true if the key has an expiration data, else false
@ushis ushis changed the title Add Key#expires? and fix SubKex#expires Add Key#expires? and fix SubKey#expires Sep 15, 2014
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.05%) when pulling 9046bb5 on ushis:master into 5b3069d on ueno:master.

ueno added a commit that referenced this pull request Sep 16, 2014
Add Key#expires? and fix SubKey#expires
@ueno ueno merged commit 6e68d13 into ueno:master Sep 16, 2014
@ueno
Copy link
Owner

ueno commented Sep 16, 2014

nice cleanup, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants