Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

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.
base fork: rkh/sinatra.fy
base: master
...
head fork: bakkdoor/sinatra.fy
compare: master
Checking mergeability… Don't worry, you can still create the pull request.
  • 3 commits
  • 2 files changed
  • 0 commit comments
  • 1 contributor
Showing with 19 additions and 1 deletion.
  1. +18 −0 lib/sinatra.fy
  2. +1 −1  sinatra.fy.fancypack
View
18 lib/sinatra.fy
@@ -48,10 +48,28 @@ class Sinatra Base {
alias_method: 'redirect: for_ruby: 'redirect
alias_method: 'to: for_ruby: 'to
+ alias_method: 'content_type: for_ruby: 'content_type
+
+ def self helpers: block {
+ helpers(&block)
+ }
}
class Sinatra Request {
forwards_unary_ruby_methods
}
+class Rack Response {
+ forwards_unary_ruby_methods
+ alias_method: '[] for_ruby: '[]
+ alias_method: '[]: for_ruby: '[]=
+}
+
+class Rack Request {
+ forwards_unary_ruby_methods
+ alias_method: '[] for_ruby: '[]
+ alias_method: '[]: for_ruby: '[]=
+}
+
+
enable: 'run
View
2  sinatra.fy.fancypack
@@ -4,6 +4,6 @@ Fancy Package Specification new: "sinatra.fy" with: {
include_files: ["lib/sinatra.fy"]
description: "A Fancy DSL for creating Sinatra web applications"
homepage: "http://www.sinatrarb.org"
- version: "0.0.1"
+ version: "0.1.0"
ruby_dependencies: [["sinatra"]]
}

No commit comments for this range

Something went wrong with that request. Please try again.