Skip to content

Commit

Permalink
upgrade to 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
palkan committed Nov 15, 2018
1 parent d46dd27 commit e64a366
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion anycable-rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
spec.require_paths = ["lib"]

spec.add_dependency "rails", ">= 5"
spec.add_dependency "anycable", "0.6.0.rc1"
spec.add_dependency "anycable", "~> 0.6.0"

spec.add_development_dependency "bundler", "~> 1"
spec.add_development_dependency "rake", "~> 10.0"
Expand Down
5 changes: 4 additions & 1 deletion lib/anycable/rails.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ module AnyCable
# Rails handler for AnyCable
module Rails
require "anycable/rails/railtie"

# Load Action Cable patches only when running RPC server
require "anycable/rails/actioncable/connection" if defined?(::AnyCable::CLI)
AnyCable.configure_server do
require "anycable/rails/actioncable/connection"
end
end
end

Expand Down
2 changes: 1 addition & 1 deletion lib/anycable/rails/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module AnyCable
module Rails
VERSION = "0.6.0.rc1"
VERSION = "0.6.0"
end
end

0 comments on commit e64a366

Please sign in to comment.