This commit is contained in:
Steve Bazyl 2016-04-22 14:30:36 -07:00
commit 0aa133f978
2 changed files with 4 additions and 5 deletions

View File

@ -1,4 +1,3 @@
# coding: utf-8
lib = File.expand_path('../lib', __FILE__) lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'google/apis/version' require 'google/apis/version'
@ -12,9 +11,11 @@ Gem::Specification.new do |spec|
spec.homepage = 'https://github.com/google/google-api-ruby-client' spec.homepage = 'https://github.com/google/google-api-ruby-client'
spec.license = 'Apache 2.0' spec.license = 'Apache 2.0'
spec.files = `git ls-files -z`.split("\x0") spec.files = `git ls-files -z`
.split("\x0")
.reject { |f| f.match(%r{^(spec|script)/|^api_names_out}) }
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } 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', 'generated', 'third_party'] spec.require_paths = ['lib', 'generated', 'third_party']
spec.required_ruby_version = '~> 2.0' spec.required_ruby_version = '~> 2.0'

View File

@ -1,5 +1,3 @@
# encoding:utf-8
# Copyright 2013 Google Inc. # Copyright 2013 Google Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");