cykl 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -2
  3. data/lib/cykl/version.rb +1 -1
  4. data/lib/cykl.rb +5 -5
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e96742e4fa0132ddaf092e95f4fbe25e51bc6029
4
- data.tar.gz: 0b897a885dbaf79bbf6c6953521a3fd8171bca2d
3
+ metadata.gz: b07a376904547e0e04bf745b064ce931ac1eacb9
4
+ data.tar.gz: e6b664cc00679e72968b9a7a43df3228241cc1b5
5
5
  SHA512:
6
- metadata.gz: 5e5cec053550564bdff139a31300c5af99e0202c31860ae8123e2fce3c9f6ab38dc85cf7823ab95e6a509ccf0e2c4d0382cd4aab1979e8f8b786ecc2393ef489
7
- data.tar.gz: 55e9cc232c312b1188303afb11b685e0933273b87f5a88b922c5cf49d6f007d216fd76b4121fe83f34170c380b30064075e4cd896fa2864f4ab316296e1ecdfe
6
+ metadata.gz: 1c3c7513e8aea904661cd346fbb3d13eddb272c81207997fc5c88ded21c929fc958cd922985e0ed7534752bc5c76e85c85921e0bf4028ea4d574fb48396ec29b
7
+ data.tar.gz: 021223d73ca7ea9362d38d498d8e105bed6b2c7ce382bee2b42b13bae7983a13eca6f9a8e2bee7cc7cd568e9048e2eecf4d87f4d630e7850441d25613b33f5b0
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  View the cycle-time of your Github issues
4
4
 
5
- Cykl uses the Github API via Octokit to pull information on the last 100 closed
5
+ Cykl uses the Github API via Octokit to pull information on at least the last 50 closed
6
6
  issues in your repo. Currently, you can track the average lifetime of those issues.
7
7
 
8
8
  ### Upcoming
@@ -15,7 +15,7 @@ board (if the board is connected to Github)
15
15
  Add this line to your application's Gemfile:
16
16
 
17
17
  ```ruby
18
- gem 'cykl', '~> 0.1.1'
18
+ gem 'cykl', '~> 0.1.3'
19
19
  ```
20
20
 
21
21
  And then execute:
data/lib/cykl/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Cykl
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
data/lib/cykl.rb CHANGED
@@ -7,13 +7,13 @@ module Cykl
7
7
  private :cycle_time
8
8
 
9
9
  def time(repo = nil)
10
- print_and_flush "Pulling in your issues, please wait..."
10
+ puts_and_flush "Pulling in your issues, please wait..."
11
11
  issues = Issues.new.list_issues(repo)
12
12
  @cycle_time = average_cycle_time(issues)
13
13
 
14
- print_and_flush(cycle_time_message)
14
+ puts_and_flush(cycle_time_message)
15
15
  rescue Octokit::NotFound
16
- print_and_flush('Sorry, Github couldn\'t find anything')
16
+ puts_and_flush('Sorry, Github couldn\'t find anything')
17
17
  end
18
18
 
19
19
  private
@@ -43,8 +43,8 @@ module Cykl
43
43
  (24 * 60 * 60)
44
44
  end
45
45
 
46
- def print_and_flush(msg)
47
- print msg
46
+ def puts_and_flush(msg)
47
+ puts msg
48
48
  STDOUT.flush
49
49
  end
50
50
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cykl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Burton