macaw-ruby 0.0.15 → 0.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 69465fa08f369855d092df09f704792f3e7e887a
4
- data.tar.gz: f97a7e4b2afbce09c321751382078290e2e8f3ea
3
+ metadata.gz: 446ef5fb36b1bb4005c7cceee32160c34ee012d6
4
+ data.tar.gz: a438e36438422d961cd96efe281440d6b976bccf
5
5
  SHA512:
6
- metadata.gz: 52082218e8d1983460fa63924e0bda0ff582cc2e955634a0f131cae7bce77b76446e3b14914dbf1ca4e895fe025853cbca23884dc6c30f76c49afb41adaf86ea
7
- data.tar.gz: e64e485ed1366d17bf675fc9ad4d52fb4d9d19e7261e033b6fd44d1a963c4d2dc9116e5245816dc68b42c4ed44cab0dfc801ba3ca1eec382022108d53a351421
6
+ metadata.gz: 59fe508c6659a6772c96c220927919b732350a0785ae5a883d7d1a6f770711ae29a2ca53a561e5d23aa075200d5cca50390ca6bc1cdf63aadb8a30760c69c77b
7
+ data.tar.gz: 3f90abef21b7baa8d917d046e7d4dc0d3f2e4f74260de6ce1119f0456a2d1d034f222716958c71325325f6ea4512c05f5cda8a232ceb778adf832f3e6111fff0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- macaw-ruby (0.0.15)
4
+ macaw-ruby (0.0.17)
5
5
  i18n
6
6
  json_pure
7
7
  os
data/Rakefile CHANGED
@@ -8,7 +8,7 @@ task :bump do
8
8
  version[2] += 1
9
9
  version = version.collect{|v| v.to_s}.join('.')
10
10
  File.open('lib/macaw/version.rb', 'w'){|f| f.write("class Macaw\n VERSION = #{version.inspect}\nend\n") }
11
- puts `git add lib/macaw/version.rb`
11
+ puts `git add lib/macaw/version.rb Gemfile.lock`
12
12
  end
13
13
 
14
14
  task :publish do
data/bin/macaw CHANGED
@@ -112,13 +112,8 @@ OPTS=options!
112
112
 
113
113
  error("No filename to process") if ARGV.size == 0
114
114
  error("Expected exactly one filename to process #{ARGV.inspect}") if ARGV.size != 1
115
- if File.file?(ARGV[0])
116
- TEX = ARGV[0]
117
- elsif File.file?(ARGV[0] + '.tex')
118
- TEX = ARGV[0] + '.tex'
119
- else
120
- error("#{ARGV[0].inspect} does not exist") if !File.exists?(ARGV[0])
121
- end
115
+ TEX = File.file?(ARGV[0]) ? ARGV[0] : ARGV[0] + '.tex'
116
+ error("#{ARGV[0].inspect} does not exist") if !File.exists?(TEX)
122
117
 
123
118
  CONFIGFILE = [File.join(Dir.home, 'araraconfig.yaml'), File.join(Dir.home, '.araraconfig.yaml')].detect{|config| File.file?(config) }
124
119
  CONFIG = CONFIGFILE ? YAML.load_file(CONFIGFILE) : {}
data/lib/macaw/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Macaw
2
- VERSION = "0.0.15"
2
+ VERSION = "0.0.17"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: macaw-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emiliano Heyns