sana 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sana.rb +3 -3
- data/sana.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf098608a751008d8e2b8e9327a518ac95b665d8
|
4
|
+
data.tar.gz: 3c8ad52c78ff70b0efe07dc5ef1ffe1172d22e8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61533945b23d450c15f369ddb32d21196735dac9d81fd80f7dd34d71794fafa09069b5bb2c8e4305a6a31f81fcc96857e12dd9d558a8f1bef5b16c2854f55358
|
7
|
+
data.tar.gz: 9b94df816826f20b97facf96fa2d39daf3370aae305c247eeae70f0ae0feee2f5dc20429f1288c151bf71b23ccc4786d2ca08941e662e65e8da684e1d023a478
|
data/lib/sana.rb
CHANGED
@@ -24,7 +24,7 @@ class Sana
|
|
24
24
|
def load(dirpath)
|
25
25
|
@dirpath = dirpath
|
26
26
|
begin
|
27
|
-
events.
|
27
|
+
events.public_send(:_load, dirpath)
|
28
28
|
rescue NoMethodError
|
29
29
|
end
|
30
30
|
end
|
@@ -32,7 +32,7 @@ class Sana
|
|
32
32
|
# SHIORI unload()
|
33
33
|
def unload
|
34
34
|
begin
|
35
|
-
events.
|
35
|
+
events.public_send(:_unload)
|
36
36
|
rescue NoMethodError
|
37
37
|
end
|
38
38
|
end
|
@@ -46,7 +46,7 @@ class Sana
|
|
46
46
|
return build_response Sana::ResponseHelper.bad_request
|
47
47
|
end
|
48
48
|
begin
|
49
|
-
response = events.
|
49
|
+
response = events.public_send(request.ID, request)
|
50
50
|
rescue NoMethodError
|
51
51
|
end
|
52
52
|
case response
|
data/sana.gemspec
CHANGED