omgtex 0.0.0 → 0.1.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
2
  SHA1:
3
- metadata.gz: a6d52445a398c7c8586ce71dbd8ccd61e8e0bd2c
4
- data.tar.gz: 7adcfda8b3c48c30a1c833bfb843482527fb2ea4
3
+ metadata.gz: 2ef4a251873b0e69181b98f97057d1bd87d54aff
4
+ data.tar.gz: e5e3e1b823e1989ab882826d3cd5e81c9ca6225b
5
5
  SHA512:
6
- metadata.gz: 7670780db8db77a2e0156cda6b33a5b176e680dd06ab7ac625cd7c94d8bb80ad053a60557484ebf979984bc0628d350a885bc30ca73554b13763f17849afa561
7
- data.tar.gz: 73ba20b1c0029bb618b8837de25901363aa7da1325469cc8fa09bdf3176fe6fe966d251190710bdf983e8adb23b0d242fa3b46108bc969db93cc434ac6f89864
6
+ metadata.gz: 51d69620b21e84abb4a8a367182b1976f8dd3041a107f02b0fdf53a1b81a1f23890907fb869afa178bb0aa512aaacdce07058f759157fb1596ed5bb6fd219ba1
7
+ data.tar.gz: 52884c54bd4cee395501f2bfecd3af2c94cf2f955a7095212c5a4f20ae42575aad800c76fcb3990269d30581111298e941d2b7800b32e1a3bc64a28c5508076e
checksums.yaml.gz.sig ADDED
@@ -0,0 +1 @@
1
+ ##!��6Yr���c ���xȣ��3y�r�>��E����>}
data/Gemfile CHANGED
@@ -1,15 +1,6 @@
1
1
  source "http://rubygems.org"
2
- # Add dependencies required to use your gem here.
3
- # Example:
4
- # gem "activesupport", ">= 2.3.5"
5
2
 
6
- # Add dependencies to develop your gem here.
7
- # Include everything needed to run rake, tests, features, etc.
8
3
  group :development do
9
- gem "minitest", ">= 0"
10
- gem "yard", "~> 0.7"
11
- gem "rdoc", "~> 3.12"
12
4
  gem "bundler", "~> 1.0"
13
- gem "jeweler", "~> 2.0.1"
14
- gem "simplecov", ">= 0"
5
+ gem "jeweler", "~> 2.1"
15
6
  end
data/Gemfile.lock CHANGED
@@ -1,25 +1,22 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- addressable (2.3.8)
4
+ addressable (2.4.0)
5
5
  builder (3.2.2)
6
6
  descendants_tracker (0.0.4)
7
7
  thread_safe (~> 0.3, >= 0.3.1)
8
- docile (1.1.5)
9
- faraday (0.9.1)
8
+ faraday (0.9.2)
10
9
  multipart-post (>= 1.2, < 3)
11
- git (1.2.9.1)
12
- github_api (0.12.3)
13
- addressable (~> 2.3)
10
+ git (1.3.0)
11
+ github_api (0.14.5)
12
+ addressable (~> 2.4.0)
14
13
  descendants_tracker (~> 0.0.4)
15
14
  faraday (~> 0.8, < 0.10)
16
- hashie (>= 3.3)
17
- multi_json (>= 1.7.5, < 2.0)
18
- nokogiri (~> 1.6.3)
19
- oauth2
20
- hashie (3.4.1)
21
- highline (1.7.2)
22
- jeweler (2.0.1)
15
+ hashie (>= 3.4)
16
+ oauth2 (~> 1.0)
17
+ hashie (3.4.4)
18
+ highline (1.7.8)
19
+ jeweler (2.1.1)
23
20
  builder
24
21
  bundler (>= 1.0)
25
22
  git (>= 1.2.5)
@@ -28,40 +25,34 @@ GEM
28
25
  nokogiri (>= 1.5.10)
29
26
  rake
30
27
  rdoc
31
- json (1.8.2)
32
- jwt (1.4.1)
33
- mini_portile (0.6.2)
34
- minitest (5.6.1)
35
- multi_json (1.11.0)
28
+ semver
29
+ jwt (1.5.4)
30
+ mini_portile2 (2.1.0)
31
+ multi_json (1.12.1)
36
32
  multi_xml (0.5.5)
37
33
  multipart-post (2.0.0)
38
- nokogiri (1.6.6.2)
39
- mini_portile (~> 0.6.0)
40
- oauth2 (1.0.0)
34
+ nokogiri (1.6.8)
35
+ mini_portile2 (~> 2.1.0)
36
+ pkg-config (~> 1.1.7)
37
+ oauth2 (1.2.0)
41
38
  faraday (>= 0.8, < 0.10)
