polytexnic 1.7.3 → 1.7.4
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 +6 -3
- data/arm64-darwin21 +0 -0
- data/lib/polytexnic/utils.rb +8 -1
- data/lib/polytexnic/version.rb +1 -1
- data/precompiled_binaries/tralics-apple-silicon +0 -0
- data/precompiled_binaries/tralics-armv7l-linux-eabihf +0 -0
- data/spec/support/resemble_matcher.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fcd4888489ddc66c8e377cffb57e9865f661ee8437edec7392698deab1bcba87
|
|
4
|
+
data.tar.gz: d9356871b2beaed1fe139e4d17501ccf9bac8d46fee9ef062420f90f3545597a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 94ee307f00892e3b5ae2b7c40641c75cb721e9f900e25fab5df44430dcdf647188da43eb54a553fd31d94454ba12081c4330a495f99270d640f11f23fd0f038e
|
|
7
|
+
data.tar.gz: 3bc450cfd6a536d82c3490afc0b5fb6dd0c092c1cb945ce15d1e3e6e3588d573e32cf3fd889a346714d7f8a84cfa186779de6f0a77cd6bbb2b4eb3daeba8f24a
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
polytexnic (1.7.
|
|
4
|
+
polytexnic (1.7.4)
|
|
5
5
|
json (~> 2.3.0)
|
|
6
6
|
kramdown (>= 2.0, < 3.0)
|
|
7
7
|
msgpack (~> 1.2.0)
|
|
@@ -38,7 +38,7 @@ GEM
|
|
|
38
38
|
guard-compat (~> 1.1)
|
|
39
39
|
rspec (>= 2.99.0, < 4.0)
|
|
40
40
|
json (2.3.1)
|
|
41
|
-
kramdown (2.
|
|
41
|
+
kramdown (2.4.0)
|
|
42
42
|
rexml
|
|
43
43
|
listen (3.7.1)
|
|
44
44
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
|
@@ -51,7 +51,9 @@ GEM
|
|
|
51
51
|
msgpack (1.2.10)
|
|
52
52
|
multi_json (1.15.0)
|
|
53
53
|
nenv (0.3.0)
|
|
54
|
-
nokogiri (1.13.
|
|
54
|
+
nokogiri (1.13.8-arm64-darwin)
|
|
55
|
+
racc (~> 1.4)
|
|
56
|
+
nokogiri (1.13.8-x86_64-darwin)
|
|
55
57
|
racc (~> 1.4)
|
|
56
58
|
notiffany (0.1.3)
|
|
57
59
|
nenv (~> 0.1)
|
|
@@ -88,6 +90,7 @@ GEM
|
|
|
88
90
|
tins (0.13.2)
|
|
89
91
|
|
|
90
92
|
PLATFORMS
|
|
93
|
+
arm64-darwin-21
|
|
91
94
|
x86_64-darwin-19
|
|
92
95
|
x86_64-darwin-21
|
|
93
96
|
|
data/arm64-darwin21
ADDED
|
Binary file
|
data/lib/polytexnic/utils.rb
CHANGED
|
@@ -10,7 +10,9 @@ module Polytexnic
|
|
|
10
10
|
def tralics
|
|
11
11
|
executable = `which tralics`.chomp
|
|
12
12
|
return executable unless executable.empty?
|
|
13
|
-
filename = if
|
|
13
|
+
filename = if apple_silicon?
|
|
14
|
+
'tralics-apple-silicon'
|
|
15
|
+
elsif os_x_newer?
|
|
14
16
|
'tralics-os-x-newer'
|
|
15
17
|
elsif os_x_older?
|
|
16
18
|
'tralics-os-x-older'
|
|
@@ -44,6 +46,11 @@ module Polytexnic
|
|
|
44
46
|
end
|
|
45
47
|
end
|
|
46
48
|
|
|
49
|
+
# Returns true for Apple Silicon.
|
|
50
|
+
def apple_silicon?
|
|
51
|
+
RUBY_PLATFORM.match(/arm64/)
|
|
52
|
+
end
|
|
53
|
+
|
|
47
54
|
# Returns true for OS X Mountain Lion (10.8) and later.
|
|
48
55
|
def os_x_newer?
|
|
49
56
|
os_x? && !os_x_older?
|
data/lib/polytexnic/version.rb
CHANGED
|
Binary file
|
|
File without changes
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: polytexnic
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.7.
|
|
4
|
+
version: 1.7.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Hartl
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2022-
|
|
12
|
+
date: 2022-08-19 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: nokogiri
|
|
@@ -226,6 +226,7 @@ files:
|
|
|
226
226
|
- LICENSE.md
|
|
227
227
|
- README.md
|
|
228
228
|
- Rakefile
|
|
229
|
+
- arm64-darwin21
|
|
229
230
|
- bin/polytexnic
|
|
230
231
|
- lib/polytexnic.rb
|
|
231
232
|
- lib/polytexnic/code_inclusion.rb
|
|
@@ -243,6 +244,7 @@ files:
|
|
|
243
244
|
- notes/pandoc.md
|
|
244
245
|
- polytexnic.gemspec
|
|
245
246
|
- polytexnic_commands.sty
|
|
247
|
+
- precompiled_binaries/tralics-apple-silicon
|
|
246
248
|
- precompiled_binaries/tralics-armv7l-linux-eabihf
|
|
247
249
|
- precompiled_binaries/tralics-i686-linux
|
|
248
250
|
- precompiled_binaries/tralics-os-x-newer
|