-
Notifications
You must be signed in to change notification settings - Fork 2
/
weatherb.gemspec
34 lines (27 loc) · 1.44 KB
/
weatherb.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
# frozen_string_literal: true
require_relative 'lib/weatherb/version'
Gem::Specification.new do |spec|
spec.name = 'weatherb'
spec.version = Weatherb::VERSION
spec.authors = ['Zackky Muhammad']
spec.email = ['m.zackky@gmail.com']
spec.summary = 'A simple Ruby gem that can tell you all about the weather, superb!'
spec.description = 'Weatherb comes from weather + rb (ruby file extension).' \
" It's basically a Ruby gem for retrieving data about weather" \
' using the ClimaCell API in a simple way.'
spec.homepage = 'https://github.com/zackijack/weatherb'
spec.license = 'MIT'
spec.required_ruby_version = Gem::Requirement.new('>= 2.4.0')
spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = 'https://github.com/zackijack/weatherb'
spec.metadata['changelog_uri'] = "https://github.com/zackijack/weatherb/releases/tag/v#{spec.version}"
# 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{^(test|spec|features)/}) }
end
spec.require_paths = ['lib']
spec.add_runtime_dependency 'faraday', '~> 1.0'
spec.add_runtime_dependency 'faraday_middleware', '~> 1.0'
spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'rspec', '~> 3.9'
end