42
39
  jwt (~> 1.0)
43
40
  multi_json (~> 1.3)
44
41
  multi_xml (~> 0.5)
45
- rack (~> 1.2)
42
+ rack (>= 1.2, < 3)
43
+ pkg-config (1.1.7)
46
44
  rack (1.6.0)
47
- rake (10.4.2)
48
- rdoc (3.12.2)
49
- json (~> 1.4)
50
- simplecov (0.10.0)
51
- docile (~> 1.1.0)
52
- json (~> 1.8)
53
- simplecov-html (~> 0.10.0)
54
- simplecov-html (0.10.0)
45
+ rake (11.2.2)
46
+ rdoc (4.2.1)
47
+ semver (1.0.1)
55
48
  thread_safe (0.3.5)
56
- yard (0.8.7.6)
57
49
 
58
50
  PLATFORMS
59
51
  ruby
60
52
 
61
53
  DEPENDENCIES
62
54
  bundler (~> 1.0)
63
- jeweler (~> 2.0.1)
64
- minitest
65
- rdoc (~> 3.12)
66
- simplecov
67
- yard (~> 0.7)
55
+ jeweler (~> 2.1)
56
+
57
+ BUNDLED WITH
58
+ 1.12.5
data/Rakefile CHANGED
@@ -17,29 +17,13 @@ Jeweler::Tasks.new do |gem|
17
17
  gem.name = "omgtex"
18
18
  gem.homepage = "http://github.com/x3ro/omgtex"
19
19
  gem.license = "MIT"
20
- gem.summary = %Q{Basically runs pdflatex for you.}
21
- gem.description = %Q{Builds your LaTeX files by running pdflatex an appropriate* amount of times.}
22
- gem.email = "lucas@x3ro.de"
23
- gem.authors = ["Lucas Jenss"]
20
+ gem.summary = %Q{Essentially runs *TeX the appropriate number of times}
21
+ gem.description = %Q{Builds your *TeX files by running *tex an appropriate amount of times}
22
+ gem.email = "public@x3ro.de"
23
+ gem.authors = ["Lucas Jenß"]
24
24
  gem.executables = ["omgtex"]
25
+ gem.cert_chain = ["certs/fresskoma.pem"]
26
+ gem.signing_key = File.expand_path("~/.ssh/keys/rubygems/gem-private_key.pem")
25
27
  # dependencies defined in Gemfile
26
28
  end
27
29
  Jeweler::RubygemsDotOrgTasks.new
28
-
29
- require 'rake/testtask'
30
- Rake::TestTask.new(:test) do |test|
31
- test.libs << 'lib' << 'test'
32
- test.pattern = 'test/**/test_*.rb'
33
- test.verbose = true
34
- end
35
-
36
- desc "Code coverage detail"
37
- task :simplecov do
38
- ENV['COVERAGE'] = "true"
39
- Rake::Task['test'].execute
40
- end
41
-
42
- task :default => :test
43
-
44
- require 'yard'
45
- YARD::Rake::YardocTask.new
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.0
1
+ 0.1.0
@@ -0,0 +1,21 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIDYDCCAkigAwIBAgIBATANBgkqhkiG9w0BAQUFADA7MQ8wDQYDVQQDDAZwdWJs
3
+ aWMxFDASBgoJkiaJk/IsZAEZFgR4M3JvMRIwEAYKCZImiZPyLGQBGRYCZGUwHhcN
4
+ MTYwOTA2MTIxMDM2WhcNMTcwOTA2MTIxMDM2WjA7MQ8wDQYDVQQDDAZwdWJsaWMx
5
+ FDASBgoJkiaJk/IsZAEZFgR4M3JvMRIwEAYKCZImiZPyLGQBGRYCZGUwggEiMA0G
6
+ CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDGWOw7+Dk21G0MBFeqE5xD1pPV71M2
7
+ kzhS2SL5aKQotMs4ktAgV0Akt6jC3ZD4hk5tWjp8HTsZrWhShIs2Px3aepjaRPQy
8
+ CO3erarDsWGn1x4wUYaII07dVMs8fjYZC+rU14J4qWRNoipGmetBrIJ/3ZHQHdjD
9
+ rAufhZp2FzxfqqBxQNIlaLEMEBqZD1GSAUet5TUlTaYH33SJPPmnJb9lm/t1jH3t
10
+ OiwGvesR3+Uh8J9kdtTd2V/rHm3AiQRCdFMmXn8+0ViTqTYmhGbKiF92Rjs169iG
11
+ d+UkDf+iO2HBBnzEQjwKgJSthBWUt63+5xbVjHihMKvwbwVOUxfq7i+lAgMBAAGj
12
+ bzBtMAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBSCoRN1G+v/kKwv
13
+ 0UeonWzbbwfHUjAZBgNVHREEEjAQgQ5wdWJsaWNAeDNyby5kZTAZBgNVHRIEEjAQ
14
+ gQ5wdWJsaWNAeDNyby5kZTANBgkqhkiG9w0BAQUFAAOCAQEARnnB8iOazOWWnzwj
15
+ +XloozE4xWtdfN0TFUeGYjeL4das249VXwM9onTBT1uV4hgNTbaEvvaFxTx3z6Dz
16
+ f/DgDr1rb26dsg/T3noleJxq1Ag9TBYmgIEp2f0MfJKI/ehDBpx5k/nyd7pUYXmi
17
+ jjllrqSV9cZlb3b8aJoh/3BPuQ0MTbUG1YprBltr2WYs/9Vr1niVG7n2aODzYqtu
18
+ FcYEGIY0ebDh0XZWhIdL/bVIiTMO7HhUbV2Sep0a81x7onUbKY0Bwg5Z5F9qymL7
19
+ 3Irm570EqGg9XAH5Q7fa45ybD3sxOsIWeuJVlWIBGVfNdcEVsltc6Qywrv+W8Ct2
20
+ D+niDA==
21
+ -----END CERTIFICATE-----
@@ -6,6 +6,8 @@ module Omgtex
6
6
  def self.parse!
