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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4fe39127307122c50724ddcc32a04d775a21370e
4
- data.tar.gz: 6e34887449541f93b104ebc2f46d6960e06eea5b
3
+ metadata.gz: a43d3fef33de934facad6f7fd6edfe2cbe10699a
4
+ data.tar.gz: c14ce5e62c76585d4f93de2656460789d3148ded
5
5
  SHA512:
6
- metadata.gz: 23087f5fbc9505da1aae8dc5705d44173b6558bce8c06db52fb34bee34fc449d38067866b8cf0773a28e89cdfb37c3a070848c95a2cf9d06183fe9915b99becf
7
- data.tar.gz: 486c530e2e26b5e0d4b8cb4b89254944a6ec2e1bc4e52bb2546271caf9b05ad02f0c771d7c1147ae4e688c0b2fa1342f2c68f57d23c77dd7fc2272d4c134d854
6
+ metadata.gz: fc72f7805deba8c1c1cf252f8827b4c50853d50914a3bf4b1aaec01b67d093f52b9fd3437e7d9861b5cdb7422ab307ae25a0cf9ecf437ac651c4fac543e598da
7
+ data.tar.gz: 4fde582d67a9fc5abc08fddbad49fc4afd5a34a8b45b9b8d990297f12e1479101c882daf41870a9c77554e256980d4763be3eb353db143837a265a7870be41fc
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
4
- require 'antelope'
5
- require 'antelope/cli'
3
+ $LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
4
+ require "antelope"
5
+ require "antelope/cli"
6
6
 
7
7
  Antelope::CLI.start
@@ -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
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Antelope
4
4
  # The current running version of antelope.
5
- VERSION = '0.4.0'.freeze
5
+ VERSION = "0.4.1".freeze
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: antelope
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Rodi