Skip to content
This repository was archived by the owner on Nov 13, 2020. It is now read-only.

Make API work when used as a gem #2

Merged
merged 3 commits into from
Dec 12, 2013

Conversation

hannahhoward
Copy link
Contributor

A couple of issues that came up when I used this as a gem in another project. These are just some proposed fixes-- in particular the relative path doesn't seem to work with the validator as it uses the containing project as the base path instead of the gem itself.

@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]

spec.add_development_dependency "json-schema"
spec.add_dependency "json-schema"
Copy link
Contributor

Choose a reason for hiding this comment

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

How embarassing!

steveklabnik added a commit that referenced this pull request Dec 12, 2013
Make API work when used as a gem
@steveklabnik steveklabnik merged commit 3d9ae87 into json-api:master Dec 12, 2013
@steveklabnik
Copy link
Contributor

Thank you! This is what I get for just banging out some code late at night when I'm tired. ;)

@steveklabnik
Copy link
Contributor

I pushed out a 0.1.1 that includes this fix. Thanks again!

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.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy