Permalink
Browse files

updated home page

  • Loading branch information...
1 parent 2d79e9e commit e045c71dd7a5b96d0d163f9d4fc0ddf2c7623ad6 @chrismatthieu committed Jun 14, 2011
Showing with 8 additions and 5 deletions.
  1. +2 −2 Gemfile
  2. +4 −1 README.markdown
  3. +2 −2 lib/barcode_service.rb
View
@@ -1,6 +1,6 @@
source :rubygems
-gem 'barcoder'
+gem 'sinatra'
gem 'gbarcode', '0.98.16'
-gem 'sinatra', '1.0.0'
+gem 'barcoder'
View
@@ -14,11 +14,14 @@ This is a simple Sinatra server that turns simple web requests into formatted ba
You can embed barcodes into your web pages simply by using an <img> tag
+ <img src="http://my-barcode-server.heroku.com/ABCDEF1232333.png?type=39" />
<img src="http://my-barcode-server.heroku.com/999999999999999.png?type=ISBN" />
- <img src="http://my-barcode-server.heroku.com/ABCDEF1232333.png?type=code93" />
<img src="http://my-barcode-server.heroku.com/ABC123.png?width=50&height=30&x=4&y=200&scale=1" />
+## Heroku Note
+heroku stack:migrate bamboo-ree-1.8.7
+
Patches welcome, forks celebrated.
Copyright (c) 2010 [Jack Danger Canty](http://jåck.com). Released under the MIT License.
View
@@ -1,6 +1,6 @@
## Resources
require 'rubygems'
-gem 'sinatra', '~> 1.0.0'
+gem 'sinatra' #, '~> 1.0.0'
require 'sinatra'
gem 'gbarcode'
require 'gbarcode'
@@ -31,7 +31,7 @@
Get a barcode image by crafting a url at this domain.
<pre style='font-family: Iconsolata, monospace;background-color:#EEE'>&lt;img src="http://#{request.host}/12345632323.png" /&gt;</pre>
<br />
- <img src="http://#{request.host}/12345632323.png" />
+ <img src="/12345632323.png" />
</body
}
end

0 comments on commit e045c71

Please sign in to comment.