This file has been truncated, but you can view the full file.
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
Finished tests in 327.471419s, 11.7232 tests/s, 31.3188 assertions/s. | |
1) Failure: | |
ActiveRecord::AdapterTest#test_disable_referential_integrity [/home/ray/Workspace/fb_adapter/rails/activerecord/test/cases/adapter_test.rb:147]: | |
Exception raised: | |
<#<ActiveRecord::InvalidForeignKey: Fb::Error: violation of FOREIGN KEY constraint "" | |
violation of FOREIGN KEY constraint "FK_NAME" on table "FK_TEST_HAS_FK" | |
Foreign key reference target does not exist | |
: INSERT INTO fk_test_has_fk (id, fk_id) VALUES (1001,0)>>. |
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
Finished tests in 519.667393s, 8.3534 tests/s, 21.4676 assertions/s. | |
1) Error: | |
ActiveRecord::AdapterTest#test_disable_referential_integrity: | |
ActiveRecord::InvalidForeignKey: Fb::Error: violation of FOREIGN KEY constraint "" | |
violation of FOREIGN KEY constraint "FK_NAME" on table "FK_TEST_HAS_FK" | |
Foreign key reference target does not exist | |
: INSERT INTO fk_test_has_fk (id, fk_id) VALUES (1001,0) | |
/home/ray/Workspace/fb_adapter/activerecord-fb-adapter-updated/lib/active_record/connection_adapters/fb/database_statements.rb:18:in `execute' | |
/home/ray/Workspace/fb_adapter/activerecord-fb-adapter-updated/lib/active_record/connection_adapters/fb/database_statements.rb:18:in `block (2 levels) in execute' |
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
Finished in 528.247378s, 8.6153 runs/s, 21.9916 assertions/s. | |
1) Failure: | |
ActiveRecord::Migration::ColumnsTest#test_change_column [/home/ray/Workspace/fb_adapter/rails/activerecord/test/cases/migration/columns_test.rb:202]: | |
Expected #<ActiveRecord::ConnectionAdapters::FbColumn:0x00000007f51d18 @firebird_type="INTEGER", @name="approved", @sql_type="INTEGER", @null=true, @limit=nil, @precision=nil, @scale=nil, @type=:integer, @default="1", @default_function=nil, @primary=nil, @coder=nil, @domain="BOOLEAN", @sub_type=0> to be nil or false | |
2) Error: | |
ActiveRecord::Migration::ColumnsTest#test_change_column_default: | |
ActiveRecord::StatementInvalid: Fb::Error: Invalid token |
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
require 'bundler/inline' | |
require 'minitest/spec' | |
require 'minitest/autorun' | |
gemfile true do | |
source 'https://rubygems.org' | |
gem 'activerecord', '~> 5.0.0' | |
gem 'sqlite3' | |
gem 'baby_squeel', github: 'rzane/baby_squeel' | |
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
require 'bundler/inline' | |
require 'minitest/spec' | |
require 'minitest/autorun' | |
gemfile true do | |
source 'https://rubygems.org' | |
gem 'activerecord', '4.2.6', require: false | |
gem 'sqlite3' | |
gem 'squeel', '1.2.3', require: false | |
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
Show hidden characters
{ | |
"presets": [ | |
"es2015" | |
], | |
"plugins": [ | |
"transform-decorators-legacy", | |
"transform-class-properties" | |
] | |
} |
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
#!/usr/bin/env ruby | |
require 'uri' | |
require 'delegate' | |
class PG < SimpleDelegator | |
FLAGS = ['--verbose', '--clean', '--no-owner', '--no-acl', '-j', '4'] | |
def initialize(url) | |
super URI.parse(url) |
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
const fs = require('fs'); | |
const path = require('path'); | |
const { CLIEngine } = require('eslint'); | |
const readline = require('readline-sync'); | |
const cli = new CLIEngine({ | |
parser: 'babel-eslint', | |
useEslintrc: false, | |
plugins: ['react'], | |
rules: { 'react/prop-types': ['error', {}] } |
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
class After < Struct.new(:text) | |
def call | |
text.gsub(Model::FIXES[0], 'saved_change_to_\1?') | |
.gsub(Model::FIXES[1], '\1_before_last_save') | |
end | |
end | |
class Before < Struct.new(:text) | |
def call | |
text.gsub(Model::FIXES[0], 'will_save_change_to_\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
<html> | |
<head> | |
<title>Apollo Query Reproduction</title> | |
<meta charset="UTF-8" /> | |
</head> | |
<body> | |
<div id="app"> | |
<h1>These are the headers that get sent along:</h1> | |
</div> |
OlderNewer