ruby_logo 0.0.1 → 0.0.2

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/README.md CHANGED
@@ -16,12 +16,12 @@ Too right you do! You'll want it near the start, so you can serve up these logos
16
16
 
17
17
  # Gemfile
18
18
 
19
+ gem "ruby_logo"
20
+
19
21
  ```
20
22
 
21
23
  ```ruby
22
24
 
23
- gem "ruby_logo"
24
-
25
25
  # config/application.rb
26
26
 
27
27
  config.middleware.insert_before ActionDispatch::Static, RubyLogo
Binary file
@@ -7,7 +7,7 @@ class RubyLogo
7
7
  def call(env)
8
8
  if env["REQUEST_URI"].include? "?=PHPE9568F34-D428-11d2-A769-00AA001ACF42"
9
9
  # Dump the ruby logo
10
- [200, {"Content-Type" => "image/png"}, File.open(File.expand_path("../../assets/ruby.png", __FILE__))]
10
+ [200, {"Content-Type" => "image/png"}, File.open(File.expand_path("../../assets/php.gif", __FILE__))]
11
11
  else
12
12
  @app.call(env)
13
13
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "ruby_logo"
5
- s.version = "0.0.1"
5
+ s.version = "0.0.2"
6
6
  s.authors = ["Rich Healey"]
7
7
  s.email = ["richo@99designs.com"]
8
8
  s.homepage = "http://github.com/richo/ruby_logo"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_logo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
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-05-18 00:00:00.000000000 Z
12
+ date: 2012-06-08 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Show the ruby logo if you have the right magic query string
15
15
  email:
@@ -19,7 +19,7 @@ extensions: []
19
19
  extra_rdoc_files: []
20
20
  files:
21
21
  - README.md
22
- - assets/ruby.png
22
+ - assets/php.gif
23
23
  - lib/ruby_logo.rb
24
24
  - ruby_logo.gemspec
25
25
  homepage: http://github.com/richo/ruby_logo
Binary file