see 0.0.12 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/see/plugins/circle.rb +2 -2
- data/lib/see/plugins/github.rb +2 -2
- data/lib/see/plugins/pivotal.rb +2 -2
- data/lib/see/plugins/travis.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f657044308b688199f6e95775490454f1187330b
|
|
4
|
+
data.tar.gz: d3623340153b83e58ae29f76a07dccaac75ba8a7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 17865fd9e8ed24a06bb47a1d938e36b7db3396f7549237b2cd604c4b77b518ddbb36bd6b4280d4c32a830c7646cb9151c07c92e7d9742787d03bb2c0851fa6a5
|
|
7
|
+
data.tar.gz: 09ee947e6257f22fd762c7a532a4ca7914f3cf8da9ec59ab43d46002631fbc6db67aa3dfe677aa95442c733ebb1218885c7be3033abf16c88b01685ff5910b18
|
data/lib/see/plugins/circle.rb
CHANGED
|
@@ -8,11 +8,11 @@ module See
|
|
|
8
8
|
|
|
9
9
|
def run(config, info, no_info)
|
|
10
10
|
CircleCi.configure do |config|
|
|
11
|
-
config.token = '
|
|
11
|
+
config.token = ENV['CIRCLE_CI_ACCESS_TOKEN']
|
|
12
12
|
end
|
|
13
13
|
|
|
14
14
|
response = CircleCi::Project.recent_builds(config['circle']['account'], config['circle']['repository'])
|
|
15
|
-
info << "
|
|
15
|
+
info << "\nCircleCI - " + "Latest Builds:".light_blue
|
|
16
16
|
response.body[0..4].each do |thing|
|
|
17
17
|
if thing['committer_date']
|
|
18
18
|
time = "- #{Date.parse(thing['committer_date']).strftime("%b %e,%l:%M %p")}".black
|
data/lib/see/plugins/github.rb
CHANGED
|
@@ -15,7 +15,7 @@ module See
|
|
|
15
15
|
|
|
16
16
|
pull_requests = client.pull_requests(github_name)
|
|
17
17
|
if pull_requests.count > 0
|
|
18
|
-
info << "
|
|
18
|
+
info << "\nGitHub - " + "Open pull requests:".light_blue
|
|
19
19
|
pull_requests.each do |pull_request|
|
|
20
20
|
username = "[#{pull_request.user.login}]".cyan
|
|
21
21
|
time = "- #{pull_request.updated_at.strftime("%b %e,%l:%M %p")}".black
|
|
@@ -27,7 +27,7 @@ module See
|
|
|
27
27
|
|
|
28
28
|
issues = client.issues(github_name)
|
|
29
29
|
if issues.count > 0
|
|
30
|
-
info << "
|
|
30
|
+
info << "\nGitHub - " + "Open issues:".light_blue
|
|
31
31
|
issues.each do |issue|
|
|
32
32
|
username = "[#{issue.user.login}]".cyan
|
|
33
33
|
time = "- #{issue.updated_at.strftime("%b %e,%l:%M %p")}".black
|
data/lib/see/plugins/pivotal.rb
CHANGED
|
@@ -28,14 +28,14 @@ module See
|
|
|
28
28
|
end
|
|
29
29
|
|
|
30
30
|
if stories.length > 0
|
|
31
|
-
info << "
|
|
31
|
+
info << "\nTracker - " + "Stories being worked on:".light_blue
|
|
32
32
|
info << stories
|
|
33
33
|
else
|
|
34
34
|
no_info << "Tracker - " + "No stories being worked on".yellow
|
|
35
35
|
end
|
|
36
36
|
|
|
37
37
|
if next_unowned_story
|
|
38
|
-
info << "
|
|
38
|
+
info << "\nTracker - " + "Next story that can be worked on:".light_blue
|
|
39
39
|
time = "- #{next_unowned_story.created_at.strftime("%b %e,%l:%M %p")}".black
|
|
40
40
|
id = "#{next_unowned_story.id}".light_yellow
|
|
41
41
|
name = next_unowned_story.name
|
data/lib/see/plugins/travis.rb
CHANGED