sbfaulkner-pygmalion 0.9.0 → 0.9.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.
Files changed (3) hide show
  1. data/README.markdown +39 -0
  2. data/pygmalion.gemspec +2 -2
  3. metadata +3 -3
data/README.markdown CHANGED
@@ -0,0 +1,39 @@
1
+ # pygmalion
2
+
3
+ Syntax highlighting using the pygments.com "web service".
4
+
5
+ ## WHY?
6
+
7
+ I have historically used ultraviolet for any syntax highlighting. However, in
8
+ order to use ultraviolet, you need to be able to use the oniguruma library.
9
+ Unfortunately, some hosting services (like the Media Temple grid service) do
10
+ not support this library. I needed another solution, and it seemed like
11
+ something that could be outsourced.
12
+
13
+ ## Installation
14
+
15
+ Run the following if you haven't already:
16
+
17
+ $ gem sources -a http://gems.github.com
18
+
19
+ Install the gem(s):
20
+
21
+ $ sudo gem install -r sbfaulkner-pygmalion
22
+
23
+ ## Example
24
+
25
+ File.read('hello.rb').highlight
26
+
27
+ Results in...
28
+
29
+ <div class="highlight"><pre><span class="k">def</span> <span class="nf">hello</span>
30
+ <span class="n">puts</span> <span class="s">&quot;hello&quot;</span>
31
+ <span class="n">end</span>
32
+ </pre></div>'
33
+
34
+
35
+
36
+ ## Legal
37
+
38
+ **Author:** S. Brent Faulkner <brentf@unwwwired.net>
39
+ **License:** Copyright &copy; 2008 unwwwired.net, released under the MIT license
data/pygmalion.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  SPEC = Gem::Specification.new do |s|
2
2
  # identify the gem
3
3
  s.name = "pygmalion"
4
- s.version = "0.9.0"
4
+ s.version = "0.9.1"
5
5
  s.author = "S. Brent Faulkner"
6
6
  s.email = "brentf@unwwwired.net"
7
7
  s.homepage = "http://www.unwwwired.net"
@@ -15,6 +15,6 @@ SPEC = Gem::Specification.new do |s|
15
15
  # s.test_file = "test/pygmalion.rb"
16
16
  s.has_rdoc = true
17
17
  s.extra_rdoc_files = ["README.markdown"]
18
- s.add_dependency("fastercsv", ">= 1.2.3")
18
+ s.add_dependency "active_support"
19
19
  s.executables = ["pygmalion"]
20
20
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sbfaulkner-pygmalion
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - S. Brent Faulkner
@@ -13,13 +13,13 @@ date: 2008-08-13 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: fastercsv
16
+ name: active_support
17
17
  version_requirement:
18
18
  version_requirements: !ruby/object:Gem::Requirement
19
19
  requirements:
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 1.2.3
22
+ version: "0"
23
23
  version:
24
24
  description:
25
25
  email: brentf@unwwwired.net