contribution_count 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +5 -1
- data/README.md +21 -5
- data/lib/contribution_count.rb +1 -0
- data/lib/contribution_count/client.rb +6 -0
- data/lib/contribution_count/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ad1221e9fe8482e83822894dab60f79b5f0a6750a54a813558f11992db5b771
|
4
|
+
data.tar.gz: 63ed694a8843a0970f2b49121a1c3b93a0c11f67f78a79544c79dd08589398c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18c8907aca06d2c9d0cf60f41fc0c041a423a5f74cf17f6c4545d22bc6cb646b1a14125639b3d55ac43de25cf9eda0a7cf28a108f94d50a6aa7202dd353d9020
|
7
|
+
data.tar.gz: ca3ad4c5a921f370d4bd326fb61492fda8b00e74197143608a014e5930d43777128aabd993af460f79c5b078e2ed3c4634409e6096a6d8c4642bcf7cafae83a7
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
contribution_count (0.1.
|
4
|
+
contribution_count (0.1.4)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
9
|
diff-lcs (1.3)
|
10
|
+
line-notify-client (1.0.4)
|
10
11
|
mini_portile2 (2.4.0)
|
11
12
|
nokogiri (1.10.2)
|
12
13
|
mini_portile2 (~> 2.4.0)
|
@@ -24,6 +25,7 @@ GEM
|
|
24
25
|
diff-lcs (>= 1.2.0, < 2.0)
|
25
26
|
rspec-support (~> 3.8.0)
|
26
27
|
rspec-support (3.8.0)
|
28
|
+
slack-incoming-webhooks (0.2.0)
|
27
29
|
|
28
30
|
PLATFORMS
|
29
31
|
ruby
|
@@ -31,9 +33,11 @@ PLATFORMS
|
|
31
33
|
DEPENDENCIES
|
32
34
|
bundler (~> 2.0)
|
33
35
|
contribution_count!
|
36
|
+
line-notify-client
|
34
37
|
nokogiri
|
35
38
|
rake (~> 10.0)
|
36
39
|
rspec (~> 3.0)
|
40
|
+
slack-incoming-webhooks
|
37
41
|
|
38
42
|
BUNDLED WITH
|
39
43
|
2.0.1
|
data/README.md
CHANGED
@@ -1,7 +1,21 @@
|
|
1
|
+
[![Gem Version](https://badge.fury.io/rb/contribution_count.svg)](https://badge.fury.io/rb/contribution_count)
|
2
|
+
[![Build Status](https://travis-ci.org/emono/contribution_count.svg?branch=master)](https://travis-ci.org/emono/contribution_count)
|
3
|
+
[![Gem Download](https://img.shields.io/gem/dt/contribution_count.svg)](https://rubygems.org/gems/contribution_count)
|
4
|
+
[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE)
|
5
|
+
|
1
6
|
# ContributionCount
|
2
7
|
- GitHub contribution count client
|
3
8
|
- https://rubygems.org/gems/contribution_count
|
4
9
|
|
10
|
+
# Independent Gem
|
11
|
+
- for scraping
|
12
|
+
- nokogiri
|
13
|
+
- for notify
|
14
|
+
- line-notify-client
|
15
|
+
- slack-incoming-webhooks
|
16
|
+
|
17
|
+
|
18
|
+
|
5
19
|
## Installation
|
6
20
|
|
7
21
|
Add this line to your application's Gemfile:
|
@@ -33,6 +47,8 @@ ContributionCount.new(name).date("yyyy-mm-dd")
|
|
33
47
|
ContributionCount.new(name).contribution_today?
|
34
48
|
# select date contribution?
|
35
49
|
ContributionCount.new(name).contribution?("yyyy-mm-dd")
|
50
|
+
# notify line
|
51
|
+
ContributionCount.new(name).today_contribution_notify_line
|
36
52
|
```
|
37
53
|
|
38
54
|
## Contributing
|
@@ -45,8 +61,8 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
45
61
|
|
46
62
|
## Code of Conduct
|
47
63
|
|
48
|
-
Fork it ( https://github.com/emono/contribution_count )
|
49
|
-
Create your feature branch (git checkout -b my-new-feature)
|
50
|
-
Commit your changes (git commit -am 'Add some feature')
|
51
|
-
Push to the branch (git push origin my-new-feature)
|
52
|
-
Create a new Pull Request
|
64
|
+
- Fork it ( https://github.com/emono/contribution_count )
|
65
|
+
- Create your feature branch (git checkout -b my-new-feature)
|
66
|
+
- Commit your changes (git commit -am 'Add some feature')
|
67
|
+
- Push to the branch (git push origin my-new-feature)
|
68
|
+
- Create a new Pull Request
|
data/lib/contribution_count.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: contribution_count
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- emono
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05
|
11
|
+
date: 2019-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|