Skip to content

Commit

Permalink
Update gemspec to latest conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Nov 8, 2015
1 parent 8972a0d commit 90b3a53
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions blacklight-hierarchy.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$:.push File.expand_path("../lib", __FILE__)

require File.join(File.dirname(__FILE__), "lib/blacklight/hierarchy/version")
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'blacklight/hierarchy/version'

Gem::Specification.new do |s|
s.name = "blacklight-hierarchy"
Expand All @@ -12,11 +12,14 @@ Gem::Specification.new do |s|
s.summary = "Hierarchical Facets for Blacklight"
s.description = "Allows delimited Solr facets to become hierarchical trees in Blacklight."

s.files = Dir["{app,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.md"]
s.test_files = Dir["{spec,test}/**/*"]
s.require_paths = ['lib']
s.files = `git ls-files -z`.split("\x0")
s.test_files = s.files.grep(%r{^(test|spec|features)/})
s.bindir = 'exe'
s.executables = s.files.grep(%r{^exe/}) { |f| File.basename(f) }
s.require_paths = ["lib"]

s.add_dependency "rails", '~> 4.1'
s.add_dependency "jquery-rails"
s.add_dependency "blacklight", ">= 6.0.0.pre3", "< 7"

s.add_development_dependency "rsolr"
Expand Down

0 comments on commit 90b3a53

Please sign in to comment.