Skip to content
This repository was archived by the owner on Oct 19, 2018. It is now read-only.

Commit 8a9f16c

Browse files
committed
all tests passing on synchromesh side 5 files with fails on reactive-record side
1 parent 4f80865 commit 8a9f16c

File tree

70 files changed

+435
-2074
lines changed

Some content is hidden

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

70 files changed

+435
-2074
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ source 'https://rubygems.org'
22
# Specify your gem's dependencies in synchromesh.gemspec
33
gem 'hyper-trace'
44
gem 'opal-browser'
5+
gem 'hyper-react', path: '../reactrb'
56
gemspec

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Synchromesh ![](logo.jpg?raw=true)
1+
# Hyper-mesh ![](https://avatars3.githubusercontent.com/u/15810526?v=3&s=200&raw=true)
22

3-
[Synchromesh](https://en.wikipedia.org/wiki/Manual_transmission#Synchromesh) provides multi-client synchronization for [reactive-record.](https://github.com/catprintlabs/reactive-record)
3+
Hyper-mesh] provides multi-client synchronization for [reactive-record.](https://github.com/catprintlabs/reactive-record)
44

55
In other words browser 1 creates, updates, or destroys a model, and the changes are broadcast to all other clients.
66

@@ -77,7 +77,7 @@ For complete details see [Authorization Policies](docs/authorization-policies.md
7777

7878
## Installation
7979

80-
If you do not already have reactrb installed, then use the reactrb-rails-generator gem to setup reactrb, reactive-record and associated gems.
80+
If you do not already have hyper-react installed, then use the reactrb-rails-generator gem to setup hyper-react, reactive-record and associated gems.
8181

8282
Then add this line to your application's Gemfile:
8383

@@ -244,7 +244,7 @@ pusher.self.js?body=1:62 WebSocket connection to
244244
failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
245245
```
246246
Check to see if you are including the pusher-fake gem.
247-
Synchromesh will always try to use pusher-fake if it sees the gem included. Remove it and you should be good to go. See [issue #5](https://github.com/reactrb/synchromesh/issues/5) for more details.
247+
Synchromesh will always try to use pusher-fake if it sees the gem included. Remove it and you should be good to go. See [issue #5](https://github.com/hyper-react/synchromesh/issues/5) for more details.
248248

249249
## Debugging
250250

docs/action_cable_quickstart.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,24 @@ You need to be on rails 5 to use ActionCable. Make sure you upgrade to rails 5
88

99
#### 2 Add ReactRb
1010

11-
If you have not already installed the `reactrb` and `reactive-record` gems, then do so now using the [reactrb-rails-generator](https://github.com/reactrb/reactrb-rails-generator) gem.
11+
If you have not already installed the `hyper-react` and `reactive-record` gems, then do so now using the [reactrb-rails-generator](https://github.com/hyper-react/reactrb-rails-generator) gem.
1212

1313
- add `gem 'reactrb-rails-generator'` to your gem file (in the development section)
1414
- run `bundle install`
15-
- run `rails g reactrb:install --all` (make sure to use the --all option)
15+
- run `rails g hyper-react:install --all` (make sure to use the --all option)
1616
- run `bundle update`
1717

1818
#### 3 Add the synchromesh gem
1919

2020
- ~~add `gem 'synchromesh'` to your gem file~~
21-
- add `gem 'synchromesh', git: 'https://github.com/reactrb/synchromesh', branch: 'authorization-policies'`
21+
- add `gem 'synchromesh', git: 'https://github.com/hyper-react/synchromesh', branch: 'authorization-policies'`
2222
- then `bundle install`
2323
- and in `app/views/components.rb` add `require 'synchromesh'`
2424
immediately below`require 'reactive-record'`
2525

2626
#### 4 Set the transport
2727

28-
Once you have reactrb installed then add this initializer:
28+
Once you have hyper-react installed then add this initializer:
2929
```ruby
3030
#config/initializers/synchromesh.rb
3131
Synchromesh.configuration do |config|

docs/simple_poller_quickstart.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,23 @@ Either take an existing rails app, or create a new one the usual way.
88

99
#### 2 Add ReactRb
1010

11-
If you have not already installed the `reactrb` and `reactive-record` gems, then do so now using the [reactrb-rails-generator](https://github.com/reactrb/reactrb-rails-generator) gem.
11+
If you have not already installed the `hyper-react` and `reactive-record` gems, then do so now using the [reactrb-rails-generator](https://github.com/hyper-react/reactrb-rails-generator) gem.
1212

1313
- add `gem 'reactrb-rails-generator'` to your gem file (in the development section)
1414
- run `bundle install`
15-
- run `bundle exec rails g reactrb:install --all` (make sure to use the --all option)
15+
- run `bundle exec rails g hyper-react:install --all` (make sure to use the --all option)
1616
- run `bundle update`
1717

1818
#### 3 Add the synchromesh gem
1919

20-
- add `gem 'synchromesh', git: 'https://github.com/reactrb/synchromesh', branch: 'authorization-policies'`
20+
- add `gem 'synchromesh', git: 'https://github.com/hyper-react/synchromesh', branch: 'authorization-policies'`
2121
- then `bundle install`
2222
- and in `app/views/components.rb` add `require 'synchromesh'`
2323
immediately below`require 'reactive-record'`
2424

2525
#### 4 Set the transport
2626

27-
Once you have reactrb installed then add this initializer:
27+
Once you have hyper-react installed then add this initializer:
2828
```ruby
2929
#config/initializers/synchromesh.rb
3030
Synchromesh.configuration do |config|

examples/action-cable/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ end
4848
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
4949
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
5050

51-
gem 'reactrb'
51+
gem 'hyper-react'
5252
gem 'react-rails', '>= 1.3.0'
5353
gem 'opal-rails', '>= 0.8.1'
5454
gem 'therubyracer', platforms: :ruby

examples/action-cable/Gemfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,15 +162,15 @@ GEM
162162
opal-rails
163163
rails (>= 3.2.13)
164164
react-rails
165-
reactrb
166-
reactrb (0.8.8)
165+
hyper-react
166+
hyper-react (0.8.8)
167167
opal (>= 0.8.0)
168168
opal-activesupport (>= 0.2.0)
169169
opal-browser (= 0.2.0)
170170
reactrb-rails-generator (0.2.0)
171171
rails (>= 4.0.0)
172172
reactrb-router (0.8.2)
173-
reactrb
173+
hyper-react
174174
ref (2.0.0)
175175
sass (3.4.22)
176176
sass-rails (5.0.6)
@@ -229,7 +229,7 @@ DEPENDENCIES
229229
react-rails (>= 1.3.0)
230230
react-router-rails (~> 0.13.3)
231231
reactive-record (>= 0.8.0)
232-
reactrb
232+
hyper-react
233233
reactrb-rails-generator
234234
reactrb-router
235235
sass-rails (~> 5.0)

examples/action-cable/app/views/components.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# app/views/components.rb
22
require 'opal'
33
require 'react'
4-
require 'reactrb'
4+
require 'hyper-react'
55
if React::IsomorphicHelpers.on_opal_client?
66
require 'opal-jquery'
77
require 'browser'

examples/simple-poller/Gemfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ gem 'jbuilder', '~> 2.5'
2929

3030
# Use Capistrano for deployment
3131
# gem 'capistrano-rails', group: :development
32-
gem 'synchromesh', path: '../..' #git: 'https://github.com/reactrb/synchromesh', branch: 'authorization-policies'
32+
gem 'synchromesh', path: '../..' #git: 'https://github.com/hyper-react/synchromesh', branch: 'authorization-policies'
3333
#gem 'pusher'
3434
#gem 'pusher-fake'
3535

@@ -53,7 +53,7 @@ end
5353
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
5454
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
5555

56-
gem 'reactrb'
56+
gem 'hyper-react'
5757
gem 'react-rails', '>= 1.3.0'
5858
gem 'opal-rails', '>= 0.8.1'
5959
gem 'therubyracer', platforms: :ruby

examples/simple-poller/Gemfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,15 +181,15 @@ GEM
181181
opal-rails
182182
rails (>= 3.2.13)
183183
react-rails
184-
reactrb
185-
reactrb (0.8.8)
184+
hyper-react
185+
hyper-react (0.8.8)
186186
opal (>= 0.8.0)
187187
opal-activesupport (>= 0.2.0)
188188
opal-browser (= 0.2.0)
189189
reactrb-rails-generator (0.2.0)
190190
rails (>= 4.0.0)
191191
reactrb-router (0.8.2)
192-
reactrb
192+
hyper-react
193193
ref (2.0.0)
194194
sass (3.4.22)
195195
sass-rails (5.0.6)
@@ -254,7 +254,7 @@ DEPENDENCIES
254254
react-rails (>= 1.3.0)
255255
react-router-rails (~> 0.13.3)
256256
reactive-record (>= 0.8.0)
257-
reactrb
257+
hyper-react
258258
reactrb-rails-generator
259259
reactrb-router
260260
sass-rails (~> 5.0)

examples/simple-poller/app/views/components.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# app/views/components.rb
22
require 'opal'
33
require 'react'
4-
#require 'reactrb'
4+
#require 'hyper-react'
55
require 'synchromesh'
66
if React::IsomorphicHelpers.on_opal_client?
77
require 'opal-jquery'

0 commit comments

Comments
 (0)