Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Skey purge authentication #29

Merged
merged 3 commits into from
Oct 2, 2014
Merged

Skey purge authentication #29

merged 3 commits into from
Oct 2, 2014

Conversation

mmay
Copy link
Contributor

@mmay mmay commented Sep 29, 2014

Uses new feature in fastly-ruby 1.1.4 to require Fastly-Key auth when sending purge API requests.

Renames NoAuthCredentialsProvidedError to NoAPIKeyProvidedError since we don't need full auth.

@@ -21,7 +21,7 @@ def self.service_id
end

def self.client
raise NoAuthCredentialsProvidedError unless configuration.authenticatable?
raise NoAPIKeyProvidedError unless configuration.authenticatable?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will users need to change their applications to follow this change?

I ask because I don't know if we follow semantic versioning for fastly-rails

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. It's possible, probably unlikely though.

As for semantic versioning. Latest version is 0.1.6. We can bump to 1.0.0 or 0.2.0. Do you have a recommendation?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Semantic versioning says we can break all the API we want during the 0.x series, so I have no objection to this change.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

mmay added a commit that referenced this pull request Oct 2, 2014
@mmay mmay merged commit 2fe24a3 into master Oct 2, 2014
@mmay mmay deleted the skey-purge=auth branch October 2, 2014 08:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants