-
Notifications
You must be signed in to change notification settings - Fork 89
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
5 changed files
with
11 additions
and
67 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 |
---|---|---|
|
@@ -2,74 +2,16 @@ | |
|
||
Gem::Specification.new do |s| | ||
s.name = 'deep_cloneable' | ||
s.version = '3.0.0' | ||
|
||
s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version= | ||
s.require_paths = ['lib'] | ||
s.version = DeepCloneable::Version | ||
s.authors = ['Reinier de Lange'] | ||
s.date = '2020-11-27' | ||
s.description = 'Extends the functionality of ActiveRecord::Base#dup to perform a deep clone that includes user specified associations. ' | ||
s.email = '[email protected]' | ||
s.extra_rdoc_files = [ | ||
'LICENSE' | ||
] | ||
s.files = [ | ||
'.document', | ||
'.rubocop.yml', | ||
'.travis.yml', | ||
'Appraisals', | ||
'CHANGELOG.md', | ||
'Gemfile', | ||
'Gemfile.lock', | ||
'LICENSE', | ||
'Rakefile', | ||
'VERSION', | ||
'deep_cloneable.gemspec', | ||
'gemfiles/3.1.gemfile', | ||
'gemfiles/3.1.gemfile.lock', | ||
'gemfiles/3.2.gemfile', | ||
'gemfiles/3.2.gemfile.lock', | ||
'gemfiles/4.0.gemfile', | ||
'gemfiles/4.0.gemfile.lock', | ||
'gemfiles/4.1.gemfile', | ||
'gemfiles/4.1.gemfile.lock', | ||
'gemfiles/4.2.gemfile', | ||
'gemfiles/4.2.gemfile.lock', | ||
'gemfiles/5.0.gemfile', | ||
'gemfiles/5.0.gemfile.lock', | ||
'gemfiles/5.1.gemfile', | ||
'gemfiles/5.1.gemfile.lock', | ||
'gemfiles/5.2.gemfile', | ||
'gemfiles/5.2.gemfile.lock', | ||
'gemfiles/6.0.gemfile', | ||
'gemfiles/6.0.gemfile.lock', | ||
'init.rb', | ||
'lib/deep_cloneable.rb', | ||
'lib/deep_cloneable/association_not_found_exception.rb', | ||
'lib/deep_cloneable/deep_clone.rb', | ||
'lib/deep_cloneable/skip_validations.rb', | ||
'readme.md', | ||
'test/database.yml', | ||
'test/models.rb', | ||
'test/schema.rb', | ||
'test/test_deep_cloneable.rb', | ||
'test/test_helper.rb' | ||
] | ||
s.extra_rdoc_files = ['LICENSE'] | ||
s.files = Dir.glob('{bin/*,lib/**/*,[A-Z]*}') | ||
s.homepage = 'https://github.com/moiristo/deep_cloneable' | ||
s.licenses = ['MIT'] | ||
s.platform = Gem::Platform::RUBY | ||
s.required_ruby_version = '>= 1.9.3' | ||
s.rubygems_version = '3.0.2' | ||
s.summary = 'This gem gives every ActiveRecord::Base object the possibility to do a deep clone.' | ||
|
||
if s.respond_to? :specification_version | ||
s.specification_version = 4 | ||
|
||
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') | ||
s.add_runtime_dependency('activerecord', ['>= 3.1.0', '< 7']) | ||
else | ||
s.add_dependency('activerecord', ['>= 3.1.0', '< 7']) | ||
end | ||
else | ||
s.add_dependency('activerecord', ['>= 3.1.0', '< 7']) | ||
end | ||
s.require_paths = ['lib'] | ||
s.add_runtime_dependency('activerecord', ['>= 3.1.0', '< 7']) | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module DeepCloneable | ||
VERSION = '3.0.0' | ||
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