From deca5e4e8bf3badb68ee77d9cee96746a10ad040 Mon Sep 17 00:00:00 2001 From: Paul Daigle Date: Tue, 7 Oct 2014 00:52:27 -0400 Subject: [PATCH] add license information --- bitpay-client.gemspec | 1 + lib/bitpay.rb | 4 ++++ lib/bitpay/cli.rb | 4 ++++ lib/bitpay/client.rb | 4 ++++ lib/bitpay/key_utils.rb | 4 ++++ lib/bitpay/version.rb | 4 ++++ lib/harness.rb | 4 ++++ 7 files changed, 25 insertions(+) diff --git a/bitpay-client.gemspec b/bitpay-client.gemspec index 40c5dac..e0534ce 100644 --- a/bitpay-client.gemspec +++ b/bitpay-client.gemspec @@ -2,6 +2,7 @@ require './lib/bitpay/version.rb' Gem::Specification.new do |s| s.name = 'bitpay-client' s.version = BitPay::VERSION + s.licenses = ['MIT'] s.authors = 'Bitpay, Inc.' s.email = 'info@bitpay.com' s.homepage = 'https://github.com/bitpay/ruby-client' diff --git a/lib/bitpay.rb b/lib/bitpay.rb index 18328df..fdc2561 100644 --- a/lib/bitpay.rb +++ b/lib/bitpay.rb @@ -1,3 +1,7 @@ +# license Copyright 2011-2014 BitPay, Inc., MIT License +# see http://opensource.org/licenses/MIT +# or https://github.com/bitpay/php-bitpay-client/blob/master/LICENSE + libdir = File.dirname(__FILE__) $LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir) require 'bitpay/client' diff --git a/lib/bitpay/cli.rb b/lib/bitpay/cli.rb index cb921d3..fda5e76 100644 --- a/lib/bitpay/cli.rb +++ b/lib/bitpay/cli.rb @@ -1,3 +1,7 @@ +# license Copyright 2011-2014 BitPay, Inc., MIT License +# see http://opensource.org/licenses/MIT +# or https://github.com/bitpay/php-bitpay-client/blob/master/LICENSE + require 'rubygems' require 'commander/import' diff --git a/lib/bitpay/client.rb b/lib/bitpay/client.rb index 6b2b990..c12ae9d 100644 --- a/lib/bitpay/client.rb +++ b/lib/bitpay/client.rb @@ -1,3 +1,7 @@ +# license Copyright 2011-2014 BitPay, Inc., MIT License +# see http://opensource.org/licenses/MIT +# or https://github.com/bitpay/php-bitpay-client/blob/master/LICENSE + require 'uri' require 'net/https' require 'json' diff --git a/lib/bitpay/key_utils.rb b/lib/bitpay/key_utils.rb index 781bec8..0117208 100644 --- a/lib/bitpay/key_utils.rb +++ b/lib/bitpay/key_utils.rb @@ -1,3 +1,7 @@ +# license Copyright 2011-2014 BitPay, Inc., MIT License +# see http://opensource.org/licenses/MIT +# or https://github.com/bitpay/php-bitpay-client/blob/master/LICENSE + require 'uri' require 'net/https' require 'json' diff --git a/lib/bitpay/version.rb b/lib/bitpay/version.rb index 6736e28..83201c7 100644 --- a/lib/bitpay/version.rb +++ b/lib/bitpay/version.rb @@ -1,3 +1,7 @@ +# license Copyright 2011-2014 BitPay, Inc., MIT License +# see http://opensource.org/licenses/MIT +# or https://github.com/bitpay/php-bitpay-client/blob/master/LICENSE + module BitPay VERSION = '2.0.0' end diff --git a/lib/harness.rb b/lib/harness.rb index e16ccd8..01cb53f 100644 --- a/lib/harness.rb +++ b/lib/harness.rb @@ -1,3 +1,7 @@ +# license Copyright 2011-2014 BitPay, Inc., MIT License +# see http://opensource.org/licenses/MIT +# or https://github.com/bitpay/php-bitpay-client/blob/master/LICENSE + require_relative 'bitpay.rb' require_relative 'bitpay/key_utils.rb'