cheatset 1.2.16 → 1.2.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cheatset.gemspec +1 -1
- data/lib/cheatset/dsl/base.rb +11 -0
- data/lib/cheatset/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92cea0a3cb414a53e9578ef98a56371359586bbb
|
4
|
+
data.tar.gz: 66b90e315cb7103af9cfd4f267c257556e097a5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0159dc572ac6533f3931254dc1fc5906f42b5b9ef7c62e4d6b50b662d1a62bec6c0515b045acd1e1224068c3ea90df7b870d5a163913435e53e55bfb84b91e2e
|
7
|
+
data.tar.gz: b1231978b1d8c3019b7a1bca395cdc7e7a5f221f2583b5f9793e7b9ae413012d507d9279a02f89b071ec4beb1220f947963531cf36b265e680a4bdbcd16fe189
|
data/cheatset.gemspec
CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.add_dependency 'sqlite3'
|
26
26
|
spec.add_dependency 'plist'
|
27
27
|
spec.add_dependency 'redcarpet'
|
28
|
-
spec.add_dependency 'rouge'
|
28
|
+
spec.add_dependency 'rouge', '~> 1.3'
|
29
29
|
spec.add_dependency 'sanitize'
|
30
30
|
spec.add_dependency 'unindent'
|
31
31
|
end
|
data/lib/cheatset/dsl/base.rb
CHANGED
@@ -5,6 +5,17 @@ require 'sanitize'
|
|
5
5
|
require 'unindent'
|
6
6
|
require 'cgi'
|
7
7
|
|
8
|
+
# module Rouge
|
9
|
+
# module Plugins
|
10
|
+
# module Redcarpet
|
11
|
+
# protected
|
12
|
+
# def rouge_formatter(opts={})
|
13
|
+
# Formatters::HTML.new(:wrap => false)
|
14
|
+
# end
|
15
|
+
# end
|
16
|
+
# end
|
17
|
+
# end
|
18
|
+
|
8
19
|
class HTML < Redcarpet::Render::HTML
|
9
20
|
include Rouge::Plugins::Redcarpet
|
10
21
|
end
|
data/lib/cheatset/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cheatset
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bogdan Popescu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -112,16 +112,16 @@ dependencies:
|
|
112
112
|
name: rouge
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - "
|
115
|
+
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
117
|
+
version: '1.3'
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- - "
|
122
|
+
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
124
|
+
version: '1.3'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: sanitize
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|