Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Commit

Permalink
only update editor version while updating editor
Browse files Browse the repository at this point in the history
  • Loading branch information
tsechingho committed Mar 7, 2013
1 parent b097c06 commit 9c3fc4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ckeditor-rails/source_file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ def extract file_path, output_path
def bump_version version
return unless File.exist? source_root
inside 'lib' do
gsub_file 'ckeditor-rails/version.rb', /VERSION\s=\s'(\d|\.)+'$/ do |match|
%Q{VERSION = '#{version}'}
gsub_file 'ckeditor-rails/version.rb', /EDITOR_VERSION\s=\s'(\d|\.)+'$/ do |match|
%Q{EDITOR_VERSION = '#{version}'}
end
end
end
Expand Down

0 comments on commit 9c3fc4a

Please sign in to comment.