cknadler/git-feats

View on GitHub
git-feats.gemspec

Summary

Maintainability
Test Coverage
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'git-feats/version'

Gem::Specification.new do |s|
  s.name        = "git-feats"
  s.version     = GitFeats::VERSION
  s.authors     = ["Chris Knadler"]
  s.email       = ["takeshi91k@gmail.com"]
  s.homepage    = "https://github.com/cknadler/git-feats"
  s.license     = "MIT"

  s.summary     = "git achievements from the command line"
  s.description = <<desc
  `git-feats` is a command line utility which adds achievements to git.

  Based on your `git` usage, you will complete feats.

  It can used on its own or as a `git` wrapper.

  Wrapping `git`:

    Use `git` as you normally would.

    $ git status

  Without wrapping `git`:

    Use `git-feats` in place of `git`.

    $ git-feats status
desc
  
  s.required_ruby_version = ">= 1.9.3"

  s.files       = `git ls-files`.split("\n").reject {|path| path =~ /\.gitignore$/}
  s.test_files  = `git ls-files -- features/*`.split("\n")
  s.executables = `git ls-files -- bin/*`.split("\n").map{|f| File.basename(f)}

  s.require_paths = ["lib"]

  s.add_runtime_dependency "json"
  s.add_runtime_dependency "faraday", "~> 0.8.4"

  s.add_development_dependency "rake", "~> 10.0.2"
  s.add_development_dependency "rspec"
end