furik 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7607630ca7a12e7710d5fc11a42b3d47d23ff324
4
- data.tar.gz: 536c2f12b203df54ea3b3d3926513cfb7cd65da9
3
+ metadata.gz: 45a542070798223d6291eae7d20a62c2439e48f5
4
+ data.tar.gz: 390842f16bfb1989892511b1e60ff0f69b9e2d7e
5
5
  SHA512:
6
- metadata.gz: 84bbbddb50d9f27427afb81540bff60d3c09ca2466748c04300990a0bf1ed47e119fa034cdb95b4545453c1da42bd63e65396aca5b718b2474aab6d28a17ec30
7
- data.tar.gz: 8f167bf7418a8304b29285a998d844c5faea8b429190efe324a0b1e8e1cad6384ec657114f037590daf617952d2f202d9fe88aa9bf6110abf39c56d9a46c5b7f
6
+ metadata.gz: c142f19f0cb4d6a513be95784aea72a1821c241fd046bf01e6897674c4fe2650f0f1721b4b102ac47799f24c2b4b8c9b894077297e6d71a96ace21e4170a638a
7
+ data.tar.gz: a2191eb672ac355b87436d688e81e19ab90c8c7259d9d818b1272a706229a4f2aba22c6d41f819b09add8c05e136ca735f21eebee3f33f91529f7ffa9ee9566f
data/README.md CHANGED
@@ -14,6 +14,24 @@ You can show GitHub activity while one day.
14
14
 
15
15
  $ furik activity
16
16
 
17
+ Output example is here:
18
+
19
+ ```
20
+ % furik activity
21
+ Today's Activities
22
+ -
23
+
24
+ ### ruby/rubyspec
25
+
26
+ - [pull_request](https://github.com/ruby/rubyspec/pull/158): Set Net::FTP.default_passive to false.
27
+ - [comment](https://github.com/ruby/rubyspec/pull/158#issuecomment-155703551): :+1: (Set Net::FTP.default_passive t...)
28
+
29
+ ### ruby/ruby
30
+
31
+ - [pull_request](https://github.com/ruby/ruby/pull/1091): Fix typo, double 'means'
32
+ (snip)
33
+ ```
34
+
17
35
  If you want to show GitHub and GitHub Enterprise activities, You need to add `-l` option to `furik` command.
18
36
 
19
37
  $ furik activity -l
@@ -13,6 +13,8 @@ module Furik
13
13
  end
14
14
 
15
15
  def token_by_hub(host = 'github.com')
16
+ return unless File.exist?(hub_config_path)
17
+
16
18
  hub_config = YAML.load_file hub_config_path
17
19
  if !hub_config[host].nil? && !hub_config[host].empty?
18
20
  hub_config[host].last['oauth_token']
@@ -1,3 +1,3 @@
1
1
  module Furik
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: furik
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - linyows