labrat 1.2.0 → 1.2.1

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
  SHA256:
3
- metadata.gz: 33cfd23bc08f69e0f9147329ae77a91de45458ec613431c258608fc00a175e26
4
- data.tar.gz: 92a47e9f6eb8e4f807591664ac1188a59856e000c5c0018bca901fb72ac08253
3
+ metadata.gz: cdb50449198c30b9c302af3b7ce2aa2da97039b725ef62c1e73f07cd7213649e
4
+ data.tar.gz: cc62b9c24f61e88a6dcd8e27efbc6c7f99fb47d70fee2bf2e4a467d22857a35e
5
5
  SHA512:
6
- metadata.gz: e4e6e36bbc4d26531f5358f71f2e2ad43b10b67e692c9be1f7d5cd0a07f5a8ca9f02a714cd594e91bfe8703f84f68c37aa32f15765a861452a03ab6820675a1f
7
- data.tar.gz: d43a0befaf67f7365d9aa7b049a555c4dacf75d2c7d5f0755047fd4adb828cb7c2781a0822d86b439ab35c34c1a9f4d7cf163545b9a1c028687dfb3c65bec360
6
+ metadata.gz: ca700ff4b6fe931729e70a6aa79cabb24524e05529031e6b0ecde8d34555265230493f32079ec21097787c6f1907ba1eb104d73f44cad9cb78bcdf9c44d926c3
7
+ data.tar.gz: 7e09bcccf191f043efbeeba44df8ff94d4536912852ddb1e8a6ceafb6e6e35202395893994d3a992c1114a7d03b49fcc7c78eee894c902f4f46a153cf3791f5f
data/.envrc ADDED
@@ -0,0 +1 @@
1
+ PATH_add .bundle/bin
data/.gitignore CHANGED
@@ -18,3 +18,4 @@ labrat.pdf
18
18
  /README.pdf
19
19
  /README.pyg
20
20
  /README.tex
21
+ /label.tex
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- labrat (1.2.0)
4
+ labrat (1.2.1)
5
5
  activesupport
6
6
  fat_core
7
7
  matrix
@@ -10,25 +10,34 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- activesupport (6.1.7)
13
+ activesupport (7.1.3)
14
+ base64
15
+ bigdecimal
14
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
17
+ connection_pool (>= 2.2.5)
18
+ drb
15
19
  i18n (>= 1.6, < 2)
16
20
  minitest (>= 5.1)
21
+ mutex_m
17
22
  tzinfo (~> 2.0)
18
- zeitwerk (~> 2.3)
19
23
  ast (2.4.2)
24
+ base64 (0.2.0)
25
+ bigdecimal (3.1.6)
20
26
  coderay (1.1.3)
21
- concurrent-ruby (1.1.10)
27
+ concurrent-ruby (1.2.3)
28
+ connection_pool (2.4.1)
22
29
  damerau-levenshtein (1.3.3)
23
30
  debug (1.7.1)
24
31
  irb (>= 1.5.0)
25
32
  reline (>= 0.3.1)
26
33
  diff-lcs (1.5.0)
27
34
  docile (1.4.0)
28
- fat_core (4.13.0)
29
- activesupport (~> 6.0)
35
+ drb (2.2.0)
36
+ ruby2_keywords
37
+ fat_core (4.14.0)
38
+ activesupport
30
39
  damerau-levenshtein
31
- i18n (1.12.0)
40
+ i18n (1.14.1)
32
41
  concurrent-ruby (~> 1.0)
33
42
  io-console (0.6.0)
34
43
  irb (1.6.2)
@@ -36,7 +45,8 @@ GEM
36
45
  json (2.6.3)
37
46
  matrix (0.4.2)
38
47
  method_source (1.0.0)
39
- minitest (5.17.0)
48
+ minitest (5.22.2)
49
+ mutex_m (0.2.0)
40
50
  parallel (1.22.1)
41
51
  parser (3.2.0.0)
42
52
  ast (~> 2.4.1)
@@ -86,6 +96,7 @@ GEM
86
96
  rubocop-shopify (2.11.1)
87
97
  rubocop (~> 1.42)
88
98
  ruby-progressbar (1.11.0)
99
+ ruby2_keywords (0.0.5)
89
100
  simplecov (0.22.0)
90
101
  docile (~> 1.1)
91
102
  simplecov-html (~> 0.11)
@@ -93,10 +104,9 @@ GEM
93
104
  simplecov-html (0.12.3)
94
105
  simplecov_json_formatter (0.1.4)
95
106
  ttfunk (1.7.0)
