rack-plastic 0.0.0 → 0.0.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.
- data/Rakefile +1 -1
- data/lib/{plastic.rb → rack-plastic.rb} +0 -0
- data/test/middlewares/initial.rb +1 -1
- data/test/middlewares/intro.rb +1 -1
- data/test/middlewares/l337.rb +1 -1
- data/test/middlewares/stylizer.rb +1 -1
- data/test/railsapp/log/development.log +12 -0
- metadata +29 -4
data/Rakefile
CHANGED
File without changes
|
data/test/middlewares/initial.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require File.join(File.dirname(__FILE__), '..', '..', 'lib', 'plastic')
|
1
|
+
require File.join(File.dirname(__FILE__), '..', '..', 'lib', 'rack-plastic')
|
2
2
|
require File.join(File.dirname(__FILE__), '..', '..', 'lib', 'plastic_helper')
|
3
3
|
|
4
4
|
# This middleware emphasizes the first character in every paragraph, not unlike
|
data/test/middlewares/intro.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require File.join(File.dirname(__FILE__), '..', '..', 'lib', 'plastic')
|
1
|
+
require File.join(File.dirname(__FILE__), '..', '..', 'lib', 'rack-plastic')
|
2
2
|
require File.join(File.dirname(__FILE__), '..', '..', 'lib', 'plastic_helper')
|
3
3
|
|
4
4
|
# This middleware demonstrates how you would add an HTML element to the beginning
|
data/test/middlewares/l337.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require File.join(File.dirname(__FILE__), '..', '..', 'lib', 'plastic')
|
1
|
+
require File.join(File.dirname(__FILE__), '..', '..', 'lib', 'rack-plastic')
|
2
2
|
require File.join(File.dirname(__FILE__), '..', '..', 'lib', 'plastic_helper')
|
3
3
|
|
4
4
|
# This middleware converts the text of every paragraph to leetspeak.
|
@@ -1,4 +1,4 @@
|
|
1
|
-
require File.join(File.dirname(__FILE__), '..', '..', 'lib', 'plastic')
|
1
|
+
require File.join(File.dirname(__FILE__), '..', '..', 'lib', 'rack-plastic')
|
2
2
|
require File.join(File.dirname(__FILE__), '..', '..', 'lib', 'plastic_helper')
|
3
3
|
|
4
4
|
# This middleware demonstrates how to add inline CSS styles to the web page.
|
@@ -106,3 +106,15 @@ Processing TommyBoyController#index (for 127.0.0.1 at 2009-12-03 01:21:47) [GET]
|
|
106
106
|
Rendering template within layouts/application
|
107
107
|
Rendering tommy_boy/index
|
108
108
|
Completed in 9ms (View: 7, DB: 0) | 200 OK [http://localhost/]
|
109
|
+
|
110
|
+
|
111
|
+
Processing TommyBoyController#index (for 127.0.0.1 at 2009-12-03 02:01:22) [GET]
|
112
|
+
Rendering template within layouts/application
|
113
|
+
Rendering tommy_boy/index
|
114
|
+
Completed in 61ms (View: 59, DB: 0) | 200 OK [http://localhost/]
|
115
|
+
|
116
|
+
|
117
|
+
Processing TommyBoyController#index (for 127.0.0.1 at 2009-12-03 02:01:25) [GET]
|
118
|
+
Rendering template within layouts/application
|
119
|
+
Rendering tommy_boy/index
|
120
|
+
Completed in 2ms (View: 1, DB: 0) | 200 OK [http://localhost/]
|
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.
|
4
|
+
version: 0.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wyatt Greene
|
@@ -46,8 +46,8 @@ files:
|
|
46
46
|
- LICENSE
|
47
47
|
- README.rdoc
|
48
48
|
- Rakefile
|
49
|
-
- lib/plastic.rb
|
50
49
|
- lib/plastic_helper.rb
|
50
|
+
- lib/rack-plastic.rb
|
51
51
|
- test/middlewares/initial.rb
|
52
52
|
- test/middlewares/intro.rb
|
53
53
|
- test/middlewares/l337.rb
|
@@ -137,5 +137,30 @@ rubygems_version: 1.3.5
|
|
137
137
|
signing_key:
|
138
138
|
specification_version: 3
|
139
139
|
summary: Helps you write Rack middleware using Nokogiri.
|
140
|
-
test_files:
|
141
|
-
|
140
|
+
test_files:
|
141
|
+
- test/middlewares/initial.rb
|
142
|
+
- test/middlewares/intro.rb
|
143
|
+
- test/middlewares/l337.rb
|
144
|
+
- test/middlewares/stylizer.rb
|
145
|
+
- test/rackapp/app.rb
|
146
|
+
- test/railsapp/app/controllers/application_controller.rb
|
147
|
+
- test/railsapp/app/controllers/tommy_boy_controller.rb
|
148
|
+
- test/railsapp/app/helpers/application_helper.rb
|
149
|
+
- test/railsapp/app/helpers/tommy_boy_helper.rb
|
150
|
+
- test/railsapp/config/boot.rb
|
151
|
+
- test/railsapp/config/environment.rb
|
152
|
+
- test/railsapp/config/environments/development.rb
|
153
|
+
- test/railsapp/config/environments/production.rb
|
154
|
+
- test/railsapp/config/environments/test.rb
|
155
|
+
- test/railsapp/config/initializers/backtrace_silencers.rb
|
156
|
+
- test/railsapp/config/initializers/inflections.rb
|
157
|
+
- test/railsapp/config/initializers/mime_types.rb
|
158
|
+
- test/railsapp/config/initializers/new_rails_defaults.rb
|
159
|
+
- test/railsapp/config/initializers/session_store.rb
|
160
|
+
- test/railsapp/config/routes.rb
|
161
|
+
- test/railsapp/db/seeds.rb
|
162
|
+
- test/railsapp/test/functional/tommy_boy_controller_test.rb
|
163
|
+
- test/railsapp/test/performance/browsing_test.rb
|
164
|
+
- test/railsapp/test/test_helper.rb
|
165
|
+
- test/railsapp/test/unit/helpers/tommy_boy_helper_test.rb
|
166
|
+
- test/sinatraapp/app.rb
|