-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
General updates before pushing 0.0.2
- Loading branch information
Showing
7 changed files
with
12 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|
@@ -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. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |