macaw-ruby 0.0.28 → 0.0.29

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: b777947da64bc04d54bf57734382bd497b13f34c
4
- data.tar.gz: d7564d26c429670bc516045c8b61b495de488d24
3
+ metadata.gz: fa40f1c6c1298238c15a6f7659d1b3838e7e11f0
4
+ data.tar.gz: 5d35d13ef99d835cc3dd6c28227cfe98596bf4a8
5
5
  SHA512:
6
- metadata.gz: 2ea2fcfa11d358a417354859e089e37398e39c5be04782aea76f247fa499c8171de7c69d7a66d509db13ca56d8eb4c7492a72c90b1441617a823b7761a9da1d5
7
- data.tar.gz: 675d6c2abe843eeef9618195eaf1db9e92a7619e7d48154b4904f995c6906c388858dea448b06b85ca44fa714f3c1b2978410b7affa3727326dfc194c27d796d
6
+ metadata.gz: 75622f2efcc1066198e9cdce20208a522ff15734ae149e2e0d7276987b952262c37081b11e3b3041aaa6a27101fd9ac17d0450c92b35372af68e5438114b1f04
7
+ data.tar.gz: c094b5f8f2f52ea9f26a3abc229eba26bedb187c11d5f45333c9ab80d06c3a8c8ee286d20a398c8702d8eea4ce5024835db3eaa5754569d32af307cf0d198dfe
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- macaw-ruby (0.0.28)
4
+ macaw-ruby (0.0.29)
5
5
  i18n
6
6
  json_pure
7
7
  os
data/README.md CHANGED
@@ -9,6 +9,11 @@ To install, make sure you have Ruby 1.9 or later installed, and then (on a comma
9
9
 
10
10
  gem install macaw-ruby
11
11
 
12
+ To update Macaw, you type
13
+
14
+ gem update macaw-ruby
15
+ gem cleanup macaw-ruby
16
+
12
17
  ## Usage
13
18
 
14
19
  In day-to-day use it will (should) behave exactly like Arara. It accepts the same command line parameters and reads the
data/Rakefile CHANGED
@@ -21,6 +21,6 @@ end
21
21
 
22
22
  task :test do
23
23
  sh "cp test/test.tex ."
24
- sh "./bin/macaw test"
24
+ sh "./bin/macaw -p -l"
25
25
  sh "rm test.*"
26
26
  end
data/bin/macaw CHANGED
@@ -170,6 +170,10 @@ class Macaw
170
170
  def self.run
171
171
  @@options ||= options!
172
172
 
173
+ if ARGV.size == 0 && Dir['*.tex'].size == 1
174
+ puts "No TeX file offered, defaulting to #{Dir['*.tex'][0]}"
175
+ ARGV.push(Dir['*.tex'][0])
176
+ end
173
177
  error("No filename to process") if ARGV.size == 0
174
178
  error("Expected exactly one filename to process #{ARGV.inspect}") if ARGV.size != 1
175
179
  tex = File.file?(ARGV[0]) ? ARGV[0] : ARGV[0] + '.tex'
data/lib/macaw/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Macaw
2
- VERSION = "0.0.28"
2
+ VERSION = "0.0.29"
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.28
4
+ version: 0.0.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emiliano Heyns