Skip to content
This repository
Browse code

Merge pull request #3909 from laserlemon/patch-1

Add dependency status (a la build status) to the README
  • Loading branch information...
commit b989b809606b40e893757e24d203ef828b7f6580 2 parents 7b1930a + 255c485
Xavier Noria fxn authored

Showing 2 changed files with 7 additions and 4 deletions. Show diff stats Hide diff stats

  1. +3 1 README.rdoc
  2. +4 3 Rakefile
4 README.rdoc
Source Rendered
@@ -67,7 +67,9 @@ We encourage you to contribute to Ruby on Rails! Please check out the {Contribut
67 67 guide}[http://edgeguides.rubyonrails.org/contributing_to_ruby_on_rails.html] for guidelines about how
68 68 to proceed. {Join us}[http://contributors.rubyonrails.org]!
69 69
70   -== Travis Build Status {<img src="https://secure.travis-ci.org/rails/rails.png"/>}[http://travis-ci.org/rails/rails]
  70 +== Build Status {<img src="https://secure.travis-ci.org/rails/rails.png"/>}[http://travis-ci.org/rails/rails]
  71 +
  72 +== Dependency Status {<img src="https://gemnasium.com/rails/rails.png?travis"/>}[https://gemnasium.com/rails/rails]
71 73
72 74 == License
73 75
7 Rakefile
@@ -77,9 +77,10 @@ RDoc::Task.new do |rdoc|
77 77 rdoc_main.gsub!(/^(?=\S).*?\b(?=Rails)\b/) { "#$&\\" }
78 78 rdoc_main.gsub!(%r{link:/rails/rails/blob/master/(\w+)/README\.rdoc}, "link:files/\\1/README_rdoc.html")
79 79
80   - # Remove Travis build status image from API pages. Only GitHub README page gets this image
81   - # https build image is used to avoid GitHub caching: http://about.travis-ci.org/docs/user/status-images
82   - rdoc_main.gsub!(%r{^== Travis.*}, '')
  80 + # Remove Travis and Gemnasium status images from API pages. Only GitHub
  81 + # README page gets this image. Travis' https build image is used to avoid
  82 + # GitHub caching: http://about.travis-ci.org/docs/user/status-images
  83 + rdoc_main.gsub!(%r{^== (Build|Dependency) Status.*}, '')
83 84
84 85 File.open(RDOC_MAIN, 'w') do |f|
85 86 f.write(rdoc_main)

0 comments on commit b989b80

Please sign in to comment.
Something went wrong with that request. Please try again.