asciidammit 0.0.5 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/poke.rb ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require './lib/asciidammit'
4
+
5
+ File.unlink('lib/charmap.xml') if File.exists?('lib/charmap.xml')
6
+ File.open(File.dirname(__FILE__) + '/__TEXT__').read.asciidammit
@@ -0,0 +1,8 @@
1
+ require 'test/unit'
2
+ require 'to_ascii_latex'
3
+
4
+ class TALTest < Test::Unit::TestCase
5
+ def test_basics
6
+ puts File.open(File.dirname(__FILE__) + '/__TEXT__').read.asciidammit
7
+ end
8
+ end
metadata CHANGED
@@ -1,62 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asciidammit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
5
- prerelease:
4
+ version: 0.0.7
6
5
  platform: ruby
7
6
  authors:
8
7
  - Emiliano Heyns
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-10-14 00:00:00.000000000 Z
11
+ date: 2014-01-21 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: bundler
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: '1.3'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: '1.3'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rake
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: msgpack
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - ">="
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - ">="
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  description: Convert text to ascii
@@ -66,7 +59,7 @@ executables: []
66
59
  extensions: []
67
60
  extra_rdoc_files: []
68
61
  files:
69
- - .gitignore
62
+ - ".gitignore"
70
63
  - Gemfile
71
64
  - LICENSE.txt
72
65
  - README.md
@@ -75,37 +68,32 @@ files:
75
68
  - lib/asciidammit.rb
76
69
  - lib/asciidammit/version.rb
77
70
  - lib/charmap.msgpack
78
- - test/test_ascii_latex.rb
71
+ - lib/charmap.xml
72
+ - poke.rb
73
+ - test/test_asciidammit.rb
79
74
  homepage: ''
80
75
  licenses:
81
76
  - MIT
77
+ metadata: {}
82
78
  post_install_message:
83
79
  rdoc_options: []
84
80
  require_paths:
85
81
  - lib
86
82
  required_ruby_version: !ruby/object:Gem::Requirement
87
- none: false
88
83
  requirements:
89
- - - ! '>='
84
+ - - ">="
90
85
  - !ruby/object:Gem::Version
91
86
  version: '0'
92
- segments:
93
- - 0
94
- hash: -244184735
95
87
  required_rubygems_version: !ruby/object:Gem::Requirement
96
- none: false
97
88
  requirements:
98
- - - ! '>='
89
+ - - ">="
99
90
  - !ruby/object:Gem::Version
100
91
  version: '0'
101
- segments:
102
- - 0
103
- hash: -244184735
104
92
  requirements: []
105
93
  rubyforge_project:
106
- rubygems_version: 1.8.25
94
+ rubygems_version: 2.2.0
107
95
  signing_key:
108
- specification_version: 3
96
+ specification_version: 4
109
97
  summary: Convert text to ascii
110
98
  test_files:
111
- - test/test_ascii_latex.rb
99
+ - test/test_asciidammit.rb
@@ -1,10 +0,0 @@
1
- require 'test/unit'
2
- require 'to_ascii_latex'
3
-
4
- class TALTest < Test::Unit::TestCase
5
- def test_basics
6
- assert_equal "$".to_latex, '{\\textdollar}'
7
- assert_equal "\u0027".to_latex, "'"
8
- assert_equal "\u00D6".to_latex, '\"{O}'
9
- end
10
- end