contributor 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 27981c96f17cd6d38c49ad821b0bb85a8edf16e2
4
- data.tar.gz: 712a9eaac59128e730c3d95f6709ca12ccfe22ff
3
+ metadata.gz: 60d2ba8c9b0d353686dcdc04aaa21024c4364583
4
+ data.tar.gz: 8fcc8e9b91f7a79ee7342c9904f450d65a33525d
5
5
  SHA512:
6
- metadata.gz: c67ff6f9f63dce7f3a66cdc93a85b31a37ea6d20cd963c27ba9bf5fb2ae690515adea69dadeef7a983fae8b675ea652748384ff86e6a11f97b5f3521e7dbd3ca
7
- data.tar.gz: 442e57ca1d02f762e3ef538f68f7374534127d9f53933be9afa95eb47c7dbd8032531be7dd8c29dea6b71b0fe91b77b92ae620228ac5030a80fe71ab1b3078c9
6
+ metadata.gz: f1ccbf6707b82a7f3e93717e8731339807e8b353983e0c7446b1a71becf079c2ab45fc604ebe113ac5b61c5fb395c66a5c44b9ecc3c9214b1708fd13a7a4e43a
7
+ data.tar.gz: e22f2da907c296ac48dcdc4c1a5790a625702b53d18d2ce90e2bb18e65242b6c042758acc6f00831a9dbfcb44a403cef8eb640d269167b20798871e49bc9d30f
data/README.md CHANGED
@@ -1,8 +1,9 @@
1
1
  # Contributor
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/contributor`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ Contributor is tiny calculator of git log.
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
5
+ - Print commit
6
+ - Print increase and decrease lines
6
7
 
7
8
  ## Installation
8
9
 
@@ -22,20 +23,25 @@ Or install it yourself as:
22
23
 
23
24
  ## Usage
24
25
 
25
- TODO: Write usage instructions here
26
+ ### Initialize configuration
26
27
 
27
- ## Development
28
+ You need to manage your repository configuration.
28
29
 
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake false` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+ ```
31
+ # Create configuration.yml
32
+ bundle exec contributor --init
33
+ ```
30
34
 
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
35
+ ### Run
32
36
 
33
- ## Contributing
37
+ ```
38
+ bundle exec contributor --configuration your/configuration.yml --repository your/repository/path
39
+ ```
34
40
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/contributor.
41
+ ## Contributing
36
42
 
43
+ Bug reports and pull requests are welcome on GitHub at https://github.com/alpaca-tc/contributor/issues.
37
44
 
38
45
  ## License
39
46
 
40
47
  The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
-
@@ -1,3 +1,3 @@
1
1
  module Contributor
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contributor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - alpaca-tc
@@ -42,9 +42,7 @@ description: Print detail of contribution
42
42
  email:
43
43
  - alpaca-tc@alpaca.tc
44
44
  executables:
45
- - console
46
45
  - contributor
47
- - setup
48
46
  extensions: []
49
47
  extra_rdoc_files: []
50
48
  files:
@@ -54,9 +52,7 @@ files:
54
52
  - LICENSE.txt
55
53
  - README.md
56
54
  - Rakefile
57
- - bin/console
58
55
  - bin/contributor
59
- - bin/setup
60
56
  - contributor.gemspec
61
57
  - data/configuration.yml.default.erb
62
58
  - lib/contributor.rb
@@ -92,4 +88,3 @@ signing_key:
92
88
  specification_version: 4
93
89
  summary: Print detail of contribution
94
90
  test_files: []
95
- has_rdoc:
data/bin/console DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "contributor"
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require "irb"
14
- IRB.start
data/bin/setup DELETED
@@ -1,7 +0,0 @@
1
- #!/bin/bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
-
5
- bundle install
6
-
7
- # Do any other automated setup that you need to do here