Skip to content

Commit

Permalink
Bring back the name to web-console
Browse files Browse the repository at this point in the history
Exactly at the finish line we found https://rubygems.org/gems/web_console.

:troll:
  • Loading branch information
gsamokovarov committed Nov 26, 2014
1 parent e8c0831 commit 2918f0b
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 46 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source 'https://rubygems.org'

gemspec name: 'web_console'
gemspec

gem 'rails', github: 'rails/rails'

Expand Down
6 changes: 3 additions & 3 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<a href=https://github.com/rails/web-console/tree/v1.0.4>v1.0.4</a>
</p>

Web Console [![Build Status](https://travis-ci.org/rails/web_console.svg?branch=master)](https://travis-ci.org/rails/web_console)
Web Console [![Build Status](https://travis-ci.org/rails/web-console.svg?branch=master)](https://travis-ci.org/rails/web-console)
===========

_Web Console_ is a set of debugging tools for your Rails application.
Expand Down Expand Up @@ -51,7 +51,7 @@ To install it in your current application, add the following to your `Gemfile`.

```ruby
group :development do
gem 'web_console', '~> 2.0'
gem 'web-console', '~> 2.0'
end
```

Expand All @@ -60,7 +60,7 @@ pre-release version of [binding_of_caller].

```ruby
group :development do
gem 'web_console', '~> 2.0'
gem 'web-console', '~> 2.0'

gem 'binding_of_caller', '0.7.3.pre1'
end
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ Rake::TestTask.new(:test) do |t|
t.verbose = false
end

Bundler::GemHelper.install_tasks(name: 'web_console')
Bundler::GemHelper.install_tasks

task default: :test
2 changes: 1 addition & 1 deletion gemfiles/Gemfile-4-0-stable
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source 'https://rubygems.org'

gemspec path: '..', name: 'web_console'
gemspec path: '..'

gem 'rails', github: 'rails/rails', branch: '4-0-stable'

Expand Down
2 changes: 1 addition & 1 deletion gemfiles/Gemfile-4-1-stable
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source 'https://rubygems.org'

gemspec path: '..', name: 'web_console'
gemspec path: '..'

gem 'rails', github: 'rails/rails', branch: '4-1-stable'

Expand Down
23 changes: 11 additions & 12 deletions web-console.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,21 @@ Gem::Specification.new do |s|
s.version = WebConsole::VERSION
s.authors = ["Charlie Somerville", "Genadi Samokovarov", "Guillermo Iguaran", "Ryan Dao"]
s.email = ["[email protected]", "[email protected]", "[email protected]"]
s.homepage = "https://github.com/rails/web_console"
s.homepage = "https://github.com/rails/web-console"
s.summary = "A set of debugging tools for your Rails application."
s.license = 'MIT'
s.files = []

s.add_dependency "web_console", WebConsole::VERSION
s.files = Dir["lib/**/*", "MIT-LICENSE", "Rakefile", "README.markdown"]
s.test_files = Dir["test/**/*"]

s.post_install_message = <<-END
#######################################################
rails_version = "~> 4.0"

The `web-console` gem has been renamed to `web_console`.
Instead of installing `web-console`, you should install
`web_console`. Please update your Gemfile and other
dependencies accordingly as the legacy `web-console`
gem will not be updated after version 3.0.
s.add_dependency "railties", rails_version
s.add_dependency "activemodel", rails_version
s.add_dependency "sprockets-rails", ">= 2.0", "< 4.0"
s.add_dependency "binding_of_caller", ">= 0.7.2"

#######################################################
END
# We need those for the testing application to run.
s.add_development_dependency "actionmailer", rails_version
s.add_development_dependency "activerecord", rails_version
end
27 changes: 0 additions & 27 deletions web_console.gemspec

This file was deleted.

0 comments on commit 2918f0b

Please sign in to comment.