see 0.0.12 → 0.0.14

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: 0017c58b70e217716cb878a6d528f14b4e3ad82e
4
- data.tar.gz: 83e0444f469a7a6009c676f9de48b7c0ee99593f
3
+ metadata.gz: f657044308b688199f6e95775490454f1187330b
4
+ data.tar.gz: d3623340153b83e58ae29f76a07dccaac75ba8a7
5
5
  SHA512:
6
- metadata.gz: 0ef37ea1cea0577f1f8731a08b23ecec46f1b0eadb6fbf1e9dceb4de152f2426b4c9e2912e3e2228a93237f58c4e2b7a5dd063cbc9cc2655cf9cc286fd4a02f9
7
- data.tar.gz: e5906a2d069c0cefce305a465405a51a0ba5b366ea3c03d573c801523bf6a9e2f00fe33f14bf0963de4fcc718e18bc7998a29a6b1e1c7a1981a942567c808662
6
+ metadata.gz: 17865fd9e8ed24a06bb47a1d938e36b7db3396f7549237b2cd604c4b77b518ddbb36bd6b4280d4c32a830c7646cb9151c07c92e7d9742787d03bb2c0851fa6a5
7
+ data.tar.gz: 09ee947e6257f22fd762c7a532a4ca7914f3cf8da9ec59ab43d46002631fbc6db67aa3dfe677aa95442c733ebb1218885c7be3033abf16c88b01685ff5910b18
@@ -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 = '6cb3ee6ee8ed3b2399bfae16294ef2291cfde9bb'
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 << "CircleCI - " + "Latest Builds:".light_blue
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
@@ -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 << "GitHub - " + "Open pull requests:".light_blue
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 << "GitHub - " + "Open issues:".light_blue
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
@@ -28,14 +28,14 @@ module See
28
28
  end
29
29
 
30
30
  if stories.length > 0
31
- info << "Tracker - " + "Stories being worked on:".light_blue
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 << "Tracker - " + "Next story that can be worked on:".light_blue
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
@@ -16,7 +16,7 @@ module See
16
16
  end
17
17
 
18
18
  if builds.count > 0
19
- info << "Travis - " + "Latest Builds:".light_blue
19
+ info << "\nTravis - " + "Latest Builds:".light_blue
20
20
  info.concat(builds)
21
21
  else
22
22
  no_info << "Travis - " + "No available build status".yellow
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: see
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Avila