to_ascii_latex 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module ToAsciiLatex
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -29,7 +29,9 @@ module ToAsciiLatex
29
29
 
30
30
  # Define this new method
31
31
  def self.new_escape(s)
32
- return old_escape(s).gsub(MAPPING_RE){|c| MAPPING[c]}
32
+ x = old_escape(s).gsub(MAPPING_RE){|c| MAPPING[c]}
33
+ warn "Unicode in #{txt.inspect}" if x.delete("^\u{0000}-\u{007F}") != x
34
+ return x
33
35
  end
34
36
 
35
37
  # Set up aliases.
data/publish.sh ADDED
@@ -0,0 +1,6 @@
1
+ #!/bin/sh
2
+ #git tag `ruby -e 'require "./lib/to_ascii_latex/version.rb"; puts ToAsciiLatex::VERSION'`
3
+ rake install
4
+ for f in pkg/*.gem; do
5
+ gem push $f
6
+ done
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: to_ascii_latex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -73,6 +73,7 @@ files:
73
73
  - Rakefile
74
74
  - lib/to_ascii_latex.rb
75
75
  - lib/to_ascii_latex/version.rb
76
+ - publish.sh
76
77
  - to_ascii_latex.gemspec
77
78
  homepage: ''
78
79
  licenses:
@@ -89,7 +90,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
89
90
  version: '0'
90
91
  segments:
91
92
  - 0
92
- hash: -1021391139
93
+ hash: -101865169
93
94
  required_rubygems_version: !ruby/object:Gem::Requirement
94
95
  none: false
95
96
  requirements:
@@ -98,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
99
  version: '0'
99
100
  segments:
100
101
  - 0
101
- hash: -1021391139
102
+ hash: -101865169
102
103
  requirements: []
103
104
  rubyforge_project:
104
105
  rubygems_version: 1.8.24