doraemon 1.0.9 → 1.0.10

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: 5e4a4dd1ac205222527e92ccc8c76cf0d19a6d00
4
- data.tar.gz: e8381dc8004dbb3879b5d1860a4ebb75cce204af
3
+ metadata.gz: 0e64c7ce6cce1c9188e4cc4aa8074f33320d17e5
4
+ data.tar.gz: 81c746f44d42d22b90ea690aed356e40d514e2f3
5
5
  SHA512:
6
- metadata.gz: db982b2f70b8464dac5253b5e85164d9873074e473c7b07cc2c972b8bc6af9cd278c66e9dac432f0a69e9b522163979e07d0deb696e9a19f21b190e1d54d40f0
7
- data.tar.gz: 8dc49902d838514b3dcd48ebb04d48aad6d99f861ef0a6028746405fdf318941dc9095471fdec45f7273ac7b6cd671067b5d9ce7be7a4ac69d375b3e38148e60
6
+ metadata.gz: 077e9886729e1ddd5c29968bbe5fafb7ccf5b44b4a7e0bcfd53a27838cda71f26a26555ba7fdb2d4d5cee8c9d85c4c6320dbd8745e58209e8f5d9959f5822d71
7
+ data.tar.gz: 8fb3963f16542148a8e70f39fec3387ab077dcf434dcb0d84d39a15d93bf96bd2bb16ec8330c7077b171d9a73a0df6d701b2e8e2827a5608a5bb12999e36cf97
@@ -54,6 +54,8 @@ module Doraemon
54
54
  if _api_path
55
55
 
56
56
  begin
57
+ _ctx_path = File.join(@root, ".context.rb")
58
+ eval(File.read(_ctx_path)) if File.exist?(_ctx_path)
57
59
  _result = eval(File.read(_api_path)) if File.exist?(_api_path)
58
60
  rescue Exception => e
59
61
  _result = {
@@ -1,3 +1,3 @@
1
1
  module Doraemon
2
- VERSION = "1.0.9"
2
+ VERSION = "1.0.10"
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.9
4
+ version: 1.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - zhuoyi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-01-23 00:00:00.000000000 Z
11
+ date: 2019-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler