This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| core: &core | |
| adapter: postgresql | |
| host: 127.0.0.1 | |
| username: postgres | |
| database: magnum<%= ENV['TEST_ENV_NUMBER'] %> | |
| development: | |
| <<: *core | |
| test: | |
| <<: *core |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'scss_lint' | |
| module SassExtractor | |
| mattr_accessor :color_var_nodes | |
| mattr_accessor :color_nodes | |
| self.color_var_nodes = [] | |
| self.color_nodes = [] | |
| module Vistors | |
| class VariableGatherer < SCSSLint::Linter |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function fpushrel () { | |
| # Assertion: At least one arg | |
| if [ -z $1 ]; then | |
| echo "ERROR: Please provide a branch to push (eg staging/production)"; return | |
| fi | |
| # Assertion: No uncommited changes | |
| if ! [ $(git status -s | wc -l) -eq 0 ]; then | |
| echo "ERROR: You have changes that have not been committed"; return | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script> | |
| <% if File.exists? Rails.root.join('public/assets/manifest.yml') %> | |
| window.railsAssetManifest = <%= raw YAML.load_file(Rails.root.join('public/assets/manifest.yml')).to_json %>; | |
| <% else %> | |
| window.railsAssetManifest = {}; | |
| <% end %> | |
| window.railsAssetPath = function(assetName){ | |
| result = (!!window.railsAssetManifest[assetName] ? window.railsAssetManifest[assetName] : assetName); | |
| return ('/assets/' + result); |
OlderNewer