rubypants-unicode 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 4116600599d67f38ec6adc0e3fad5e3d1d384ebc
4
+ data.tar.gz: 506e211a87944fe3a0a630946ed86cbfc412f461
5
+ SHA512:
6
+ metadata.gz: b3e36d228bc33887dd6ec7835c99a820fb59db420442b52c1cb6fa932933fcc0fccbd8a91d865a8521c6c97970995f1c272181cb4b209164d117d6ed3e346edb
7
+ data.tar.gz: 957fd53c28e61ed65acc22fab96566689a6c55d8d0ad3a1a932f41cc45e991fe5c35e0219de7e2cbd161e2bd707243f33301a1d27d457fc4ae9c611fbf5fcc27
@@ -44,7 +44,7 @@
44
44
  # quotes, em-dashes, and proper ellipses.
45
45
  #
46
46
  # RubyPants does not modify characters within <tt><pre></tt>,
47
- # <tt><code></tt>, <tt><kbd></tt>, <tt><math></tt> or
47
+ # <tt><code></tt>, <tt><kbd></tt>, <tt><math></tt>, <tt>style</tt>, or
48
48
  # <tt><script></tt> tag blocks. Typically, these tags are used to
49
49
  # display text where smart quotes and other "smart punctuation" would
50
50
  # not be appropriate, such as source code or example markup.
@@ -262,7 +262,7 @@ class RubyPants < String
262
262
  tokens.each { |token|
263
263
  if token.first == :tag
264
264
  result << token[1]
265
- if token[1] =~ %r!<(/?)(?:pre|code|kbd|script|math)[\s>]!
265
+ if token[1] =~ %r!<(/?)(?:pre|code|kbd|script|style|math)[\s>]!
266
266
  in_pre = ($1 != "/") # Opening or closing tag?
267
267
  end
268
268
  else
@@ -1,3 +1,3 @@
1
- class RubyPants
2
- VERSION = "0.2.3"
1
+ class RubyPants < String
2
+ VERSION = "0.2.4"
3
3
  end
metadata CHANGED
@@ -1,83 +1,74 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubypants-unicode
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
5
- prerelease:
4
+ version: 0.2.4
6
5
  platform: ruby
7
6
  authors:
7
+ - John Gruber
8
+ - Chad Miller
8
9
  - Christian Neukirchen
10
+ - Jeremy McNevin
9
11
  - Chris Chapman
10
12
  autorequire:
11
13
  bindir: bin
12
14
  cert_chain: []
13
- date: 2012-08-13 00:00:00.000000000 Z
15
+ date: 2014-10-11 00:00:00.000000000 Z
14
16
  dependencies: []
15
- description: ! 'It just occurred to me that if we are encoding our HTML pages in UTF-8
16
- to
17
-
17
+ description: |
18
+ It just occurred to me that if we are encoding our HTML pages in UTF-8 to
18
19
  handle multiple languages and using web fonts with multilanguage support,
19
-
20
- shouldn''t we be able to directly insert the simple apostrophe, ellipsis, and
21
-
20
+ shouldn't we be able to directly insert the simple apostrophe, ellipsis, and
22
21
  em-dash?
23
22
 
24
-
25
23
  RubyPants-Unicode is a Ruby port of the smart-quotes library SmartyPants that outputs
26
-
27
24
  unicode characters (UTF-8) instead of HTML entities.
28
25
 
29
-
30
26
  The original "SmartyPants" is a free web publishing plug-in for
31
-
32
27
  Movable Type, Blosxom, and BBEdit that easily translates plain ASCII
33
-
34
28
  punctuation characters into "smart" typographic punctuation HTML
35
-
36
29
  entities.
37
-
38
- '
39
30
  email: chris.chapman@aggiemail.usu.edu
40
31
  executables: []
41
32
  extensions: []
42
33
  extra_rdoc_files:
43
34
  - README.md
44
35
  files:
45
- - lib/rubypants-unicode/rubypants-unicode.rb
46
- - lib/rubypants-unicode/version.rb
47
- - lib/rubypants-unicode.rb
48
36
  - README.md
49
37
  - Rakefile
38
+ - lib/rubypants-unicode.rb
39
+ - lib/rubypants-unicode/rubypants-unicode.rb
40
+ - lib/rubypants-unicode/version.rb
50
41
  - test/test_rubypants.rb
51
42
  homepage: https://github.com/cdchapman/rubypants-unicode
52
- licenses: []
43
+ licenses:
44
+ - MIT
45
+ metadata: {}
53
46
  post_install_message:
54
47
  rdoc_options:
55
- - --main
48
+ - "--main"
56
49
  - README.md
57
- - --line-numbers
58
- - --inline-source
59
- - --all
60
- - --exclude
50
+ - "--line-numbers"
51
+ - "--inline-source"
52
+ - "--all"
53
+ - "--exclude"
61
54
  - test
62
55
  require_paths:
63
56
  - lib
64
57
  required_ruby_version: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - ">="
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  required_rubygems_version: !ruby/object:Gem::Requirement
71
- none: false
72
63
  requirements:
73
- - - ! '>='
64
+ - - ">="
74
65
  - !ruby/object:Gem::Version
75
66
  version: '0'
76
67
  requirements: []
77
68
  rubyforge_project:
78
- rubygems_version: 1.8.17
69
+ rubygems_version: 2.2.2
79
70
  signing_key:
80
- specification_version: 3
71
+ specification_version: 4
81
72
  summary: RubyPants-Unicode is a Ruby port of the smart-quotes library SmartyPants.
82
73
  test_files:
83
74
  - test/test_rubypants.rb