rasti-web-api_doc 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rasti/web/api_doc/task.rb +2 -2
- data/lib/rasti/web/api_doc/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94f0a362ec54aa97bd073851c034cb09e6078da8
|
4
|
+
data.tar.gz: cced57bab81748d321ac1e705240eff4583b14ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abe51ff58550f1cdedb721306e8221db46020393e0cbfe278395c7b3aebfc524121da297a004609e0f95835d0ad69f904901cbfea4acd8726b56438096beba15
|
7
|
+
data.tar.gz: c1d8244980432ae9904665f51e64b47ab05a8d0c44052e7ace528ab09391c70a365976d895fb08bf825cb78924907d0d7afd5bb390279fa31fb6aa6c3e1f03d3
|
@@ -24,7 +24,7 @@ module Rasti
|
|
24
24
|
task name do
|
25
25
|
ENV['RACK_ENV'] ||= 'test'
|
26
26
|
require env if env
|
27
|
-
application = Object.const_get
|
27
|
+
application = app.split('::').inject(Object) { |c,n| c.const_get(n) }
|
28
28
|
|
29
29
|
Rasti::Web::ApiDoc.tracker = Tracker.new application.all_routes
|
30
30
|
|
@@ -110,4 +110,4 @@ module Rasti
|
|
110
110
|
end
|
111
111
|
end
|
112
112
|
end
|
113
|
-
end
|
113
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rasti-web-api_doc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriel Naiman
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rasti-web
|