Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use git to include files in gem

  • Loading branch information...
commit 2ab4cc22410204734669fb64e62924b668e8cc8a 1 parent cc33abc
@yury yury authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 devise_oauth.gemspec
View
5 devise_oauth.gemspec
@@ -11,7 +11,10 @@ Gem::Specification.new do |s|
s.summary = "Oauth 2.0 provider implementation on top of devise."
s.description = "The OAuth 2.0 Authorization Framework draft-ietf-oauth-v2-28 implementation on top of devise."
- s.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.md"]
+ s.files = `git ls-files`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ s.require_paths = ["lib"]
s.add_dependency "rails", ">= 3.2.0"
s.add_dependency "devise", ">= 2.1"
Please sign in to comment.
Something went wrong with that request. Please try again.