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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: c1be5652d22ad58e5ecb54b682c57954642fd2eb464370b0b3d901d55c67748f
4
- data.tar.gz: a114817386e5f44616a1c2f4ac6740f8964f57c03b76699f7698bed8f2a91581
2
+ SHA1:
3
+ metadata.gz: 6525d668d265446b3581c604163d8c9920c511f5
4
+ data.tar.gz: 0f77daf6ec70676072986d3fe585577f17ff3220
5
5
  SHA512:
6
- metadata.gz: a29d5dc811cb3be9eb162cda21fd90f82b89fd5c2a6433fe25918f1275c4422a2260c28aad0bb53a1a64a7466ce905959ec89271f235d03535fbc2fac8a13da5
7
- data.tar.gz: e1113b9be4f5dced09d1e7aea1b40453525b4d552db449e6bc294a8f1888eec386fe61e7200d6c7dd48c721d2086033df12a20a685678bbd9d70f8942f2d61c6
6
+ metadata.gz: 0fc82b02d2b71f29f0b196cdd0bd9c56ef78d27f1ff40b9351db5eeaf45bcc8652670dbb4dbd735a5aef5f11eb5414604c69cf693fcc5f6d4f87abb5ebfc194f
7
+ data.tar.gz: d7211e89f0c49007f24137a156d9570c8dc292996c92531d6f202c5b81fd8add53f508106f0a3550b3bee047da14e22ca9316101346ed2345e3a68763308463c
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Doraemon
2
- VERSION = "1.0.5"
2
+ VERSION = "1.0.6"
3
3
  end
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.5
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-08 00:00:00.000000000 Z
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.7.7
123
+ rubygems_version: 2.5.2.3
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: a simple API mock server