From 3c097476070fea4e94ab71b5cce4987f78b72a37 Mon Sep 17 00:00:00 2001 From: Nick Gorbikoff Date: Wed, 21 Mar 2018 15:26:37 -0500 Subject: [PATCH] Adding description to Readme and gemspec --- README.md | 2 +- trailblazer-finder.gemspec | 28 ++++++++++++++-------------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index a7e1473..abd1225 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Trailblazer Finder -Description should come here +Provides DSL for creating [Trailblazer](https://github.com/trailblazer/trailblazer) based Finder Objects. But it is designed to be used on its own as a separate gem. It was influenced by popular [Ransack](https://github.com/activerecord-hackery/ransack) gem, but in addition to [ActiveRecord](https://github.com/rails/rails/tree/master/activerecord), it can be used with [DataMapper](https://github.com/datamapper) or [Sequel](https://github.com/jeremyevans/sequel). It also integrates with [Kaminari](https://github.com/kaminari/kaminari) or [Will Paginate](https://github.com/mislav/will_paginate), as well as [FriendlyId](https://github.com/norman/friendly_id) [![Gitter Chat](https://badges.gitter.im/trailblazer/chat.svg)](https://gitter.im/trailblazer/chat) [![Build Status](https://secure.travis-ci.org/trailblazer/trailblazer-finder.svg)](https://travis-ci.org/trailblazer/trailblazer-finder) [![Coverage Status](https://coveralls.io/repos/github/trailblazer/trailblazer-finder/badge.svg?branch=master)](https://coveralls.io/github/trailblazer/trailblazer-finder?branch=master) diff --git a/trailblazer-finder.gemspec b/trailblazer-finder.gemspec index 3455d53..41fb0f4 100644 --- a/trailblazer-finder.gemspec +++ b/trailblazer-finder.gemspec @@ -1,4 +1,4 @@ -lib = File.expand_path('../lib', __FILE__) +lib = File.expand_path('lib', __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'trailblazer/finder/version' @@ -6,34 +6,34 @@ Gem::Specification.new do |spec| spec.name = 'trailblazer-finder' spec.version = Trailblazer::Finder::VERSION spec.date = '2018-03-12' - spec.description = %q{Trailblazer Finder object DSL} - spec.summary = %q{Provides DSL for creating trailblazer based finder objects} - spec.authors = ["Nick Sutterer", "Marc Tich"] - spec.email = ["apotonick@gmail.com", "marc@mudsu.com"] + spec.description = 'Trailblazer Finder object DSL' + spec.summary = 'Provides DSL for creating trailblazer based finder objects. It is designed to be used on its own as a separate gem. It was influenced by popular Ransack gem, but in addition to ActiveRecord, it can be used with DataMapper or Sequel. It also integrates with Kaminari or Will Paginate, as well as FriendlyId' + spec.authors = ['Nick Sutterer', 'Marc Tich'] + spec.email = ['apotonick@gmail.com', 'marc@mudsu.com'] spec.homepage = 'http://trailblazer.to' spec.license = 'MIT' - spec.files = `git ls-files`.split($/) + spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR) spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ['lib'] - spec.add_development_dependency 'bundler' - spec.add_development_dependency 'rake' - spec.add_development_dependency 'sequel' spec.add_development_dependency 'activerecord' - spec.add_development_dependency 'sqlite3' - spec.add_development_dependency 'will_paginate' + spec.add_development_dependency 'bundler' + spec.add_development_dependency 'data_mapper' + spec.add_development_dependency 'dm-sqlite-adapter' spec.add_development_dependency 'kaminari' spec.add_development_dependency 'kaminari-activerecord' + spec.add_development_dependency 'rake' spec.add_development_dependency 'rspec', '~> 3.5' spec.add_development_dependency 'rspec-mocks', '~> 3.5' + spec.add_development_dependency 'rspec_junit_formatter' spec.add_development_dependency 'rubocop' spec.add_development_dependency 'rubocop-rspec' - spec.add_development_dependency 'data_mapper' - spec.add_development_dependency 'dm-sqlite-adapter' + spec.add_development_dependency 'sequel' spec.add_development_dependency 'simplecov' + spec.add_development_dependency 'sqlite3' spec.add_development_dependency 'trailblazer', '>= 2.1.0.beta4' - spec.add_development_dependency 'rspec_junit_formatter' + spec.add_development_dependency 'will_paginate' spec.required_ruby_version = '>= 2.2.0' end