The following steps will provide a manageable solution for simpleSAMLphp in a composer project.
Copy ScriptHandler.php file into scripts/simplesamlphp/ folder of your project (I'm using drupal-composer project)
Add class to the classmap
| stages: | |
| - deploy | |
| deploy: | |
| only: | |
| - tags | |
| stage: deploy | |
| script: | |
| - 'curl --header "Job-Token: $CI_JOB_TOKEN" --data tag=$CI_COMMIT_TAG "https://gitlab.com/api/v4/projects/$CI_PROJECT_ID/packages/composer"' |
| //== Spacing | |
| // | |
| $grid-breakpoints: ( | |
| xs: 0, | |
| sm: $screen-sm-min, | |
| md: $screen-md-min, | |
| lg: $screen-lg-min | |
| ); | |
| $spacer-x-0: 0rem; | |
| $spacer-y-0: 0rem; |
| <?php | |
| use Drupal\views\ViewExecutable; | |
| use Drupal\views\Plugin\views\query\QueryPluginBase; | |
| /** | |
| * Implements hook_views_query_alter(). | |
| * | |
| * @param ViewExecutable $view | |
| * @param QueryPluginBase $query |
The following steps will provide a manageable solution for simpleSAMLphp in a composer project.
Copy ScriptHandler.php file into scripts/simplesamlphp/ folder of your project (I'm using drupal-composer project)
Add class to the classmap
| #!/bin/bash | |
| if [ -t 1 ] && command -v tput > /dev/null; then | |
| # see if it supports colors | |
| ncolors=$(tput colors); | |
| if [ -n "$ncolors" ] && [ $ncolors -ge 8 ]; then | |
| bold="$(tput bold || echo)"; | |
| normal="$(tput sgr0 || echo)"; | |
| black="$(tput setaf 0 || echo)"; | |
| red="$(tput setaf 1 || echo)"; |
| module.exports = function (grunt) { | |
| "use strict"; | |
| require('load-grunt-tasks')(grunt); | |
| grunt.initConfig({ | |
| pkg: grunt.file.readJSON('package.json'), | |
| sass: { | |
| prod: { | |
| options: { |
| # config/application.rb | |
| module AssetsInitializers | |
| class Railtie < Rails::Railtie | |
| initializer "assets_initializers.initialize_rails", | |
| :group => :assets do |app| | |
| require "#{Rails.root}/config/initializers/sprockets_patch.rb" | |
| end | |
| end |
| // ====================================================================== | |
| // Animation.scss | |
| // - Contains helpers for keyframes animation in css3 | |
| // - Only functionally with Sass 3.2.0 Alpha and Compass 0.13.alpha | |
| // ====================================================================== | |
| @mixin animation($name) { | |
| -webkit-animation: #{$name}; | |
| -moz-animation: #{$name}; | |
| -ms-animation: #{$name}; |
| Template is missing | |
| Missing template registrants/index, application/index with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :arb, :jbuilder]}. Searched in: * "/home/ubuntu/workspace/backend-dev-test-devkinetic/app/views" * "/usr/local/rvm/gems/ruby-2.2.2/gems/html5-rails-0.1.0/app/views" * "/usr/local/rvm/gems/ruby-2.2.2/gems/devise-3.4.1/app/views" * "/usr/local/rvm/gems/ruby-2.2.2/bundler/gems/activeadmin-8968efcc51cc/app/views" * "/usr/local/rvm/gems/ruby-2.2.2/gems/kaminari-0.16.3/app/views" | |
| Extracted source (around line #46): | |
| def find(*args) | |
| find_all(*args).first || raise(MissingTemplate.new(self, *args)) | |
| end | |
| def find_all(path, prefixes = [], *args) |