├── .circleci └── config.yml ├── .gitignore ├── .standard.yml ├── Appraisals ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── Gemfile ├── Gemfile.lock ├── Guardfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── bin ├── _guard-core ├── appraisal ├── console ├── guard ├── rake ├── rubocop ├── setup └── standardrb ├── gemfiles ├── rails_5.0.gemfile ├── rails_5.0.gemfile.lock ├── rails_5.1.gemfile ├── rails_5.1.gemfile.lock ├── rails_5.2.gemfile └── rails_5.2.gemfile.lock ├── lib ├── assets │ └── images │ │ ├── convert.rb │ │ └── serviceworker-rails │ │ ├── heart-1200x1200.png │ │ ├── heart-120x120.png │ │ ├── heart-144x144.png │ │ ├── heart-152x152.png │ │ ├── heart-180x180.png │ │ ├── heart-192x192.png │ │ ├── heart-36x36.png │ │ ├── heart-384x384.png │ │ ├── heart-48x48.png │ │ ├── heart-512x512.png │ │ ├── heart-60x60.png │ │ ├── heart-72x72.png │ │ ├── heart-76x76.png │ │ └── heart-96x96.png ├── generators │ └── serviceworker │ │ ├── install_generator.rb │ │ └── templates │ │ ├── manifest.json │ │ ├── offline.html │ │ ├── serviceworker-companion.js │ │ ├── serviceworker.js │ │ └── serviceworker.rb ├── service_worker.rb ├── serviceworker-rails.rb ├── serviceworker.rb └── serviceworker │ ├── engine.rb │ ├── handlers.rb │ ├── handlers │ ├── rack_handler.rb │ ├── sprockets_handler.rb │ └── webpacker_handler.rb │ ├── middleware.rb │ ├── rails.rb │ ├── rails │ └── version.rb │ ├── route.rb │ └── router.rb ├── serviceworker-rails.gemspec └── test ├── sample ├── .babelrc ├── .gitignore ├── .postcssrc.yml ├── Rakefile ├── app │ ├── assets │ │ ├── images │ │ │ └── .keep │ │ ├── javascripts │ │ │ ├── another │ │ │ │ └── serviceworker.js │ │ │ ├── application.js │ │ │ ├── captures │ │ │ │ ├── bar-serviceworker.js │ │ │ │ └── foo-serviceworker.js │ │ │ ├── fallback │ │ │ │ └── serviceworker.js │ │ │ ├── headers │ │ │ │ └── serviceworker.js │ │ │ └── serviceworker.js │ │ └── stylesheets │ │ │ └── application.css │ ├── controllers │ │ ├── application_controller.rb │ │ ├── concerns │ │ │ └── .keep │ │ └── welcome_controller.rb │ ├── helpers │ │ └── application_helper.rb │ ├── javascript │ │ └── packs │ │ │ ├── application.js │ │ │ └── serviceworker.js │ ├── mailers │ │ └── .keep │ ├── models │ │ ├── .keep │ │ └── concerns │ │ │ └── .keep │ └── views │ │ ├── layouts │ │ └── application.html.erb │ │ └── welcome │ │ └── index.html.erb ├── bin │ ├── bundle │ ├── rails │ ├── rake │ ├── setup │ ├── webpack │ └── webpack-dev-server ├── config.ru ├── config │ ├── application.rb │ ├── boot.rb │ ├── database.yml │ ├── environment.rb │ ├── environments │ │ ├── development.rb │ │ ├── production.rb │ │ └── test.rb │ ├── initializers │ │ ├── assets.rb │ │ ├── backtrace_silencers.rb │ │ ├── cookies_serializer.rb │ │ ├── filter_parameter_logging.rb │ │ ├── inflections.rb │ │ ├── mime_types.rb │ │ ├── serviceworker.rb │ │ ├── session_store.rb │ │ └── wrap_parameters.rb │ ├── locales │ │ └── en.yml │ ├── routes.rb │ ├── secrets.yml │ ├── webpack │ │ ├── development.js │ │ ├── environment.js │ │ ├── production.js │ │ └── test.js │ └── webpacker.yml ├── lib │ └── assets │ │ └── .keep ├── log │ └── .keep ├── package.json ├── public │ ├── 404.html │ ├── 422.html │ ├── 500.html │ ├── assets │ │ └── serviceworker.js │ └── favicon.ico └── yarn.lock ├── serviceworker ├── handlers_test.rb ├── install_generator_test.rb ├── rack_integration_test.rb ├── rails_integration_test.rb ├── rails_test.rb ├── route_test.rb └── router_test.rb ├── static └── assets │ └── serviceworker.js ├── support └── generator_test_helpers.rb └── test_helper.rb /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/.gitignore -------------------------------------------------------------------------------- /.standard.yml: -------------------------------------------------------------------------------- 1 | ignore: # default: [] 2 | - 'test/sample/node_modules/**/*' 3 | -------------------------------------------------------------------------------- /Appraisals: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/Appraisals -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /Guardfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/Guardfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/_guard-core: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/bin/_guard-core -------------------------------------------------------------------------------- /bin/appraisal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/bin/appraisal -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/bin/console -------------------------------------------------------------------------------- /bin/guard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/bin/guard -------------------------------------------------------------------------------- /bin/rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/bin/rake -------------------------------------------------------------------------------- /bin/rubocop: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/bin/rubocop -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/bin/setup -------------------------------------------------------------------------------- /bin/standardrb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/bin/standardrb -------------------------------------------------------------------------------- /gemfiles/rails_5.0.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/gemfiles/rails_5.0.gemfile -------------------------------------------------------------------------------- /gemfiles/rails_5.0.gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/gemfiles/rails_5.0.gemfile.lock -------------------------------------------------------------------------------- /gemfiles/rails_5.1.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/gemfiles/rails_5.1.gemfile -------------------------------------------------------------------------------- /gemfiles/rails_5.1.gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/gemfiles/rails_5.1.gemfile.lock -------------------------------------------------------------------------------- /gemfiles/rails_5.2.gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/gemfiles/rails_5.2.gemfile -------------------------------------------------------------------------------- /gemfiles/rails_5.2.gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/gemfiles/rails_5.2.gemfile.lock -------------------------------------------------------------------------------- /lib/assets/images/convert.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/assets/images/convert.rb -------------------------------------------------------------------------------- /lib/assets/images/serviceworker-rails/heart-1200x1200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/assets/images/serviceworker-rails/heart-1200x1200.png -------------------------------------------------------------------------------- /lib/assets/images/serviceworker-rails/heart-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/assets/images/serviceworker-rails/heart-120x120.png -------------------------------------------------------------------------------- /lib/assets/images/serviceworker-rails/heart-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/assets/images/serviceworker-rails/heart-144x144.png -------------------------------------------------------------------------------- /lib/assets/images/serviceworker-rails/heart-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/assets/images/serviceworker-rails/heart-152x152.png -------------------------------------------------------------------------------- /lib/assets/images/serviceworker-rails/heart-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/assets/images/serviceworker-rails/heart-180x180.png -------------------------------------------------------------------------------- /lib/assets/images/serviceworker-rails/heart-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/assets/images/serviceworker-rails/heart-192x192.png -------------------------------------------------------------------------------- /lib/assets/images/serviceworker-rails/heart-36x36.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/assets/images/serviceworker-rails/heart-36x36.png -------------------------------------------------------------------------------- /lib/assets/images/serviceworker-rails/heart-384x384.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/assets/images/serviceworker-rails/heart-384x384.png -------------------------------------------------------------------------------- /lib/assets/images/serviceworker-rails/heart-48x48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/assets/images/serviceworker-rails/heart-48x48.png -------------------------------------------------------------------------------- /lib/assets/images/serviceworker-rails/heart-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/assets/images/serviceworker-rails/heart-512x512.png -------------------------------------------------------------------------------- /lib/assets/images/serviceworker-rails/heart-60x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/assets/images/serviceworker-rails/heart-60x60.png -------------------------------------------------------------------------------- /lib/assets/images/serviceworker-rails/heart-72x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/assets/images/serviceworker-rails/heart-72x72.png -------------------------------------------------------------------------------- /lib/assets/images/serviceworker-rails/heart-76x76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/assets/images/serviceworker-rails/heart-76x76.png -------------------------------------------------------------------------------- /lib/assets/images/serviceworker-rails/heart-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/assets/images/serviceworker-rails/heart-96x96.png -------------------------------------------------------------------------------- /lib/generators/serviceworker/install_generator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/generators/serviceworker/install_generator.rb -------------------------------------------------------------------------------- /lib/generators/serviceworker/templates/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/generators/serviceworker/templates/manifest.json -------------------------------------------------------------------------------- /lib/generators/serviceworker/templates/offline.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/generators/serviceworker/templates/offline.html -------------------------------------------------------------------------------- /lib/generators/serviceworker/templates/serviceworker-companion.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/generators/serviceworker/templates/serviceworker-companion.js -------------------------------------------------------------------------------- /lib/generators/serviceworker/templates/serviceworker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/generators/serviceworker/templates/serviceworker.js -------------------------------------------------------------------------------- /lib/generators/serviceworker/templates/serviceworker.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/generators/serviceworker/templates/serviceworker.rb -------------------------------------------------------------------------------- /lib/service_worker.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require "serviceworker" 4 | -------------------------------------------------------------------------------- /lib/serviceworker-rails.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/serviceworker-rails.rb -------------------------------------------------------------------------------- /lib/serviceworker.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/serviceworker.rb -------------------------------------------------------------------------------- /lib/serviceworker/engine.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/serviceworker/engine.rb -------------------------------------------------------------------------------- /lib/serviceworker/handlers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/serviceworker/handlers.rb -------------------------------------------------------------------------------- /lib/serviceworker/handlers/rack_handler.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/serviceworker/handlers/rack_handler.rb -------------------------------------------------------------------------------- /lib/serviceworker/handlers/sprockets_handler.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/serviceworker/handlers/sprockets_handler.rb -------------------------------------------------------------------------------- /lib/serviceworker/handlers/webpacker_handler.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/serviceworker/handlers/webpacker_handler.rb -------------------------------------------------------------------------------- /lib/serviceworker/middleware.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/serviceworker/middleware.rb -------------------------------------------------------------------------------- /lib/serviceworker/rails.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/serviceworker/rails.rb -------------------------------------------------------------------------------- /lib/serviceworker/rails/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/serviceworker/rails/version.rb -------------------------------------------------------------------------------- /lib/serviceworker/route.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/serviceworker/route.rb -------------------------------------------------------------------------------- /lib/serviceworker/router.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/lib/serviceworker/router.rb -------------------------------------------------------------------------------- /serviceworker-rails.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/serviceworker-rails.gemspec -------------------------------------------------------------------------------- /test/sample/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/.babelrc -------------------------------------------------------------------------------- /test/sample/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/.gitignore -------------------------------------------------------------------------------- /test/sample/.postcssrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/.postcssrc.yml -------------------------------------------------------------------------------- /test/sample/Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/Rakefile -------------------------------------------------------------------------------- /test/sample/app/assets/images/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/sample/app/assets/javascripts/another/serviceworker.js: -------------------------------------------------------------------------------- 1 | console.log('SW:', 'Hello from Another ServiceWorker!'); 2 | -------------------------------------------------------------------------------- /test/sample/app/assets/javascripts/application.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/app/assets/javascripts/application.js -------------------------------------------------------------------------------- /test/sample/app/assets/javascripts/captures/bar-serviceworker.js: -------------------------------------------------------------------------------- 1 | console.log('SW:', 'Hello from Bar ServiceWorker!'); 2 | -------------------------------------------------------------------------------- /test/sample/app/assets/javascripts/captures/foo-serviceworker.js: -------------------------------------------------------------------------------- 1 | console.log('SW:', 'Hello from Foo ServiceWorker!'); 2 | 3 | -------------------------------------------------------------------------------- /test/sample/app/assets/javascripts/fallback/serviceworker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/app/assets/javascripts/fallback/serviceworker.js -------------------------------------------------------------------------------- /test/sample/app/assets/javascripts/headers/serviceworker.js: -------------------------------------------------------------------------------- 1 | console.log('SW:', 'Hello from Header ServiceWorker!'); 2 | -------------------------------------------------------------------------------- /test/sample/app/assets/javascripts/serviceworker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/app/assets/javascripts/serviceworker.js -------------------------------------------------------------------------------- /test/sample/app/assets/stylesheets/application.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/app/assets/stylesheets/application.css -------------------------------------------------------------------------------- /test/sample/app/controllers/application_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/app/controllers/application_controller.rb -------------------------------------------------------------------------------- /test/sample/app/controllers/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/sample/app/controllers/welcome_controller.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/app/controllers/welcome_controller.rb -------------------------------------------------------------------------------- /test/sample/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | module ApplicationHelper 4 | end 5 | -------------------------------------------------------------------------------- /test/sample/app/javascript/packs/application.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/app/javascript/packs/application.js -------------------------------------------------------------------------------- /test/sample/app/javascript/packs/serviceworker.js: -------------------------------------------------------------------------------- 1 | console.log('SW:', 'Hello from Webpack ServiceWorker!'); 2 | -------------------------------------------------------------------------------- /test/sample/app/mailers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/sample/app/models/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/sample/app/models/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/sample/app/views/layouts/application.html.erb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/app/views/layouts/application.html.erb -------------------------------------------------------------------------------- /test/sample/app/views/welcome/index.html.erb: -------------------------------------------------------------------------------- 1 |

