I hereby claim:
- I am fidothe on github.
- I am fidothe (https://keybase.io/fidothe) on keybase.
- I have a public key whose fingerprint is FA58 96E6 EE8E 6FD8 483C 6AE9 2EDA FDD2 5AB8 38C2
To claim this, I am signing this object:
# for reading Heredoc into var | |
# (from http://stackoverflow.com/questions/1167746/how-to-assign-a-heredoc-value-to-a-variable-in-bash/8088167#8088167) | |
assign_heredoc(){ IFS='\n' read -r -d '' ${1} || true; } | |
assign_heredoc INSTALL_SCRIPT <<'SCRIPT' | |
HEROKU_CLIENT_URL="http://assets.heroku.com.s3.amazonaws.com/heroku-client/heroku-client.tgz" | |
# download and extract the client tarball | |
rm -rf /usr/local/heroku |
{ | |
"name": "next_timeline", | |
"version": "0.1.0", | |
"description": "Just the test infrastructure, ma'am", | |
"devDependencies": { | |
"buster": "~0.6.12", | |
"requirejs": "~2.1.2" | |
}, | |
"dependencies": {}, | |
"scripts": { |
source "http://rubygems.org/" | |
gem 'vcr', '2.4.0' | |
gem 'cucumber', '1.2.4' | |
gem 'webmock', '1.11.0' |
<html> | |
<head> | |
<title>tap eating</title> | |
</head> | |
<body> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<script> | |
var width = 960, | |
height = 500; | |
require 'sinatra/base' | |
require 'rack/test' | |
class Silly | |
include Rack::Test::Methods | |
def app | |
Sinatra.new do | |
get '/', provides: :xml do | |
p env |
I hereby claim:
To claim this, I am signing this object:
2.1.2 |
\hi\ |
require 'lotus/model' | |
require 'json' | |
module Lotus::Model::Mapping::Coercions | |
def self.JSON(arg) | |
return nil if arg.nil? | |
case arg | |
when String | |
JSON.parse(arg) | |
else |
require 'spec_helper' | |
RSpec.describe MyRepository, :db do | |
it "will be rolled back after completion" do | |
MyRepository.create(MyEntity.new) | |
expect(MyRepository.all.size).to eq(1) | |
end | |
it "will also be rolled back" do | |
MyRepository.create(MyEntity.new) |