scrum_yo 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +10 -7
- data/lib/scrum_yo/activity.rb +2 -1
- data/lib/scrum_yo/version.rb +1 -1
- data/scrum_yo.gemspec +0 -1
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZTQzZGEyYzFlOGE2MDYyZDg2MDE3ZGE2MTY4ODdhMjE3MWZkOTg0NA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YWJjNTExNjUyYWU5YTZjMzRmMTI4Njk2ZWM5NGE4NDI5NzUzYWExZA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZWNlZDhmZDE0NWY3NjUxMWFiNWJlNzNkOWMxY2E4MDcxM2VhMjg4OTk0ODdi
|
10
|
+
YTE2MzZkNmQ1NWNlMjIzOTZkYmEyNTk3NTVlMjk1MTA3ODFhNTE1NGU5NWE4
|
11
|
+
ZDMxNjZhNjJkYTdlZTVlNWJiNjM0NGEzY2ZhMjQzNTA5NTYwNTg=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OGM2Mjc4Y2VhMDQzZjRkZmE1ZDYxNjNmMjAxMWQxYjRmMjc3MTdiOTQwZTQy
|
14
|
+
YTVhNjZhM2E4MzVmZDkzMjUyNGQzZjc2N2YxOWY1OGQ4YzM2YTk0NDk0MTAz
|
15
|
+
MmMxNjY5YzRkZGI1ZGJiMmJiNWE4NmY0NmQ4MDEyZjFkMWFhMGY=
|
data/README.md
CHANGED
@@ -1,10 +1,9 @@
|
|
1
1
|
![scrum yo](https://raw.githubusercontent.com/mscoutermarsh/scrum_yo/master/scrum_art.png)
|
2
|
+
----
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/scrum_yo.png)](http://badge.fury.io/rb/scrum_yo)
|
4
|
+
Be awesome at your daily stand up. ScrumYo is a command line tool that grabs a summary of your most recent GitHub commits & pull requests right in your console.
|
2
5
|
|
3
|
-
|
4
|
-
|
5
|
-
ScrumYo uses the GitHub API to grab your recent commits/pull requests.
|
6
|
-
|
7
|
-
### Screenshot
|
6
|
+
## Sceenshot
|
8
7
|
![example of scrumyo](https://raw.githubusercontent.com/mscoutermarsh/scrum_yo/master/scrumyo_example.png)
|
9
8
|
|
10
9
|
## Installation
|
@@ -26,12 +25,16 @@ You'll have to login to your GitHub account on first use.
|
|
26
25
|
|
27
26
|
## Authentication
|
28
27
|
|
29
|
-
You'll be asked to login to GitHub your first
|
28
|
+
You'll be asked to login to GitHub your first use (even works with two-factor auth!).
|
29
|
+
An OAuth token is used for subsequent logins. The token is saved to your ```~/.netrc``` file.
|
30
30
|
|
31
|
-
## Contributing
|
31
|
+
## Contributing :heart: :purple_heart: :green_heart:
|
32
32
|
|
33
33
|
1. Fork it ( http://github.com/mscoutermarsh/scrum_yo/fork )
|
34
34
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
35
35
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
36
36
|
4. Push to the branch (`git push origin my-new-feature`)
|
37
37
|
5. Create new Pull Request
|
38
|
+
|
39
|
+
## Help!
|
40
|
+
Tweet me: [@mscccc](https://twitter.com/mscccc) or open an issue.
|
data/lib/scrum_yo/activity.rb
CHANGED
@@ -22,7 +22,8 @@ module ScrumYo
|
|
22
22
|
end
|
23
23
|
|
24
24
|
def older_than_one_day(event)
|
25
|
-
|
25
|
+
# 3600 = seconds in an hour
|
26
|
+
(DateTime.now.in_time_zone('UTC') - event.created_at) / 3600 > 24
|
26
27
|
end
|
27
28
|
|
28
29
|
def filter_activity(events)
|
data/lib/scrum_yo/version.rb
CHANGED
data/scrum_yo.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scrum_yo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Coutermarsh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octokit
|
@@ -38,20 +38,6 @@ dependencies:
|
|
38
38
|
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.7.7
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: activesupport
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ~>
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: 4.1.0
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ~>
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: 4.1.0
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: colorize
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|