From 9081d6bc9460c56ef4f75578ef6cee9e3760458d Mon Sep 17 00:00:00 2001 From: Michael Moll Date: Sun, 13 Dec 2015 14:27:48 +0000 Subject: [PATCH] www/rubygem-asana: update to 0.5.0 --- www/rubygem-asana/Makefile | 9 ++++++--- www/rubygem-asana/distinfo | 4 ++-- www/rubygem-asana/files/patch-asana.gemspec | 11 +++++++++++ 3 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 www/rubygem-asana/files/patch-asana.gemspec diff --git a/www/rubygem-asana/Makefile b/www/rubygem-asana/Makefile index 5798916613d6..bd8d08f5874e 100644 --- a/www/rubygem-asana/Makefile +++ b/www/rubygem-asana/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= asana -PORTVERSION= 0.0.6 +PORTVERSION= 0.5.0 CATEGORIES= www rubygems MASTER_SITES= RG @@ -9,9 +9,12 @@ MAINTAINER= ruby@FreeBSD.org COMMENT= Ruby wrapper for the Asana REST API LICENSE= MIT -LICENSE_FILE= ${WRKSRC}/LICENSE +LICENSE_FILE= ${WRKSRC}/LICENSE.txt -RUN_DEPENDS= rubygem-activeresource>=3.2.3:${PORTSDIR}/www/rubygem-activeresource +RUN_DEPENDS= rubygem-faraday>=0.9:${PORTSDIR}/www/rubygem-faraday \ + rubygem-faraday_middleware>=0.9:${PORTSDIR}/www/rubygem-faraday_middleware \ + rubygem-faraday_middleware-multi_json>=0.0:${PORTSDIR}/devel/rubygem-faraday_middleware-multi_json \ + rubygem-oauth2>1.0:${PORTSDIR}/net/rubygem-oauth2 NO_ARCH= yes diff --git a/www/rubygem-asana/distinfo b/www/rubygem-asana/distinfo index d85d0885af84..9f6a30c6cc42 100644 --- a/www/rubygem-asana/distinfo +++ b/www/rubygem-asana/distinfo @@ -1,2 +1,2 @@ -SHA256 (rubygem/asana-0.0.6.gem) = 97b5746426956cd347627f80f83e267084572282cf84f4320ea90dc8fd2d62f4 -SIZE (rubygem/asana-0.0.6.gem) = 11264 +SHA256 (rubygem/asana-0.5.0.gem) = 473b2a1937123dc36abb883f618d1e81f6db6a7a942271a0643254bb0df22045 +SIZE (rubygem/asana-0.5.0.gem) = 37888 diff --git a/www/rubygem-asana/files/patch-asana.gemspec b/www/rubygem-asana/files/patch-asana.gemspec new file mode 100644 index 000000000000..f11a1a1f9fdb --- /dev/null +++ b/www/rubygem-asana/files/patch-asana.gemspec @@ -0,0 +1,11 @@ +--- asana.gemspec.orig 2015-12-13 14:23:30 UTC ++++ asana.gemspec +@@ -12,7 +12,7 @@ Gem::Specification.new do |s| + s.date = "2015-12-03" + s.description = "Official Ruby client for the Asana API" + s.email = ["me@txus.io"] +- s.files = [".codeclimate.yml", ".gitignore", ".rspec", ".rubocop.yml", ".travis.yml", ".yardopts", "CODE_OF_CONDUCT.md", "Gemfile", "Guardfile", "LICENSE.txt", "README.md", "Rakefile", "asana.gemspec", "bin/console", "bin/setup", "examples/Gemfile", "examples/Gemfile.lock", "examples/cli_app.rb", "examples/events.rb", "examples/omniauth_integration.rb", "examples/personal_access_token.rb", "lib/asana.rb", "lib/asana/authentication.rb", "lib/asana/authentication/oauth2.rb", "lib/asana/authentication/oauth2/access_token_authentication.rb", "lib/asana/authentication/oauth2/bearer_token_authentication.rb", "lib/asana/authentication/oauth2/client.rb", "lib/asana/authentication/token_authentication.rb", "lib/asana/client.rb", "lib/asana/client/configuration.rb", "lib/asana/errors.rb", "lib/asana/http_client.rb", "lib/asana/http_client/environment_info.rb", "lib/asana/http_client/error_handling.rb", "lib/asana/http_client/response.rb", "lib/asana/resource_includes/attachment_uploading.rb", "lib/asana/resource_includes/collection.rb", "lib/asana/resource_includes/event.rb", "lib/asana/resource_includes/event_subscription.rb", "lib/asana/resource_includes/events.rb", "lib/asana/resource_includes/registry.rb", "lib/asana/resource_includes/resource.rb", "lib/asana/resource_includes/response_helper.rb", "lib/asana/resources.rb", "lib/asana/resources/attachment.rb", "lib/asana/resources/project.rb", "lib/asana/resources/story.rb", "lib/asana/resources/tag.rb", "lib/asana/resources/task.rb", "lib/asana/resources/team.rb", "lib/asana/resources/user.rb", "lib/asana/resources/webhook.rb", "lib/asana/resources/workspace.rb", "lib/asana/ruby2_0_0_compatibility.rb", "lib/asana/version.rb", "lib/templates/index.js", "lib/templates/resource.ejs", "package.json"] ++ s.files = [".codeclimate.yml", ".gitignore", ".rspec", ".rubocop.yml", ".travis.yml", ".yardopts", "CODE_OF_CONDUCT.md", "Gemfile", "Guardfile", "LICENSE.txt", "README.md", "Rakefile", "asana.gemspec", "examples/Gemfile", "examples/Gemfile.lock", "examples/cli_app.rb", "examples/events.rb", "examples/omniauth_integration.rb", "examples/personal_access_token.rb", "lib/asana.rb", "lib/asana/authentication.rb", "lib/asana/authentication/oauth2.rb", "lib/asana/authentication/oauth2/access_token_authentication.rb", "lib/asana/authentication/oauth2/bearer_token_authentication.rb", "lib/asana/authentication/oauth2/client.rb", "lib/asana/authentication/token_authentication.rb", "lib/asana/client.rb", "lib/asana/client/configuration.rb", "lib/asana/errors.rb", "lib/asana/http_client.rb", "lib/asana/http_client/environment_info.rb", "lib/asana/http_client/error_handling.rb", "lib/asana/http_client/response.rb", "lib/asana/resource_includes/attachment_uploading.rb", "lib/asana/resource_includes/collection.rb", "lib/asana/resource_includes/event.rb", "lib/asana/resource_includes/event_subscription.rb", "lib/asana/resource_includes/events.rb", "lib/asana/resource_includes/registry.rb", "lib/asana/resource_includes/resource.rb", "lib/asana/resource_includes/response_helper.rb", "lib/asana/resources.rb", "lib/asana/resources/attachment.rb", "lib/asana/resources/project.rb", "lib/asana/resources/story.rb", "lib/asana/resources/tag.rb", "lib/asana/resources/task.rb", "lib/asana/resources/team.rb", "lib/asana/resources/user.rb", "lib/asana/resources/webhook.rb", "lib/asana/resources/workspace.rb", "lib/asana/ruby2_0_0_compatibility.rb", "lib/asana/version.rb", "lib/templates/index.js", "lib/templates/resource.ejs", "package.json"] + s.homepage = "https://github.com/asana/ruby-asana" + s.licenses = ["MIT"] + s.required_ruby_version = Gem::Requirement.new("~> 2.0")