omgtex 0.1.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 2ef4a251873b0e69181b98f97057d1bd87d54aff
4
- data.tar.gz: e5e3e1b823e1989ab882826d3cd5e81c9ca6225b
2
+ SHA256:
3
+ metadata.gz: ace7f9be4f70ff43c4d6cac3b9af0f4e8cf185b21178620973ff9974f1555271
4
+ data.tar.gz: 0a572f1cb9b52a81caacd4c9ffa68d687157d097a35aad943fbe6443689fb6c5
5
5
  SHA512:
6
- metadata.gz: 51d69620b21e84abb4a8a367182b1976f8dd3041a107f02b0fdf53a1b81a1f23890907fb869afa178bb0aa512aaacdce07058f759157fb1596ed5bb6fd219ba1
7
- data.tar.gz: 52884c54bd4cee395501f2bfecd3af2c94cf2f955a7095212c5a4f20ae42575aad800c76fcb3990269d30581111298e941d2b7800b32e1a3bc64a28c5508076e
6
+ metadata.gz: e3c7089ab9cca6f31e31c4925738fd2f0225488fe912b9a1bf73415d13742fc02e297a0aa271cc8a4217f9fb1ff7d947b94a2908de7d8e90e098228b2a836cab
7
+ data.tar.gz: 1f3c48a622ba7882e31360ffc984078d5a0a9f9ffcbbe934bc8faa523a1314a41c3b52c407ac137e4052e236e18147f998bbe16704992d355061185eb1239736
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  source "http://rubygems.org"
2
2
 
3
3
  group :development do
4
- gem "bundler", "~> 1.0"
5
- gem "jeweler", "~> 2.1"
4
+ gem "bundler", "~> 2.1.4"
5
+ gem "jeweler", "~> 2.3.9"
6
6
  end
@@ -2,57 +2,61 @@ GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
4
  addressable (2.4.0)
5
- builder (3.2.2)
5
+ builder (3.2.4)
6
6
  descendants_tracker (0.0.4)
7
7
  thread_safe (~> 0.3, >= 0.3.1)
8
8
  faraday (0.9.2)
9
9
  multipart-post (>= 1.2, < 3)
10
- git (1.3.0)
11
- github_api (0.14.5)
10
+ git (1.7.0)
11
+ rchardet (~> 1.8)
12
+ github_api (0.16.0)
12
13
  addressable (~> 2.4.0)
13
14
  descendants_tracker (~> 0.0.4)
14
15
  faraday (~> 0.8, < 0.10)
15
16
  hashie (>= 3.4)
17
+ mime-types (>= 1.16, < 3.0)
16
18
  oauth2 (~> 1.0)
17
- hashie (3.4.4)
18
- highline (1.7.8)
19
- jeweler (2.1.1)
19
+ hashie (4.1.0)
20
+ highline (2.0.3)
21
+ jeweler (2.3.9)
20
22
  builder
21
- bundler (>= 1.0)
23
+ bundler
22
24
  git (>= 1.2.5)
23
- github_api
25
+ github_api (~> 0.16.0)
24
26
  highline (>= 1.6.15)
25
27
  nokogiri (>= 1.5.10)
28
+ psych
26
29
  rake
27
30
  rdoc
28
- semver
29
- jwt (1.5.4)
30
- mini_portile2 (2.1.0)
31
- multi_json (1.12.1)
32
- multi_xml (0.5.5)
33
- multipart-post (2.0.0)
34
- nokogiri (1.6.8)
35
- mini_portile2 (~> 2.1.0)
36
- pkg-config (~> 1.1.7)
37
- oauth2 (1.2.0)
38
- faraday (>= 0.8, < 0.10)
39
- jwt (~> 1.0)
31
+ semver2
32
+ jwt (2.2.1)
33
+ mime-types (2.99.3)
34
+ mini_portile2 (2.4.0)
35
+ multi_json (1.14.1)
36
+ multi_xml (0.6.0)
37
+ multipart-post (2.1.1)
38
+ nokogiri (1.10.10)
39
+ mini_portile2 (~> 2.4.0)
40
+ oauth2 (1.4.4)
41
+ faraday (>= 0.8, < 2.0)
42
+ jwt (>= 1.0, < 3.0)
40
43
  multi_json (~> 1.3)
41
44
  multi_xml (~> 0.5)
42
45
  rack (>= 1.2, < 3)
43
- pkg-config (1.1.7)
44
- rack (1.6.0)
45
- rake (11.2.2)
46
- rdoc (4.2.1)
47
- semver (1.0.1)
48
- thread_safe (0.3.5)
46
+ psych (3.1.0)
47
+ rack (2.2.3)
48
+ rake (13.0.1)
49
+ rchardet (1.8.0)
50
+ rdoc (6.2.1)
51
+ semver2 (3.4.2)
52
+ thread_safe (0.3.6)
49
53
 
