Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
  • 3 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 6 additions and 2 deletions.
  1. +5 −2 README.txt
  2. +1 −0 test/demo/service/test_token_service.rb
View
7 README.txt
@@ -6,7 +6,8 @@
naf is not a framework.
-You should probably fork this and add some sense to it all.
+(It is also not a Rails app or a Sinatra app (unless you want it to respond to
+things that use HyperText Transfer Protocol).)
== FEATURES/PROBLEMS:
@@ -41,6 +42,8 @@ frontend models and validations, etc.
Tying together of various things, like routes for controllers, and decisions
about which type of DAO to use currently sit in config.ru.
+You should probably fork this and add some sense to it all.
+
1: http://confreaks.com/videos/759-rubymidwest2011-keynote-architecture-the-lost-years
2: http://json-schema.org/
@@ -50,7 +53,7 @@ about which type of DAO to use currently sit in config.ru.
== REQUIREMENTS:
-* Sinatra
+* Sinatra if interwobbing.
* Sequel if ORMing.
== INSTALL:
View
1 test/demo/service/test_token_service.rb
@@ -27,6 +27,7 @@ def find(*args)
end.new
service = TokenService.new
+ service.token_store = Storage::HashedTokenStore.new
service.dao = dao
token = service.authorize("bob", "anything")

No commit comments for this range

Something went wrong with that request. Please try again.