-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
restructure to gem convention and cleanup with rubocop
- Loading branch information
Showing
973 changed files
with
776 additions
and
760 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
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,9 +1,8 @@ | ||
.DS_Store | ||
errors/** | ||
**/coverage/** | ||
fhir_models*log* | ||
invariants.txt | ||
Gemfile.lock | ||
.ruby-version | ||
.ruby-gemset | ||
|
||
tmp/ |
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,6 +1,9 @@ | ||
language: ruby | ||
rvm: | ||
- "2.0.0" | ||
- "2.1.10" | ||
- "2.2.5" | ||
- "2.3.1" | ||
script: | ||
- bundle exec rake test | ||
notifications: | ||
|
This file was deleted.
Oops, something went wrong.
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,2 +1,24 @@ | ||
require "bundler/gem_tasks" | ||
task :default => :spec | ||
require 'bundler/gem_tasks' | ||
require 'rake/testtask' | ||
require 'rubocop/rake_task' | ||
|
||
Dir['lib/fhir_models/tasks/**/*.rake'].each do |file| | ||
load file | ||
end | ||
|
||
desc 'Run basic tests' | ||
Rake::TestTask.new(:test) do |t| | ||
t.libs << 'test' | ||
t.test_files = FileList['test/**/*_test.rb'] | ||
t.verbose = true | ||
t.warning = false | ||
end | ||
|
||
desc 'Run rubocop' | ||
task :rubocop do | ||
RuboCop::RakeTask.new | ||
end | ||
|
||
task default: [:test, :rubocop] do | ||
system('open coverage/index.html') | ||
end |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -4,32 +4,33 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | |
require 'fhir_models/version' | ||
|
||
Gem::Specification.new do |spec| | ||
spec.name = "fhir_models" | ||
spec.name = 'fhir_models' | ||
spec.version = FHIR::Models::VERSION | ||
spec.authors = ["Jason Walonoski", "Andre Quina", "Michael O'Keefe"] | ||
spec.email = ["[email protected]"] | ||
spec.authors = ['Jason Walonoski', 'Andre Quina', "Michael O'Keefe"] | ||
spec.email = ['[email protected]'] | ||
|
||
spec.summary = %q{A Gem for handling FHIR models in ruby} | ||
spec.description = %q{A Gem for handling FHIR models in ruby} | ||
spec.homepage = "https://github.com/fhir-crucible/fhir_models" | ||
spec.homepage = 'https://github.com/fhir-crucible/fhir_models' | ||
|
||
spec.files = `git ls-files -z`.split("\x0").reject do |f| | ||
f.match(%r{^(test|spec|features)/}) | ||
end | ||
spec.bindir = "exe" | ||
spec.bindir = 'exe' | ||
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } | ||
spec.require_paths = ["lib"] | ||
spec.require_paths = ['lib'] | ||
|
||
spec.add_dependency 'nokogiri', '>= 1.6' | ||
spec.add_dependency 'date_time_precision', ">= 0.8" | ||
spec.add_dependency 'date_time_precision', '>= 0.8' | ||
spec.add_dependency 'bcp47', '>= 0.3' | ||
spec.add_dependency 'mime-types', '>= 1.16', '< 3' | ||
|
||
spec.add_development_dependency "bundler", "~> 1.13" | ||
spec.add_development_dependency "rake", "~> 10.0" | ||
spec.add_development_dependency 'bundler', '~> 1.13' | ||
spec.add_development_dependency 'rake', '~> 10.0' | ||
spec.add_development_dependency 'pry' | ||
spec.add_development_dependency "test-unit" | ||
spec.add_development_dependency "simplecov" | ||
spec.add_development_dependency "nokogiri-diff" | ||
spec.add_development_dependency "rubocop", '~> 0.43.0' | ||
spec.add_development_dependency 'test-unit' | ||
spec.add_development_dependency 'simplecov' | ||
spec.add_development_dependency 'nokogiri-diff' | ||
spec.add_development_dependency 'rubocop', '~> 0.43.0' | ||
spec.add_development_dependency 'codeclimate-test-reporter' | ||
end |
Oops, something went wrong.