50
54
  PLATFORMS
51
55
  ruby
52
56
 
53
57
  DEPENDENCIES
54
- bundler (~> 1.0)
55
- jeweler (~> 2.1)
58
+ bundler (~> 2.1.4)
59
+ jeweler (~> 2.3.9)
56
60
 
57
61
  BUNDLED WITH
58
- 1.12.5
62
+ 2.1.4
@@ -1,4 +1,4 @@
1
- Copyright (c) 2015 Lucas Jenss
1
+ Copyright (c) 2018 Lucas Jenss
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,9 +1,9 @@
1
1
  # omgtex
2
2
 
3
- Building LaTeX has never been easier™. A revolutionary, awesome and amazing tool to run `pdflatex` three times in a row.
3
+ Building LaTeX has never been easier™. A revolutionary tool to disrupt the entire industry of running `pdflatex` three times in a row.
4
4
 
5
5
  ## Copyright
6
6
 
7
- Copyright (c) 2015 Lucas Jenss. See LICENSE.txt for
7
+ Copyright (c) 2018 Lucas Jenss. See LICENSE.txt for
8
8
  further details.
9
9
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.3.0
@@ -38,6 +38,14 @@ module Omgtex
38
38
  options[:typesetter] = l
39
39
  end
40
40
 
41
+ opts.on('-n', '--dry-run') do
42
+ options[:dryrun] = true
43
+ end
44
+
45
+ opts.on('-d', '--dont-clean') do
46
+ options[:dontclean] = true
47
+ end
48
+
41
49
  opts.on('-h', '--help', 'Display this message') do
42
50
  puts opts
43
51
  exit
@@ -17,6 +17,8 @@ module Omgtex
17
17
  pdffile = "'#{filename}.pdf'"
18
18
  auxfile = "'#{filename}.aux'"
19
19
 
20
+ current_dir = Dir.pwd
21
+
20
22
  cmd = " if [ -e '#{auxfile}' ]; then HASH=$(md5 -q #{auxfile}); fi"
21
23
  cmd += " && #{latexCommand} #{file}"
22
24
  cmd += " && makeglossaries #{filename}" if options[:glossary]
@@ -27,8 +29,13 @@ module Omgtex
27
29
  cmd += " && #{latexCommand} #{file} ;"
28
30
  cmd += " fi"
29
31
  cmd += " && open #{pdffile}" if options[:openpdf]
32
+ cmd += " && rm -f *.aux *.glo *.ist *.log *.out" unless options[:dontclean]
30
33
 
31
- Kernel.exec(cmd)
34
+ if options[:dryrun]
35
+ puts cmd
36
+ else
37
+ Kernel.exec(cmd)
38
+ end
32
39
  end
33
40
 
34
41
  end
@@ -2,20 +2,20 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: omgtex 0.1.0 ruby lib
5
+ # stub: omgtex 0.3.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
- s.name = "omgtex"
9
- s.version = "0.1.0"
8
+ s.name = "omgtex".freeze
9
+ s.version = "0.3.0"
10
10
 
11
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
- s.require_paths = ["lib"]
13
- s.authors = ["Lucas Jen\u{df}"]
14
- s.cert_chain = ["certs/fresskoma.pem"]
15
- s.date = "2016-09-06"
16
- s.description = "Builds your *TeX files by running *tex an appropriate amount of times"
17
- s.email = "public@x3ro.de"
18
- s.executables = ["omgtex"]
11
+ s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib".freeze]
13
+ s.authors = ["Lucas Jen\u00DF".freeze]
14
+ s.cert_chain = ["certs/fresskoma.pem".freeze]
15
+ s.date = "2020-07-09"
16
+ s.description = "Builds your *TeX files by running *tex an appropriate amount of times".freeze
17
+ s.email = "public@x3ro.de".freeze
18
+ s.executables = ["omgtex".freeze]
19
19
  s.extra_rdoc_files = [
20
20
  "LICENSE.txt",
21
21
  "README.md"
@@ -37,25 +37,26 @@ Gem::Specification.new do |s|
37
37
  "test/helper.rb",
38
38
  "test/test_omgtex.rb"
39
39
  ]
40
- s.homepage = "http://github.com/x3ro/omgtex"
41
- s.licenses = ["MIT"]
42
- s.rubygems_version = "2.5.1"
43
- s.signing_key = "/Users/lucas/.ssh/keys/rubygems/gem-private_key.pem"
44
- s.summary = "Essentially runs *TeX the appropriate number of times"
40
+ s.homepage = "http://github.com/x3ro/omgtex".freeze
41
+ s.licenses = ["MIT".freeze]
42
+ s.rubygems_version = "3.0.6".freeze
43
+ # Key expired. Too lazy to fix.
44
+ # s.signing_key = "/Users/lucas.jenss/.ssh/keys/rubygems/gem-private_key.pem".freeze
45
+ s.summary = "Essentially runs *TeX the appropriate number of times".freeze
45
46
 
