Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

boilerplate stuff

  • Loading branch information...
commit cebb75e75b44d1809ed331a202a44d72267b70b1 1 parent 14bad4d
@ashaw authored
Showing with 16 additions and 3 deletions.
  1. +10 −1 README.md
  2. +4 −2 Rakefile
  3. +1 −0  spec/spec.opts
  4. +1 −0  spec/spec_helper.rb
View
11 README.md
@@ -1,6 +1,15 @@
= chartbeat
-Description goes here.
+A Ruby wrapper for the Chartbeat API
+
+== Install
+
+`gem install chartbeat`
+
+== Usage
+
+ c = Chartbeat.new :apikey => yourkey, :host => 'yourdomain.com'
+
== Note on Patches/Pull Requests
View
6 Rakefile
@@ -5,12 +5,14 @@ begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "chartbeat"
- gem.summary = %Q{TODO: one-line summary of your gem}
- gem.description = %Q{TODO: longer description of your gem}
+ gem.summary = %Q{A Ruby wrapper for the Chartbeat API}
+ gem.description = %Q{A Ruby wrapper for the Chartbeat API}
gem.email = "almshaw@gmail.com"
gem.homepage = "http://github.com/ashaw/chartbeat"
gem.authors = ["Al Shaw"]
+ gem.add_dependency "httparty"
gem.add_development_dependency "rspec", ">= 1.2.9"
+ gem.add_developement_dependency "fakeweb"
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::GemcutterTasks.new
View
1  spec/spec.opts
@@ -1 +1,2 @@
--color
+--format specdoc
View
1  spec/spec_helper.rb
@@ -1,5 +1,6 @@
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
+require 'rubygems'
require 'chartbeat'
require 'spec'
require 'spec/autorun'
Please sign in to comment.
Something went wrong with that request. Please try again.