Skip to content

Commit 6e7af8b

Browse files
committed
Merge pull request #77 from gsamokovarov/web_console_gemspec
Add web_console gemspec
2 parents fc53513 + c9cb151 commit 6e7af8b

File tree

2 files changed

+40
-12
lines changed

2 files changed

+40
-12
lines changed

web-console.gemspec

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,22 @@ Gem::Specification.new do |s|
77
s.version = WebConsole::VERSION
88
s.authors = ["Charlie Somerville", "Genadi Samokovarov", "Guillermo Iguaran", "Ryan Dao"]
99
10-
s.homepage = "https://github.com/rails/web-console"
11-
s.summary = "Rails Console on the Browser."
10+
s.homepage = "https://github.com/rails/web_console"
11+
s.summary = "A set of debugging tools for your Rails application."
1212
s.license = 'MIT'
13+
s.files = []
1314

14-
s.files = Dir["{app,config,db,lib,vendor}/**/*", "MIT-LICENSE", "Rakefile", "README.markdown"]
15-
s.test_files = Dir["test/**/*"]
15+
s.add_dependency "web_console", WebConsole::VERSION
1616

17-
rails_version = "~> 4.0"
17+
s.post_install_message = <<-END
18+
#######################################################
1819
19-
s.add_dependency "railties", rails_version
20-
s.add_dependency "activemodel", rails_version
21-
s.add_dependency "sprockets-rails", ">= 2.0", "< 4.0"
22-
s.add_dependency "binding_of_caller", "0.7.3.pre1"
20+
The `web-console` gem has been renamed to `web_console`.
21+
Instead of installing `web-console`, you should install
22+
`web_console`. Please update your Gemfile and other
23+
dependencies accordingly as the legacy `web-console`
24+
gem will not be updated after version 3.0.
2325
24-
# We need those for the testing application to run.
25-
s.add_development_dependency "actionmailer", rails_version
26-
s.add_development_dependency "activerecord", rails_version
26+
#######################################################
27+
END
2728
end

web_console.gemspec

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
$:.push File.expand_path("../lib", __FILE__)
2+
3+
require "web_console/version"
4+
5+
Gem::Specification.new do |s|
6+
s.name = "web_console"
7+
s.version = WebConsole::VERSION
8+
s.authors = ["Charlie Somerville", "Genadi Samokovarov", "Guillermo Iguaran", "Ryan Dao"]
9+
10+
s.homepage = "https://github.com/rails/web_console"
11+
s.summary = "A set of debugging tools for your Rails application."
12+
s.license = 'MIT'
13+
14+
s.files = Dir["lib/**/*", "MIT-LICENSE", "Rakefile", "README.markdown"]
15+
s.test_files = Dir["test/**/*"]
16+
17+
rails_version = "~> 4.0"
18+
19+
s.add_dependency "railties", rails_version
20+
s.add_dependency "activemodel", rails_version
21+
s.add_dependency "sprockets-rails", ">= 2.0", "< 4.0"
22+
s.add_dependency "binding_of_caller", ">= 0.7.2"
23+
24+
# We need those for the testing application to run.
25+
s.add_development_dependency "actionmailer", rails_version
26+
s.add_development_dependency "activerecord", rails_version
27+
end

0 commit comments

Comments
 (0)