Coder Social home page Coder Social logo

sinatra-simple-auth's Introduction

Hi there ๐Ÿ‘‹

I am Vasily Polovnyov, Ruby, JavaScript developer and blogger based in Kursk, Russia.

๐Ÿ’ฌ Ask me about software testing, RSpec, Ruby and Rails.

๐Ÿ“ซ Reach me out at [email protected]

sinatra-simple-auth's People

Contributors

vast avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sinatra-simple-auth's Issues

License missing from gemspec

Some companies will only use gems with a certain license.
The canonical and easy way to check is via the gemspec
via e.g.

spec.license = 'MIT'
# or
spec.licenses = ['MIT', 'GPL-2']

There is even a License Finder to help companies ensure all gems they use
meet their licensing needs. This tool depends on license information being available in the gemspec.
Including a license in your gemspec is a good practice, in any case.

How did I find you?

I'm using a script to collect stats on gems, originally looking for download data, but decided to collect licenses too,
and make issues for missing ones as a public service :)
https://gist.github.com/bf4/5952053#file-license_issue-rb-L13 So far it's going pretty well

Sessions don't seem to be working?

I've added enable :sessions and everything seems to be working as it should: but when I post to login/? with params['password'] set, it just doesn't seem to correctly set the session.

I always get bounced like this:

127.0.0.1 - - [04/Dec/2017:12:32:55 +0000] "POST /login HTTP/1.1" 303 - 0.0183
127.0.0.1 - - [04/Dec/2017:12:32:55 +0000] "GET / HTTP/1.1" 302 - 0.0315
127.0.0.1 - - [04/Dec/2017:12:32:56 +0000] "GET /login HTTP/1.1" 200 367 0.0415

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.