Skip to content

Commit 23e7e97

Browse files
author
Sam Harrison
committed
chore: update license references
1 parent 0cca2ac commit 23e7e97

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
[![BuildStatus](https://travis-ci.org/sendgrid/ruby-http-client.svg?branch=main)](https://travis-ci.org/sendgrid/ruby-http-client)
44
[![Email Notifications Badge](https://dx.sendgrid.com/badge/ruby)](https://dx.sendgrid.com/newsletter/ruby)
55
[![Gem Version](https://badge.fury.io/rb/ruby_http_client.svg)](https://badge.fury.io/rb/ruby_http_client)
6-
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE.md)
6+
[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
77
[![Twitter Follow](https://img.shields.io/twitter/follow/sendgrid.svg?style=social&label=Follow)](https://twitter.com/sendgrid)
88
[![GitHub contributors](https://img.shields.io/github/contributors/sendgrid/ruby-http-client.svg)](https://github.com/sendgrid/ruby-http-client/graphs/contributors)
99

@@ -108,4 +108,4 @@ If you need help installing or using the library, please check the [Twilio SendG
108108
If you've instead found a bug in the library or would like new features added, go ahead and open issues or pull requests against this repo!
109109

110110
# License
111-
[The MIT License (MIT)](LICENSE.md)
111+
[The MIT License (MIT)](LICENSE)

test/test_ruby_http_client.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ def test_issue_template_exists
373373
end
374374

375375
def test_license_exists
376-
assert(File.file?('./LICENSE.md') || File.file?('./LICENSE.txt'))
376+
assert(File.file?('./LICENSE'))
377377
end
378378

379379
def test_pull_request_template_exists
@@ -393,7 +393,7 @@ def test_use_cases_exists
393393
end
394394

395395
def test_license_date_is_updated
396-
license_end_year = IO.read('LICENSE.md').match(/Copyright \(C\) (\d{4}), Twilio SendGrid/)[1].to_i
396+
license_end_year = IO.read('LICENSE').match(/Copyright \(C\) (\d{4}), Twilio SendGrid/)[1].to_i
397397
current_year = Time.new.year
398398
assert_equal(current_year, license_end_year)
399399
end

0 commit comments

Comments
 (0)