Skip to content

Commit 2e701b5

Browse files
Add Makefile for automation (#110)
1 parent 37fb694 commit 2e701b5

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

Diff for: .rubocop.yml

+2
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,5 @@ Style/ExtraSpacing:
4343
Enabled: true
4444
AllowForAlignment: false
4545
ForceEqualSignAlignment: false
46+
Style/FrozenStringLiteralComment:
47+
Enabled: false

Diff for: LICENSE.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2016-2018 SendGrid, Inc.
3+
Copyright (c) 2016-2020 Twilio SendGrid, Inc.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

Diff for: Makefile

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.PHONY: install test
2+
3+
install:
4+
gem install minitest
5+
6+
test:
7+
rake

Diff for: test/test_ruby_http_client.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def test_use_cases_exists
278278
end
279279

280280
def test_license_date_is_updated
281-
license_end_year = IO.read('LICENSE.txt').match(/Copyright \(c\) 2016-(\d{4}) SendGrid/)[1].to_i
281+
license_end_year = IO.read('LICENSE.txt').match(/Copyright \(c\) 2016-(\d{4}) Twilio SendGrid/)[1].to_i
282282
current_year = Time.new.year
283283
assert_equal(current_year, license_end_year)
284284
end

0 commit comments

Comments
 (0)