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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cc62167910daa3a5fc15cade8b2d3fd3056ea7c0
4
- data.tar.gz: 819145533aa50ee96802f4f0ed97119bf21ed7f7
3
+ metadata.gz: 94f0a362ec54aa97bd073851c034cb09e6078da8
4
+ data.tar.gz: cced57bab81748d321ac1e705240eff4583b14ea
5
5
  SHA512:
6
- metadata.gz: 766997829111040e197f0a6265972ff17ad10a994746ff4e2d66aa6d311fa1555c67c4c62ce649c28d161d3908c0f5842ef85512e32b482f71b27ba7c624bbda
7
- data.tar.gz: 49922f7ae586de7be2cac0ed1a2fb21fb90f654f625b11b979453f294d951cf591bb09dac396e4a403d6f78f60d866688e33f584cdd2185d6f873dd167309e90
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 app
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
@@ -1,7 +1,7 @@
1
1
  module Rasti
2
2
  module Web
3
3
  module ApiDoc
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  end
6
6
  end
7
7
  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.0
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-15 00:00:00.000000000 Z
11
+ date: 2016-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rasti-web