Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
186 additions
and
186 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,12 +1,11 @@ | ||
language: ruby | ||
rvm: | ||
- 2.0.0 | ||
- 2.4.0 | ||
before_script: | ||
- cd spec/dummy && RAILS_ENV=test bundle exec rake --trace db:migrate && cd ../.. | ||
- cd spec/dummy && RAILS_ENV=test bundle exec rails generate fencepost_config && cd ../.. | ||
- cd spec/dummy/config/ && cat fencepost.yml | grep -v "dob" > fencepost2.yml | ||
- cat fencepost2.yml | grep -v "person_id" > fencepost3.yml | ||
- mv fencepost3.yml fencepost.yml | ||
- cd ../../.. | ||
# - cd spec/dummy && RAILS_ENV=test bundle exec rails generate fencepost_config && cd ../.. | ||
# - cd spec/dummy/config/ && cat fencepost.yml | grep -v "dob" > fencepost2.yml | ||
# - cat fencepost2.yml | grep -v "person_id" > fencepost3.yml | ||
# - mv fencepost3.yml fencepost.yml | ||
script: | ||
- bundle exec rspec spec | ||
- bundle exec rspec |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM ruby:2.4 | ||
|
||
RUN gem install bundler | ||
WORKDIR /usr/src/app/ | ||
COPY . /usr/src/app |
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 |
---|---|---|
|
@@ -15,5 +15,3 @@ gemspec | |
gem 'coveralls', require: false | ||
|
||
gem "pry-rails" | ||
gem "pry-plus" | ||
gem "debugger-ruby_core_source", "1.2.4" |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: "2" | ||
services: | ||
web: | ||
build: | ||
context: . | ||
dockerfile: Dockerfile | ||
volumes: | ||
- .:/usr/src/app | ||
- bundle:/usr/local/bundle | ||
volumes: | ||
bundle: |
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,24 +1,23 @@ | ||
$:.push File.expand_path("../lib", __FILE__) | ||
|
||
# Maintain your gem's version: | ||
require "fencepost/version" | ||
require 'fencepost/version' | ||
|
||
# Describe your gem and declare its dependencies: | ||
Gem::Specification.new do |s| | ||
s.name = "fencepost" | ||
s.name = 'fencepost' | ||
s.version = Fencepost::VERSION | ||
s.license = "MIT" | ||
s.authors = ["Scott Helm"] | ||
s.email = ["helm.scott@gmail.com"] | ||
s.homepage = "https://github.com/scotthelm/fencepost" | ||
s.summary = "Rails 4.x strong parameter configuration for your AR models" | ||
s.description = "Dynamic strong parameter configuration for your AR models" | ||
s.license = 'MIT' | ||
s.authors = ['Scott Helm'] | ||
s.email = ['helm.scott@gmail.com'] | ||
s.homepage = 'https://github.com/scotthelm/fencepost' | ||
s.summary = 'Rails 4.x strong parameter configuration for your AR models' | ||
s.description = 'Dynamic strong parameter configuration for your AR models' | ||
|
||
s.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.rdoc"] | ||
s.files = Dir['{app,config,db,lib}/**/*', 'MIT-LICENSE', 'Rakefile', 'README.rdoc'] | ||
|
||
s.add_dependency "rails", "~> 4.1" | ||
|
||
s.add_development_dependency "sqlite3" | ||
s.add_development_dependency "rspec-rails" | ||
s.add_dependency 'rails', ['>= 4.0', '<= 5.2'] | ||
|
||
s.add_development_dependency 'sqlite3' | ||
s.add_development_dependency 'rspec-rails' | ||
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
Oops, something went wrong.