local_pac 0.6.3 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.bowerrc +4 -0
- data/.gitignore +1 -0
- data/Gemfile.lock +32 -30
- data/app/assets/javascripts/application.js +21 -5
- data/app/assets/stylesheets/application.css.scss +111 -10
- data/app/assets/stylesheets/buttons.scss +81 -0
- data/app/controllers/application_controller.rb +51 -15
- data/app/controllers/assets_controller.rb +2 -1
- data/app/controllers/git_hook_controller.rb +29 -39
- data/app/controllers/lookup_controller.rb +41 -6
- data/app/locales/en.yml +30 -5
- data/app/views/application.haml +12 -1
- data/app/views/form.haml +23 -5
- data/bin/local_pac +0 -1
- data/bower.json +9 -0
- data/lib/local_pac/actions/create_file.rb +1 -1
- data/lib/local_pac/actions/create_output.rb +1 -1
- data/lib/local_pac/actions/handle_error.rb +12 -1
- data/lib/local_pac/config.rb +1 -1
- data/lib/local_pac/error_handler.rb +54 -7
- data/lib/local_pac/error_messages.rb +132 -0
- data/lib/local_pac/exceptions.rb +33 -12
- data/lib/local_pac/main.rb +11 -0
- data/lib/local_pac/pac_file_validator.rb +10 -1
- data/lib/local_pac/proxy_pac/pac_engine.rb +9 -6
- data/lib/local_pac/proxy_pac/pac_parser.rb +3 -1
- data/lib/local_pac/version.rb +1 -1
- data/lib/local_pac.rb +4 -2
- data/local_pac.gemspec +8 -8
- data/script/acceptance_test +0 -0
- data/script/bootstrap +59 -1
- data/spec/actions/handle_error_spec.rb +45 -0
- data/spec/error_handler_spec.rb +89 -8
- data/spec/features/check_git_push_spec.rb +2 -2
- data/spec/features/lookup_proxy_spec.rb +63 -1
- data/spec/pac_file_validator_spec.rb +1 -1
- data/spec/proxy_pac/pac_engine_spec.rb +20 -0
- data/spec/proxy_pac/pac_parser_spec.rb +1 -1
- data/spec/support/helper_features.rb +12 -4
- data/spec/support/reporting.rb +5 -1
- data/spec/support/rspec.rb +0 -3
- data/vendor/assets/components/.keep +0 -0
- data/vendor/assets/components/bootstrap/Gruntfile.js +421 -0
- data/vendor/assets/components/bootstrap/LICENSE +21 -0
- data/vendor/assets/components/bootstrap/README.md +173 -0
- data/vendor/assets/components/bootstrap/bower.json +24 -0
- data/vendor/assets/components/bootstrap/dist/css/bootstrap-theme.css +347 -0
- data/vendor/assets/components/bootstrap/dist/css/bootstrap-theme.css.map +1 -0
- data/vendor/assets/components/bootstrap/dist/css/bootstrap-theme.min.css +7 -0
- data/vendor/assets/components/bootstrap/dist/css/bootstrap.css +5785 -0
- data/vendor/assets/components/bootstrap/dist/css/bootstrap.css.map +1 -0
- data/vendor/assets/components/bootstrap/dist/css/bootstrap.min.css +7 -0
- data/vendor/assets/components/bootstrap/dist/fonts/glyphicons-halflings-regular.eot +0 -0
- data/vendor/assets/components/bootstrap/dist/fonts/glyphicons-halflings-regular.svg +229 -0
- data/vendor/assets/components/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/vendor/assets/components/bootstrap/dist/fonts/glyphicons-halflings-regular.woff +0 -0
- data/vendor/assets/components/bootstrap/dist/js/bootstrap.js +1951 -0
- data/vendor/assets/components/bootstrap/dist/js/bootstrap.min.js +6 -0
- data/vendor/assets/components/bootstrap/fonts/glyphicons-halflings-regular.eot +0 -0
- data/vendor/assets/components/bootstrap/fonts/glyphicons-halflings-regular.svg +229 -0
- data/vendor/assets/components/bootstrap/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/vendor/assets/components/bootstrap/fonts/glyphicons-halflings-regular.woff +0 -0
- data/vendor/assets/components/bootstrap/grunt/bs-glyphicons-data-generator.js +34 -0
- data/vendor/assets/components/bootstrap/grunt/bs-lessdoc-parser.js +236 -0
- data/vendor/assets/components/bootstrap/grunt/bs-raw-files-generator.js +31 -0
- data/vendor/assets/components/bootstrap/grunt/shrinkwrap.js +28 -0
- data/vendor/assets/components/bootstrap/js/affix.js +137 -0
- data/vendor/assets/components/bootstrap/js/alert.js +88 -0
- data/vendor/assets/components/bootstrap/js/button.js +107 -0
- data/vendor/assets/components/bootstrap/js/carousel.js +205 -0
- data/vendor/assets/components/bootstrap/js/collapse.js +170 -0
- data/vendor/assets/components/bootstrap/js/dropdown.js +147 -0
- data/vendor/assets/components/bootstrap/js/modal.js +243 -0
- data/vendor/assets/components/bootstrap/js/popover.js +110 -0
- data/vendor/assets/components/bootstrap/js/scrollspy.js +153 -0
- data/vendor/assets/components/bootstrap/js/tab.js +125 -0
- data/vendor/assets/components/bootstrap/js/tooltip.js +399 -0
- data/vendor/assets/components/bootstrap/js/transition.js +48 -0
- data/vendor/assets/components/bootstrap/less/alerts.less +67 -0
- data/vendor/assets/components/bootstrap/less/badges.less +55 -0
- data/vendor/assets/components/bootstrap/less/bootstrap.less +49 -0
- data/vendor/assets/components/bootstrap/less/breadcrumbs.less +26 -0
- data/vendor/assets/components/bootstrap/less/button-groups.less +226 -0
- data/vendor/assets/components/bootstrap/less/buttons.less +159 -0
- data/vendor/assets/components/bootstrap/less/carousel.less +232 -0
- data/vendor/assets/components/bootstrap/less/close.less +33 -0
- data/vendor/assets/components/bootstrap/less/code.less +63 -0
- data/vendor/assets/components/bootstrap/less/component-animations.less +29 -0
- data/vendor/assets/components/bootstrap/less/dropdowns.less +213 -0
- data/vendor/assets/components/bootstrap/less/forms.less +438 -0
- data/vendor/assets/components/bootstrap/less/glyphicons.less +233 -0
- data/vendor/assets/components/bootstrap/less/grid.less +84 -0
- data/vendor/assets/components/bootstrap/less/input-groups.less +162 -0
- data/vendor/assets/components/bootstrap/less/jumbotron.less +44 -0
- data/vendor/assets/components/bootstrap/less/labels.less +64 -0
- data/vendor/assets/components/bootstrap/less/list-group.less +110 -0
- data/vendor/assets/components/bootstrap/less/media.less +56 -0
- data/vendor/assets/components/bootstrap/less/mixins.less +929 -0
- data/vendor/assets/components/bootstrap/less/modals.less +139 -0
- data/vendor/assets/components/bootstrap/less/navbar.less +616 -0
- data/vendor/assets/components/bootstrap/less/navs.less +242 -0
- data/vendor/assets/components/bootstrap/less/normalize.less +423 -0
- data/vendor/assets/components/bootstrap/less/pager.less +55 -0
- data/vendor/assets/components/bootstrap/less/pagination.less +88 -0
- data/vendor/assets/components/bootstrap/less/panels.less +241 -0
- data/vendor/assets/components/bootstrap/less/popovers.less +133 -0
- data/vendor/assets/components/bootstrap/less/print.less +101 -0
- data/vendor/assets/components/bootstrap/less/progress-bars.less +80 -0
- data/vendor/assets/components/bootstrap/less/responsive-utilities.less +92 -0
- data/vendor/assets/components/bootstrap/less/scaffolding.less +134 -0
- data/vendor/assets/components/bootstrap/less/tables.less +233 -0
- data/vendor/assets/components/bootstrap/less/theme.less +247 -0
- data/vendor/assets/components/bootstrap/less/thumbnails.less +36 -0
- data/vendor/assets/components/bootstrap/less/tooltip.less +95 -0
- data/vendor/assets/components/bootstrap/less/type.less +293 -0
- data/vendor/assets/components/bootstrap/less/utilities.less +56 -0
- data/vendor/assets/components/bootstrap/less/variables.less +829 -0
- data/vendor/assets/components/bootstrap/less/wells.less +29 -0
- data/vendor/assets/components/bootstrap/package.json +70 -0
- data/vendor/assets/components/bootstrap/test-infra/README.md +100 -0
- data/vendor/assets/components/bootstrap/test-infra/npm-shrinkwrap.canonical.json +1 -0
- data/vendor/assets/components/bootstrap/test-infra/requirements.txt +1 -0
- data/vendor/assets/components/bootstrap/test-infra/s3_cache.py +107 -0
- data/vendor/assets/components/bootstrap/test-infra/sauce_browsers.yml +83 -0
- data/vendor/assets/components/bootstrap/test-infra/uncached-npm-install.sh +4 -0
- data/vendor/assets/components/bootstrap-sass/CNAME +1 -0
- data/vendor/assets/components/bootstrap-sass/CONTRIBUTING.md +61 -0
- data/vendor/assets/components/bootstrap-sass/DOCS-LICENSE +319 -0
- data/vendor/assets/components/bootstrap-sass/Gemfile +5 -0
- data/vendor/assets/components/bootstrap-sass/Gemfile.lock +14 -0
- data/vendor/assets/components/bootstrap-sass/Gruntfile.js +244 -0
- data/vendor/assets/components/bootstrap-sass/LICENSE +176 -0
- data/vendor/assets/components/bootstrap-sass/LICENSE-MIT +21 -0
- data/vendor/assets/components/bootstrap-sass/README.md +277 -0
- data/vendor/assets/components/bootstrap-sass/Rakefile +44 -0
- data/vendor/assets/components/bootstrap-sass/_config.yml +25 -0
- data/vendor/assets/components/bootstrap-sass/_includes/ads.html +1 -0
- data/vendor/assets/components/bootstrap-sass/_includes/footer.html +34 -0
- data/vendor/assets/components/bootstrap-sass/_includes/header.html +42 -0
- data/vendor/assets/components/bootstrap-sass/_includes/nav-about.html +12 -0
- data/vendor/assets/components/bootstrap-sass/_includes/nav-components.html +137 -0
- data/vendor/assets/components/bootstrap-sass/_includes/nav-css.html +99 -0
- data/vendor/assets/components/bootstrap-sass/_includes/nav-customize.html +40 -0
- data/vendor/assets/components/bootstrap-sass/_includes/nav-getting-started.html +44 -0
- data/vendor/assets/components/bootstrap-sass/_includes/nav-javascript.html +88 -0
- data/vendor/assets/components/bootstrap-sass/_includes/nav-main.html +37 -0
- data/vendor/assets/components/bootstrap-sass/_includes/old-bs-docs.html +8 -0
- data/vendor/assets/components/bootstrap-sass/_includes/social-buttons.html +16 -0
- data/vendor/assets/components/bootstrap-sass/_layouts/default.html +79 -0
- data/vendor/assets/components/bootstrap-sass/_layouts/home.html +47 -0
- data/vendor/assets/components/bootstrap-sass/about.html +93 -0
- data/vendor/assets/components/bootstrap-sass/bower.json +11 -0
- data/vendor/assets/components/bootstrap-sass/browserstack.json +37 -0
- data/vendor/assets/components/bootstrap-sass/components.html +3689 -0
- data/vendor/assets/components/bootstrap-sass/composer.json +28 -0
- data/vendor/assets/components/bootstrap-sass/css.html +2674 -0
- data/vendor/assets/components/bootstrap-sass/customize.html +1715 -0
- data/vendor/assets/components/bootstrap-sass/dist/css/bootstrap-theme.css +427 -0
- data/vendor/assets/components/bootstrap-sass/dist/css/bootstrap-theme.min.css +1 -0
- data/vendor/assets/components/bootstrap-sass/dist/css/bootstrap.css +6350 -0
- data/vendor/assets/components/bootstrap-sass/dist/css/bootstrap.min.css +1 -0
- data/vendor/assets/components/bootstrap-sass/dist/fonts/glyphicons-halflings-regular.eot +0 -0
- data/vendor/assets/components/bootstrap-sass/dist/fonts/glyphicons-halflings-regular.svg +229 -0
- data/vendor/assets/components/bootstrap-sass/dist/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/vendor/assets/components/bootstrap-sass/dist/fonts/glyphicons-halflings-regular.woff +0 -0
- data/vendor/assets/components/bootstrap-sass/dist/js/bootstrap.js +2002 -0
- data/vendor/assets/components/bootstrap-sass/dist/js/bootstrap.min.js +9 -0
- data/vendor/assets/components/bootstrap-sass/docs-assets/css/docs.css +1195 -0
- data/vendor/assets/components/bootstrap-sass/docs-assets/css/pygments-manni.css +66 -0
- data/vendor/assets/components/bootstrap-sass/docs-assets/ico/apple-touch-icon-144-precomposed.png +0 -0
- data/vendor/assets/components/bootstrap-sass/docs-assets/ico/favicon.png +0 -0
- data/vendor/assets/components/bootstrap-sass/docs-assets/js/application.js +103 -0
- data/vendor/assets/components/bootstrap-sass/docs-assets/js/customizer.js +332 -0
- data/vendor/assets/components/bootstrap-sass/docs-assets/js/filesaver.js +169 -0
- data/vendor/assets/components/bootstrap-sass/docs-assets/js/holder.js +404 -0
- data/vendor/assets/components/bootstrap-sass/docs-assets/js/ie8-responsive-file-warning.js +12 -0
- data/vendor/assets/components/bootstrap-sass/docs-assets/js/jszip.js +1467 -0
- data/vendor/assets/components/bootstrap-sass/docs-assets/js/less.js +9 -0
- data/vendor/assets/components/bootstrap-sass/docs-assets/js/raw-files.js +3 -0
- data/vendor/assets/components/bootstrap-sass/docs-assets/js/uglify.js +14 -0
- data/vendor/assets/components/bootstrap-sass/examples/carousel/carousel.css +148 -0
- data/vendor/assets/components/bootstrap-sass/examples/carousel/index.html +206 -0
- data/vendor/assets/components/bootstrap-sass/examples/grid/grid.css +28 -0
- data/vendor/assets/components/bootstrap-sass/examples/grid/index.html +148 -0
- data/vendor/assets/components/bootstrap-sass/examples/jumbotron/index.html +99 -0
- data/vendor/assets/components/bootstrap-sass/examples/jumbotron/jumbotron.css +5 -0
- data/vendor/assets/components/bootstrap-sass/examples/jumbotron-narrow/index.html +82 -0
- data/vendor/assets/components/bootstrap-sass/examples/jumbotron-narrow/jumbotron-narrow.css +79 -0
- data/vendor/assets/components/bootstrap-sass/examples/justified-nav/index.html +83 -0
- data/vendor/assets/components/bootstrap-sass/examples/justified-nav/justified-nav.css +88 -0
- data/vendor/assets/components/bootstrap-sass/examples/navbar/index.html +88 -0
- data/vendor/assets/components/bootstrap-sass/examples/navbar/navbar.css +8 -0
- data/vendor/assets/components/bootstrap-sass/examples/navbar-fixed-top/index.html +91 -0
- data/vendor/assets/components/bootstrap-sass/examples/navbar-fixed-top/navbar-fixed-top.css +4 -0
- data/vendor/assets/components/bootstrap-sass/examples/navbar-static-top/index.html +92 -0
- data/vendor/assets/components/bootstrap-sass/examples/navbar-static-top/navbar-static-top.css +7 -0
- data/vendor/assets/components/bootstrap-sass/examples/non-responsive/index.html +101 -0
- data/vendor/assets/components/bootstrap-sass/examples/non-responsive/non-responsive.css +116 -0
- data/vendor/assets/components/bootstrap-sass/examples/offcanvas/index.html +130 -0
- data/vendor/assets/components/bootstrap-sass/examples/offcanvas/offcanvas.css +50 -0
- data/vendor/assets/components/bootstrap-sass/examples/offcanvas/offcanvas.js +5 -0
- data/vendor/assets/components/bootstrap-sass/examples/screenshots/carousel.jpg +0 -0
- data/vendor/assets/components/bootstrap-sass/examples/screenshots/grid.jpg +0 -0
- data/vendor/assets/components/bootstrap-sass/examples/screenshots/jumbotron-narrow.jpg +0 -0
- data/vendor/assets/components/bootstrap-sass/examples/screenshots/jumbotron.jpg +0 -0
- data/vendor/assets/components/bootstrap-sass/examples/screenshots/justified-nav.jpg +0 -0
- data/vendor/assets/components/bootstrap-sass/examples/screenshots/navbar-fixed.jpg +0 -0
- data/vendor/assets/components/bootstrap-sass/examples/screenshots/navbar-static.jpg +0 -0
- data/vendor/assets/components/bootstrap-sass/examples/screenshots/navbar.jpg +0 -0
- data/vendor/assets/components/bootstrap-sass/examples/screenshots/non-responsive.jpg +0 -0
- data/vendor/assets/components/bootstrap-sass/examples/screenshots/offcanvas.jpg +0 -0
- data/vendor/assets/components/bootstrap-sass/examples/screenshots/sign-in.jpg +0 -0
- data/vendor/assets/components/bootstrap-sass/examples/screenshots/starter-template.jpg +0 -0
- data/vendor/assets/components/bootstrap-sass/examples/screenshots/sticky-footer-navbar.jpg +0 -0
- data/vendor/assets/components/bootstrap-sass/examples/screenshots/sticky-footer.jpg +0 -0
- data/vendor/assets/components/bootstrap-sass/examples/screenshots/theme.jpg +0 -0
- data/vendor/assets/components/bootstrap-sass/examples/signin/index.html +50 -0
- data/vendor/assets/components/bootstrap-sass/examples/signin/signin.css +40 -0
- data/vendor/assets/components/bootstrap-sass/examples/starter-template/index.html +68 -0
- data/vendor/assets/components/bootstrap-sass/examples/starter-template/starter-template.css +7 -0
- data/vendor/assets/components/bootstrap-sass/examples/sticky-footer/index.html +55 -0
- data/vendor/assets/components/bootstrap-sass/examples/sticky-footer/sticky-footer.css +38 -0
- data/vendor/assets/components/bootstrap-sass/examples/sticky-footer-navbar/index.html +91 -0
- data/vendor/assets/components/bootstrap-sass/examples/sticky-footer-navbar/sticky-footer-navbar.css +45 -0
- data/vendor/assets/components/bootstrap-sass/examples/theme/index.html +384 -0
- data/vendor/assets/components/bootstrap-sass/examples/theme/theme.css +14 -0
- data/vendor/assets/components/bootstrap-sass/fonts/glyphicons-halflings-regular.eot +0 -0
- data/vendor/assets/components/bootstrap-sass/fonts/glyphicons-halflings-regular.svg +229 -0
- data/vendor/assets/components/bootstrap-sass/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/vendor/assets/components/bootstrap-sass/fonts/glyphicons-halflings-regular.woff +0 -0
- data/vendor/assets/components/bootstrap-sass/getting-started.html +1021 -0
- data/vendor/assets/components/bootstrap-sass/index.html +16 -0
- data/vendor/assets/components/bootstrap-sass/javascript.html +1983 -0
- data/vendor/assets/components/bootstrap-sass/js/affix.js +126 -0
- data/vendor/assets/components/bootstrap-sass/js/alert.js +98 -0
- data/vendor/assets/components/bootstrap-sass/js/button.js +109 -0
- data/vendor/assets/components/bootstrap-sass/js/carousel.js +217 -0
- data/vendor/assets/components/bootstrap-sass/js/collapse.js +179 -0
- data/vendor/assets/components/bootstrap-sass/js/dropdown.js +154 -0
- data/vendor/assets/components/bootstrap-sass/js/modal.js +246 -0
- data/vendor/assets/components/bootstrap-sass/js/popover.js +117 -0
- data/vendor/assets/components/bootstrap-sass/js/scrollspy.js +158 -0
- data/vendor/assets/components/bootstrap-sass/js/tab.js +135 -0
- data/vendor/assets/components/bootstrap-sass/js/tests/index.html +52 -0
- data/vendor/assets/components/bootstrap-sass/js/tests/unit/affix.js +25 -0
- data/vendor/assets/components/bootstrap-sass/js/tests/unit/alert.js +62 -0
- data/vendor/assets/components/bootstrap-sass/js/tests/unit/button.js +116 -0
- data/vendor/assets/components/bootstrap-sass/js/tests/unit/carousel.js +87 -0
- data/vendor/assets/components/bootstrap-sass/js/tests/unit/collapse.js +164 -0
- data/vendor/assets/components/bootstrap-sass/js/tests/unit/dropdown.js +219 -0
- data/vendor/assets/components/bootstrap-sass/js/tests/unit/modal.js +196 -0
- data/vendor/assets/components/bootstrap-sass/js/tests/unit/phantom.js +69 -0
- data/vendor/assets/components/bootstrap-sass/js/tests/unit/popover.js +133 -0
- data/vendor/assets/components/bootstrap-sass/js/tests/unit/scrollspy.js +37 -0
- data/vendor/assets/components/bootstrap-sass/js/tests/unit/tab.js +86 -0
- data/vendor/assets/components/bootstrap-sass/js/tests/unit/tooltip.js +437 -0
- data/vendor/assets/components/bootstrap-sass/js/tests/unit/transition.js +13 -0
- data/vendor/assets/components/bootstrap-sass/js/tests/vendor/jquery.js +6 -0
- data/vendor/assets/components/bootstrap-sass/js/tests/vendor/qunit.css +232 -0
- data/vendor/assets/components/bootstrap-sass/js/tests/vendor/qunit.js +1510 -0
- data/vendor/assets/components/bootstrap-sass/js/tooltip.js +386 -0
- data/vendor/assets/components/bootstrap-sass/js/transition.js +56 -0
- data/vendor/assets/components/bootstrap-sass/lib/_alerts.scss +67 -0
- data/vendor/assets/components/bootstrap-sass/lib/_badges.scss +51 -0
- data/vendor/assets/components/bootstrap-sass/lib/_breadcrumbs.scss +23 -0
- data/vendor/assets/components/bootstrap-sass/lib/_button-groups.scss +253 -0
- data/vendor/assets/components/bootstrap-sass/lib/_buttons.scss +158 -0
- data/vendor/assets/components/bootstrap-sass/lib/_carousel.scss +231 -0
- data/vendor/assets/components/bootstrap-sass/lib/_close.scss +35 -0
- data/vendor/assets/components/bootstrap-sass/lib/_code.scss +53 -0
- data/vendor/assets/components/bootstrap-sass/lib/_component-animations.scss +29 -0
- data/vendor/assets/components/bootstrap-sass/lib/_dropdowns.scss +193 -0
- data/vendor/assets/components/bootstrap-sass/lib/_forms.scss +363 -0
- data/vendor/assets/components/bootstrap-sass/lib/_glyphicons.scss +237 -0
- data/vendor/assets/components/bootstrap-sass/lib/_grid.scss +93 -0
- data/vendor/assets/components/bootstrap-sass/lib/_input-groups.scss +136 -0
- data/vendor/assets/components/bootstrap-sass/lib/_jumbotron.scss +40 -0
- data/vendor/assets/components/bootstrap-sass/lib/_labels.scss +58 -0
- data/vendor/assets/components/bootstrap-sass/lib/_list-group.scss +88 -0
- data/vendor/assets/components/bootstrap-sass/lib/_media.scss +56 -0
- data/vendor/assets/components/bootstrap-sass/lib/_mixins.scss +861 -0
- data/vendor/assets/components/bootstrap-sass/lib/_modals.scss +132 -0
- data/vendor/assets/components/bootstrap-sass/lib/_navbar.scss +628 -0
- data/vendor/assets/components/bootstrap-sass/lib/_navs.scss +262 -0
- data/vendor/assets/components/bootstrap-sass/lib/_normalize.scss +406 -0
- data/vendor/assets/components/bootstrap-sass/lib/_pager.scss +55 -0
- data/vendor/assets/components/bootstrap-sass/lib/_pagination.scss +85 -0
- data/vendor/assets/components/bootstrap-sass/lib/_panels.scss +172 -0
- data/vendor/assets/components/bootstrap-sass/lib/_popovers.scss +133 -0
- data/vendor/assets/components/bootstrap-sass/lib/_print.scss +105 -0
- data/vendor/assets/components/bootstrap-sass/lib/_progress-bars.scss +92 -0
- data/vendor/assets/components/bootstrap-sass/lib/_responsive-utilities.scss +198 -0
- data/vendor/assets/components/bootstrap-sass/lib/_scaffolding.scss +119 -0
- data/vendor/assets/components/bootstrap-sass/lib/_tables.scss +244 -0
- data/vendor/assets/components/bootstrap-sass/lib/_theme.scss +247 -0
- data/vendor/assets/components/bootstrap-sass/lib/_thumbnails.scss +32 -0
- data/vendor/assets/components/bootstrap-sass/lib/_tooltip.scss +95 -0
- data/vendor/assets/components/bootstrap-sass/lib/_type.scss +279 -0
- data/vendor/assets/components/bootstrap-sass/lib/_utilities.scss +56 -0
- data/vendor/assets/components/bootstrap-sass/lib/_variables.scss +637 -0
- data/vendor/assets/components/bootstrap-sass/lib/_wells.scss +29 -0
- data/vendor/assets/components/bootstrap-sass/lib/bootstrap.scss +49 -0
- data/vendor/assets/components/bootstrap-sass/package.json +40 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/CONTRIBUTING.md +12 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/LICENSE +201 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/Makefile +22 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/README.md +144 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/bower.json +35 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.css +174 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css +8 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js +28 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/component.json +10 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/package.json +24 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/bootstrap-datetimepicker.js +1089 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ar-ma.js +56 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ar.js +56 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.bg.js +86 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.br.js +107 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.bs.js +139 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ca.js +66 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.cs.js +155 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.cv.js +59 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.da.js +56 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.de.js +71 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.el.js +79 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.en-au.js +62 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.en-ca.js +59 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.en-gb.js +63 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.eo.js +65 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.es.js +66 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.et.js +60 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.eu.js +60 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fa.js +97 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fi.js +103 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fr-ca.js +54 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.fr.js +58 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.gl.js +71 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.he.js +77 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.hi.js +105 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.hr.js +140 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.hu.js +98 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.id.js +67 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.is.js +124 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.it.js +59 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ja.js +58 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ka.js +108 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ko.js +56 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.lt.js +118 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.lv.js +77 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ml.js +64 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.mr.js +104 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ms-my.js +66 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.nb.js +57 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ne.js +105 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.nl.js +67 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.nn.js +56 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.pl.js +98 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.pt-BR.js +56 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.pt.js +60 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ro.js +56 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.ru.js +163 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sk.js +156 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sl.js +144 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sq.js +57 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.sv.js +63 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.th.js +58 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.tr.js +93 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.tzm-la.js +55 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.tzm.js +55 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.uk.js +157 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.uz.js +55 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.vn.js +62 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.zh-CN.js +108 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/js/locales/bootstrap-datetimepicker.zh-TW.js +84 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/less/bootstrap-datetimepicker-build.less +5 -0
- data/vendor/assets/components/eonasdan-bootstrap-datetimepicker/src/less/bootstrap-datetimepicker.less +246 -0
- data/vendor/assets/components/jquery/MIT-LICENSE.txt +21 -0
- data/vendor/assets/components/jquery/bower.json +27 -0
- data/vendor/assets/components/jquery/dist/jquery.js +9111 -0
- data/{app/assets/javascripts/jquery-min.js → vendor/assets/components/jquery/dist/jquery.min.js} +1 -0
- data/vendor/assets/components/jquery/dist/jquery.min.map +1 -0
- data/vendor/assets/components/jquery/src/ajax/jsonp.js +89 -0
- data/vendor/assets/components/jquery/src/ajax/load.js +75 -0
- data/vendor/assets/components/jquery/src/ajax/parseJSON.js +13 -0
- data/vendor/assets/components/jquery/src/ajax/parseXML.js +28 -0
- data/vendor/assets/components/jquery/src/ajax/script.js +64 -0
- data/vendor/assets/components/jquery/src/ajax/var/nonce.js +5 -0
- data/vendor/assets/components/jquery/src/ajax/var/rquery.js +3 -0
- data/vendor/assets/components/jquery/src/ajax/xhr.js +130 -0
- data/vendor/assets/components/jquery/src/ajax.js +806 -0
- data/vendor/assets/components/jquery/src/attributes/attr.js +143 -0
- data/vendor/assets/components/jquery/src/attributes/classes.js +158 -0
- data/vendor/assets/components/jquery/src/attributes/prop.js +96 -0
- data/vendor/assets/components/jquery/src/attributes/support.js +35 -0
- data/vendor/assets/components/jquery/src/attributes/val.js +153 -0
- data/vendor/assets/components/jquery/src/attributes.js +11 -0
- data/vendor/assets/components/jquery/src/callbacks.js +205 -0
- data/vendor/assets/components/jquery/src/core/access.js +60 -0
- data/vendor/assets/components/jquery/src/core/init.js +123 -0
- data/vendor/assets/components/jquery/src/core/parseHTML.js +39 -0
- data/vendor/assets/components/jquery/src/core/ready.js +96 -0
- data/vendor/assets/components/jquery/src/core/var/rsingleTag.js +4 -0
- data/vendor/assets/components/jquery/src/core.js +500 -0
- data/vendor/assets/components/jquery/src/css/addGetHookIf.js +24 -0
- data/vendor/assets/components/jquery/src/css/curCSS.js +57 -0
- data/vendor/assets/components/jquery/src/css/defaultDisplay.js +69 -0
- data/vendor/assets/components/jquery/src/css/hiddenVisibleSelectors.js +15 -0
- data/vendor/assets/components/jquery/src/css/support.js +83 -0
- data/vendor/assets/components/jquery/src/css/swap.js +28 -0
- data/vendor/assets/components/jquery/src/css/var/cssExpand.js +3 -0
- data/vendor/assets/components/jquery/src/css/var/getStyles.js +5 -0
- data/vendor/assets/components/jquery/src/css/var/isHidden.js +13 -0
- data/vendor/assets/components/jquery/src/css/var/rmargin.js +3 -0
- data/vendor/assets/components/jquery/src/css/var/rnumnonpx.js +5 -0
- data/vendor/assets/components/jquery/src/css.js +455 -0
- data/vendor/assets/components/jquery/src/data/Data.js +181 -0
- data/vendor/assets/components/jquery/src/data/accepts.js +20 -0
- data/vendor/assets/components/jquery/src/data/var/data_priv.js +5 -0
- data/vendor/assets/components/jquery/src/data/var/data_user.js +5 -0
- data/vendor/assets/components/jquery/src/data.js +175 -0
- data/vendor/assets/components/jquery/src/deferred.js +149 -0
- data/vendor/assets/components/jquery/src/deprecated.js +13 -0
- data/vendor/assets/components/jquery/src/dimensions.js +50 -0
- data/vendor/assets/components/jquery/src/effects/Tween.js +114 -0
- data/vendor/assets/components/jquery/src/effects/animatedSelector.js +13 -0
- data/vendor/assets/components/jquery/src/effects.js +642 -0
- data/vendor/assets/components/jquery/src/event/alias.js +39 -0
- data/vendor/assets/components/jquery/src/event/support.js +9 -0
- data/vendor/assets/components/jquery/src/event.js +859 -0
- data/vendor/assets/components/jquery/src/exports/amd.js +18 -0
- data/vendor/assets/components/jquery/src/exports/global.js +32 -0
- data/vendor/assets/components/jquery/src/intro.js +44 -0
- data/vendor/assets/components/jquery/src/jquery.js +36 -0
- data/vendor/assets/components/jquery/src/manipulation/_evalUrl.js +18 -0
- data/vendor/assets/components/jquery/src/manipulation/support.js +24 -0
- data/vendor/assets/components/jquery/src/manipulation/var/rcheckableType.js +3 -0
- data/vendor/assets/components/jquery/src/manipulation.js +583 -0
- data/vendor/assets/components/jquery/src/offset.js +204 -0
- data/vendor/assets/components/jquery/src/outro.js +1 -0
- data/vendor/assets/components/jquery/src/queue/delay.js +22 -0
- data/vendor/assets/components/jquery/src/queue.js +142 -0
- data/vendor/assets/components/jquery/src/selector-native.js +171 -0
- data/vendor/assets/components/jquery/src/selector-sizzle.js +14 -0
- data/vendor/assets/components/jquery/src/selector.js +1 -0
- data/vendor/assets/components/jquery/src/serialize.js +111 -0
- data/vendor/assets/components/jquery/src/sizzle/dist/sizzle.js +2015 -0
- data/vendor/assets/components/jquery/src/sizzle/dist/sizzle.min.js +3 -0
- data/vendor/assets/components/jquery/src/sizzle/dist/sizzle.min.map +1 -0
- data/vendor/assets/components/jquery/src/traversing/findFilter.js +100 -0
- data/vendor/assets/components/jquery/src/traversing/var/rneedsContext.js +6 -0
- data/vendor/assets/components/jquery/src/traversing.js +200 -0
- data/vendor/assets/components/jquery/src/var/arr.js +3 -0
- data/vendor/assets/components/jquery/src/var/class2type.js +4 -0
- data/vendor/assets/components/jquery/src/var/concat.js +5 -0
- data/vendor/assets/components/jquery/src/var/hasOwn.js +5 -0
- data/vendor/assets/components/jquery/src/var/indexOf.js +5 -0
- data/vendor/assets/components/jquery/src/var/pnum.js +3 -0
- data/vendor/assets/components/jquery/src/var/push.js +5 -0
- data/vendor/assets/components/jquery/src/var/rnotwhite.js +3 -0
- data/vendor/assets/components/jquery/src/var/slice.js +5 -0
- data/vendor/assets/components/jquery/src/var/strundefined.js +3 -0
- data/vendor/assets/components/jquery/src/var/support.js +4 -0
- data/vendor/assets/components/jquery/src/var/toString.js +5 -0
- data/vendor/assets/components/jquery/src/var/trim.js +3 -0
- data/vendor/assets/components/jquery/src/wrap.js +78 -0
- data/vendor/assets/components/moment/LICENSE +22 -0
- data/vendor/assets/components/moment/bower.json +20 -0
- data/vendor/assets/components/moment/lang/ar-ma.js +56 -0
- data/vendor/assets/components/moment/lang/ar.js +56 -0
- data/vendor/assets/components/moment/lang/bg.js +86 -0
- data/vendor/assets/components/moment/lang/br.js +107 -0
- data/vendor/assets/components/moment/lang/bs.js +139 -0
- data/vendor/assets/components/moment/lang/ca.js +66 -0
- data/vendor/assets/components/moment/lang/cs.js +155 -0
- data/vendor/assets/components/moment/lang/cv.js +59 -0
- data/vendor/assets/components/moment/lang/cy.js +77 -0
- data/vendor/assets/components/moment/lang/da.js +56 -0
- data/vendor/assets/components/moment/lang/de.js +71 -0
- data/vendor/assets/components/moment/lang/el.js +79 -0
- data/vendor/assets/components/moment/lang/en-au.js +62 -0
- data/vendor/assets/components/moment/lang/en-ca.js +59 -0
- data/vendor/assets/components/moment/lang/en-gb.js +63 -0
- data/vendor/assets/components/moment/lang/eo.js +65 -0
- data/vendor/assets/components/moment/lang/es.js +66 -0
- data/vendor/assets/components/moment/lang/et.js +76 -0
- data/vendor/assets/components/moment/lang/eu.js +60 -0
- data/vendor/assets/components/moment/lang/fa.js +97 -0
- data/vendor/assets/components/moment/lang/fi.js +103 -0
- data/vendor/assets/components/moment/lang/fo.js +56 -0
- data/vendor/assets/components/moment/lang/fr-ca.js +54 -0
- data/vendor/assets/components/moment/lang/fr.js +58 -0
- data/vendor/assets/components/moment/lang/gl.js +71 -0
- data/vendor/assets/components/moment/lang/he.js +77 -0
- data/vendor/assets/components/moment/lang/hi.js +105 -0
- data/vendor/assets/components/moment/lang/hr.js +140 -0
- data/vendor/assets/components/moment/lang/hu.js +98 -0
- data/vendor/assets/components/moment/lang/hy-am.js +113 -0
- data/vendor/assets/components/moment/lang/id.js +67 -0
- data/vendor/assets/components/moment/lang/is.js +124 -0
- data/vendor/assets/components/moment/lang/it.js +59 -0
- data/vendor/assets/components/moment/lang/ja.js +58 -0
- data/vendor/assets/components/moment/lang/ka.js +108 -0
- data/vendor/assets/components/moment/lang/ko.js +63 -0
- data/vendor/assets/components/moment/lang/lb.js +160 -0
- data/vendor/assets/components/moment/lang/lt.js +118 -0
- data/vendor/assets/components/moment/lang/lv.js +77 -0
- data/vendor/assets/components/moment/lang/mk.js +86 -0
- data/vendor/assets/components/moment/lang/ml.js +64 -0
- data/vendor/assets/components/moment/lang/mr.js +104 -0
- data/vendor/assets/components/moment/lang/ms-my.js +66 -0
- data/vendor/assets/components/moment/lang/nb.js +57 -0
- data/vendor/assets/components/moment/lang/ne.js +105 -0
- data/vendor/assets/components/moment/lang/nl.js +67 -0
- data/vendor/assets/components/moment/lang/nn.js +56 -0
- data/vendor/assets/components/moment/lang/pl.js +98 -0
- data/vendor/assets/components/moment/lang/pt-br.js +56 -0
- data/vendor/assets/components/moment/lang/pt.js +60 -0
- data/vendor/assets/components/moment/lang/ro.js +72 -0
- data/vendor/assets/components/moment/lang/rs.js +139 -0
- data/vendor/assets/components/moment/lang/ru.js +163 -0
- data/vendor/assets/components/moment/lang/sk.js +156 -0
- data/vendor/assets/components/moment/lang/sl.js +144 -0
- data/vendor/assets/components/moment/lang/sq.js +57 -0
- data/vendor/assets/components/moment/lang/sv.js +63 -0
- data/vendor/assets/components/moment/lang/ta.js +112 -0
- data/vendor/assets/components/moment/lang/th.js +58 -0
- data/vendor/assets/components/moment/lang/tl-ph.js +58 -0
- data/vendor/assets/components/moment/lang/tr.js +93 -0
- data/vendor/assets/components/moment/lang/tzm-la.js +55 -0
- data/vendor/assets/components/moment/lang/tzm.js +55 -0
- data/vendor/assets/components/moment/lang/uk.js +157 -0
- data/vendor/assets/components/moment/lang/uz.js +55 -0
- data/vendor/assets/components/moment/lang/vn.js +62 -0
- data/vendor/assets/components/moment/lang/zh-cn.js +108 -0
- data/vendor/assets/components/moment/lang/zh-tw.js +84 -0
- data/vendor/assets/components/moment/min/langs.js +5841 -0
- data/vendor/assets/components/moment/min/langs.min.js +3 -0
- data/vendor/assets/components/moment/min/moment-with-langs.js +7768 -0
- data/vendor/assets/components/moment/min/moment-with-langs.min.js +9 -0
- data/vendor/assets/components/moment/min/moment.min.js +6 -0
- data/vendor/assets/components/moment/moment.js +2400 -0
- data/vendor/assets/components/moment/readme.md +349 -0
- data/{app → vendor}/assets/fonts/open-sans/Apache License Version 2.txt +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-Bold-webfont.eot +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-Bold-webfont.svg +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-Bold-webfont.ttf +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-Bold-webfont.woff +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-BoldItalic-webfont.eot +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-BoldItalic-webfont.svg +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-BoldItalic-webfont.ttf +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-BoldItalic-webfont.woff +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-ExtraBold-webfont.eot +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-ExtraBold-webfont.svg +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-ExtraBold-webfont.ttf +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-ExtraBold-webfont.woff +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-ExtraBoldItalic-webfont.eot +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-ExtraBoldItalic-webfont.svg +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-ExtraBoldItalic-webfont.ttf +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-ExtraBoldItalic-webfont.woff +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-Italic-webfont.eot +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-Italic-webfont.svg +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-Italic-webfont.ttf +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-Italic-webfont.woff +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-Light-webfont.eot +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-Light-webfont.svg +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-Light-webfont.ttf +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-Light-webfont.woff +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-LightItalic-webfont.eot +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-LightItalic-webfont.svg +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-LightItalic-webfont.ttf +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-LightItalic-webfont.woff +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-Regular-webfont.eot +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-Regular-webfont.svg +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-Regular-webfont.ttf +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-Regular-webfont.woff +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-Semibold-webfont.eot +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-Semibold-webfont.svg +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-Semibold-webfont.ttf +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-Semibold-webfont.woff +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-SemiboldItalic-webfont.eot +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-SemiboldItalic-webfont.svg +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-SemiboldItalic-webfont.ttf +0 -0
- data/{app → vendor}/assets/fonts/open-sans/OpenSans-SemiboldItalic-webfont.woff +0 -0
- data/{app → vendor}/assets/stylesheets/open-sans.css.scss +0 -0
- metadata +556 -49
- data/lib/local_pac/runner.rb +0 -29
- data/spec/runner_spec.rb +0 -42
@@ -0,0 +1,319 @@
|
|
1
|
+
Creative Commons Legal Code
|
2
|
+
|
3
|
+
Attribution 3.0 Unported
|
4
|
+
|
5
|
+
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
|
6
|
+
LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN
|
7
|
+
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
|
8
|
+
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
|
9
|
+
REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR
|
10
|
+
DAMAGES RESULTING FROM ITS USE.
|
11
|
+
|
12
|
+
License
|
13
|
+
|
14
|
+
THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE
|
15
|
+
COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY
|
16
|
+
COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS
|
17
|
+
AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
|
18
|
+
|
19
|
+
BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE
|
20
|
+
TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY
|
21
|
+
BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS
|
22
|
+
CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND
|
23
|
+
CONDITIONS.
|
24
|
+
|
25
|
+
1. Definitions
|
26
|
+
|
27
|
+
a. "Adaptation" means a work based upon the Work, or upon the Work and
|
28
|
+
other pre-existing works, such as a translation, adaptation,
|
29
|
+
derivative work, arrangement of music or other alterations of a
|
30
|
+
literary or artistic work, or phonogram or performance and includes
|
31
|
+
cinematographic adaptations or any other form in which the Work may be
|
32
|
+
recast, transformed, or adapted including in any form recognizably
|
33
|
+
derived from the original, except that a work that constitutes a
|
34
|
+
Collection will not be considered an Adaptation for the purpose of
|
35
|
+
this License. For the avoidance of doubt, where the Work is a musical
|
36
|
+
work, performance or phonogram, the synchronization of the Work in
|
37
|
+
timed-relation with a moving image ("synching") will be considered an
|
38
|
+
Adaptation for the purpose of this License.
|
39
|
+
b. "Collection" means a collection of literary or artistic works, such as
|
40
|
+
encyclopedias and anthologies, or performances, phonograms or
|
41
|
+
broadcasts, or other works or subject matter other than works listed
|
42
|
+
in Section 1(f) below, which, by reason of the selection and
|
43
|
+
arrangement of their contents, constitute intellectual creations, in
|
44
|
+
which the Work is included in its entirety in unmodified form along
|
45
|
+
with one or more other contributions, each constituting separate and
|
46
|
+
independent works in themselves, which together are assembled into a
|
47
|
+
collective whole. A work that constitutes a Collection will not be
|
48
|
+
considered an Adaptation (as defined above) for the purposes of this
|
49
|
+
License.
|
50
|
+
c. "Distribute" means to make available to the public the original and
|
51
|
+
copies of the Work or Adaptation, as appropriate, through sale or
|
52
|
+
other transfer of ownership.
|
53
|
+
d. "Licensor" means the individual, individuals, entity or entities that
|
54
|
+
offer(s) the Work under the terms of this License.
|
55
|
+
e. "Original Author" means, in the case of a literary or artistic work,
|
56
|
+
the individual, individuals, entity or entities who created the Work
|
57
|
+
or if no individual or entity can be identified, the publisher; and in
|
58
|
+
addition (i) in the case of a performance the actors, singers,
|
59
|
+
musicians, dancers, and other persons who act, sing, deliver, declaim,
|
60
|
+
play in, interpret or otherwise perform literary or artistic works or
|
61
|
+
expressions of folklore; (ii) in the case of a phonogram the producer
|
62
|
+
being the person or legal entity who first fixes the sounds of a
|
63
|
+
performance or other sounds; and, (iii) in the case of broadcasts, the
|
64
|
+
organization that transmits the broadcast.
|
65
|
+
f. "Work" means the literary and/or artistic work offered under the terms
|
66
|
+
of this License including without limitation any production in the
|
67
|
+
literary, scientific and artistic domain, whatever may be the mode or
|
68
|
+
form of its expression including digital form, such as a book,
|
69
|
+
pamphlet and other writing; a lecture, address, sermon or other work
|
70
|
+
of the same nature; a dramatic or dramatico-musical work; a
|
71
|
+
choreographic work or entertainment in dumb show; a musical
|
72
|
+
composition with or without words; a cinematographic work to which are
|
73
|
+
assimilated works expressed by a process analogous to cinematography;
|
74
|
+
a work of drawing, painting, architecture, sculpture, engraving or
|
75
|
+
lithography; a photographic work to which are assimilated works
|
76
|
+
expressed by a process analogous to photography; a work of applied
|
77
|
+
art; an illustration, map, plan, sketch or three-dimensional work
|
78
|
+
relative to geography, topography, architecture or science; a
|
79
|
+
performance; a broadcast; a phonogram; a compilation of data to the
|
80
|
+
extent it is protected as a copyrightable work; or a work performed by
|
81
|
+
a variety or circus performer to the extent it is not otherwise
|
82
|
+
considered a literary or artistic work.
|
83
|
+
g. "You" means an individual or entity exercising rights under this
|
84
|
+
License who has not previously violated the terms of this License with
|
85
|
+
respect to the Work, or who has received express permission from the
|
86
|
+
Licensor to exercise rights under this License despite a previous
|
87
|
+
violation.
|
88
|
+
h. "Publicly Perform" means to perform public recitations of the Work and
|
89
|
+
to communicate to the public those public recitations, by any means or
|
90
|
+
process, including by wire or wireless means or public digital
|
91
|
+
performances; to make available to the public Works in such a way that
|
92
|
+
members of the public may access these Works from a place and at a
|
93
|
+
place individually chosen by them; to perform the Work to the public
|
94
|
+
by any means or process and the communication to the public of the
|
95
|
+
performances of the Work, including by public digital performance; to
|
96
|
+
broadcast and rebroadcast the Work by any means including signs,
|
97
|
+
sounds or images.
|
98
|
+
i. "Reproduce" means to make copies of the Work by any means including
|
99
|
+
without limitation by sound or visual recordings and the right of
|
100
|
+
fixation and reproducing fixations of the Work, including storage of a
|
101
|
+
protected performance or phonogram in digital form or other electronic
|
102
|
+
medium.
|
103
|
+
|
104
|
+
2. Fair Dealing Rights. Nothing in this License is intended to reduce,
|
105
|
+
limit, or restrict any uses free from copyright or rights arising from
|
106
|
+
limitations or exceptions that are provided for in connection with the
|
107
|
+
copyright protection under copyright law or other applicable laws.
|
108
|
+
|
109
|
+
3. License Grant. Subject to the terms and conditions of this License,
|
110
|
+
Licensor hereby grants You a worldwide, royalty-free, non-exclusive,
|
111
|
+
perpetual (for the duration of the applicable copyright) license to
|
112
|
+
exercise the rights in the Work as stated below:
|
113
|
+
|
114
|
+
a. to Reproduce the Work, to incorporate the Work into one or more
|
115
|
+
Collections, and to Reproduce the Work as incorporated in the
|
116
|
+
Collections;
|
117
|
+
b. to create and Reproduce Adaptations provided that any such Adaptation,
|
118
|
+
including any translation in any medium, takes reasonable steps to
|
119
|
+
clearly label, demarcate or otherwise identify that changes were made
|
120
|
+
to the original Work. For example, a translation could be marked "The
|
121
|
+
original work was translated from English to Spanish," or a
|
122
|
+
modification could indicate "The original work has been modified.";
|
123
|
+
c. to Distribute and Publicly Perform the Work including as incorporated
|
124
|
+
in Collections; and,
|
125
|
+
d. to Distribute and Publicly Perform Adaptations.
|
126
|
+
e. For the avoidance of doubt:
|
127
|
+
|
128
|
+
i. Non-waivable Compulsory License Schemes. In those jurisdictions in
|
129
|
+
which the right to collect royalties through any statutory or
|
130
|
+
compulsory licensing scheme cannot be waived, the Licensor
|
131
|
+
reserves the exclusive right to collect such royalties for any
|
132
|
+
exercise by You of the rights granted under this License;
|
133
|
+
ii. Waivable Compulsory License Schemes. In those jurisdictions in
|
134
|
+
which the right to collect royalties through any statutory or
|
135
|
+
compulsory licensing scheme can be waived, the Licensor waives the
|
136
|
+
exclusive right to collect such royalties for any exercise by You
|
137
|
+
of the rights granted under this License; and,
|
138
|
+
iii. Voluntary License Schemes. The Licensor waives the right to
|
139
|
+
collect royalties, whether individually or, in the event that the
|
140
|
+
Licensor is a member of a collecting society that administers
|
141
|
+
voluntary licensing schemes, via that society, from any exercise
|
142
|
+
by You of the rights granted under this License.
|
143
|
+
|
144
|
+
The above rights may be exercised in all media and formats whether now
|
145
|
+
known or hereafter devised. The above rights include the right to make
|
146
|
+
such modifications as are technically necessary to exercise the rights in
|
147
|
+
other media and formats. Subject to Section 8(f), all rights not expressly
|
148
|
+
granted by Licensor are hereby reserved.
|
149
|
+
|
150
|
+
4. Restrictions. The license granted in Section 3 above is expressly made
|
151
|
+
subject to and limited by the following restrictions:
|
152
|
+
|
153
|
+
a. You may Distribute or Publicly Perform the Work only under the terms
|
154
|
+
of this License. You must include a copy of, or the Uniform Resource
|
155
|
+
Identifier (URI) for, this License with every copy of the Work You
|
156
|
+
Distribute or Publicly Perform. You may not offer or impose any terms
|
157
|
+
on the Work that restrict the terms of this License or the ability of
|
158
|
+
the recipient of the Work to exercise the rights granted to that
|
159
|
+
recipient under the terms of the License. You may not sublicense the
|
160
|
+
Work. You must keep intact all notices that refer to this License and
|
161
|
+
to the disclaimer of warranties with every copy of the Work You
|
162
|
+
Distribute or Publicly Perform. When You Distribute or Publicly
|
163
|
+
Perform the Work, You may not impose any effective technological
|
164
|
+
measures on the Work that restrict the ability of a recipient of the
|
165
|
+
Work from You to exercise the rights granted to that recipient under
|
166
|
+
the terms of the License. This Section 4(a) applies to the Work as
|
167
|
+
incorporated in a Collection, but this does not require the Collection
|
168
|
+
apart from the Work itself to be made subject to the terms of this
|
169
|
+
License. If You create a Collection, upon notice from any Licensor You
|
170
|
+
must, to the extent practicable, remove from the Collection any credit
|
171
|
+
as required by Section 4(b), as requested. If You create an
|
172
|
+
Adaptation, upon notice from any Licensor You must, to the extent
|
173
|
+
practicable, remove from the Adaptation any credit as required by
|
174
|
+
Section 4(b), as requested.
|
175
|
+
b. If You Distribute, or Publicly Perform the Work or any Adaptations or
|
176
|
+
Collections, You must, unless a request has been made pursuant to
|
177
|
+
Section 4(a), keep intact all copyright notices for the Work and
|
178
|
+
provide, reasonable to the medium or means You are utilizing: (i) the
|
179
|
+
name of the Original Author (or pseudonym, if applicable) if supplied,
|
180
|
+
and/or if the Original Author and/or Licensor designate another party
|
181
|
+
or parties (e.g., a sponsor institute, publishing entity, journal) for
|
182
|
+
attribution ("Attribution Parties") in Licensor's copyright notice,
|
183
|
+
terms of service or by other reasonable means, the name of such party
|
184
|
+
or parties; (ii) the title of the Work if supplied; (iii) to the
|
185
|
+
extent reasonably practicable, the URI, if any, that Licensor
|
186
|
+
specifies to be associated with the Work, unless such URI does not
|
187
|
+
refer to the copyright notice or licensing information for the Work;
|
188
|
+
and (iv) , consistent with Section 3(b), in the case of an Adaptation,
|
189
|
+
a credit identifying the use of the Work in the Adaptation (e.g.,
|
190
|
+
"French translation of the Work by Original Author," or "Screenplay
|
191
|
+
based on original Work by Original Author"). The credit required by
|
192
|
+
this Section 4 (b) may be implemented in any reasonable manner;
|
193
|
+
provided, however, that in the case of a Adaptation or Collection, at
|
194
|
+
a minimum such credit will appear, if a credit for all contributing
|
195
|
+
authors of the Adaptation or Collection appears, then as part of these
|
196
|
+
credits and in a manner at least as prominent as the credits for the
|
197
|
+
other contributing authors. For the avoidance of doubt, You may only
|
198
|
+
use the credit required by this Section for the purpose of attribution
|
199
|
+
in the manner set out above and, by exercising Your rights under this
|
200
|
+
License, You may not implicitly or explicitly assert or imply any
|
201
|
+
connection with, sponsorship or endorsement by the Original Author,
|
202
|
+
Licensor and/or Attribution Parties, as appropriate, of You or Your
|
203
|
+
use of the Work, without the separate, express prior written
|
204
|
+
permission of the Original Author, Licensor and/or Attribution
|
205
|
+
Parties.
|
206
|
+
c. Except as otherwise agreed in writing by the Licensor or as may be
|
207
|
+
otherwise permitted by applicable law, if You Reproduce, Distribute or
|
208
|
+
Publicly Perform the Work either by itself or as part of any
|
209
|
+
Adaptations or Collections, You must not distort, mutilate, modify or
|
210
|
+
take other derogatory action in relation to the Work which would be
|
211
|
+
prejudicial to the Original Author's honor or reputation. Licensor
|
212
|
+
agrees that in those jurisdictions (e.g. Japan), in which any exercise
|
213
|
+
of the right granted in Section 3(b) of this License (the right to
|
214
|
+
make Adaptations) would be deemed to be a distortion, mutilation,
|
215
|
+
modification or other derogatory action prejudicial to the Original
|
216
|
+
Author's honor and reputation, the Licensor will waive or not assert,
|
217
|
+
as appropriate, this Section, to the fullest extent permitted by the
|
218
|
+
applicable national law, to enable You to reasonably exercise Your
|
219
|
+
right under Section 3(b) of this License (right to make Adaptations)
|
220
|
+
but not otherwise.
|
221
|
+
|
222
|
+
5. Representations, Warranties and Disclaimer
|
223
|
+
|
224
|
+
UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR
|
225
|
+
OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY
|
226
|
+
KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE,
|
227
|
+
INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY,
|
228
|
+
FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF
|
229
|
+
LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS,
|
230
|
+
WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION
|
231
|
+
OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
|
232
|
+
|
233
|
+
6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE
|
234
|
+
LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR
|
235
|
+
ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES
|
236
|
+
ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS
|
237
|
+
BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
238
|
+
|
239
|
+
7. Termination
|
240
|
+
|
241
|
+
a. This License and the rights granted hereunder will terminate
|
242
|
+
automatically upon any breach by You of the terms of this License.
|
243
|
+
Individuals or entities who have received Adaptations or Collections
|
244
|
+
from You under this License, however, will not have their licenses
|
245
|
+
terminated provided such individuals or entities remain in full
|
246
|
+
compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will
|
247
|
+
survive any termination of this License.
|
248
|
+
b. Subject to the above terms and conditions, the license granted here is
|
249
|
+
perpetual (for the duration of the applicable copyright in the Work).
|
250
|
+
Notwithstanding the above, Licensor reserves the right to release the
|
251
|
+
Work under different license terms or to stop distributing the Work at
|
252
|
+
any time; provided, however that any such election will not serve to
|
253
|
+
withdraw this License (or any other license that has been, or is
|
254
|
+
required to be, granted under the terms of this License), and this
|
255
|
+
License will continue in full force and effect unless terminated as
|
256
|
+
stated above.
|
257
|
+
|
258
|
+
8. Miscellaneous
|
259
|
+
|
260
|
+
a. Each time You Distribute or Publicly Perform the Work or a Collection,
|
261
|
+
the Licensor offers to the recipient a license to the Work on the same
|
262
|
+
terms and conditions as the license granted to You under this License.
|
263
|
+
b. Each time You Distribute or Publicly Perform an Adaptation, Licensor
|
264
|
+
offers to the recipient a license to the original Work on the same
|
265
|
+
terms and conditions as the license granted to You under this License.
|
266
|
+
c. If any provision of this License is invalid or unenforceable under
|
267
|
+
applicable law, it shall not affect the validity or enforceability of
|
268
|
+
the remainder of the terms of this License, and without further action
|
269
|
+
by the parties to this agreement, such provision shall be reformed to
|
270
|
+
the minimum extent necessary to make such provision valid and
|
271
|
+
enforceable.
|
272
|
+
d. No term or provision of this License shall be deemed waived and no
|
273
|
+
breach consented to unless such waiver or consent shall be in writing
|
274
|
+
and signed by the party to be charged with such waiver or consent.
|
275
|
+
e. This License constitutes the entire agreement between the parties with
|
276
|
+
respect to the Work licensed here. There are no understandings,
|
277
|
+
agreements or representations with respect to the Work not specified
|
278
|
+
here. Licensor shall not be bound by any additional provisions that
|
279
|
+
may appear in any communication from You. This License may not be
|
280
|
+
modified without the mutual written agreement of the Licensor and You.
|
281
|
+
f. The rights granted under, and the subject matter referenced, in this
|
282
|
+
License were drafted utilizing the terminology of the Berne Convention
|
283
|
+
for the Protection of Literary and Artistic Works (as amended on
|
284
|
+
September 28, 1979), the Rome Convention of 1961, the WIPO Copyright
|
285
|
+
Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996
|
286
|
+
and the Universal Copyright Convention (as revised on July 24, 1971).
|
287
|
+
These rights and subject matter take effect in the relevant
|
288
|
+
jurisdiction in which the License terms are sought to be enforced
|
289
|
+
according to the corresponding provisions of the implementation of
|
290
|
+
those treaty provisions in the applicable national law. If the
|
291
|
+
standard suite of rights granted under applicable copyright law
|
292
|
+
includes additional rights not granted under this License, such
|
293
|
+
additional rights are deemed to be included in the License; this
|
294
|
+
License is not intended to restrict the license of any rights under
|
295
|
+
applicable law.
|
296
|
+
|
297
|
+
|
298
|
+
Creative Commons Notice
|
299
|
+
|
300
|
+
Creative Commons is not a party to this License, and makes no warranty
|
301
|
+
whatsoever in connection with the Work. Creative Commons will not be
|
302
|
+
liable to You or any party on any legal theory for any damages
|
303
|
+
whatsoever, including without limitation any general, special,
|
304
|
+
incidental or consequential damages arising in connection to this
|
305
|
+
license. Notwithstanding the foregoing two (2) sentences, if Creative
|
306
|
+
Commons has expressly identified itself as the Licensor hereunder, it
|
307
|
+
shall have all rights and obligations of Licensor.
|
308
|
+
|
309
|
+
Except for the limited purpose of indicating to the public that the
|
310
|
+
Work is licensed under the CCPL, Creative Commons does not authorize
|
311
|
+
the use by either party of the trademark "Creative Commons" or any
|
312
|
+
related trademark or logo of Creative Commons without the prior
|
313
|
+
written consent of Creative Commons. Any permitted use will be in
|
314
|
+
compliance with Creative Commons' then-current trademark usage
|
315
|
+
guidelines, as may be published on its website or otherwise made
|
316
|
+
available upon request from time to time. For the avoidance of doubt,
|
317
|
+
this trademark restriction does not form part of this License.
|
318
|
+
|
319
|
+
Creative Commons may be contacted at http://creativecommons.org/.
|
@@ -0,0 +1,244 @@
|
|
1
|
+
/* jshint node: true */
|
2
|
+
|
3
|
+
module.exports = function(grunt) {
|
4
|
+
"use strict";
|
5
|
+
|
6
|
+
RegExp.quote = require('regexp-quote')
|
7
|
+
var btoa = require('btoa')
|
8
|
+
// Project configuration.
|
9
|
+
grunt.initConfig({
|
10
|
+
|
11
|
+
// Metadata.
|
12
|
+
pkg: grunt.file.readJSON('package.json'),
|
13
|
+
banner: '/*!\n' +
|
14
|
+
' * Bootstrap v<%= pkg.version %> by @fat and @mdo\n' +
|
15
|
+
' * Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' +
|
16
|
+
' * Licensed under <%= _.pluck(pkg.licenses, "url").join(", ") %>\n' +
|
17
|
+
' *\n' +
|
18
|
+
' * Designed and built with all the love in the world by @mdo and @fat.\n' +
|
19
|
+
' */\n\n',
|
20
|
+
jqueryCheck: 'if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery") }\n\n',
|
21
|
+
|
22
|
+
// Task configuration.
|
23
|
+
clean: {
|
24
|
+
dist: ['dist']
|
25
|
+
},
|
26
|
+
|
27
|
+
jshint: {
|
28
|
+
options: {
|
29
|
+
jshintrc: 'js/.jshintrc'
|
30
|
+
},
|
31
|
+
gruntfile: {
|
32
|
+
src: 'Gruntfile.js'
|
33
|
+
},
|
34
|
+
src: {
|
35
|
+
src: ['js/*.js']
|
36
|
+
},
|
37
|
+
test: {
|
38
|
+
src: ['js/tests/unit/*.js']
|
39
|
+
}
|
40
|
+
},
|
41
|
+
|
42
|
+
concat: {
|
43
|
+
options: {
|
44
|
+
banner: '<%= banner %><%= jqueryCheck %>',
|
45
|
+
stripBanners: false
|
46
|
+
},
|
47
|
+
bootstrap: {
|
48
|
+
src: [
|
49
|
+
'js/transition.js',
|
50
|
+
'js/alert.js',
|
51
|
+
'js/button.js',
|
52
|
+
'js/carousel.js',
|
53
|
+
'js/collapse.js',
|
54
|
+
'js/dropdown.js',
|
55
|
+
'js/modal.js',
|
56
|
+
'js/tooltip.js',
|
57
|
+
'js/popover.js',
|
58
|
+
'js/scrollspy.js',
|
59
|
+
'js/tab.js',
|
60
|
+
'js/affix.js'
|
61
|
+
],
|
62
|
+
dest: 'dist/js/<%= pkg.name %>.js'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
|
66
|
+
uglify: {
|
67
|
+
options: {
|
68
|
+
banner: '<%= banner %>',
|
69
|
+
report: 'min'
|
70
|
+
},
|
71
|
+
bootstrap: {
|
72
|
+
src: ['<%= concat.bootstrap.dest %>'],
|
73
|
+
dest: 'dist/js/<%= pkg.name %>.min.js'
|
74
|
+
}
|
75
|
+
},
|
76
|
+
|
77
|
+
recess: {
|
78
|
+
options: {
|
79
|
+
compile: true,
|
80
|
+
banner: '<%= banner %>'
|
81
|
+
},
|
82
|
+
bootstrap: {
|
83
|
+
src: ['less/bootstrap.less'],
|
84
|
+
dest: 'dist/css/<%= pkg.name %>.css'
|
85
|
+
},
|
86
|
+
min: {
|
87
|
+
options: {
|
88
|
+
compress: true
|
89
|
+
},
|
90
|
+
src: ['less/bootstrap.less'],
|
91
|
+
dest: 'dist/css/<%= pkg.name %>.min.css'
|
92
|
+
},
|
93
|
+
theme: {
|
94
|
+
src: ['less/theme.less'],
|
95
|
+
dest: 'dist/css/<%= pkg.name %>-theme.css'
|
96
|
+
},
|
97
|
+
theme_min: {
|
98
|
+
options: {
|
99
|
+
compress: true
|
100
|
+
},
|
101
|
+
src: ['less/theme.less'],
|
102
|
+
dest: 'dist/css/<%= pkg.name %>-theme.min.css'
|
103
|
+
}
|
104
|
+
},
|
105
|
+
|
106
|
+
copy: {
|
107
|
+
fonts: {
|
108
|
+
expand: true,
|
109
|
+
src: ["fonts/*"],
|
110
|
+
dest: 'dist/'
|
111
|
+
}
|
112
|
+
},
|
113
|
+
|
114
|
+
qunit: {
|
115
|
+
options: {
|
116
|
+
inject: 'js/tests/unit/phantom.js'
|
117
|
+
},
|
118
|
+
files: ['js/tests/*.html']
|
119
|
+
},
|
120
|
+
|
121
|
+
connect: {
|
122
|
+
server: {
|
123
|
+
options: {
|
124
|
+
port: 3000,
|
125
|
+
base: '.'
|
126
|
+
}
|
127
|
+
}
|
128
|
+
},
|
129
|
+
|
130
|
+
jekyll: {
|
131
|
+
docs: {}
|
132
|
+
},
|
133
|
+
|
134
|
+
validation: {
|
135
|
+
options: {
|
136
|
+
reset: true,
|
137
|
+
relaxerror: [
|
138
|
+
"Bad value X-UA-Compatible for attribute http-equiv on element meta.",
|
139
|
+
"Element img is missing required attribute src."
|
140
|
+
]
|
141
|
+
},
|
142
|
+
files: {
|
143
|
+
src: ["_gh_pages/**/*.html"]
|
144
|
+
}
|
145
|
+
},
|
146
|
+
|
147
|
+
watch: {
|
148
|
+
src: {
|
149
|
+
files: '<%= jshint.src.src %>',
|
150
|
+
tasks: ['jshint:src', 'qunit']
|
151
|
+
},
|
152
|
+
test: {
|
153
|
+
files: '<%= jshint.test.src %>',
|
154
|
+
tasks: ['jshint:test', 'qunit']
|
155
|
+
},
|
156
|
+
recess: {
|
157
|
+
files: 'less/*.less',
|
158
|
+
tasks: ['recess']
|
159
|
+
}
|
160
|
+
},
|
161
|
+
|
162
|
+
sed: {
|
163
|
+
versionNumber: {
|
164
|
+
pattern: (function () {
|
165
|
+
var old = grunt.option('oldver')
|
166
|
+
return old ? RegExp.quote(old) : old
|
167
|
+
})(),
|
168
|
+
replacement: grunt.option('newver'),
|
169
|
+
recursive: true
|
170
|
+
}
|
171
|
+
}
|
172
|
+
});
|
173
|
+
|
174
|
+
|
175
|
+
// These plugins provide necessary tasks.
|
176
|
+
grunt.loadNpmTasks('browserstack-runner');
|
177
|
+
grunt.loadNpmTasks('grunt-contrib-clean');
|
178
|
+
grunt.loadNpmTasks('grunt-contrib-concat');
|
179
|
+
grunt.loadNpmTasks('grunt-contrib-connect');
|
180
|
+
grunt.loadNpmTasks('grunt-contrib-copy');
|
181
|
+
grunt.loadNpmTasks('grunt-contrib-jshint');
|
182
|
+
grunt.loadNpmTasks('grunt-contrib-qunit');
|
183
|
+
grunt.loadNpmTasks('grunt-contrib-uglify');
|
184
|
+
grunt.loadNpmTasks('grunt-contrib-watch');
|
185
|
+
grunt.loadNpmTasks('grunt-html-validation');
|
186
|
+
grunt.loadNpmTasks('grunt-jekyll');
|
187
|
+
grunt.loadNpmTasks('grunt-recess');
|
188
|
+
grunt.loadNpmTasks('grunt-sed');
|
189
|
+
|
190
|
+
// Docs HTML validation task
|
191
|
+
grunt.registerTask('validate-html', ['jekyll', 'validation']);
|
192
|
+
|
193
|
+
// Test task.
|
194
|
+
var testSubtasks = ['dist-css', 'jshint', 'qunit', 'validate-html'];
|
195
|
+
// Only run BrowserStack tests under Travis
|
196
|
+
if (process.env.TRAVIS) {
|
197
|
+
// Only run BrowserStack tests if this is a mainline commit in twbs/bootstrap, or you have your own BrowserStack key
|
198
|
+
if ((process.env.TRAVIS_REPO_SLUG === 'twbs/bootstrap' && process.env.TRAVIS_PULL_REQUEST === 'false') || process.env.TWBS_HAVE_OWN_BROWSERSTACK_KEY) {
|
199
|
+
testSubtasks.push('browserstack_runner');
|
200
|
+
}
|
201
|
+
}
|
202
|
+
grunt.registerTask('test', testSubtasks);
|
203
|
+
|
204
|
+
// JS distribution task.
|
205
|
+
grunt.registerTask('dist-js', ['concat', 'uglify']);
|
206
|
+
|
207
|
+
// CSS distribution task.
|
208
|
+
grunt.registerTask('dist-css', ['recess']);
|
209
|
+
|
210
|
+
// Fonts distribution task.
|
211
|
+
grunt.registerTask('dist-fonts', ['copy']);
|
212
|
+
|
213
|
+
// Full distribution task.
|
214
|
+
grunt.registerTask('dist', ['clean', 'dist-css', 'dist-fonts', 'dist-js']);
|
215
|
+
|
216
|
+
// Default task.
|
217
|
+
grunt.registerTask('default', ['test', 'dist', 'build-customizer']);
|
218
|
+
|
219
|
+
// Version numbering task.
|
220
|
+
// grunt change-version-number --oldver=A.B.C --newver=X.Y.Z
|
221
|
+
// This can be overzealous, so its changes should always be manually reviewed!
|
222
|
+
grunt.registerTask('change-version-number', ['sed']);
|
223
|
+
|
224
|
+
// task for building customizer
|
225
|
+
grunt.registerTask('build-customizer', 'Add scripts/less files to customizer.', function () {
|
226
|
+
var fs = require('fs')
|
227
|
+
|
228
|
+
function getFiles(type) {
|
229
|
+
var files = {}
|
230
|
+
fs.readdirSync(type)
|
231
|
+
.filter(function (path) {
|
232
|
+
return type == 'fonts' ? true : new RegExp('\\.' + type + '$').test(path)
|
233
|
+
})
|
234
|
+
.forEach(function (path) {
|
235
|
+
var fullPath = type + '/' + path
|
236
|
+
return files[path] = (type == 'fonts' ? btoa(fs.readFileSync(fullPath)) : fs.readFileSync(fullPath, 'utf8'))
|
237
|
+
})
|
238
|
+
return 'var __' + type + ' = ' + JSON.stringify(files) + '\n'
|
239
|
+
}
|
240
|
+
|
241
|
+
var files = getFiles('js') + getFiles('less') + getFiles('fonts')
|
242
|
+
fs.writeFileSync('docs-assets/js/raw-files.js', files)
|
243
|
+
});
|
244
|
+
};
|