resync-client.gemspec in resync-client-0.4.5 vs resync-client.gemspec in resync-client-0.4.6
- old
+ new
@@ -1,6 +1,7 @@
# coding: utf-8
+
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'resync/client/version'
require 'uri'
@@ -13,25 +14,25 @@
spec.summary = 'Client library for ResourceSync'
spec.description = 'A Ruby client for the ResourceSync web synchronization framework'
spec.license = 'MIT'
origin = `git config --get remote.origin.url`.chomp
- origin_uri = origin.start_with?('http') ? URI(origin) : URI(origin.sub('git@github.com:', 'https://github.com/'))
+ origin_uri = origin.start_with?('http') ? URI(origin) : URI(origin.gsub(%r{git@([^:]+)(.com|.org)[^\/]+}, 'http://\1\2'))
spec.homepage = URI::HTTP.build(host: origin_uri.host, path: origin_uri.path.chomp('.git')).to_s
spec.files = `git ls-files -z`.split("\x0")
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
spec.add_dependency 'promise', '~> 0.3', '>= 0.3.1'
- spec.add_dependency 'resync', '~> 0.4', '>= 0.4.4'
+ spec.add_dependency 'resync', '~> 0.4', '>= 0.4.5'
spec.add_dependency 'rubyzip', '~> 1.1'
spec.add_development_dependency 'equivalent-xml', '~> 0.6.0'
- spec.add_development_dependency 'rake', '~> 10.4'
+ spec.add_development_dependency 'rake', '>= 10.4'
spec.add_development_dependency 'rspec', '~> 3.2'
- spec.add_development_dependency 'rubocop', '~> 0.29.1'
+ spec.add_development_dependency 'rubocop', '~> 0.47'
spec.add_development_dependency 'simplecov', '~> 0.9.2'
spec.add_development_dependency 'simplecov-console', '~> 0.2.0'
spec.add_development_dependency 'yard', '~> 0.8'
end