-
Notifications
You must be signed in to change notification settings - Fork 5
/
git-feats.gemspec
48 lines (33 loc) · 1.29 KB
/
git-feats.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# -*- 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 = ["[email protected]"]
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