-
Notifications
You must be signed in to change notification settings - Fork 1
/
wikidata-diff-analyzer.gemspec
44 lines (36 loc) · 1.87 KB
/
wikidata-diff-analyzer.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# frozen_string_literal: true
require File.expand_path('lib/wikidata-diff-analyzer/version', __dir__)
Gem::Specification.new do |spec|
spec.name = 'wikidata-diff-analyzer'
spec.version = WikidataDiffAnalyzer::VERSION
spec.authors = ['Sulagna Saha']
spec.email = ['saha23s@mtholyoke.edu']
spec.summary = 'A Ruby gem for analyzing diffs between Wikidata items.'
spec.description = 'This gem provides tools for analyzing diffs between Wikidata items,
including retrieving the JSON representation of an item for a specific revision.'
spec.homepage = 'https://github.com/WikiEducationFoundation/wikidata-diff-analyzer'
spec.license = 'MIT'
spec.required_ruby_version = '>= 2.7.0'
spec.metadata['allowed_push_host'] = 'https://rubygems.org'
spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = 'https://github.com/WikiEducationFoundation/wikidata-diff-analyzer'
spec.metadata['changelog_uri'] = 'https://github.com/WikiEducationFoundation/wikidata-diff-analyzer/blob/main/CHANGELOG.md'
# 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['README.md', 'LICENSE',
'CHANGELOG.md', 'lib/**/*.rb',
'lib/**/*.rake',
'wikidata-diff-analyzer.gemspec', '.github/*.md',
'Gemfile', 'Rakefile']
spec.extra_rdoc_files = ['README.md']
spec.require_paths = ['lib']
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
spec.files.reject! { |f| File.extname(f) == '.gem' }
# Adding the dependencies
spec.add_dependency 'json', '~> 2.1'
spec.add_dependency 'mediawiki_api', '~> 0.7.0'
spec.add_dependency 'rake', '~> 13.0'
spec.add_dependency 'rspec', '~> 3.0'
spec.add_dependency 'rubocop', '~> 1.21'
end