mirror of https://github.com/mastodon/goldfinger
Adding travis CI
This commit is contained in:
parent
c376932f31
commit
237a9c2e81
|
@ -0,0 +1,12 @@
|
||||||
|
language: ruby
|
||||||
|
cache: bundler
|
||||||
|
|
||||||
|
rvm:
|
||||||
|
- 2.0.0
|
||||||
|
- 2.1
|
||||||
|
- 2.2
|
||||||
|
- ruby-head
|
||||||
|
|
||||||
|
bundler_args: --without development --retry=3 --jobs=3
|
||||||
|
|
||||||
|
script: bundle exec rake
|
3
Gemfile
3
Gemfile
|
@ -1,11 +1,12 @@
|
||||||
source "https://rubygems.org"
|
source "https://rubygems.org"
|
||||||
|
|
||||||
gem 'pry'
|
gem 'pry', '>= 0.10.3'
|
||||||
|
|
||||||
group :test do
|
group :test do
|
||||||
gem 'rspec', '>= 3.0'
|
gem 'rspec', '>= 3.0'
|
||||||
gem 'nyan-cat-formatter'
|
gem 'nyan-cat-formatter'
|
||||||
gem 'webmock'
|
gem 'webmock'
|
||||||
|
gem 'rake'
|
||||||
end
|
end
|
||||||
|
|
||||||
gemspec
|
gemspec
|
||||||
|
|
|
@ -32,10 +32,11 @@ GEM
|
||||||
mini_portile2 (~> 2.0.0.rc2)
|
mini_portile2 (~> 2.0.0.rc2)
|
||||||
nyan-cat-formatter (0.11)
|
nyan-cat-formatter (0.11)
|
||||||
rspec (>= 2.99, >= 2.14.2, < 4)
|
rspec (>= 2.99, >= 2.14.2, < 4)
|
||||||
pry (0.10.1)
|
pry (0.10.3)
|
||||||
coderay (~> 1.1.0)
|
coderay (~> 1.1.0)
|
||||||
method_source (~> 0.8.1)
|
method_source (~> 0.8.1)
|
||||||
slop (~> 3.4)
|
slop (~> 3.4)
|
||||||
|
rake (10.5.0)
|
||||||
rspec (3.4.0)
|
rspec (3.4.0)
|
||||||
rspec-core (~> 3.4.0)
|
rspec-core (~> 3.4.0)
|
||||||
rspec-expectations (~> 3.4.0)
|
rspec-expectations (~> 3.4.0)
|
||||||
|
@ -66,6 +67,7 @@ DEPENDENCIES
|
||||||
bundler (~> 1.3)
|
bundler (~> 1.3)
|
||||||
goldfinger!
|
goldfinger!
|
||||||
nyan-cat-formatter
|
nyan-cat-formatter
|
||||||
pry
|
pry (>= 0.10.3)
|
||||||
|
rake
|
||||||
rspec (>= 3.0)
|
rspec (>= 3.0)
|
||||||
webmock
|
webmock
|
||||||
|
|
|
@ -2,8 +2,12 @@ Goldfinger, a Webfinger client for Ruby
|
||||||
=======================================
|
=======================================
|
||||||
|
|
||||||
[![Gem Version](http://img.shields.io/gem/v/goldfinger.svg)][gem]
|
[![Gem Version](http://img.shields.io/gem/v/goldfinger.svg)][gem]
|
||||||
|
[![Build Status](http://img.shields.io/travis/gargron/goldfinger.svg)][travis]
|
||||||
|
[![Dependency Status](http://img.shields.io/gemnasium/gargron/goldfinger.svg)][gemnasium]
|
||||||
|
|
||||||
[gem]: https://rubygems.org/gems/goldfinger
|
[gem]: https://rubygems.org/gems/goldfinger
|
||||||
|
[travis]: https://travis-ci.org/gargron/goldfinger
|
||||||
|
[gemnasium]: https://gemnasium.com/gargron/goldfinger
|
||||||
|
|
||||||
A Webfinger client for Ruby. Supports `application/xrd+xml` and `application/jrd+json` responses. Raises `Goldfinger::NotFoundError` on failure to fetch the Webfinger or XRD data, or `Goldfinger::SSLError` if something is wrong with the HTTPS connection it uses.
|
A Webfinger client for Ruby. Supports `application/xrd+xml` and `application/jrd+json` responses. Raises `Goldfinger::NotFoundError` on failure to fetch the Webfinger or XRD data, or `Goldfinger::SSLError` if something is wrong with the HTTPS connection it uses.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue