Merge branch 'fix/bindir' into 'master'
Fix/bindir See merge request !2
Showing
| ... | ... | @@ -7,9 +7,10 @@ require 'zoholib/version' |
| Gem::Specification.new do |spec| | ||
| spec.name = 'zoholib' | ||
| spec.version = Wedoops::Zoholib::VERSION | ||
| spec.platform = Gem::Platform::RUBY | ||
| spec.date = '2020-04-25' | ||
| spec.authors = ['Wedoops.io'] | ||
| spec.email = 'wedoops@wedoops.io' | ||
| spec.authors = ['Jose Ernesto Suarez'] | ||
| spec.email = 'ernesto@wedoops.io' | ||
| spec.summary = 'Zoho Library' | ||
| spec.description = 'A library for interact with ZOHO REST API' | ||
| spec.homepage = 'http://www.wedoops.io' | ||
| ... | ... | @@ -18,19 +19,29 @@ Gem::Specification.new do |spec| |
| # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host' | ||
| # to allow pushing to a single host or delete this section to allow pushing to any host. | ||
| if spec.respond_to?(:metadata) | ||
| spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'" | ||
| spec.metadata['allowed_push_host'] = "https://gitlab.dev.wedoops.io" | ||
| else | ||
| raise 'RubyGems 2.0 or newer is required to protect against ' \ | ||
| 'public gem pushes.' | ||
| end | ||
| spec.files = `git ls-files -z`.split("\x0").reject do |f| | ||
| f.match(%r{^(test|spec|features)/}) | ||
| end | ||
| spec.bindir = 'exe' | ||
| spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } | ||
| spec.require_paths = ['lib'] | ||
| #pec.files = Dir['lib/**/*.rb'] | ||
| spec.files = `git ls-files`.split("\n") | ||
| spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") | ||
| spec.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } | ||
| spec.require_paths = ["lib"] | ||
| #spec.files = `git ls-files -z`.split("\x0").reject do |f| | ||
| # f.match(%r{^(test|spec|features)/}) | ||
| #end | ||
| #spec.bindir = 'exe' | ||
| #spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } | ||
| #spec.require_paths = ['lib'] | ||
| spec.add_dependency 'httparty','~> 0.18.0' | ||
| spec.add_dependency 'http','~> 4.4.0' | ||
| spec.add_dependency 'logger','~> 1.4.2' | ||
| spec.add_dependency 'savon','~> 2.12.0' | ||
| spec.add_dependency 'sib-api-v3-sdk','~> 5.3.0' | ||
| spec.add_dependency 'launchy','~> 2.5.0' | ||
| spec.add_development_dependency 'bundler', '~> 1.15' | ||
| spec.add_development_dependency 'rake', '~> 13.0.1' | ||
| spec.add_development_dependency 'rspec', '~> 3.0' | ||
| ... | ... |
Please register or sign in to comment