Skip to content

Commit

Permalink
add frozen string literal comments
Browse files Browse the repository at this point in the history
  • Loading branch information
urkle committed May 6, 2022
1 parent 90f4045 commit f83a1a4
Show file tree
Hide file tree
Showing 18 changed files with 36 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .simplecov
@@ -1,3 +1,5 @@
# frozen_string_literal: true

SimpleCov.configure do
enable_coverage :branch
add_filter '/spec/'
Expand Down
2 changes: 2 additions & 0 deletions Gemfile
@@ -1,3 +1,5 @@
# frozen_string_literal: true

source "http://rubygems.org"

gemspec
Expand Down
2 changes: 2 additions & 0 deletions Rakefile
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require 'bundler'
Bundler::GemHelper.install_tasks

Expand Down
2 changes: 2 additions & 0 deletions lib/schema_monkey.rb
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require 'active_record'
require 'active_support/core_ext/string'
require 'modware'
Expand Down
2 changes: 2 additions & 0 deletions lib/schema_monkey/active_record.rb
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module SchemaMonkey
module ActiveRecord
module ConnectionAdapters
Expand Down
2 changes: 2 additions & 0 deletions lib/schema_monkey/client.rb
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module SchemaMonkey
class Client

Expand Down
2 changes: 2 additions & 0 deletions lib/schema_monkey/errors.rb
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module SchemaMonkey
class MiddlewareError < Exception
end
Expand Down
2 changes: 2 additions & 0 deletions lib/schema_monkey/module.rb
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module SchemaMonkey
module Module
extend self
Expand Down
2 changes: 2 additions & 0 deletions lib/schema_monkey/monkey.rb
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module SchemaMonkey

# The main manager for the monkey patches. Singleton instance
Expand Down
2 changes: 2 additions & 0 deletions lib/schema_monkey/stack.rb
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module SchemaMonkey
module Stack
def self.insert(path, mod)
Expand Down
2 changes: 2 additions & 0 deletions lib/schema_monkey/version.rb
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module SchemaMonkey
VERSION = "3.0.1"
end
3 changes: 2 additions & 1 deletion schema_monkey.gemspec
@@ -1,4 +1,5 @@
# coding: utf-8
# frozen_string_literal: true

lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'schema_monkey/version'
Expand Down
2 changes: 2 additions & 0 deletions spec/active_record_spec.rb
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require 'spec_helper'

$client_count = 0
Expand Down
2 changes: 2 additions & 0 deletions spec/connection_spec.rb
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require 'spec_helper'

describe "Connection" do
Expand Down
2 changes: 2 additions & 0 deletions spec/middleware_spec.rb
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require 'spec_helper'

describe SchemaMonkey::Middleware do
Expand Down
2 changes: 2 additions & 0 deletions spec/module_spec.rb
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require 'spec_helper'

describe SchemaMonkey::Module do
Expand Down
2 changes: 2 additions & 0 deletions spec/schema_monkey_spec.rb
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require 'spec_helper'

describe SchemaMonkey do
Expand Down
2 changes: 2 additions & 0 deletions spec/spec_helper.rb
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require 'simplecov'
SimpleCov.start

Expand Down

0 comments on commit f83a1a4

Please sign in to comment.