antelope 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/antelope +3 -3
- data/lib/antelope/grammar/loading.rb +2 -2
- data/lib/antelope/version.rb +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: a43d3fef33de934facad6f7fd6edfe2cbe10699a
|
4
|
+
data.tar.gz: c14ce5e62c76585d4f93de2656460789d3148ded
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc72f7805deba8c1c1cf252f8827b4c50853d50914a3bf4b1aaec01b67d093f52b9fd3437e7d9861b5cdb7422ab307ae25a0cf9ecf437ac651c4fac543e598da
|
7
|
+
data.tar.gz: 4fde582d67a9fc5abc08fddbad49fc4afd5a34a8b45b9b8d990297f12e1479101c882daf41870a9c77554e256980d4763be3eb353db143837a265a7870be41fc
|
data/bin/antelope
CHANGED
@@ -27,14 +27,14 @@ module Antelope
|
|
27
27
|
|
28
28
|
def from_dsl_file(file_name)
|
29
29
|
body = File.read(file_name)
|
30
|
-
output = File.dirname(file_name)
|
30
|
+
output = File.dirname(file_name, File.extname(file_name))
|
31
31
|
from_dsl_string(file_name, output, body)
|
32
32
|
end
|
33
33
|
|
34
34
|
def from_ace_file(file_name)
|
35
35
|
body = File.read(file_name)
|
36
36
|
output = File.dirname(file_name)
|
37
|
-
name = File.basename(file_name)
|
37
|
+
name = File.basename(file_name, ".ace")
|
38
38
|
from_ace_string(name, output, body)
|
39
39
|
end
|
40
40
|
|
data/lib/antelope/version.rb
CHANGED