Skip to content

Commit

Permalink
Upgrade AnyCable
Browse files Browse the repository at this point in the history
  • Loading branch information
palkan committed Oct 16, 2023
1 parent 72f9fac commit dc21f05
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .dockerdev/compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ services:
command: bundle exec rails tailwindcss:watch

ws: &ws
image: anycable/anycable-go:1.4
image: anycable/anycable-go:1.4.5
ports:
- '8080:8080'
- '8090:8090'
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ gem "activerecord-postgres_enum"
gem "graphql", "~> 2.0"

# Scalable WebSockets
gem "anycable-rails", "~> 1.4"
gem "anycable-rails", "~> 1.4.2"
# Use JWT for authentication
gem "anycable-rails-jwt", "~> 0.1"

Expand Down
14 changes: 7 additions & 7 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -79,17 +79,17 @@ GEM
tzinfo (~> 2.0)
addressable (2.8.5)
public_suffix (>= 2.0.2, < 6.0)
anycable (1.4.2)
anycable-core (= 1.4.2)
anycable (1.4.3)
anycable-core (= 1.4.3)
google-protobuf (~> 3.23)
grpc (~> 1.53)
anycable-core (1.4.2)
anycable-core (1.4.3)
anyway_config (~> 2.2)
google-protobuf (>= 3.13)
anycable-rails (1.4.1)
anycable-rails (1.4.2)
anycable
anycable-rails-core (= 1.4.1)
anycable-rails-core (1.4.1)
anycable-rails-core (= 1.4.2)
anycable-rails-core (1.4.2)
actioncable (>= 6.0)
anycable-core (~> 1.4)
globalid
Expand Down Expand Up @@ -313,7 +313,7 @@ PLATFORMS

DEPENDENCIES
activerecord-postgres_enum
anycable-rails (~> 1.4)
anycable-rails (~> 1.4.2)
anycable-rails-jwt (~> 0.1)
bcrypt (~> 3.1.7)
bootsnap
Expand Down
4 changes: 2 additions & 2 deletions config/importmap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
pin "@hotwired/stimulus", to: "stimulus.min.js", preload: true
pin "@hotwired/stimulus-loading", to: "stimulus-loading.js", preload: true
pin "@anycable/web", to: "https://ga.jspm.io/npm:@anycable/[email protected]/index.js", preload: true
pin "@anycable/core", to: "https://ga.jspm.io/npm:@anycable/[email protected].0/index.js", preload: true
pin "@anycable/core", to: "https://ga.jspm.io/npm:@anycable/[email protected].9/index.js", preload: true
pin "nanoevents", to: "https://ga.jspm.io/npm:[email protected]/index.js", preload: true
pin "@hotwired/turbo", to: "https://ga.jspm.io/npm:@hotwired/[email protected]/dist/turbo.es2017-esm.js", preload: true
pin "@anycable/turbo-stream", to: "https://ga.jspm.io/npm:@anycable/turbo-stream@0.3.2/index.js", preload: true
pin "@anycable/turbo-stream", to: "https://ga.jspm.io/npm:@anycable/turbo-stream@0.4.0/index.js", preload: true

pin "cable", to: "cable.js", preload: true
pin_all_from "app/javascript/controllers", under: "controllers"

0 comments on commit dc21f05

Please sign in to comment.