rack-plastic 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ 0.0.3 (December 3, 2009)
2
+ * BUGFIX: 'require' problem.
3
+
1
4
  0.0.2 (December 3, 2009)
2
5
  * BUGFIX: Namespace error.
3
6
 
data/Rakefile CHANGED
@@ -13,7 +13,7 @@ begin
13
13
  require 'jeweler'
14
14
  Jeweler::Tasks.new do |s|
15
15
  s.name = "rack-plastic"
16
- s.version = "0.0.2"
16
+ s.version = "0.0.3"
17
17
  s.author = "Wyatt Greene"
18
18
  s.email = "techiferous@gmail.com"
19
19
  s.summary = "Helps you write Rack middleware using Nokogiri."
@@ -1,5 +1,3 @@
1
- require 'nokogiri'
2
-
3
1
  module Rack
4
2
 
5
3
  # PlasticHelper was created to separate Plastic's implementation from Plastic's
data/lib/rack-plastic.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require 'nokogiri'
2
+ require 'plastic_helper'
2
3
 
3
4
  module Rack
4
5
 
@@ -1,5 +1,4 @@
1
1
  require File.join(File.dirname(__FILE__), '..', '..', 'lib', 'rack-plastic')
2
- require File.join(File.dirname(__FILE__), '..', '..', 'lib', 'plastic_helper')
3
2
 
4
3
  # This middleware emphasizes the first character in every paragraph, not unlike
5
4
  # the initials in illuminated manuscripts of the Middle Ages.
@@ -1,5 +1,4 @@
1
1
  require File.join(File.dirname(__FILE__), '..', '..', 'lib', 'rack-plastic')
2
- require File.join(File.dirname(__FILE__), '..', '..', 'lib', 'plastic_helper')
3
2
 
4
3
  # This middleware demonstrates how you would add an HTML element to the beginning
5
4
  # of a web page.
@@ -1,5 +1,4 @@
1
1
  require File.join(File.dirname(__FILE__), '..', '..', 'lib', 'rack-plastic')
2
- require File.join(File.dirname(__FILE__), '..', '..', 'lib', 'plastic_helper')
3
2
 
4
3
  # This middleware converts the text of every paragraph to leetspeak.
5
4
  #
@@ -1,5 +1,4 @@
1
1
  require File.join(File.dirname(__FILE__), '..', '..', 'lib', 'rack-plastic')
2
- require File.join(File.dirname(__FILE__), '..', '..', 'lib', 'plastic_helper')
3
2
 
4
3
  # This middleware demonstrates how to add inline CSS styles to the web page.
5
4
  #
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-plastic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wyatt Greene