[Gemspec] Bump Xcodeproj
Showing
... | @@ -30,7 +30,7 @@ s.files = Dir["lib/**/*.rb"] + %w{ bin/pod bin/sandbox-pod README.md LICENSE CHA | ... | @@ -30,7 +30,7 @@ s.files = Dir["lib/**/*.rb"] + %w{ bin/pod bin/sandbox-pod README.md LICENSE CHA |
s.add_runtime_dependency 'cocoapods-core', "= #{Pod::VERSION}" | s.add_runtime_dependency 'cocoapods-core', "= #{Pod::VERSION}" | ||
s.add_runtime_dependency 'claide', '~> 0.3.2' | s.add_runtime_dependency 'claide', '~> 0.3.2' | ||
s.add_runtime_dependency 'cocoapods-downloader', '~> 0.2.0' | s.add_runtime_dependency 'cocoapods-downloader', '~> 0.2.0' | ||
s.add_runtime_dependency 'xcodeproj', '~> 0.12.0' | s.add_runtime_dependency 'xcodeproj', '~> 0.13.0' | ||
s.add_runtime_dependency 'colored', '~> 1.2' | s.add_runtime_dependency 'colored', '~> 1.2' | ||
s.add_runtime_dependency 'escape', '~> 0.0.4' | s.add_runtime_dependency 'escape', '~> 0.0.4' | ||
... | @@ -54,6 +54,9 @@ s.files = Dir["lib/**/*.rb"] + %w{ bin/pod bin/sandbox-pod README.md LICENSE CHA | ... | @@ -54,6 +54,9 @@ s.files = Dir["lib/**/*.rb"] + %w{ bin/pod bin/sandbox-pod README.md LICENSE CHA |
lines = text.split("\n") | lines = text.split("\n") | ||
current_version_index = lines.find_index { |line| line =~ (/^#{current_verison_title}/) } | current_version_index = lines.find_index { |line| line =~ (/^#{current_verison_title}/) } | ||
unless current_version_index | |||
raise "Update the changelog for the last version" | |||
end | |||
previous_version_lines = lines[(current_version_index+1)...-1] | previous_version_lines = lines[(current_version_index+1)...-1] | ||
previous_version_index = current_version_index + previous_version_lines.find_index { |line| line =~ (/^#{title_token}/) && !line.include?('rc') } | previous_version_index = current_version_index + previous_version_lines.find_index { |line| line =~ (/^#{title_token}/) && !line.include?('rc') } | ||
... | ... |
Please
register
or
sign in
to comment