coderay_bash 1.0.4 → 1.0.5

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/CHANGELOG ADDED
@@ -0,0 +1,53 @@
1
+ v1.0.5
2
+ ------
3
+
4
+ * register .sh file extension with :bash scanner (by Alexandre Vezina)
5
+
6
+ v1.0.4
7
+ ------
8
+
9
+ * fix issue #10
10
+ * fix source
11
+
12
+ v1.0.3
13
+ ------
14
+
15
+ * fix function closing bracket (by codez)
16
+ * fix # in string is not a comment (by codez)
17
+
18
+
19
+ v1.0.2
20
+ ------
21
+
22
+ * fix nested shells
23
+
24
+
25
+ v1.0.1
26
+ ------
27
+
28
+ * fix open single quote
29
+ * support for heredoc
30
+
31
+
32
+ v1.0
33
+ ----
34
+
35
+ * compatible with coderay 1.0
36
+ * `` doesn't change state but sets @shell variable to true
37
+ * support for arrays
38
+ * fix comments
39
+
40
+
41
+ v0.2.1
42
+ ------
43
+
44
+ * option :ignore_errors; default => true
45
+ * fix string parsing
46
+
47
+
48
+ v0.2.0
49
+ ------
50
+
51
+ * the bash scanner can be use in combination with other scanners
52
+ * new type added :erb_bash -- erb code in bash strings (thx to codez.ch)
53
+
data/coderay_bash.gemspec CHANGED
@@ -13,11 +13,11 @@ 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 = '1.0.4'
16
+ s.version = '1.0.5'
17
17
  s.date = Time.now.strftime("%Y-%m-%d")
18
18
  s.add_dependency('coderay', '>= 1.0')
19
19
  s.require_path = 'lib'
20
- s.files = ["README.md", "coderay_bash.gemspec", "Rakefile"]
20
+ s.files = ["README.md", "CHANGELOG", "coderay_bash.gemspec", "Rakefile"]
21
21
  s.files += Dir["lib/**/*.rb"]
22
22
  s.post_install_message = <<EOF
23
23
  This gem was tested with coderay 1.0 and won't work with coderay 0.9.
data/lib/coderay_bash.rb CHANGED
@@ -4,3 +4,6 @@ path = File.join File.expand_path(File.dirname(__FILE__))
4
4
 
5
5
  require File.join(path, "coderay/scanners/bash.rb")
6
6
  require File.join(path, "coderay/scanners/erb_bash.rb")
7
+
8
+ # Register file types
9
+ ::CodeRay::FileType::TypeFromExt['sh'] = :bash
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coderay_bash
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-04 00:00:00.000000000 Z
12
+ date: 2013-03-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: coderay
@@ -37,6 +37,7 @@ extensions: []
37
37
  extra_rdoc_files: []
38
38
  files:
39
39
  - README.md
40
+ - CHANGELOG
40
41
  - coderay_bash.gemspec
41
42
  - Rakefile
42
43
  - lib/coderay/scanners/erb_bash.rb
@@ -65,7 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
66
  version: '0'
66
67
  requirements: []
67
68
  rubyforge_project:
68
- rubygems_version: 1.8.24
69
+ rubygems_version: 1.8.23
69
70
  signing_key:
70
71
  specification_version: 3
71
72
  summary: Simple bash scanner for highlighting with coderay.