macaw-ruby 0.0.28 → 0.0.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +5 -0
- data/Rakefile +1 -1
- data/bin/macaw +4 -0
- data/lib/macaw/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: fa40f1c6c1298238c15a6f7659d1b3838e7e11f0
|
4
|
+
data.tar.gz: 5d35d13ef99d835cc3dd6c28227cfe98596bf4a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75622f2efcc1066198e9cdce20208a522ff15734ae149e2e0d7276987b952262c37081b11e3b3041aaa6a27101fd9ac17d0450c92b35372af68e5438114b1f04
|
7
|
+
data.tar.gz: c094b5f8f2f52ea9f26a3abc229eba26bedb187c11d5f45333c9ab80d06c3a8c8ee286d20a398c8702d8eea4ce5024835db3eaa5754569d32af307cf0d198dfe
|
data/Gemfile.lock
CHANGED
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
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