Skip to content

Commit

Permalink
[CHORE] Gemfile.lock out of version control (#27)
Browse files Browse the repository at this point in the history
* Gemfile.lock out of version control

* Can't force the Gemfile.lock to be frozen as it will be regenerated each time

* Pin Rubocop

* Add note to changelog
  • Loading branch information
maschwenk authored May 16, 2018
1 parent c5227d5 commit 25f0c98
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 59 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@
/spec/reports/
/tmp/
.DS_Store

# Gemfile.lock should not be under version control
# https://yehudakatz.com/2010/12/16/clarifying-the-roles-of-the-gemspec-and-gemfile/
Gemfile.lock
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
### Changed

### Removed
- Removed `Gemfile.lock` from source control

## [v0.5.1](https://github.com/bugcrowd/vrt-ruby/compare/v0.5.0...v0.5.1) - 2018-05-15
### Changed
Expand Down
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
FROM ruby:2.3-alpine

# throw errors if Gemfile has been modified since Gemfile.lock
RUN bundle config --global frozen 1

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

Expand Down
55 changes: 0 additions & 55 deletions Gemfile.lock

This file was deleted.

2 changes: 1 addition & 1 deletion vrt.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'bundler', '~> 1.14'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'rubocop', '~> 0.48'
spec.add_development_dependency 'rubocop', '0.48.1'
spec.add_development_dependency 'pry'
end

0 comments on commit 25f0c98

Please sign in to comment.