Skip to content

Commit 6de9e05

Browse files
committed
Change gemspec to load version directly and update contact details
1 parent a7126a3 commit 6de9e05

1 file changed

Lines changed: 25 additions & 25 deletions

File tree

github_api.gemspec

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
1-
# encoding: utf-8
2-
$:.push File.expand_path("../lib", __FILE__)
3-
require File.expand_path('../lib/github_api/version', __FILE__)
1+
# frozen_string_literal: true
2+
3+
require_relative "lib/github_api/version"
44

55
Gem::Specification.new do |gem|
6-
gem.name = 'github_api'
7-
gem.authors = [ "Piotr Murach" ]
8-
gem.email = ''
9-
gem.homepage = 'http://piotrmurach.github.io/github/'
10-
gem.summary = 'Ruby client for the official GitHub API'
11-
gem.description = %q{ Ruby client that supports all of the GitHub API methods. It's build in a modular way, that is, you can either instantiate the whole api wrapper Github.new or use parts of it e.i. Github::Client::Repos.new if working solely with repositories is your main concern. Intuitive query methods allow you easily call API endpoints. }
6+
gem.name = "github_api"
7+
gem.version = Github::VERSION
8+
gem.authors = ["Piotr Murach"]
9+
gem.email = ["[email protected]"]
10+
gem.homepage = "http://piotrmurach.github.io/github/"
11+
gem.summary = "Ruby client for the official GitHub API"
12+
gem.description = %q{ Ruby client that supports all of the GitHub API methods. It"s build in a modular way, that is, you can either instantiate the whole api wrapper Github.new or use parts of it e.i. Github::Client::Repos.new if working solely with repositories is your main concern. Intuitive query methods allow you easily call API endpoints. }
1213
gem.license = "MIT"
13-
gem.version = Github::VERSION.dup
14-
gem.required_ruby_version = '>= 2.0.0'
14+
gem.required_ruby_version = ">= 2.0.0"
1515

16-
gem.files = Dir['{lib}/**/*']
16+
gem.files = Dir["lib/**/*"]
1717
gem.require_paths = %w[ lib ]
18-
gem.extra_rdoc_files = ['LICENSE.txt', 'README.md']
18+
gem.extra_rdoc_files = ["LICENSE.txt", "README.md", "CHANGELOG.md"]
1919

20-
gem.add_dependency 'addressable', '~> 2.4'
21-
gem.add_dependency 'hashie', '~> 3.5', '>= 3.5.2'
22-
gem.add_dependency 'faraday', '>= 0.8', '< 2'
23-
gem.add_dependency 'oauth2', '~> 1.0'
24-
gem.add_dependency 'descendants_tracker', '~> 0.0.4'
20+
gem.add_dependency "addressable", "~> 2.4"
21+
gem.add_dependency "hashie", "~> 3.5", ">= 3.5.2"
22+
gem.add_dependency "faraday", ">= 0.8", "< 2"
23+
gem.add_dependency "oauth2", "~> 1.0"
24+
gem.add_dependency "descendants_tracker", "~> 0.0.4"
2525

26-
gem.add_development_dependency 'bundler', '>= 1.5.0', '< 3'
27-
gem.add_development_dependency 'rake', '>= 12.3.3', '< 14'
28-
gem.add_development_dependency 'cucumber', '~> 2.1'
29-
gem.add_development_dependency 'rspec', '~> 3'
30-
gem.add_development_dependency 'rspec-its','~> 1'
31-
gem.add_development_dependency 'vcr', '~> 3.0.3'
32-
gem.add_development_dependency 'webmock', '~> 3.0.1'
26+
gem.add_development_dependency "bundler", ">= 1.5.0", "< 3"
27+
gem.add_development_dependency "rake", ">= 12.3.3", "< 14"
28+
gem.add_development_dependency "cucumber", "~> 2.1"
29+
gem.add_development_dependency "rspec", "~> 3"
30+
gem.add_development_dependency "rspec-its","~> 1"
31+
gem.add_development_dependency "vcr", "~> 3.0.3"
32+
gem.add_development_dependency "webmock", "~> 3.0.1"
3333
end

0 commit comments

Comments
 (0)