Hello, World!

2 | -------------------------------------------------------------------------------- /test/sample/bin/bundle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/bin/bundle -------------------------------------------------------------------------------- /test/sample/bin/rails: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/bin/rails -------------------------------------------------------------------------------- /test/sample/bin/rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/bin/rake -------------------------------------------------------------------------------- /test/sample/bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/bin/setup -------------------------------------------------------------------------------- /test/sample/bin/webpack: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/bin/webpack -------------------------------------------------------------------------------- /test/sample/bin/webpack-dev-server: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/bin/webpack-dev-server -------------------------------------------------------------------------------- /test/sample/config.ru: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/config.ru -------------------------------------------------------------------------------- /test/sample/config/application.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/config/application.rb -------------------------------------------------------------------------------- /test/sample/config/boot.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/config/boot.rb -------------------------------------------------------------------------------- /test/sample/config/database.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/config/database.yml -------------------------------------------------------------------------------- /test/sample/config/environment.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/config/environment.rb -------------------------------------------------------------------------------- /test/sample/config/environments/development.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/config/environments/development.rb -------------------------------------------------------------------------------- /test/sample/config/environments/production.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/config/environments/production.rb -------------------------------------------------------------------------------- /test/sample/config/environments/test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/config/environments/test.rb -------------------------------------------------------------------------------- /test/sample/config/initializers/assets.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/config/initializers/assets.rb -------------------------------------------------------------------------------- /test/sample/config/initializers/backtrace_silencers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/config/initializers/backtrace_silencers.rb -------------------------------------------------------------------------------- /test/sample/config/initializers/cookies_serializer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/config/initializers/cookies_serializer.rb -------------------------------------------------------------------------------- /test/sample/config/initializers/filter_parameter_logging.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/config/initializers/filter_parameter_logging.rb -------------------------------------------------------------------------------- /test/sample/config/initializers/inflections.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/config/initializers/inflections.rb -------------------------------------------------------------------------------- /test/sample/config/initializers/mime_types.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/config/initializers/mime_types.rb -------------------------------------------------------------------------------- /test/sample/config/initializers/serviceworker.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/config/initializers/serviceworker.rb -------------------------------------------------------------------------------- /test/sample/config/initializers/session_store.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/config/initializers/session_store.rb -------------------------------------------------------------------------------- /test/sample/config/initializers/wrap_parameters.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/config/initializers/wrap_parameters.rb -------------------------------------------------------------------------------- /test/sample/config/locales/en.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/config/locales/en.yml -------------------------------------------------------------------------------- /test/sample/config/routes.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/config/routes.rb -------------------------------------------------------------------------------- /test/sample/config/secrets.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/config/secrets.yml -------------------------------------------------------------------------------- /test/sample/config/webpack/development.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/config/webpack/development.js -------------------------------------------------------------------------------- /test/sample/config/webpack/environment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/config/webpack/environment.js -------------------------------------------------------------------------------- /test/sample/config/webpack/production.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/config/webpack/production.js -------------------------------------------------------------------------------- /test/sample/config/webpack/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/config/webpack/test.js -------------------------------------------------------------------------------- /test/sample/config/webpacker.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/config/webpacker.yml -------------------------------------------------------------------------------- /test/sample/lib/assets/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/sample/log/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/sample/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/package.json -------------------------------------------------------------------------------- /test/sample/public/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/public/404.html -------------------------------------------------------------------------------- /test/sample/public/422.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/public/422.html -------------------------------------------------------------------------------- /test/sample/public/500.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/public/500.html -------------------------------------------------------------------------------- /test/sample/public/assets/serviceworker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/public/assets/serviceworker.js -------------------------------------------------------------------------------- /test/sample/public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/sample/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/sample/yarn.lock -------------------------------------------------------------------------------- /test/serviceworker/handlers_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/serviceworker/handlers_test.rb -------------------------------------------------------------------------------- /test/serviceworker/install_generator_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/serviceworker/install_generator_test.rb -------------------------------------------------------------------------------- /test/serviceworker/rack_integration_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/serviceworker/rack_integration_test.rb -------------------------------------------------------------------------------- /test/serviceworker/rails_integration_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/serviceworker/rails_integration_test.rb -------------------------------------------------------------------------------- /test/serviceworker/rails_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/serviceworker/rails_test.rb -------------------------------------------------------------------------------- /test/serviceworker/route_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/serviceworker/route_test.rb -------------------------------------------------------------------------------- /test/serviceworker/router_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/serviceworker/router_test.rb -------------------------------------------------------------------------------- /test/static/assets/serviceworker.js: -------------------------------------------------------------------------------- 1 | console.log('SW:', 'Hello from Rack ServiceWorker!'); 2 | -------------------------------------------------------------------------------- /test/support/generator_test_helpers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/support/generator_test_helpers.rb -------------------------------------------------------------------------------- /test/test_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rossta/serviceworker-rails/HEAD/test/test_helper.rb --------------------------------------------------------------------------------