rouge 1.7.3 → 1.7.4

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: c6165cb71854f9cb227a8756b294a4f6a542ef15
4
- data.tar.gz: 73602fe7ef811f2d14cab3f6391686303c47a1d5
3
+ metadata.gz: b1dffebb13fb9d02aaa2f68da411c2e723e1b88e
4
+ data.tar.gz: ff408e0fe2ecd978aac9b7638ae75a80683f8233
5
5
  SHA512:
6
- metadata.gz: 91766d5bae4afaa8f71ed2f3733625e6bb36441cc5f54f7e6e1b2267af4379e44ae916306d4c6f9f9ecd1ca5119989502b13f96da12c1e2f34efb40bd5b5e497
7
- data.tar.gz: 88696d5ca424fe5c060c1771372943967acb6854f3be0363a9b8250eb8bf53d302b7786987f5b1e49876314d44ea76cf5181a4cde6590bdbfd86c30faa7de201
6
+ metadata.gz: 8afffd0b26979e30bb14735f8b8236d1d63295ad9d9704788d414441d49ed05242164bb3c1ac5bc2c9e1ea308cf8446e0166f119dca611738d3cb2be8a4118e3
7
+ data.tar.gz: 5242cfb257835a41fd9eca7323ec8ca4bf234511bd7d6e9ded6be750e54569cc4dd9e53ef655335257d1524e5ad6c253c0cb4cb96dcff78d65dcb4c878b274da
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  # MIT license. See http://www.opensource.org/licenses/mit-license.php
2
2
 
3
- Copyright (c) 2012 Jay Adkisson.
3
+ Copyright (c) 2012 Jeanine Adkisson.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -46,7 +46,7 @@ module Rouge
46
46
 
47
47
  private
48
48
  def stream_untableized(tokens, &b)
49
- yield "<pre><code#@css_class>" if @wrap
49
+ yield "<pre#@css_class><code>" if @wrap
50
50
  tokens.each{ |tok, val| span(tok, val, &b) }
51
51
  yield "</code></pre>\n" if @wrap
52
52
  end
@@ -81,7 +81,7 @@ module Rouge
81
81
 
82
82
  rule /"(\\.|[^"])*"/, Str
83
83
  rule /'#{keyword}/, Str::Symbol
84
- rule /:#{keyword}/, Name::Constant
84
+ rule /::?#{keyword}/, Name::Constant
85
85
  rule /\\(.|[a-z]+)/i, Str::Char
86
86
 
87
87
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rouge
4
4
  def self.version
5
- "1.7.3"
5
+ "1.7.4"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rouge
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.3
4
+ version: 1.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeanine Adkisson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-15 00:00:00.000000000 Z
11
+ date: 2014-11-23 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Rouge aims to a be a simple, easy-to-extend drop-in replacement for pygments.
14
14
  email: