Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds frozen_string_literal magic comment. #403

Merged
merged 1 commit into from
Apr 27, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/rack/twilio_webhook_authentication.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module Rack
# Middleware that authenticates webhooks from Twilio using the request
# validator.
Expand Down
2 changes: 2 additions & 0 deletions lib/twilio-ruby.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require 'net/http'
require 'net/https'
require 'nokogiri'
Expand Down
2 changes: 2 additions & 0 deletions lib/twilio-ruby/framework/domain.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module Twilio
module REST
class Domain
Expand Down
2 changes: 2 additions & 0 deletions lib/twilio-ruby/framework/error.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module Twilio
module REST
class TwilioError < StandardError
Expand Down
2 changes: 2 additions & 0 deletions lib/twilio-ruby/framework/helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module Twilio
module REST
def url_join(left, right)
Expand Down
2 changes: 2 additions & 0 deletions lib/twilio-ruby/framework/obsolete_client.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module Twilio
module REST
class ObsoleteClient
Expand Down
2 changes: 2 additions & 0 deletions lib/twilio-ruby/framework/page.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module Twilio
module REST
# Page Base Class
Expand Down
2 changes: 2 additions & 0 deletions lib/twilio-ruby/framework/request.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module Twilio
class Request
attr_reader :host, :port, :method, :url, :params, :data, :headers, :auth, :timeout
Expand Down
2 changes: 2 additions & 0 deletions lib/twilio-ruby/framework/resource.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module Twilio
module REST
class ListResource
Expand Down
2 changes: 2 additions & 0 deletions lib/twilio-ruby/framework/response.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module Twilio
class Response
attr_accessor :status_code, :body, :headers
Expand Down
2 changes: 2 additions & 0 deletions lib/twilio-ruby/framework/serialize.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module Twilio
def self.serialize_iso8601_date(date)
if date.eql?(:unset)
Expand Down
2 changes: 2 additions & 0 deletions lib/twilio-ruby/framework/twilio_response.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module Twilio
class TwilioResponse
attr_accessor :status_code, :body
Expand Down
2 changes: 2 additions & 0 deletions lib/twilio-ruby/framework/values.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module Twilio
class Values
def self.of(hash)
Expand Down
2 changes: 2 additions & 0 deletions lib/twilio-ruby/framework/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module Twilio
module REST
class Version
Expand Down
2 changes: 2 additions & 0 deletions lib/twilio-ruby/http/http_client.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require 'faraday'

module Twilio
Expand Down
2 changes: 2 additions & 0 deletions lib/twilio-ruby/jwt/access_token.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module Twilio
module JWT
module AccessTokenGrant
Expand Down
2 changes: 2 additions & 0 deletions lib/twilio-ruby/jwt/client_capability.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module Twilio
module JWT
module Scope
Expand Down
2 changes: 2 additions & 0 deletions lib/twilio-ruby/jwt/jwt.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module Twilio
module JWT
class BaseJWT
Expand Down
2 changes: 2 additions & 0 deletions lib/twilio-ruby/jwt/task_router.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module Twilio
module JWT
class TaskRouterCapability < BaseJWT
Expand Down
2 changes: 2 additions & 0 deletions lib/twilio-ruby/security/request_validator.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module Twilio
module Security
class RequestValidator
Expand Down
2 changes: 2 additions & 0 deletions lib/twilio-ruby/util.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module Twilio
module Util
def url_encode(hash)
Expand Down
2 changes: 2 additions & 0 deletions lib/twilio-ruby/util/configuration.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module Twilio
module Util
class Configuration
Expand Down
2 changes: 2 additions & 0 deletions lib/twilio-ruby/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module Twilio
VERSION = '5.8.1'
end