Skip to content

Commit 4679d2c

Browse files
committed
rails-hyperstack ready to go
1 parent 6467420 commit 4679d2c

File tree

118 files changed

+1876
-178
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+1876
-178
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ env:
2626
- COMPONENT=hyper-state LANGUAGE=ruby LANGUAGE_VERSION=2.5.1
2727
- COMPONENT=hyper-store LANGUAGE=ruby LANGUAGE_VERSION=2.5.1
2828
- COMPONENT=hyper-trace LANGUAGE=ruby LANGUAGE_VERSION=2.5.1
29-
- COMPONENT=hyperloop LANGUAGE=ruby LANGUAGE_VERSION=2.5.1
29+
- COMPONENT=rails-hyperstack LANGUAGE=ruby LANGUAGE_VERSION=2.5.1
3030
- COMPONENT=hyperstack-config LANGUAGE=ruby LANGUAGE_VERSION=2.5.1
3131
before_install:
3232
# yarn is in /usr/local/bin/yarn version 1.3.2 and is not a package

ruby/hyper-operation/lib/hyper-operation/transport/client_drivers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def self.sync_dispatch(data)
138138
end
139139
controller.session.delete 'hyperstack-dummy-init' unless controller.session.id
140140
id = "#{SecureRandom.uuid}-#{controller.session.id}"
141-
auto_connections = Hyperstack::AutoConnect.channels(id, controller.acting_user)
141+
auto_connections = Hyperstack::AutoConnect.channels(id, controller.acting_user) rescue []
142142
end
143143
config_hash = {
144144
transport: Hyperstack.transport,

ruby/rails-hyperstack/.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ before_script:
2323
- if [[ "$DRIVER" == "google-chrome" ]]; then bundle exec chromedriver --version; fi
2424
- if [[ "$DRIVER" == "google-chrome" ]]; then google-chrome --version; fi
2525
- if [[ "$DRIVER" == "google-chrome" ]]; then which google-chrome; fi
26-
script: echo "Needs tests!!"
26+
script: bundle exec rake spec:prepare spec

ruby/rails-hyperstack/Gemfile

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
source 'https://rubygems.org'
2-
gem 'hyperloop-config', path: '../hyperloop-config'
3-
gem 'hyper-store', path: '../hyper-store'
4-
gem 'hyper-component', path: '../hyper-component'
5-
gem 'hyper-operation', path: '../hyper-operation'
6-
gem 'hyper-model', path: '../hyper-model'
7-
gem 'hyper-router', path: '../hyper-router'
2+
gem 'hyperstack-config', path: '../hyperstack-config'
3+
gem 'hyper-state', path: '../hyper-state'
4+
gem 'hyper-component', path: '../hyper-component'
5+
gem 'hyper-operation', path: '../hyper-operation'
6+
gem 'hyper-model', path: '../hyper-model'
7+
gem 'hyper-store', path: '../hyper-store'
8+
gem 'hyper-router', path: '../hyper-router'
9+
gem 'hyper-spec', path: '../hyper-spec'
10+
gem 'rails', '~> 5.2'
811
gemspec

0 commit comments

Comments
 (0)