96
- tzinfo (2.0.5)
107
+ tzinfo (2.0.6)
97
108
  concurrent-ruby (~> 1.0)
98
109
  unicode-display_width (2.4.2)
99
- zeitwerk (2.6.6)
100
110
 
101
111
  PLATFORMS
102
112
  x86_64-linux
data/labrat.gemspec CHANGED
@@ -41,7 +41,7 @@ DESC
41
41
  spec.bindir = 'bin'
42
42
  spec.executables = spec.files.grep(%r{\Abin/labrat}) { |f| File.basename(f) }
43
43
  spec.require_paths = ["lib"]
44
- spec.post_install_message = 'To install config and label database files, run [sudo] labrat-install.'
44
+ spec.post_install_message = 'To install config and label database files, run labrat-install.'
45
45
  spec.add_dependency "matrix"
46
46
  spec.add_dependency "prawn", "~> 2.0"
47
47
  spec.add_dependency "activesupport"
@@ -3,7 +3,7 @@
3
3
  # add user-specific settings, such as the destination printer for that
4
4
  # particular label type.
5
5
  dymo30327:
6
- printer-name: dymo
6
+ printer: dymo
7
7
 
8
8
  # Or you might want a full definition of a label type not defined in the
9
9
  # system-level database. Here is a commented-out definition of a common avery
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Labrat
4
- VERSION = "1.2.0"
4
+ VERSION = "1.2.1"
5
5
  end
data/lib/lisp/labrat.el CHANGED
@@ -91,7 +91,7 @@ but with each new-line replaced with the value of the variable
91
91
  labrat-nl-sep, '~~' by default."
92
92
  (interactive)
93
93
  (call-process labrat-executable nil (get-buffer-create "*labrat*") nil
94
- "-V" "-o ~/labrat.pdf""-V --out-file=~/labrat.pdf" (labrat/pars-in-region)))
94
+ "-V" "-o ~/labrat.pdf" (labrat/pars-in-region)))
95
95
 
96
96
  (defun labrat-print ()
97
97
  "Print the paragraph at or before point as a label with labrat.
Binary file
Binary file
Binary file
@@ -0,0 +1,17 @@
1
+ \documentclass{article}
2
+
3
+ \usepackage{geometry}
4
+ \geometry{paperwidth=25mm,paperheight=87mm,landscape}
5
+ \renewcommand*\familydefault{\sfdefault}
6
+ \usepackage{tgheros}
7
+
8
+ \begin{document}
9
+ \vfill
10
+ \begin{center}
11
+ \textbf{ABCDEFGHIJKLMNOPQRSTUVWXYZ}\\
12
+ $\int_0^x e^{-t\pi} dx$\\
13
+ 0123456789abcdefghijklmnopqrstuvwxyz\\
14
+ \textbf{0123456789abcdefghijklmnopqrstuvwxyz}
15
+ \end{center}
16
+ \vfill
17
+ \end{document}
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: labrat
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel E. Doherty
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-19 00:00:00.000000000 Z
11
+ date: 2024-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: matrix
@@ -201,6 +201,7 @@ executables:
201
201
  extensions: []
202
202
  extra_rdoc_files: []
203
203
  files:
204
+ - ".envrc"
204
205
  - ".gitignore"
205
206
  - ".rspec"
206
207
  - ".rubocop.yml"
@@ -235,13 +236,17 @@ files:
235
236
  - lib/labrat/read_files.rb
236
237
  - lib/labrat/version.rb
237
238
  - lib/lisp/labrat.el
239
+ - texlabels/sample.dvi
240
+ - texlabels/sample.pdf
241
+ - texlabels/sample.synctex.gz
242
+ - texlabels/sample.tex
238
243
  homepage: http://github.com/ddoherty03/labrat
239
244
  licenses: []
240
245
  metadata:
241
246
  homepage_uri: http://github.com/ddoherty03/labrat
242
247
  source_code_uri: http://github.com/ddoherty03/labrat
243
248
  changelog_uri: http://github.com/ddoherty03/labrat/CHANGELOG.md
244
- post_install_message: To install config and label database files, run [sudo] labrat-install.
249
+ post_install_message: To install config and label database files, run labrat-install.
245
250
  rdoc_options: []
246
251
  require_paths:
247
252
  - lib
@@ -256,8 +261,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
256
261
  - !ruby/object:Gem::Version
257
262
  version: '0'
258
263
  requirements: []
259
- rubygems_version: 3.4.2
260
- signing_key:
264
+ rubygems_version: 3.5.18
265
+ signing_key:
261
266
  specification_version: 4
262
267
  summary: Command-line and Emacs label print software.
263
268
  test_files: []
269
+ ...