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 +4 -4
- data/Gemfile.lock +1 -1
- data/Rakefile +1 -1
- data/bin/macaw +2 -7
- 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: 446ef5fb36b1bb4005c7cceee32160c34ee012d6
|
|
4
|
+
data.tar.gz: a438e36438422d961cd96efe281440d6b976bccf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 59fe508c6659a6772c96c220927919b732350a0785ae5a883d7d1a6f770711ae29a2ca53a561e5d23aa075200d5cca50390ca6bc1cdf63aadb8a30760c69c77b
|
|
7
|
+
data.tar.gz: 3f90abef21b7baa8d917d046e7d4dc0d3f2e4f74260de6ce1119f0456a2d1d034f222716958c71325325f6ea4512c05f5cda8a232ceb778adf832f3e6111fff0
|
data/Gemfile.lock
CHANGED
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
|
-
|
|
116
|
-
|
|
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