hyper-mesh 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +34 -0
- data/README.md +10 -11
- data/docs/activerecord_api.md +55 -39
- data/docs/authorization-policies.md +62 -19
- data/docs/client_side_scoping.md +1 -1
- data/docs/word_game.md +26 -0
- data/examples/action-cable-production-mode/.gitignore +21 -0
- data/examples/action-cable-production-mode/Gemfile +57 -0
- data/examples/action-cable-production-mode/Gemfile.lock +231 -0
- data/examples/action-cable-production-mode/README.md +24 -0
- data/examples/action-cable-production-mode/Rakefile +6 -0
- data/examples/action-cable-production-mode/app/assets/config/manifest.js +3 -0
- data/examples/action-cable-production-mode/app/assets/images/.keep +0 -0
- data/examples/action-cable-production-mode/app/assets/javascripts/application.js +20 -0
- data/examples/action-cable-production-mode/app/assets/javascripts/cable.js +13 -0
- data/examples/action-cable-production-mode/app/assets/javascripts/channels/.keep +0 -0
- data/examples/action-cable-production-mode/app/assets/stylesheets/application.css +15 -0
- data/examples/action-cable-production-mode/app/channels/application_cable/channel.rb +4 -0
- data/examples/action-cable-production-mode/app/channels/application_cable/connection.rb +4 -0
- data/examples/action-cable-production-mode/app/controllers/application_controller.rb +3 -0
- data/examples/action-cable-production-mode/app/controllers/test_controller.rb +5 -0
- data/examples/action-cable-production-mode/app/models/models.rb +2 -0
- data/examples/action-cable-production-mode/app/models/public/application_record.rb +3 -0
- data/examples/action-cable-production-mode/app/models/public/word.rb +2 -0
- data/examples/action-cable-production-mode/app/policies/application_policy.rb +14 -0
- data/examples/action-cable-production-mode/app/views/components.rb +16 -0
- data/examples/action-cable-production-mode/app/views/components/app.rb +18 -0
- data/examples/action-cable-production-mode/app/views/layouts/application.html.erb +14 -0
- data/examples/action-cable-production-mode/bin/bundle +3 -0
- data/examples/action-cable-production-mode/bin/rails +9 -0
- data/examples/action-cable-production-mode/bin/rake +9 -0
- data/examples/action-cable-production-mode/bin/setup +34 -0
- data/examples/action-cable-production-mode/bin/spring +16 -0
- data/examples/action-cable-production-mode/bin/update +29 -0
- data/examples/action-cable-production-mode/config.ru +5 -0
- data/examples/action-cable-production-mode/config/application.rb +18 -0
- data/examples/action-cable-production-mode/config/boot.rb +3 -0
- data/examples/action-cable-production-mode/config/cable.yml +9 -0
- data/examples/action-cable-production-mode/config/database.yml +25 -0
- data/examples/action-cable-production-mode/config/environment.rb +5 -0
- data/examples/action-cable-production-mode/config/environments/development.rb +56 -0
- data/examples/action-cable-production-mode/config/environments/production.rb +89 -0
- data/examples/action-cable-production-mode/config/environments/test.rb +42 -0
- data/examples/action-cable-production-mode/config/initializers/application_controller_renderer.rb +6 -0
- data/examples/action-cable-production-mode/config/initializers/assets.rb +11 -0
- data/examples/action-cable-production-mode/config/initializers/backtrace_silencers.rb +7 -0
- data/examples/action-cable-production-mode/config/initializers/cookies_serializer.rb +5 -0
- data/examples/action-cable-production-mode/config/initializers/filter_parameter_logging.rb +4 -0
- data/examples/action-cable-production-mode/config/initializers/hyper_mesh.rb +4 -0
- data/examples/action-cable-production-mode/config/initializers/inflections.rb +16 -0
- data/examples/action-cable-production-mode/config/initializers/mime_types.rb +4 -0
- data/examples/action-cable-production-mode/config/initializers/new_framework_defaults.rb +24 -0
- data/examples/action-cable-production-mode/config/initializers/session_store.rb +3 -0
- data/examples/action-cable-production-mode/config/initializers/wrap_parameters.rb +14 -0
- data/examples/action-cable-production-mode/config/locales/en.yml +23 -0
- data/examples/action-cable-production-mode/config/puma.rb +47 -0
- data/examples/action-cable-production-mode/config/routes.rb +5 -0
- data/examples/action-cable-production-mode/config/secrets.yml +22 -0
- data/examples/action-cable-production-mode/config/spring.rb +6 -0
- data/examples/action-cable-production-mode/db/migrate/20161114213840_create_words.rb +9 -0
- data/examples/action-cable-production-mode/db/schema.rb +34 -0
- data/examples/action-cable-production-mode/db/seeds.rb +7 -0
- data/examples/action-cable-production-mode/lib/assets/.keep +0 -0
- data/examples/action-cable-production-mode/lib/tasks/.keep +0 -0
- data/examples/action-cable-production-mode/log/.keep +0 -0
- data/examples/action-cable-production-mode/public/404.html +67 -0
- data/examples/action-cable-production-mode/public/422.html +67 -0
- data/examples/action-cable-production-mode/public/500.html +66 -0
- data/examples/action-cable-production-mode/public/apple-touch-icon-precomposed.png +0 -0
- data/examples/action-cable-production-mode/public/apple-touch-icon.png +0 -0
- data/examples/action-cable-production-mode/public/assets/.sprockets-manifest-3e9abd3ee8ba47c39a55b61ae37ed9e1.json +1 -0
- data/examples/action-cable-production-mode/public/assets/application-90043e04e9e784054fd08159fa7aafe5e23d3ffb31584b1bea1e47043c9cfb5a.js +50 -0
- data/examples/action-cable-production-mode/public/assets/application-90043e04e9e784054fd08159fa7aafe5e23d3ffb31584b1bea1e47043c9cfb5a.js.gz +0 -0
- data/examples/action-cable-production-mode/public/assets/application-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.css +0 -0
- data/examples/action-cable-production-mode/public/assets/application-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.css.gz +0 -0
- data/examples/action-cable-production-mode/public/favicon.ico +0 -0
- data/examples/action-cable-production-mode/public/robots.txt +5 -0
- data/examples/action-cable-production-mode/test/controllers/.keep +0 -0
- data/examples/action-cable-production-mode/test/fixtures/.keep +0 -0
- data/examples/action-cable-production-mode/test/fixtures/files/.keep +0 -0
- data/examples/action-cable-production-mode/test/fixtures/words.yml +7 -0
- data/examples/action-cable-production-mode/test/helpers/.keep +0 -0
- data/examples/action-cable-production-mode/test/integration/.keep +0 -0
- data/examples/action-cable-production-mode/test/mailers/.keep +0 -0
- data/examples/action-cable-production-mode/test/models/.keep +0 -0
- data/examples/action-cable-production-mode/test/models/word_test.rb +7 -0
- data/examples/action-cable-production-mode/test/test_helper.rb +10 -0
- data/examples/action-cable-production-mode/tmp/.keep +0 -0
- data/examples/action-cable-production-mode/vendor/assets/javascripts/.keep +0 -0
- data/examples/action-cable-production-mode/vendor/assets/stylesheets/.keep +0 -0
- data/examples/action-cable/app/views/layouts/application.html.erb +1 -1
- data/examples/pusher-fake/app/views/layouts/application.html.erb +1 -1
- data/examples/pusher/app/views/layouts/application.html.erb +1 -1
- data/examples/simple-poller/app/views/layouts/application.html.erb +1 -1
- data/examples/word-game/.gitignore +21 -0
- data/examples/word-game/Gemfile +57 -0
- data/examples/word-game/Gemfile.lock +241 -0
- data/examples/word-game/README.md +24 -0
- data/examples/word-game/Rakefile +6 -0
- data/examples/word-game/app/assets/config/manifest.js +3 -0
- data/examples/word-game/app/assets/images/.keep +0 -0
- data/examples/word-game/app/assets/javascripts/application.js +20 -0
- data/examples/word-game/app/assets/javascripts/cable.js +13 -0
- data/examples/word-game/app/assets/javascripts/channels/.keep +0 -0
- data/examples/word-game/app/assets/stylesheets/application.css +15 -0
- data/examples/word-game/app/channels/application_cable/channel.rb +4 -0
- data/examples/word-game/app/channels/application_cable/connection.rb +4 -0
- data/examples/word-game/app/controllers/application_controller.rb +3 -0
- data/examples/word-game/app/controllers/concerns/.keep +0 -0
- data/examples/word-game/app/helpers/application_helper.rb +2 -0
- data/examples/word-game/app/jobs/application_job.rb +2 -0
- data/examples/word-game/app/mailers/application_mailer.rb +4 -0
- data/examples/word-game/app/models/application_record.rb +3 -0
- data/examples/word-game/app/models/concerns/.keep +0 -0
- data/examples/word-game/app/models/models.rb +2 -0
- data/examples/word-game/app/models/public/.keep +0 -0
- data/examples/word-game/app/policies/application_policy.rb +14 -0
- data/examples/word-game/app/views/components.rb +16 -0
- data/examples/word-game/app/views/components/.keep +0 -0
- data/examples/word-game/app/views/layouts/application.html.erb +14 -0
- data/examples/{action-cable → word-game}/app/views/layouts/mailer.html.erb +0 -0
- data/examples/{action-cable → word-game}/app/views/layouts/mailer.text.erb +0 -0
- data/examples/word-game/bin/bundle +3 -0
- data/examples/word-game/bin/rails +9 -0
- data/examples/word-game/bin/rake +9 -0
- data/examples/word-game/bin/setup +34 -0
- data/examples/word-game/bin/spring +16 -0
- data/examples/word-game/bin/update +29 -0
- data/examples/word-game/config.ru +5 -0
- data/examples/word-game/config/application.rb +20 -0
- data/examples/word-game/config/boot.rb +3 -0
- data/examples/word-game/config/cable.yml +9 -0
- data/examples/word-game/config/database.yml +25 -0
- data/examples/word-game/config/environment.rb +5 -0
- data/examples/word-game/config/environments/development.rb +56 -0
- data/examples/word-game/config/environments/production.rb +86 -0
- data/examples/word-game/config/environments/test.rb +42 -0
- data/examples/word-game/config/initializers/application_controller_renderer.rb +6 -0
- data/examples/word-game/config/initializers/assets.rb +11 -0
- data/examples/word-game/config/initializers/backtrace_silencers.rb +7 -0
- data/examples/word-game/config/initializers/cookies_serializer.rb +5 -0
- data/examples/word-game/config/initializers/filter_parameter_logging.rb +4 -0
- data/examples/word-game/config/initializers/hyper_mesh.rb +4 -0
- data/examples/word-game/config/initializers/inflections.rb +16 -0
- data/examples/word-game/config/initializers/mime_types.rb +4 -0
- data/examples/word-game/config/initializers/new_framework_defaults.rb +24 -0
- data/examples/word-game/config/initializers/session_store.rb +3 -0
- data/examples/word-game/config/initializers/wrap_parameters.rb +14 -0
- data/examples/word-game/config/locales/en.yml +23 -0
- data/examples/word-game/config/puma.rb +47 -0
- data/examples/word-game/config/routes.rb +4 -0
- data/examples/word-game/config/secrets.yml +22 -0
- data/examples/word-game/config/spring.rb +6 -0
- data/examples/word-game/db/seeds.rb +7 -0
- data/examples/word-game/lib/assets/.keep +0 -0
- data/examples/word-game/lib/tasks/.keep +0 -0
- data/examples/word-game/log/.keep +0 -0
- data/examples/word-game/public/404.html +67 -0
- data/examples/word-game/public/422.html +67 -0
- data/examples/word-game/public/500.html +66 -0
- data/examples/word-game/public/apple-touch-icon-precomposed.png +0 -0
- data/examples/word-game/public/apple-touch-icon.png +0 -0
- data/examples/word-game/public/favicon.ico +0 -0
- data/examples/word-game/public/robots.txt +5 -0
- data/examples/word-game/test/controllers/.keep +0 -0
- data/examples/word-game/test/fixtures/.keep +0 -0
- data/examples/word-game/test/fixtures/files/.keep +0 -0
- data/examples/word-game/test/helpers/.keep +0 -0
- data/examples/word-game/test/integration/.keep +0 -0
- data/examples/word-game/test/mailers/.keep +0 -0
- data/examples/word-game/test/models/.keep +0 -0
- data/examples/word-game/test/test_helper.rb +10 -0
- data/examples/word-game/tmp/.keep +0 -0
- data/examples/word-game/vendor/assets/javascripts/.keep +0 -0
- data/examples/word-game/vendor/assets/stylesheets/.keep +0 -0
- data/lib/active_record_base.rb +20 -1
- data/lib/hyper-mesh.rb +1 -0
- data/lib/hypermesh/version.rb +1 -1
- data/lib/kernel/itself.rb +5 -0
- data/lib/reactive_record/active_record/class_methods.rb +87 -11
- data/lib/reactive_record/active_record/instance_methods.rb +4 -2
- data/lib/reactive_record/active_record/reactive_record/collection.rb +9 -12
- data/lib/reactive_record/active_record/reactive_record/isomorphic_base.rb +52 -52
- data/lib/reactive_record/active_record/reactive_record/while_loading.rb +2 -3
- data/lib/reactive_record/scope_description.rb +8 -3
- data/lib/synchromesh/client_drivers.rb +1 -9
- data/lib/synchromesh/connection.rb +2 -2
- data/lib/synchromesh/synchromesh.rb +4 -4
- data/spec/reactive_record/auto_load_itself_spec.rb +24 -0
- data/spec/reactive_record/finder_method_spec.rb +67 -0
- data/spec/reactive_record/save_while_loading_spec.rb +44 -0
- data/spec/reactive_record/update_associations_spec.rb +0 -1
- data/spec/reactive_record/update_scopes_spec.rb +1 -1
- data/spec/spec_helper.rb +5 -0
- data/spec/synchromesh/examples/random_examples.rb +33 -0
- metadata +176 -10
- data/examples/pusher-fake/app/views/layouts/mailer.html.erb +0 -13
- data/examples/pusher-fake/app/views/layouts/mailer.text.erb +0 -1
- data/examples/pusher/app/views/layouts/mailer.html.erb +0 -13
- data/examples/pusher/app/views/layouts/mailer.text.erb +0 -1
- data/examples/simple-poller/app/views/layouts/mailer.html.erb +0 -13
- data/examples/simple-poller/app/views/layouts/mailer.text.erb +0 -1
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the gem file manually.