artex 2.1.2 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/CHANGELOG +3 -4
- data/Gemfile +3 -0
- data/LICENSE +22 -0
- data/Manifest +3 -0
- data/README.rdoc +1 -27
- data/Rakefile +6 -3
- data/artex.gemspec +24 -17
- data/lib/artex/version.rb +1 -1
- data/test/tempdir_test.rb +4 -3
- metadata +85 -74
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
M2EyODE5OTBkOTc0M2I5MGExN2M0NDViNDljMWQ1Yzg0NjJiZDAzMA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
N2U2NDM1ZmFlOWY4ZWJhZDhjZjY2OTQxZGM2ZTI3NzMzZjA4MzFmYg==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MTNlY2FlNGM3NWRiMjgyMmMxZDBkZjM3Mjk4MjExZDhlMjE1ZTc1NTRjODMz
|
10
|
+
N2QxNmQ5NTdiZTYzNGFkZDhiZDc2MDEyZGY2ZTk1YzBiYzVkY2RkY2ZiNzFh
|
11
|
+
ZDAwODZkYjhlNTQyZjg2ZjcxYzdkMjM0NjZkYzMzOWY3YmQ2MjU=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NGQ1MTkwNjljZTNhZTRmZjAzMThhMjMwYTdiNzE3ZmU4ZGM1Y2UzNWUzM2Fl
|
14
|
+
MzMyZDI0MWVkOWQzY2UwODg2MjA1ODQ5MjIwYzkyZWJkYWMyOWY0OWI3NjBl
|
15
|
+
M2Q2YmY0MjU3OTJlZTFiOGVjOGZiNzcyNjM0ZjcyZjc0ZTBjYWQ=
|
data/CHANGELOG
CHANGED
data/Gemfile
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
(The MIT License)
|
2
|
+
|
3
|
+
Copyright (c) 2006-2010 Bruce Williams, Wiebe Cazemier, Julian Fischer
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
'Software'), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
19
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
20
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
21
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
22
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/Manifest
CHANGED
@@ -1,4 +1,6 @@
|
|
1
1
|
CHANGELOG
|
2
|
+
Gemfile
|
3
|
+
LICENSE
|
2
4
|
Manifest
|
3
5
|
README.rdoc
|
4
6
|
Rakefile
|
@@ -19,6 +21,7 @@ test/fixtures/first.tex
|
|
19
21
|
test/fixtures/first.tex.erb
|
20
22
|
test/fixtures/fragment.tex.erb
|
21
23
|
test/fixtures/text.textile
|
24
|
+
test/pdf_test.rb
|
22
25
|
test/tempdir_test.rb
|
23
26
|
test/test_helper.rb
|
24
27
|
vendor/instiki/LICENSE
|
data/README.rdoc
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Project homepage (FAQ, manual, documentation, contact info): http://github.com/avarteq/artex
|
4
4
|
|
5
|
-
Source repository at: http://github.com/
|
5
|
+
Source repository at: http://github.com/avarteqgmbh/artex
|
6
6
|
|
7
7
|
== Dependencies
|
8
8
|
|
@@ -18,29 +18,3 @@ In contrast to that ArTeX has no dependencies on ActionPack and thus can also be
|
|
18
18
|
|
19
19
|
We'll keep on updating the gem and we'll try to provide some examples in the future.
|
20
20
|
Besides of that the code will be iteratively cut down, rewritten and enhanced.
|
21
|
-
|
22
|
-
|
23
|
-
== License
|
24
|
-
|
25
|
-
(The MIT License)
|
26
|
-
|
27
|
-
Copyright (c) 2006-2010 Bruce Williams, Wiebe Cazemier, Julian Fischer
|
28
|
-
|
29
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
30
|
-
a copy of this software and associated documentation files (the
|
31
|
-
'Software'), to deal in the Software without restriction, including
|
32
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
33
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
34
|
-
permit persons to whom the Software is furnished to do so, subject to
|
35
|
-
the following conditions:
|
36
|
-
|
37
|
-
The above copyright notice and this permission notice shall be
|
38
|
-
included in all copies or substantial portions of the Software.
|
39
|
-
|
40
|
-
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
41
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
42
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
43
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
44
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
45
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
46
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/Rakefile
CHANGED
@@ -5,15 +5,18 @@ require File.dirname(__FILE__) << "/lib/artex/version"
|
|
5
5
|
|
6
6
|
Echoe.new 'artex' do |p|
|
7
7
|
p.version = ArTeX::Version::STRING
|
8
|
-
p.author = ['Bruce Williams', 'Wiebe Cazemier', 'Julian Fischer', 'Matthias Folz']
|
8
|
+
p.author = ['Bruce Williams', 'Wiebe Cazemier', 'Julian Fischer', 'Matthias Folz', 'Robert Gogolok']
|
9
9
|
p.email = 'artex@avarteq.de'
|
10
10
|
p.project = 'artex'
|
11
11
|
p.summary = "LaTeX preprocessor for PDF generation; Rails plugin"
|
12
|
-
p.url = "http://github.com/
|
12
|
+
p.url = "http://github.com/avarteqgmbh/artex"
|
13
13
|
p.include_rakefile = true
|
14
|
-
p.development_dependencies = %w(
|
14
|
+
p.development_dependencies = %w(echoe flexmock)
|
15
|
+
p.development_dependencies << "rails ~>3.2.14"
|
16
|
+
p.development_dependencies << "shoulda ~>2.11.3"
|
15
17
|
p.rcov_options = '--exclude gems --exclude version.rb --sort coverage --text-summary --html -o coverage'
|
16
18
|
p.ignore_pattern = /^(pkg|doc|site)|\.svn|CVS|\.bzr|\.DS|\.git/
|
19
|
+
p.retain_gemspec = true
|
17
20
|
p.rubygems_version = nil
|
18
21
|
end
|
19
22
|
|
data/artex.gemspec
CHANGED
@@ -1,36 +1,43 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
+
# stub: artex 2.1.3 ruby lib
|
2
3
|
|
3
4
|
Gem::Specification.new do |s|
|
4
|
-
s.name =
|
5
|
-
s.version = "2.1.
|
5
|
+
s.name = "artex"
|
6
|
+
s.version = "2.1.3"
|
6
7
|
|
7
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
|
-
s.authors = ["Bruce Williams, Wiebe Cazemier, Julian Fischer, Matthias Folz"]
|
9
|
-
s.date =
|
10
|
-
s.description =
|
11
|
-
s.email =
|
12
|
-
s.extra_rdoc_files = ["CHANGELOG", "README.rdoc", "lib/artex.rb", "lib/artex/document.rb", "lib/artex/escaping.rb", "lib/artex/framework/merb.rb", "lib/artex/framework/rails.rb", "lib/artex/pdf.rb", "lib/artex/tempdir.rb", "lib/artex/version.rb"]
|
13
|
-
s.files = ["CHANGELOG", "Manifest", "README.rdoc", "Rakefile", "artex.gemspec", "init.rb", "lib/artex.rb", "lib/artex/document.rb", "lib/artex/escaping.rb", "lib/artex/framework/merb.rb", "lib/artex/framework/rails.rb", "lib/artex/pdf.rb", "lib/artex/tempdir.rb", "lib/artex/version.rb", "rails/init.rb", "test/document_test.rb", "test/filter_test.rb", "test/fixtures/first.tex", "test/fixtures/first.tex.erb", "test/fixtures/fragment.tex.erb", "test/fixtures/text.textile", "test/tempdir_test.rb", "test/test_helper.rb", "vendor/instiki/LICENSE", "vendor/instiki/redcloth_for_tex.rb"
|
14
|
-
s.homepage =
|
9
|
+
s.authors = ["Bruce Williams, Wiebe Cazemier, Julian Fischer, Matthias Folz, Robert Gogolok"]
|
10
|
+
s.date = "2013-10-15"
|
11
|
+
s.description = "LaTeX preprocessor for PDF generation; Rails plugin"
|
12
|
+
s.email = "artex@avarteq.de"
|
13
|
+
s.extra_rdoc_files = ["CHANGELOG", "LICENSE", "README.rdoc", "lib/artex.rb", "lib/artex/document.rb", "lib/artex/escaping.rb", "lib/artex/framework/merb.rb", "lib/artex/framework/rails.rb", "lib/artex/pdf.rb", "lib/artex/tempdir.rb", "lib/artex/version.rb"]
|
14
|
+
s.files = ["CHANGELOG", "Gemfile", "LICENSE", "Manifest", "README.rdoc", "Rakefile", "artex.gemspec", "init.rb", "lib/artex.rb", "lib/artex/document.rb", "lib/artex/escaping.rb", "lib/artex/framework/merb.rb", "lib/artex/framework/rails.rb", "lib/artex/pdf.rb", "lib/artex/tempdir.rb", "lib/artex/version.rb", "rails/init.rb", "test/document_test.rb", "test/filter_test.rb", "test/fixtures/first.tex", "test/fixtures/first.tex.erb", "test/fixtures/fragment.tex.erb", "test/fixtures/text.textile", "test/pdf_test.rb", "test/tempdir_test.rb", "test/test_helper.rb", "vendor/instiki/LICENSE", "vendor/instiki/redcloth_for_tex.rb"]
|
15
|
+
s.homepage = "http://github.com/avarteqgmbh/artex"
|
15
16
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Artex", "--main", "README.rdoc"]
|
16
17
|
s.require_paths = ["lib"]
|
17
|
-
s.rubyforge_project =
|
18
|
-
s.rubygems_version =
|
19
|
-
s.summary =
|
20
|
-
s.test_files = ["test/
|
18
|
+
s.rubyforge_project = "artex"
|
19
|
+
s.rubygems_version = "2.1.3"
|
20
|
+
s.summary = "LaTeX preprocessor for PDF generation; Rails plugin"
|
21
|
+
s.test_files = ["test/document_test.rb", "test/filter_test.rb", "test/pdf_test.rb", "test/tempdir_test.rb", "test/test_helper.rb"]
|
21
22
|
|
22
23
|
if s.respond_to? :specification_version then
|
23
|
-
s.specification_version =
|
24
|
+
s.specification_version = 4
|
24
25
|
|
25
26
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
26
|
-
s.add_development_dependency(%q<Shoulda>, [">= 0"])
|
27
27
|
s.add_development_dependency(%q<echoe>, [">= 0"])
|
28
|
+
s.add_development_dependency(%q<flexmock>, [">= 0"])
|
29
|
+
s.add_development_dependency(%q<rails>, ["~> 3.2.14"])
|
30
|
+
s.add_development_dependency(%q<shoulda>, ["~> 2.11.3"])
|
28
31
|
else
|
29
|
-
s.add_dependency(%q<Shoulda>, [">= 0"])
|
30
32
|
s.add_dependency(%q<echoe>, [">= 0"])
|
33
|
+
s.add_dependency(%q<flexmock>, [">= 0"])
|
34
|
+
s.add_dependency(%q<rails>, ["~> 3.2.14"])
|
35
|
+
s.add_dependency(%q<shoulda>, ["~> 2.11.3"])
|
31
36
|
end
|
32
37
|
else
|
33
|
-
s.add_dependency(%q<Shoulda>, [">= 0"])
|
34
38
|
s.add_dependency(%q<echoe>, [">= 0"])
|
39
|
+
s.add_dependency(%q<flexmock>, [">= 0"])
|
40
|
+
s.add_dependency(%q<rails>, ["~> 3.2.14"])
|
41
|
+
s.add_dependency(%q<shoulda>, ["~> 2.11.3"])
|
35
42
|
end
|
36
43
|
end
|
data/lib/artex/version.rb
CHANGED
data/test/tempdir_test.rb
CHANGED
@@ -42,11 +42,12 @@ class TempdirTest < Test::Unit::TestCase
|
|
42
42
|
end
|
43
43
|
|
44
44
|
should "return the result of the last statment if not automatically removing the directory" do
|
45
|
-
|
45
|
+
content = nil # to capture value
|
46
46
|
result = ArTeX::Tempdir.open do |tempdir|
|
47
|
+
content = tempdir
|
47
48
|
:last
|
48
49
|
end
|
49
|
-
|
50
|
+
content.remove!
|
50
51
|
assert_equal :last, :last
|
51
52
|
end
|
52
53
|
|
@@ -64,4 +65,4 @@ class TempdirTest < Test::Unit::TestCase
|
|
64
65
|
|
65
66
|
end
|
66
67
|
|
67
|
-
end
|
68
|
+
end
|
metadata
CHANGED
@@ -1,59 +1,78 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: artex
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 2
|
8
|
-
- 1
|
9
|
-
- 2
|
10
|
-
version: 2.1.2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.1.3
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
13
|
-
- Bruce Williams, Wiebe Cazemier, Julian Fischer, Matthias Folz
|
6
|
+
authors:
|
7
|
+
- Bruce Williams, Wiebe Cazemier, Julian Fischer, Matthias Folz, Robert Gogolok
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
11
|
+
date: 2013-10-15 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: echoe
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ! '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :development
|
23
21
|
prerelease: false
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
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: flexmock
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
33
34
|
type: :development
|
34
|
-
version_requirements: *id001
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: echoe
|
37
35
|
prerelease: false
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rails
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 3.2.14
|
47
48
|
type: :development
|
48
|
-
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 3.2.14
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: shoulda
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 2.11.3
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 2.11.3
|
49
69
|
description: LaTeX preprocessor for PDF generation; Rails plugin
|
50
70
|
email: artex@avarteq.de
|
51
71
|
executables: []
|
52
|
-
|
53
72
|
extensions: []
|
54
|
-
|
55
|
-
extra_rdoc_files:
|
73
|
+
extra_rdoc_files:
|
56
74
|
- CHANGELOG
|
75
|
+
- LICENSE
|
57
76
|
- README.rdoc
|
58
77
|
- lib/artex.rb
|
59
78
|
- lib/artex/document.rb
|
@@ -63,8 +82,10 @@ extra_rdoc_files:
|
|
63
82
|
- lib/artex/pdf.rb
|
64
83
|
- lib/artex/tempdir.rb
|
65
84
|
- lib/artex/version.rb
|
66
|
-
files:
|
85
|
+
files:
|
67
86
|
- CHANGELOG
|
87
|
+
- Gemfile
|
88
|
+
- LICENSE
|
68
89
|
- Manifest
|
69
90
|
- README.rdoc
|
70
91
|
- Rakefile
|
@@ -85,53 +106,43 @@ files:
|
|
85
106
|
- test/fixtures/first.tex.erb
|
86
107
|
- test/fixtures/fragment.tex.erb
|
87
108
|
- test/fixtures/text.textile
|
109
|
+
- test/pdf_test.rb
|
88
110
|
- test/tempdir_test.rb
|
89
111
|
- test/test_helper.rb
|
90
112
|
- vendor/instiki/LICENSE
|
91
113
|
- vendor/instiki/redcloth_for_tex.rb
|
92
|
-
|
93
|
-
has_rdoc: true
|
94
|
-
homepage: http://github.com/avarteq/artex
|
114
|
+
homepage: http://github.com/avarteqgmbh/artex
|
95
115
|
licenses: []
|
96
|
-
|
116
|
+
metadata: {}
|
97
117
|
post_install_message:
|
98
|
-
rdoc_options:
|
118
|
+
rdoc_options:
|
99
119
|
- --line-numbers
|
100
120
|
- --inline-source
|
101
121
|
- --title
|
102
122
|
- Artex
|
103
123
|
- --main
|
104
124
|
- README.rdoc
|
105
|
-
require_paths:
|
125
|
+
require_paths:
|
106
126
|
- lib
|
107
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
none: false
|
118
|
-
requirements:
|
119
|
-
- - ">="
|
120
|
-
- !ruby/object:Gem::Version
|
121
|
-
hash: 3
|
122
|
-
segments:
|
123
|
-
- 0
|
124
|
-
version: "0"
|
127
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ! '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
133
|
+
requirements:
|
134
|
+
- - ! '>='
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '0'
|
125
137
|
requirements: []
|
126
|
-
|
127
138
|
rubyforge_project: artex
|
128
|
-
rubygems_version: 1.
|
139
|
+
rubygems_version: 2.1.3
|
129
140
|
signing_key:
|
130
|
-
specification_version:
|
141
|
+
specification_version: 4
|
131
142
|
summary: LaTeX preprocessor for PDF generation; Rails plugin
|
132
|
-
test_files:
|
133
|
-
- test/tempdir_test.rb
|
134
|
-
- test/test_helper.rb
|
135
|
-
- test/pdf_test.rb
|
143
|
+
test_files:
|
136
144
|
- test/document_test.rb
|
137
145
|
- test/filter_test.rb
|
146
|
+
- test/pdf_test.rb
|
147
|
+
- test/tempdir_test.rb
|
148
|
+
- test/test_helper.rb
|