Commit da544fa9 authored by Samuel E. Giddins's avatar Samuel E. Giddins

[RuboCop] Enable Style/CommentAnnotation

parent afe424ff
...@@ -22,11 +22,6 @@ Metrics/LineLength: ...@@ -22,11 +22,6 @@ Metrics/LineLength:
Metrics/PerceivedComplexity: Metrics/PerceivedComplexity:
Max: 10 Max: 10
# Offense count: 7
# Configuration parameters: Keywords.
Style/CommentAnnotation:
Enabled: false
# Offense count: 6 # Offense count: 6
# Configuration parameters: AllowedVariables. # Configuration parameters: AllowedVariables.
Style/GlobalVars: Style/GlobalVars:
......
...@@ -8,7 +8,7 @@ rvm: ...@@ -8,7 +8,7 @@ rvm:
# OS X 10.9.3-10.9.4 # OS X 10.9.3-10.9.4
- 2.0.0-p451 - 2.0.0-p451
# OS X 10.9.0-10.9.2 # OS X 10.9.0-10.9.2
# TODO currently unavailable: https://github.com/travis-ci/travis-ci/issues/2918 # TODO: currently unavailable: https://github.com/travis-ci/travis-ci/issues/2918
# - 2.0.0-p247 # - 2.0.0-p247
before_install: before_install:
......
...@@ -213,7 +213,7 @@ begin ...@@ -213,7 +213,7 @@ begin
task :recreate_workspace_schemes do task :recreate_workspace_schemes do
examples.each do |example| examples.each do |example|
Dir.chdir(example.to_s) do Dir.chdir(example.to_s) do
# TODO we need to open the workspace in Xcode at least once, otherwise it might not contain schemes. # TODO: we need to open the workspace in Xcode at least once, otherwise it might not contain schemes.
# The schemes do not seem to survive a SCM round-trip. # The schemes do not seem to survive a SCM round-trip.
sh "open '#{example.basename}.xcworkspace'" sh "open '#{example.basename}.xcworkspace'"
sleep 5 sleep 5
......
...@@ -153,7 +153,7 @@ class Profile ...@@ -153,7 +153,7 @@ class Profile
File.expand_path('../..', developer_prefix) File.expand_path('../..', developer_prefix)
end end
# TODO raise SAFE level (0) to 4 if possible. # TODO: raise SAFE level (0) to 4 if possible.
def generate def generate
ERB.new(PROFILE_ERB_TEMPLATE, 0, '>').result(binding) ERB.new(PROFILE_ERB_TEMPLATE, 0, '>').result(binding)
end end
......
...@@ -7,7 +7,7 @@ require 'xcodeproj' ...@@ -7,7 +7,7 @@ require 'xcodeproj'
require 'active_support/core_ext/string/strip' require 'active_support/core_ext/string/strip'
require 'active_support/core_ext/string/inflections' require 'active_support/core_ext/string/inflections'
require 'active_support/core_ext/array/conversions' require 'active_support/core_ext/array/conversions'
# TODO check what this actually does by the time we're going to add support for # TODO: check what this actually does by the time we're going to add support for
# other locales. # other locales.
require 'i18n' require 'i18n'
if I18n.respond_to?(:enforce_available_locales=) if I18n.respond_to?(:enforce_available_locales=)
......
...@@ -101,7 +101,7 @@ module Pod ...@@ -101,7 +101,7 @@ module Pod
end end
end end
# TODO Need to decide how we are going to ensure settings like these # TODO: Need to decide how we are going to ensure settings like these
# are always excluded from the user's project. # are always excluded from the user's project.
# #
# See https://github.com/CocoaPods/CocoaPods/issues/1216 # See https://github.com/CocoaPods/CocoaPods/issues/1216
......
...@@ -446,8 +446,7 @@ module Pod ...@@ -446,8 +446,7 @@ module Pod
target_installer.install! target_installer.install!
end end
# TODO # TODO: Move and add specs
# Move and add specs
pod_targets.sort_by(&:name).each do |pod_target| pod_targets.sort_by(&:name).each do |pod_target|
pod_target.file_accessors.each do |file_accessor| pod_target.file_accessors.each do |file_accessor|
file_accessor.spec_consumer.frameworks.each do |framework| file_accessor.spec_consumer.frameworks.each do |framework|
...@@ -481,7 +480,7 @@ module Pod ...@@ -481,7 +480,7 @@ module Pod
pod_target.dependencies.each do |dep| pod_target.dependencies.each do |dep|
unless dep == pod_target.pod_name unless dep == pod_target.pod_name
pod_dependency_target = aggregate_target.pod_targets.find { |target| target.pod_name == dep } pod_dependency_target = aggregate_target.pod_targets.find { |target| target.pod_name == dep }
# TODO remove me # TODO: remove me
unless pod_dependency_target unless pod_dependency_target
puts "[BUG] DEP: #{dep}" puts "[BUG] DEP: #{dep}"
end end
......
...@@ -306,7 +306,7 @@ module Pod ...@@ -306,7 +306,7 @@ module Pod
# #
# @return [void] # @return [void]
# #
# TODO Specs # TODO: Specs
# #
def fetch_external_sources def fetch_external_sources
return unless allow_pre_downloads? return unless allow_pre_downloads?
......
...@@ -352,7 +352,7 @@ module Pod ...@@ -352,7 +352,7 @@ module Pod
describe 'Private helpers' do describe 'Private helpers' do
before do before do
# TODO Use class methods # TODO: Use class methods
@command = Command::Spec.new(CLAide::ARGV.new([])) @command = Command::Spec.new(CLAide::ARGV.new([]))
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment