cossincalc 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/bin/cossincalc CHANGED
@@ -61,7 +61,7 @@ rescue Errno::EEXIST
61
61
  Trollop.die "The specified directory already exists" unless opts[:force]
62
62
  end
63
63
 
64
- filename = File.join(opts[:directory], 'result')
64
+ filename = File.join(opts[:directory].gsub('\\', '/'), 'result')
65
65
  if CosSinCalc::Triangle::Formatter::Latex.new(t.humanize(opts[:precision])).save_pdf(filename)
66
66
  puts "Success: The result can be found in #{filename}.pdf."
67
67
  end
@@ -1,3 +1,3 @@
1
1
  module CosSinCalc
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cossincalc
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 3
10
- version: 1.0.3
9
+ - 4
10
+ version: 1.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Molte Emil Strange Andersen