raisin 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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:
|