7
7
  options = {:latexOptions => [ ]}
8
8
 
9
+ options[:typesetter] = "pdflatex"
10
+
9
11
  optparse = OptionParser.new do|opts|
10
12
  opts.banner = "Usage: omgtex [options] file.tex"
11
13
 
@@ -28,6 +30,14 @@ module Omgtex
28
30
  options[:latexOptions].push("-shell-escape")
29
31
  end
30
32
 
33
+ opts.on('-x', '--xelatex', 'Use XeLaTeX instead of pdflatex') do
34
+ options[:typesetter] = "xelatex"
35
+ end
36
+
37
+ opts.on('-t TYPESETTER', '--typesetter', 'Use this executable for typesetting LaTeX') do |l|
38
+ options[:typesetter] = l
39
+ end
40
+
31
41
  opts.on('-h', '--help', 'Display this message') do
32
42
  puts opts
33
43
  exit
data/lib/omgtex/runner.rb CHANGED
@@ -11,7 +11,7 @@ module Omgtex
11
11
  filename = $1
12
12
  filetype = $2
13
13
 
14
- latexCommand = "pdflatex #{options[:latexOptions].join(' ')}"
14
+ latexCommand = "#{options[:typesetter]} #{options[:latexOptions].join(' ')}"
15
15
 
16
16
  file = "'#{file}'"
17
17
  pdffile = "'#{filename}.pdf'"
data/omgtex.gemspec CHANGED
@@ -2,18 +2,19 @@
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.0.0 ruby lib
5
+ # stub: omgtex 0.1.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "omgtex"
9
- s.version = "0.0.0"
9
+ s.version = "0.1.0"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
- s.authors = ["Lucas Jenss"]
14
- s.date = "2015-05-17"
15
- s.description = "Builds your LaTeX files by running pdflatex an appropriate* amount of times."
16
- s.email = "lucas@x3ro.de"
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"
17
18
  s.executables = ["omgtex"]
18
19
  s.extra_rdoc_files = [
19
20
  "LICENSE.txt",
@@ -28,6 +29,7 @@ Gem::Specification.new do |s|
28
29
  "Rakefile",
29
30
  "VERSION",
30
31
  "bin/omgtex",
32
+ "certs/fresskoma.pem",
31
33
  "lib/omgtex.rb",
32
34
  "lib/omgtex/options.rb",
33
35
  "lib/omgtex/runner.rb",
@@ -37,34 +39,23 @@ Gem::Specification.new do |s|
37
39
  ]
38
40
  s.homepage = "http://github.com/x3ro/omgtex"
39
41
  s.licenses = ["MIT"]
40
- s.rubygems_version = "2.2.2"
41
- s.summary = "Basically runs pdflatex for you."
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"
42
45
 
43
46
  if s.respond_to? :specification_version then
44
47
  s.specification_version = 4
45
48
 
