coderay_bash 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +6 -2
- data/coderay_bash.gemspec +1 -1
- data/lib/coderay/scanners/bash.rb +3 -1
- metadata +5 -5
data/README.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
Bash scanner for highlighting scripts with CodeRay
|
|
2
2
|
==================================================
|
|
3
3
|
|
|
4
|
+
### Instalation
|
|
5
|
+
|
|
6
|
+
gem install coderay_bash
|
|
7
|
+
|
|
4
8
|
### Usage
|
|
5
9
|
|
|
6
10
|
require 'rubygems'
|
|
@@ -9,8 +13,8 @@ Bash scanner for highlighting scripts with CodeRay
|
|
|
9
13
|
plain = File.read('some_script.sh')
|
|
10
14
|
@body = CodeRay.scan(plain, :bash).div
|
|
11
15
|
|
|
12
|
-
### in your template then do
|
|
16
|
+
### in your template then do something like
|
|
13
17
|
|
|
14
18
|
<%= @body %>
|
|
15
19
|
|
|
16
|
-
For more information see [CodeRay
|
|
20
|
+
For more information see [CodeRay web pages](http://coderay.rubychan.de/)
|
data/coderay_bash.gemspec
CHANGED
|
@@ -13,7 +13,7 @@ spec = Gem::Specification.new do |s|
|
|
|
13
13
|
s.email = "pejuko@gmail.com"
|
|
14
14
|
s.authors = ["Petr Kovar"]
|
|
15
15
|
s.name = 'coderay_bash'
|
|
16
|
-
s.version = '0.1.
|
|
16
|
+
s.version = '0.1.3'
|
|
17
17
|
s.date = Time.now.strftime("%Y-%m-%d")
|
|
18
18
|
s.add_dependency('coderay', '< 1.0')
|
|
19
19
|
s.require_path = 'lib'
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: coderay_bash
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 29
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 3
|
|
10
|
+
version: 0.1.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Petr Kovar
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2010-08-
|
|
18
|
+
date: 2010-08-30 00:00:00 +02:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|
|
@@ -47,8 +47,8 @@ files:
|
|
|
47
47
|
- README.md
|
|
48
48
|
- coderay_bash.gemspec
|
|
49
49
|
- Rakefile
|
|
50
|
-
- lib/coderay/scanners/bash.rb
|
|
51
50
|
- lib/coderay_bash.rb
|
|
51
|
+
- lib/coderay/scanners/bash.rb
|
|
52
52
|
has_rdoc: true
|
|
53
53
|
homepage: http://github.com/pejuko/coderay_bash
|
|
54
54
|
licenses: []
|