-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add toggle to turn on/off the gem * Improve gem docs * Update Martin Email Co-authored-by: Martin Jaime <[email protected]>
- Loading branch information
Showing
2 changed files
with
17 additions
and
11 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 |
---|---|---|
|
@@ -5,25 +5,21 @@ require_relative "lib/chaotic_order/version" | |
Gem::Specification.new do |spec| | ||
spec.name = "chaotic_order" | ||
spec.version = ChaoticOrder::VERSION | ||
spec.authors = ["Santiago Bartesaghi"] | ||
spec.email = ["[email protected]"] | ||
spec.authors = ["Santiago Bartesaghi", "Martin Jaime"] | ||
spec.email = ["[email protected]", "[email protected]"] | ||
|
||
spec.summary = "Add random order to queries that do not have a specific order" | ||
spec.description = spec.summary | ||
spec.homepage = "https://github.com/santib/chaotic_order" | ||
spec.license = "MIT" | ||
spec.required_ruby_version = ">= 2.5.0" | ||
|
||
spec.metadata["homepage_uri"] = spec.homepage | ||
spec.metadata["source_code_uri"] = "https://github.com/santib/chaotic_order/issues" | ||
spec.metadata["source_code_uri"] = "https://github.com/santib/chaotic_order" | ||
spec.metadata["bug_tracker_uri"] = "https://github.com/santib/chaotic_order/issues" | ||
spec.metadata["changelog_uri"] = "https://github.com/santib/chaotic_order/releases" | ||
spec.metadata["rubygems_mfa_required"] = "true" | ||
|
||
# Specify which files should be added to the gem when it is released. | ||
# The `git ls-files -z` loads the files in the RubyGem that have been added into git. | ||
spec.files = Dir.chdir(File.expand_path(__dir__)) do | ||
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) } | ||
end | ||
spec.files = Dir["LICENSE.txt", "README.md", "lib/**/*"] | ||
spec.bindir = "exe" | ||
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) } | ||
spec.require_paths = ["lib"] | ||
|