github-readme 0.1.0.pre → 0.1.1.pre

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: 11bacbace0a51057e17a85845d98b9ea192b896d
4
- data.tar.gz: 8b7ba7e7619724171a9b4baf9544932de94dd166
3
+ metadata.gz: adf3bf566c36d2315518e83f654c84c7c980a211
4
+ data.tar.gz: b5418ecc628b39ec43c6378987632f1494989f84
5
5
  SHA512:
6
- metadata.gz: 3d363f96098b0fde3ba46d7b507d68820c3f0b8a67438781f2471344cf94c238a65756617a2d7d0c336d05982a393e4a107bb8734f8dd86bf6c0eee52b3420f0
7
- data.tar.gz: 97d7bdfa7501b54428b35bf7f1ff7a511be793fe76f98e1fc2d604f83b121e7f2d6c3156e9b36b9bf014a2576b1b49d8c640d302968e9ba6f4054f4663034a36
6
+ metadata.gz: 2339d39e8a894cea2c2bb112176468f93b5e91ae4414b386e182140383e9629a369e1c51967ff1e3bdefd0e13aaf8188a9156ace4fad000fbc5ee9172de3a1a5
7
+ data.tar.gz: 2c60fbf3c7de5a71fb245549073dc34cd3fc9496b244d4722fb5bd0b9a89dea58ed8a9bc11e3d947f512164354d2b2a196d6492a338146d2240d60f27561fcf8
@@ -1,7 +1,9 @@
1
1
  language: ruby
2
2
  rvm: 2.2
3
3
  install: bundle install
4
- script: bundle exec github-readme
5
- after_script:
4
+ script:
5
+ - bundle exec github-readme
6
+ - gem install github-readme --pre
7
+ after_script:
6
8
  - bundle exec github-readme dkhamsing/awesome_bot
7
9
  - cat dkhamsing-awesome_bot-readme.md
@@ -0,0 +1,9 @@
1
+ # github-readme changelog
2
+
3
+ ## 0.1.1.pre
4
+
5
+ - [fix] crash with `summarize` when readme is empty
6
+
7
+ ## 0.1.0.pre
8
+
9
+ - initial version
data/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  Get the README from a GitHub repository :octocat:
4
4
 
5
+ [![Gem Version](https://badge.fury.io/rb/github-readme.svg)](https://badge.fury.io/rb/github-readme) [![Build Status](https://travis-ci.org/dkhamsing/github-readme.svg)](https://travis-ci.org/dkhamsing/github-readme)
6
+
5
7
  ## Installation
6
8
 
7
9
  ```shell
@@ -34,7 +34,7 @@ module GitHubReadme
34
34
  name = r['name']
35
35
 
36
36
  content = r['content']
37
- if content.nil?
37
+ if content.nil? || content == ''
38
38
  readme = nil
39
39
  summary = nil
40
40
  error = "No README"
@@ -1,5 +1,5 @@
1
1
  module GitHubReadme
2
- VERSION = '0.1.0.pre'
2
+ VERSION = '0.1.1.pre'
3
3
 
4
4
  PRODUCT = 'github-readme'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github-readme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre
4
+ version: 0.1.1.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - dkhamsing
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-23 00:00:00.000000000 Z
11
+ date: 2016-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit
@@ -34,6 +34,7 @@ extra_rdoc_files: []
34
34
  files:
35
35
  - .gitignore
36
36
  - .travis.yml
37
+ - CHANGELOG.md
37
38
  - Gemfile
38
39
  - GitHubReadme.gemspec
39
40
  - LICENSE