diff --git a/Podfile b/Podfile index 54435704..aa6ebbd9 100644 --- a/Podfile +++ b/Podfile @@ -9,7 +9,7 @@ target 'Tests' do end post_install do |installer| - swift3_pods = %w(Stencil) + swift3_pods = %w[Stencil] installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['SWIFT_VERSION'] = '3.2' if swift3_pods.include?(target.name) diff --git a/Rakefile b/Rakefile index c5d41b2a..c7eec2d3 100755 --- a/Rakefile +++ b/Rakefile @@ -2,7 +2,7 @@ require 'English' unless defined?(Bundler) - puts 'Please use bundle exec to run the rake command' + puts 'Please use bundle exec to run the rake command' exit 1 end diff --git a/rakelib/lint.rake b/rakelib/lint.rake index 4d3dbe41..baf4b2cb 100644 --- a/rakelib/lint.rake +++ b/rakelib/lint.rake @@ -2,7 +2,7 @@ # none namespace :lint do - SWIFTLINT = 'Scripts/SwiftLint.sh' + SWIFTLINT = 'Scripts/SwiftLint.sh'.freeze desc 'Lint the code' task :code do |task|