Skip to content

Commit

Permalink
Merge pull request #12 from healthify/misc-config-fixes
Browse files Browse the repository at this point in the history
Add TravisCI (+ misc config fixes)

[fixes #3]
  • Loading branch information
cbortz authored Jan 3, 2019
2 parents 2e4528b + 678b12d commit f19058b
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 3 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
language: ruby
cache: bundler
rvm:
- 2.6
- 2.5
- 2.4
- 2.3
sudo: false
gemfile: Gemfile
script: bundle exec rspec spec
before_install:
- gem update --system --no-document
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
source 'https://rubygems.org'

git_source(:github) do |repo_name|
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
"https://github.com/#{repo_name}.git"
end

# overrides gem source in gemspec
# needed to enable attributes statement in SAMLRequest
gem 'ruby-saml-idp', github: 'lawrencepit/ruby-saml-idp'
Expand Down
4 changes: 3 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GIT
remote: git://github.com/lawrencepit/ruby-saml-idp.git
remote: https://github.com/lawrencepit/ruby-saml-idp.git
revision: ae53d76af08711affaeb182e7a877676ab554818
specs:
ruby-saml-idp (0.3.2)
Expand All @@ -9,12 +9,14 @@ PATH
remote: .
specs:
fake_idp (0.3.0)
builder
ruby-saml-idp
sinatra (~> 2.0.0)

GEM
remote: https://rubygems.org/
specs:
builder (3.2.3)
diff-lcs (1.2.5)
dotenv (1.0.2)
macaddr (1.7.1)
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Fake IdP

[![Build Status](https://travis-ci.com/healthify/fake_idp.svg?branch=master)](https://travis-ci.com/healthify/fake_idp)

## About

This is an open source Ruby gem intended for developers needing to spin up a fake Identity Provider (IdP) for testing SAML authentication flows. It's made by the [Healthify](http://healthify.us) team. It's _not_ for setting up an IdP within Healthify—to do that, you'll need to reach out to [email protected].
Expand Down
Empty file modified bin/console
100644 → 100755
Empty file.
Empty file modified bin/setup
100644 → 100755
Empty file.
5 changes: 3 additions & 2 deletions fake_idp.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "rake", "~> 10.0"
spec.add_development_dependency "rspec", "~> 3.0"
spec.add_development_dependency "dotenv", "~> 1.0"
spec.add_runtime_dependency 'sinatra', '~> 2.0.0'
spec.add_runtime_dependency 'ruby-saml-idp'
spec.add_runtime_dependency "sinatra", "~> 2.0.0"
spec.add_runtime_dependency "ruby-saml-idp"
spec.add_runtime_dependency "builder"
end

0 comments on commit f19058b

Please sign in to comment.