raisin 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/raisin/api/dsl.rb +1 -1
- data/lib/raisin/middleware.rb +2 -5
- data/lib/raisin/version.rb +1 -1
- metadata +2 -2
data/lib/raisin/api/dsl.rb
CHANGED
@@ -7,7 +7,7 @@ module Raisin
|
|
7
7
|
method_name = options.key?(:as) ? options[:as].to_s : extract_method_name(path, :#{via})
|
8
8
|
|
9
9
|
klass = self.const_set method_name.camelize, Class.new(@_klass, &block)
|
10
|
-
|
10
|
+
|
11
11
|
if current_namespace && current_namespace.expose?
|
12
12
|
current_namespace.exposures.each do |name, b|
|
13
13
|
klass.send(:expose, name, &b)
|
data/lib/raisin/middleware.rb
CHANGED
data/lib/raisin/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raisin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-09 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: An opiniated micro-framework to easily build elegant API on top of Rails
|
15
15
|
email:
|