acoc 0.7.1

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.
@@ -0,0 +1,3 @@
1
+ module ACOC
2
+ class Config < Hash; end
3
+ end
@@ -0,0 +1,12 @@
1
+
2
+ module ACOC
3
+ class Program
4
+ attr_accessor :flags, :specs
5
+
6
+ def initialize(flags)
7
+ @flags = flags || ""
8
+ @specs = Array.new
9
+ end
10
+ end
11
+ end
12
+
@@ -0,0 +1,12 @@
1
+ module ACOC
2
+ class Rule
3
+ attr_reader :regex, :flags, :colours
4
+
5
+ def initialize(regex, flags, colours)
6
+ @regex = regex
7
+ @flags = flags
8
+ @colours = colours
9
+ end
10
+ end
11
+ end
12
+
@@ -0,0 +1,3 @@
1
+ module ACOC
2
+ VERSION = '0.7.1'
3
+ end
metadata ADDED
@@ -0,0 +1,113 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: acoc
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.7.1
5
+ platform: ruby
6
+ authors:
7
+ - Ian Macdonald
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-01-21 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: term-ansicolor
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.3'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ description: |
56
+ `acoc` is a regular expression based colour formatter for programs
57
+ that display output on the command-line.
58
+
59
+ It works as a wrapper around the target program, executing it
60
+ and capturing the stdout stream. Optionally, stderr can
61
+ be redirected to stdout, so that it, too, can be manipulated.
62
+
63
+ `acoc` then applies matching rules to patterns in the output
64
+ and applies colour sets to those matches.
65
+ email:
66
+ - ian@caliban.org
67
+ executables:
68
+ - acoc
69
+ extensions: []
70
+ extra_rdoc_files: []
71
+ files:
72
+ - ".gitignore"
73
+ - BUGS
74
+ - Changelog
75
+ - Gemfile
76
+ - LICENSE.txt
77
+ - README.md
78
+ - Rakefile
79
+ - TODO
80
+ - acoc.conf
81
+ - acoc.gemspec
82
+ - bin/acoc
83
+ - lib/acoc.rb
84
+ - lib/acoc/config.rb
85
+ - lib/acoc/program.rb
86
+ - lib/acoc/rule.rb
87
+ - lib/acoc/version.rb
88
+ homepage: http://caliban.org/ruby/acoc.shtml
89
+ licenses:
90
+ - GPL-2.0
91
+ metadata: {}
92
+ post_install_message:
93
+ rdoc_options: []
94
+ require_paths:
95
+ - lib
96
+ required_ruby_version: !ruby/object:Gem::Requirement
97
+ requirements:
98
+ - - ">="
99
+ - !ruby/object:Gem::Version
100
+ version: '0'
101
+ required_rubygems_version: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - ">="
104
+ - !ruby/object:Gem::Version
105
+ version: '0'
106
+ requirements: []
107
+ rubyforge_project:
108
+ rubygems_version: 2.2.0
109
+ signing_key:
110
+ specification_version: 4
111
+ summary: Arbitrary Command Output Colourer
112
+ test_files: []
113
+ has_rdoc: