From fb01426c4f6f598cf772fe35a8f4124c557161ad Mon Sep 17 00:00:00 2001 From: Gerard Caulfield Date: Tue, 21 Jun 2016 23:07:59 +1000 Subject: [PATCH] Update urls to point to awesome-print organization Before this commit a number or our urls were out of date which lead to problems such as our build status on Travis being invalid and people being asked to clone from an old version of the repository. Thanks to Michael Dvorkin for his many years of incredible work on this project and for creating this organization so that the project could live on with the help of others. --- CONTRIBUTING.md | 2 +- README.md | 14 +++++++------- spec/methods_spec.rb | 2 +- spec/misc_spec.rb | 10 +++++----- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9605b57..d1f2d12 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,7 +6,7 @@ We love pull requests. Here's a quick guide: 1. Create your feature branch (`git checkout -b my-new-feature`) -1. Update [CHANGELOG.md](https://github.com/michaeldv/awesome_print/blob/master/CHANGELOG.md) with a brief description of your changes under the `unreleased` heading. +1. Update [CHANGELOG.md](https://github.com/awesome-print/awesome_print/blob/master/CHANGELOG.md) with a brief description of your changes under the `unreleased` heading. 1. Add/Update tests were appropriate diff --git a/README.md b/README.md index e01755c..bd2b85e 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![Code Climate][code_climate_badge]][code_climate] [![Code Climate Coverage][code_climate_coverage_badge]][code_climate] [![RubyGems][gem_downloads_badge]][ruby_gems] -[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/michaeldv/awesome_print?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/awesome-print/awesome_print?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) Awesome Print is a Ruby library that pretty prints Ruby objects in full color @@ -21,7 +21,7 @@ v2.0 will *require* Ruby v1.9.3 or later and Rails v3.0 or later. $ gem install awesome_print # Cloning the repository - $ git clone git://github.com/michaeldv/awesome_print.git + $ git clone git://github.com/awesome-print/awesome_print.git ### Usage ### @@ -340,8 +340,8 @@ Released under the MIT license. See LICENSE file for details. [gem_version_badge]: https://img.shields.io/gem/v/awesome_print.svg?style=flat [gem_downloads_badge]: http://img.shields.io/gem/dt/awesome_print.svg?style=flat [ruby_gems]: http://rubygems.org/gems/awesome_print -[travis_ci]: http://travis-ci.org/michaeldv/awesome_print -[travis_ci_badge]: https://img.shields.io/travis/michaeldv/awesome_print/master.svg?style=flat -[code_climate]: https://codeclimate.com/github/michaeldv/awesome_print -[code_climate_badge]: http://img.shields.io/codeclimate/github/michaeldv/awesome_print.svg?style=flat -[code_climate_coverage_badge]: https://codeclimate.com/github/michaeldv/awesome_print/badges/coverage.svg +[travis_ci]: http://travis-ci.org/awesome-print/awesome_print +[travis_ci_badge]: https://img.shields.io/travis/awesome-print/awesome_print/master.svg?style=flat +[code_climate]: https://codeclimate.com/github/awesome-print/awesome_print +[code_climate_badge]: http://img.shields.io/codeclimate/github/awesome-print/awesome_print.svg?style=flat +[code_climate_coverage_badge]: https://codeclimate.com/github/awesome-print/awesome_print/badges/coverage.svg diff --git a/spec/methods_spec.rb b/spec/methods_spec.rb index 0ad25ab..f837a30 100644 --- a/spec/methods_spec.rb +++ b/spec/methods_spec.rb @@ -428,7 +428,7 @@ RSpec.describe "Methods arrays" do expect(out).to eq("[\n [0] none() Hello\n [1] one() Hello\n]") end - # See https://github.com/michaeldv/awesome_print/issues/30 for details. + # See https://github.com/awesome-print/awesome_print/issues/30 for details. it "grepping methods and converting them to_sym should work as expected" do class Hello private diff --git a/spec/misc_spec.rb b/spec/misc_spec.rb index 21b50ce..a26c702 100644 --- a/spec/misc_spec.rb +++ b/spec/misc_spec.rb @@ -25,14 +25,14 @@ RSpec.describe "AwesomePrint" do expect(weird.new.ai(:plain => false)).to eq("ice") end - # See https://github.com/michaeldv/awesome_print/issues/35 + # See https://github.com/awesome-print/awesome_print/issues/35 it "handle array grep when pattern contains / chapacter" do hash = { "1/x" => 1, "2//x" => :"2" } grepped = hash.keys.sort.grep(/^(\d+)\//) { $1 } expect(grepped.ai(:plain => true, :multiline => false)).to eq('[ "1", "2" ]') end - # See https://github.com/michaeldv/awesome_print/issues/85 + # See https://github.com/awesome-print/awesome_print/issues/85 if RUBY_VERSION >= "1.8.7" it "handle array grep when a method is defined in C and thus doesn't have a binding" do arr = (0..6).to_a @@ -58,14 +58,14 @@ RSpec.describe "AwesomePrint" do expect(ENV.ai).to eq(ENV.to_hash.ai) end - # See https://github.com/michaeldv/awesome_print/issues/134 + # See https://github.com/awesome-print/awesome_print/issues/134 it "IPAddr workaround" do require "ipaddr" ipaddr = IPAddr.new("3ffe:505:2::1") expect(ipaddr.ai).to eq("#") end - # See https://github.com/michaeldv/awesome_print/issues/139 + # See https://github.com/awesome-print/awesome_print/issues/139 it "Object that overrides == and expects the :id method" do weird = Class.new do # Raises NoMethodError: undefined method `id' when "other" is nil or ENV. @@ -137,7 +137,7 @@ EOS AwesomePrint.defaults = nil end - # See https://github.com/michaeldv/awesome_print/issues/98 + # See https://github.com/awesome-print/awesome_print/issues/98 it "should properly merge the defaults" do AwesomePrint.defaults = { :indent => -2, :sort_keys => true } hash = { [0, 0, 255] => :yellow, :red => "rgb(255, 0, 0)", "magenta" => "rgb(255, 0, 255)" }