This file contains 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
# Make sure no jobs are enqueued from a rolled back | |
# transaction. | |
# | |
# Note the after_transaction yields immediately if there is no open | |
# transcation. | |
require 'ar_after_transaction' | |
require 'resque' | |
Resque.class_eval do |
This file contains 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
module RSpecTest | |
include RSpec::Matchers | |
def self.included(base) | |
base.extend ClassMethods | |
end | |
def expect(*a, &b) | |
# So number of assertions equals number of expectations in output | |
assert(true) |
This file contains 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
<p><%= t('.salutation', first_name: @user.first_name, last_name: @user.last_name) %>,</p> | |
<p><%= t('.instruction') %></p> | |
<p><%= link_to main_app.edit_user_password_url(@user, :reset_password_token => @token), | |
main_app.edit_user_password_url(@user, :reset_password_token => @token) %></p> | |
<p><%= t('.ending') %></p> | |
<p><%= t('.greeting') %></p> |
This file contains 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
groups: | |
page-colors: "Page Colors" | |
page-typography: "Page Typography" |
This file contains 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
@mixin background-icon($color: #444, $font-size: 19px, $left: 5px, $top: 5px) { | |
position: relative; | |
&:before { | |
position: absolute; | |
left: $left; | |
top: $top; | |
font-size: $font-size; | |
line-height: 1; |
This file contains 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
location ~ ^/entries/[0-9]+/files$ { | |
upload_pass @app; | |
upload_store /mnt/nginx_uploads 1; | |
upload_store_access user:rw group:rw all:r; | |
upload_set_form_field $upload_field_name[original_name] "$upload_file_name"; | |
upload_set_form_field $upload_field_name[content_type] "$upload_content_type"; | |
upload_set_form_field $upload_field_name[tmp_path] "$upload_tmp_path"; |
This file contains 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
Request URL: https://ci.doclets.io/github/callback | |
Request method: POST | |
content-type: application/json | |
Expect: | |
User-Agent: GitHub-Hookshot/8d6c563 | |
X-GitHub-Delivery: 5b304e00-4e63-11e6-8cf3-7a3df8ed0a05 | |
X-GitHub-Event: push | |
X-Hub-Signature: sha1=54f0ff5fe40d7ba57f1b13f37f6649e53c8a8077 |
This file contains 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
module WithoutPasswordProtectionScopes | |
module Revision | |
extend ActiveSupport::Concern | |
included do | |
scope(:without_password_protection, | |
-> { where('password_protected IS NOT TRUE') }) | |
end | |
end |
This file contains 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
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:1.3:install-node-and-yarn (install node a | |
nd yarn) on project WDRVerkehrWebsite: Execution install node and yarn of goal com.github.eirslett:frontend-maven- | |
plugin:1.3:install-node-and-yarn failed. NullPointerException -> [Help 1] | |
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal com.github.eirslett:frontend-maven- | |
plugin:1.3:install-node-and-yarn (install node and yarn) on project WDRVerkehrWebsite: Execution install node and | |
yarn of goal com.github.eirslett:frontend-maven-plugin:1.3:install-node-and-yarn failed. | |
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212) | |
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) | |
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) | |
at org.apache.maven.lifecycle.internal.LifecycleModuleB |
OlderNewer