Skip to content

Commit 198aacf

Browse files
committed
Prefer frozen string literals.
1 parent 9f67d4a commit 198aacf

File tree

8 files changed

+14
-0
lines changed

8 files changed

+14
-0
lines changed

Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
source 'https://rubygems.org'
24

35
gemspec

examples/topics.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/usr/bin/env ruby
2+
# frozen_string_literal: true
23

34
$LOAD_PATH.unshift File.expand_path("../lib", __dir__)
45

lib/async/http/faraday.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
# Copyright, 2018, by Samuel G. D. Williams. <http://www.codeotaku.com>
24
#
35
# Permission is hereby granted, free of charge, to any person obtaining a copy

lib/async/http/faraday/adapter.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
# Copyright, 2018, by Samuel G. D. Williams. <http://www.codeotaku.com>
24
#
35
# Permission is hereby granted, free of charge, to any person obtaining a copy

lib/async/http/faraday/agent.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
# Copyright, 2020, by Samuel G. D. Williams. <http://www.codeotaku.com>
24
#
35
# Permission is hereby granted, free of charge, to any person obtaining a copy

lib/async/http/faraday/version.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
# Copyright, 2018, by Samuel G. D. Williams. <http://www.codeotaku.com>
24
#
35
# Permission is hereby granted, free of charge, to any person obtaining a copy

spec/async/http/faraday/adapter_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
# Copyright, 2017, by Samuel G. D. Williams. <http://www.codeotaku.com>
24
#
35
# Permission is hereby granted, free of charge, to any person obtaining a copy

spec/spec_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# frozen_string_literal: true
12

23
require 'async/rspec'
34
require 'covered/rspec'

0 commit comments

Comments
 (0)