Stub in a gem so we can start testing it
Showing
.gitignore
0 → 100644
.rspec
0 → 100644
.travis.yml
0 → 100644
| # frozen_string_literal: true | |||
| # A sample Gemfile | |||
| source "https://rubygems.org" | source "https://rubygems.org" | ||
| gemspec | |||
| # Allow the rails version to come from an ENV setting so Tavis can test multiple | # Allow the rails version to come from an ENV setting so Tavis can test multiple | ||
| # versions. Inspired by http://www.schneems.com/post/50991826838/testing-against-multiple-rails-versions/ | # versions. Inspired by http://www.schneems.com/post/50991826838/testing-against-multiple-rails-versions/ | ||
| rails_version = ENV['RAILS_VERSION'] || '3.2.22' | rails_version = ENV['RAILS_VERSION'] || '3.2.22' | ||
| ... | ... |
lib/rspec/swagger.rb
0 → 100644
lib/rspec/swagger/version.rb
0 → 100644
rspec-swagger.gemspec
0 → 100644
| $LOAD_PATH.unshift File.expand_path("../lib", __FILE__) | |||
| require "rspec/swagger/version" | |||
| Gem::Specification.new do |s| | |||
| s.name = 'rspec-swagger' | |||
| s.version = RSpec::Swagger::Version::STRING | |||
| s.licenses = ['MIT'] | |||
| s.summary = "Generate Swagger docs from rspec integration tests" | |||
| s.description = "Inspired by swagger_rails" | |||
| s.author = "andrew morton" | |||
| s.email = 'drewish@katherinehouse.com' | |||
| s.files = ['lib/rspec/swagger.rb', 'lib/rspec/swagger/version.rb'] | |||
| s.homepage = 'https://github.com/drewish/rspec-swagger' | |||
| s.required_ruby_version = '~> 2.0' | |||
| s.add_runtime_dependency 'rails', '>= 3.1' | |||
| s.add_runtime_dependency 'rspec-rails', '~> 3.0' | |||
| end |
spec/first_spec.rb
0 → 100644
spec/spec_helper.rb
0 → 100644
Please
register
or
sign in
to comment