Skip to content

Commit

Permalink
Merge pull request #3 from d3sw/code_climate
Browse files Browse the repository at this point in the history
Add code climate
  • Loading branch information
aalvarado committed Oct 9, 2017
2 parents 9918ac6 + e30f2ca commit b48ddd5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# QuickClone [![Build Status](https://travis-ci.org/d3sw/quick_clone.svg?branch=master)](https://travis-ci.org/d3sw/quick_clone) [![Coverage Status](https://coveralls.io/repos/github/d3sw/quick_clone/badge.svg?branch=master)](https://coveralls.io/github/d3sw/quick_clone?branch=master)
# QuickClone [![Build Status](https://travis-ci.org/d3sw/quick_clone.svg?branch=master)](https://travis-ci.org/d3sw/quick_clone) [![Coverage Status](https://coveralls.io/repos/github/d3sw/quick_clone/badge.svg?branch=master)](https://coveralls.io/github/d3sw/quick_clone?branch=master) [![Code Climate](https://codeclimate.com/github/d3sw/quick_clone/badges/gpa.svg)](https://codeclimate.com/github/d3sw/quick_clone)

Quickly clone an ActiveRecord object by providing a filter of attributes names.

Expand Down
2 changes: 1 addition & 1 deletion lib/quick_clone/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module QuickClone
VERSION = "0.1.0".freeze
VERSION = "1.0.0".freeze
end
9 changes: 0 additions & 9 deletions quick_clone.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,6 @@ Gem::Specification.new do |spec|
spec.summary = %q{Provide a simple way of cloning ActiveRecord Records}
spec.homepage = "https://github.com/aalvarado/quick_clone"

# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
# to allow pushing to a single host or delete this section to allow pushing to any host.
if spec.respond_to?(:metadata)
spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
else
raise "RubyGems 2.0 or newer is required to protect against " \
"public gem pushes."
end

spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
Expand Down

0 comments on commit b48ddd5

Please sign in to comment.