Skip to content

Commit

Permalink
General updates before pushing 0.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
cp committed Aug 13, 2013
1 parent 67ebb8c commit a62bd5d
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 17 deletions.
7 changes: 1 addition & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
language: ruby
rvm:
- 2.0.0
env:
global:
- EMAIL="[email protected]"
- secure: "nhGFDuw8xXY/45O8vODvjpY02mGcUWbITYk6yfRxWJCCJJvX9PcjPM/l7g9I\naLabXfz+2o48Kls3e071ja/yKIHPecSVboegutJsYvRKet5bk3NvS1GBVzPj\nFLdsR+u25A/L9hBB4zjX4mCi62atDNfguyiYPFliD+mBMjW6J08="

- 1.9.3
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
source 'https://rubygems.org'

# Specify your gem's dependencies in feedbin.gemspec
gemspec

group :test do
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2013 TODO: Write your name
Copyright (c) 2013 Colby Aley

MIT License

Expand Down
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ Or install it yourself as:
require 'sinatra'
require 'feedbin'

@@feedbin = FeedbinAPI.new('[email protected]','pa$$w0rd')
FEEDBIN = FeedbinAPI.new('[email protected]','pa$$w0rd')

get '/' do
@@feedbin.entries
FEEDBIN.entries
end

get '/subscribe/:url' do
@@feedbin.subscribe(url.to_s)
FEEDBIN.subscribe(url.to_s)
end

...you get the picture.
Expand All @@ -69,9 +69,7 @@ Or install it yourself as:

## Testing

Rspec is used for tests. You will need to pass in your Feedbin email and password to run the tests.

`$ [email protected] PASSWORD=pa$$w0rd rspec`
Rspec is used for tests. WebMock is used to avoid touching the live Feedbin API.

Please add tests when contrinuting, and make sure that they all pass before submitting a PR.

Expand Down
2 changes: 1 addition & 1 deletion feedbin.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec"
spec.add_runtime_dependency "httparty"
end
end
2 changes: 1 addition & 1 deletion lib/feedbin/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Feedbin
VERSION = "0.0.1"
VERSION = "0.0.2"
end
5 changes: 4 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

require 'feedbin'

ENV['EMAIL'] ||= '[email protected]'
ENV['PASSWORD'] ||= 'pa$$word'

RSpec.configure do |c|
c.include(WebMock)
c.include(WebMock::API)
end

0 comments on commit a62bd5d

Please sign in to comment.