46
47
  if s.respond_to? :specification_version then
47
48
  s.specification_version = 4
48
49
 
49
50
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
50
- s.add_development_dependency(%q<bundler>, ["~> 1.0"])
51
- s.add_development_dependency(%q<jeweler>, ["~> 2.1"])
51
+ s.add_development_dependency(%q<bundler>.freeze, ["~> 2.1.4"])
52
+ s.add_development_dependency(%q<jeweler>.freeze, ["~> 2.3.9"])
52
53
  else
53
- s.add_dependency(%q<bundler>, ["~> 1.0"])
54
- s.add_dependency(%q<jeweler>, ["~> 2.1"])
54
+ s.add_dependency(%q<bundler>.freeze, ["~> 2.1.4"])
55
+ s.add_dependency(%q<jeweler>.freeze, ["~> 2.3.9"])
55
56
  end
56
57
  else
57
- s.add_dependency(%q<bundler>, ["~> 1.0"])
58
- s.add_dependency(%q<jeweler>, ["~> 2.1"])
58
+ s.add_dependency(%q<bundler>.freeze, ["~> 2.1.4"])
59
+ s.add_dependency(%q<jeweler>.freeze, ["~> 2.3.9"])
59
60
  end
60
61
  end
61
62
 
metadata CHANGED
@@ -1,36 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omgtex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lucas Jenß
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
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28
- jjllrqSV9cZlb3b8aJoh/3BPuQ0MTbUG1YprBltr2WYs/9Vr1niVG7n2aODzYqtu
29
- FcYEGIY0ebDh0XZWhIdL/bVIiTMO7HhUbV2Sep0a81x7onUbKY0Bwg5Z5F9qymL7
30
- 3Irm570EqGg9XAH5Q7fa45ybD3sxOsIWeuJVlWIBGVfNdcEVsltc6Qywrv+W8Ct2
31
- D+niDA==
32
- -----END CERTIFICATE-----
33
- date: 2016-09-06 00:00:00.000000000 Z
11
+ - certs/fresskoma.pem
12
+ date: 2020-07-09 00:00:00.000000000 Z
34
13
  dependencies:
35
14
  - !ruby/object:Gem::Dependency
36
15
  name: bundler
@@ -38,28 +17,28 @@ dependencies:
38
17
  requirements:
39
18
  - - "~>"
40
19
  - !ruby/object:Gem::Version
41
- version: '1.0'
20
+ version: 2.1.4
42
21
  type: :development
43
22
  prerelease: false
44
23
  version_requirements: !ruby/object:Gem::Requirement
45
24
  requirements:
46
25
  - - "~>"
47
26
  - !ruby/object:Gem::Version
48
- version: '1.0'
27
+ version: 2.1.4
49
28
  - !ruby/object:Gem::Dependency
50
29
  name: jeweler
51
30
  requirement: !ruby/object:Gem::Requirement
52
31
  requirements:
53
32
  - - "~>"
54
33
  - !ruby/object:Gem::Version
55
- version: '2.1'
34
+ version: 2.3.9
56
35
  type: :development
57
36
  prerelease: false
58
37
  version_requirements: !ruby/object:Gem::Requirement
59
38
  requirements:
60
39
  - - "~>"
61
40
  - !ruby/object:Gem::Version
62
- version: '2.1'
41
+ version: 2.3.9
63
42
  description: Builds your *TeX files by running *tex an appropriate amount of times
64
43
  email: public@x3ro.de
65
44
  executables:
@@ -88,7 +67,7 @@ homepage: http://github.com/x3ro/omgtex
88
67
  licenses:
89
68
  - MIT
90
69
  metadata: {}
91
- post_install_message:
70
+ post_install_message:
92
71
  rdoc_options: []
93
72
  require_paths:
94
73
  - lib
@@ -103,9 +82,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
82
  - !ruby/object:Gem::Version
104
83
  version: '0'
105
84
  requirements: []
106
- rubyforge_project:
107
- rubygems_version: 2.5.1
108
- signing_key:
85
+ rubygems_version: 3.0.6
86
+ signing_key:
109
87
  specification_version: 4
110
88
  summary: Essentially runs *TeX the appropriate number of times
111
89
  test_files: []
@@ -1 +0,0 @@
1
- ##!��6Yr���c ���xȣ��3y�r�>��E����>}
data.tar.gz.sig DELETED
Binary file
metadata.gz.sig DELETED
Binary file