Skip to content

Commit

Permalink
[Gemspec] Bump Xcodeproj
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiopelosin committed Oct 9, 2013
1 parent be6d242 commit 1704d84
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cocoapods.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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 'claide', '~> 0.3.2'
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 'escape', '~> 0.0.4'
Expand All @@ -54,6 +54,9 @@ s.files = Dir["lib/**/*.rb"] + %w{ bin/pod bin/sandbox-pod README.md LICENSE CHA
lines = text.split("\n")

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_index = current_version_index + previous_version_lines.find_index { |line| line =~ (/^#{title_token}/) && !line.include?('rc') }

Expand Down

0 comments on commit 1704d84

Please sign in to comment.