doraemon 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/doraemon/api_manager.rb +1 -0
- data/lib/doraemon/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 6525d668d265446b3581c604163d8c9920c511f5
|
4
|
+
data.tar.gz: 0f77daf6ec70676072986d3fe585577f17ff3220
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0fc82b02d2b71f29f0b196cdd0bd9c56ef78d27f1ff40b9351db5eeaf45bcc8652670dbb4dbd735a5aef5f11eb5414604c69cf693fcc5f6d4f87abb5ebfc194f
|
7
|
+
data.tar.gz: d7211e89f0c49007f24137a156d9570c8dc292996c92531d6f202c5b81fd8add53f508106f0a3550b3bee047da14e22ca9316101346ed2345e3a68763308463c
|
data/lib/doraemon/api_manager.rb
CHANGED
@@ -15,6 +15,7 @@ module Doraemon
|
|
15
15
|
Dir.foreach(@root) do |filename|
|
16
16
|
next if !accept_exts.include? File.extname(filename).downcase
|
17
17
|
api_name = "/#{File.basename(filename, '.*')}".tr('_', '/')
|
18
|
+
api_name = api_name.gsub('//', '_')
|
18
19
|
api_list[api_name] = filename
|
19
20
|
puts "#{api_name} => #{filename}"
|
20
21
|
end
|
data/lib/doraemon/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: doraemon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- zhuoyi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
120
|
version: '0'
|
121
121
|
requirements: []
|
122
122
|
rubyforge_project:
|
123
|
-
rubygems_version: 2.
|
123
|
+
rubygems_version: 2.5.2.3
|
124
124
|
signing_key:
|
125
125
|
specification_version: 4
|
126
126
|
summary: a simple API mock server
|