Skip to content

Instantly share code, notes, and snippets.

View hayduke19us's full-sized avatar
🐙

matthew sullivan hayduke19us

🐙
View GitHub Profile
$(document).on("click", "#menu", ->
$( '.off-canvas-wrap' ).foundation('offcanvas', 'show', 'move-right');
false
)
$(document).foundation({
offcanvas : {
open_method : 'move',
close_on_click : true
}
class Api::V1::Scout::SessionsController < Devise::SessionsController
skip_before_filter :verify_authenticity_token
prepend_before_filter :allow_params_authentication!, only: :create
prepend_before_filter :require_no_authentication, :only => [:create ]
include Devise::Controllers::Helpers
respond_to :json
def create
if correct_headers?
POST /api/v1/scouts/sign_in HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
Content-Length: 0
Host: staging.fieldjournal.io
User-Agent: HTTPie/0.8.0
email: [email protected]
password: rainflood
{
"type"=>"Polygon",
"coordinates"=>[[[-97.68135853515645, 42.56150990742894],
[-97.6813629960469, 42.56428179008701],
[-97.68072126593715, 42.56391824513394],
[-97.6797863438142, 42.563551318380945],
[-97.67868356591795, 42.56319793370675],
[-97.67775193643915, 42.56267617743888],
[-97.67643616543103, 42.561499602920016],
[-97.68135853515645, 42.56150990742894]]]
standHash = {}
standHash[15] = "34.833"
standHash[20] = "26.17"
standHash[30] = "17.417"
standHash[36] = "14.5"
standHash[38] = "13.750"
module ApiTools
extend ActiveSupport::Concern
class Authenticate < Base
attr_reader :password
def initialize args
super(args)
@password = args.fetch(:password, false)
end

Description

  1. Build is clean
  2. Version is up to date from remotes/origin/master
  3. Xcode is up to date
  4. Simulator run Compiles with no errors
  5. Login screen shows

The request is successful and recieves a 200 from the server. The login form leaves the page as expected and then it hangs on the loading animation.

/*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
*
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
* compiled file so the styles you add here take precedence over styles defined in any styles
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
{"1"=>[{"id"=>1026641360, "name"=>"Mark Schneider"}, {"id"=>1026641357, "name"=>"Chris Johnson"}, {"id"=>1026641358, "name"=>"Scott Eisenhauer"}, {"id"=>1026641359, "name"=>"Trent Peterson"}]}