46
49
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
47
- s.add_development_dependency(%q<minitest>, [">= 0"])
48
- s.add_development_dependency(%q<yard>, ["~> 0.7"])
49
- s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
50
50
  s.add_development_dependency(%q<bundler>, ["~> 1.0"])
51
- s.add_development_dependency(%q<jeweler>, ["~> 2.0.1"])
52
- s.add_development_dependency(%q<simplecov>, [">= 0"])
51
+ s.add_development_dependency(%q<jeweler>, ["~> 2.1"])
53
52
  else
54
- s.add_dependency(%q<minitest>, [">= 0"])
55
- s.add_dependency(%q<yard>, ["~> 0.7"])
56
- s.add_dependency(%q<rdoc>, ["~> 3.12"])
57
53
  s.add_dependency(%q<bundler>, ["~> 1.0"])
58
- s.add_dependency(%q<jeweler>, ["~> 2.0.1"])
59
- s.add_dependency(%q<simplecov>, [">= 0"])
54
+ s.add_dependency(%q<jeweler>, ["~> 2.1"])
60
55
  end
61
56
  else
62
- s.add_dependency(%q<minitest>, [">= 0"])
63
- s.add_dependency(%q<yard>, ["~> 0.7"])
64
- s.add_dependency(%q<rdoc>, ["~> 3.12"])
65
57
  s.add_dependency(%q<bundler>, ["~> 1.0"])
66
- s.add_dependency(%q<jeweler>, ["~> 2.0.1"])
67
- s.add_dependency(%q<simplecov>, [">= 0"])
58
+ s.add_dependency(%q<jeweler>, ["~> 2.1"])
68
59
  end
69
60
  end
70
61
 
data.tar.gz.sig ADDED
Binary file
metadata CHANGED
@@ -1,57 +1,37 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omgtex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
- - Lucas Jenss
7
+ - Lucas Jenß
8
8
  autorequire:
9
9
  bindir: bin
10
- cert_chain: []
11
- date: 2015-05-17 00:00:00.000000000 Z
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIDYDCCAkigAwIBAgIBATANBgkqhkiG9w0BAQUFADA7MQ8wDQYDVQQDDAZwdWJs
14
+ aWMxFDASBgoJkiaJk/I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7onUbKY0Bwg5Z5F9qymL7
30
+ 3Irm570EqGg9XAH5Q7fa45ybD3sxOsIWeuJVlWIBGVfNdcEVsltc6Qywrv+W8Ct2
31
+ D+niDA==
32
+ -----END CERTIFICATE-----
33
+ date: 2016-09-06 00:00:00.000000000 Z
12
34
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: minitest
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
- - !ruby/object:Gem::Dependency
28
- name: yard
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '0.7'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '0.7'
41
- - !ruby/object:Gem::Dependency
42
- name: rdoc
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '3.12'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '3.12'
55
35
  - !ruby/object:Gem::Dependency
56
36
  name: bundler
57
37
  requirement: !ruby/object:Gem::Requirement
@@ -72,31 +52,16 @@ dependencies:
72
52
  requirements:
73
53
  - - "~>"
74
54
  - !ruby/object:Gem::Version
75
- version: 2.0.1
55
+ version: '2.1'
76
56
  type: :development
77
57
  prerelease: false
78
58
  version_requirements: !ruby/object:Gem::Requirement
79
59
  requirements:
80
60
  - - "~>"
81
61
  - !ruby/object:Gem::Version
82
- version: 2.0.1
83
- - !ruby/object:Gem::Dependency
84
- name: simplecov
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
- description: Builds your LaTeX files by running pdflatex an appropriate* amount of
98
- times.
99
- email: lucas@x3ro.de
62
+ version: '2.1'
63
+ description: Builds your *TeX files by running *tex an appropriate amount of times
64
+ email: public@x3ro.de
100
65
  executables:
101
66
  - omgtex
102
67
  extensions: []
@@ -112,6 +77,7 @@ files:
112
77
  - Rakefile
113
78
  - VERSION
114
79
  - bin/omgtex
80
+ - certs/fresskoma.pem
115
81
  - lib/omgtex.rb
116
82
  - lib/omgtex/options.rb
117
83
  - lib/omgtex/runner.rb
@@ -138,8 +104,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
104
  version: '0'
139
105
  requirements: []
140
106
  rubyforge_project:
141
- rubygems_version: 2.2.2
107
+ rubygems_version: 2.5.1
142
108
  signing_key:
143
109
  specification_version: 4
144
- summary: Basically runs pdflatex for you.
110
+ summary: Essentially runs *TeX the appropriate number of times
145
111
  test_files: []
metadata.gz.sig ADDED
Binary file