I hereby claim:
- I am oestrich on github.
- I am ericoestrich (https://keybase.io/ericoestrich) on keybase.
- I have a public key ASDfZSNUBY96XScRjsdNmXpz6nHJ0y1XhfVA6MnxOGUG2Qo
To claim this, I am signing this object:
curl -H "Accept: application/json" https://midmud.com/ | |
curl -H "Accept: application/hal+json" https://midmud.com/ | |
curl -H "Accept: application/vnd.siren+json" https://midmud.com/ | |
curl -H "Accept: application/vnd.collection+json" https://midmud.com/ | |
curl -H "Accept: application/vnd.mason+json" https://midmud.com/ |
private_key = "..." | |
client_email = "..." | |
bucket = "..." | |
path = "..." | |
full_path = "/#{bucket}/#{path}" | |
expiration = 5.minutes.from_now.to_i | |
signature_string = [ | |
"GET", |
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", |
{ | |
"annotations": { | |
"list": [ | |
{ | |
"$$hashKey": "object:174", | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", |
Code.require_file("router.exs") | |
defmodule Commands.User do | |
@behaviour Router.PreParser | |
@impl Router.PreParser | |
def call(state) do | |
%{state | assigns: Map.put(state.assigns, :user, %{id: 10})} | |
end | |
end |
I hereby claim:
To claim this, I am signing this object:
class ParallelTestAdapter < Faraday::Adapter::Test | |
self.supports_parallel = true | |
def self.setup_parallel_manager | |
OpenStruct.new | |
end | |
end |
ActiveSupport::Notifications.subscribe(/my_class$/) do |*args| | |
event = ActiveSupport::Notifications::Event.new(*args) | |
Rails.logger.warn "%7.2fms %s" % [event.duration, event.name] | |
end |
Feature: Use OAuth2 MAC client as a test client | |
Background: # features/oauth2_mac_client.feature:2 | |
Given a file named "app_spec.rb" with: # aruba-0.4.11/lib/aruba/cucumber.rb:15 | |
""" | |
require "rspec_api_documentation" | |
require "rspec_api_documentation/dsl" | |
require "rack/builder" | |
RspecApiDocumentation.configure do |config| |
source :rubygems | |
gem 'webmachine' | |
gem 'rspec' | |
gem 'rspec_api_documentation' | |
gem 'rack-test' | |
gem 'json_spec' |