Skip to content

Commit

Permalink
updating rspec and v1 url
Browse files Browse the repository at this point in the history
  • Loading branch information
kitplummer committed Apr 13, 2011
1 parent ca5c9da commit da7ed70
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 37 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,3 +1,4 @@
pkg/
rdoc/
.bundle/
Gemfile.lock
6 changes: 3 additions & 3 deletions Gemfile
Expand Up @@ -5,7 +5,7 @@ gem "httparty", ">= 0.4.5"
gem "eeml-simple", ">= 0.2.0"

group :test do
gem "rspec-core", "2.0.0.beta.22"
gem "rspec-expectations", "2.0.0.beta.22"
gem "rspec-mocks", "2.0.0.beta.22"
gem "rspec-core", ">= 2.5"
gem "rspec-expectations", ">= 2.5"
gem "rspec-mocks", ">= 2.5"
end
28 changes: 0 additions & 28 deletions Gemfile.lock

This file was deleted.

2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -7,7 +7,7 @@ Bundler.setup
Bundler::GemHelper.install_tasks

desc 'Default: run unit tests.'
task :default => :test
task :default => :spec

desc "Clean generated files"
task :clean do
Expand Down
2 changes: 1 addition & 1 deletion lib/pachuber.rb
Expand Up @@ -11,7 +11,7 @@ class PachubeError < RuntimeError; end
include HTTParty

# The Pachube API. Sure hope they don't change the URL.
base_uri 'http://www.pachube.com/api'
base_uri 'http://www.pachube.com/v1/'

def initialize(key)
@key = key
Expand Down
2 changes: 1 addition & 1 deletion lib/pachuber/version.rb
@@ -1,3 +1,3 @@
module Pachuber
VERSION = "0.2.1"
VERSION = "0.2.2"
end
6 changes: 3 additions & 3 deletions spec/spec_helper.rb
@@ -1,6 +1,6 @@
require "rspec/core"
require "pachuber"

Rspec.configure do |c|
c.mock_with :rspec
end
# Rspec.configure do |c|
# c.mock_with :rspec
# end

0 comments on commit da7ed70

Please sign in to comment.