Skip to content

Commit 3a97229

Browse files
committed
Upgrade to 3.1.2 to fix missing security patch.
1 parent 618cc24 commit 3a97229

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

How_to_release_notes.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Here are the basic steps required to release a new version of the browsercms gem, as well as testing, etc.
22

33
A. Releasing and testing the gem upgrade locally
4-
1. Update the lib/cms/version.rb with the correct version #
4+
1. Update the lib/cms/version.rb with the correct version number (i.e. 3.1.x)
55
2. [sudo] rake build install (Builds the gemspec, builds gem and installs it. Use sudo as needed
66
4. cd /myproject
77
5. script/generate browser_cms (Upgrades the project to use the latest gem version)

Rakefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ begin
4242
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
4343
end
4444
rescue LoadError
45-
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
45+
puts $!
46+
puts "Jeweler might not available. Install it with: sudo gem install jeweler"
4647
end
4748

4849
# BrowserCMS gem will only be released to Gemcutter/rubygems. No longer going to RubyForge.

browsercms.gemspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55

66
Gem::Specification.new do |s|
77
s.name = %q{browsercms}
8-
s.version = "3.1.1"
8+
s.version = "3.1.2"
99

1010
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
1111
s.authors = ["BrowserMedia"]
12-
s.date = %q{2010-03-03}
12+
s.date = %q{2010-06-30}
1313
s.description = %q{General purpose Web Content Management in Rails.}
1414
s.email = %q{github@browsermedia.com}
1515
s.executables = ["browsercms", "bcms"]
@@ -1342,7 +1342,7 @@ Gem::Specification.new do |s|
13421342
s.rdoc_options = ["--charset=UTF-8"]
13431343
s.require_paths = ["lib"]
13441344
s.rubyforge_project = %q{browsercms}
1345-
s.rubygems_version = %q{1.3.5}
1345+
s.rubygems_version = %q{1.3.7}
13461346
s.summary = %q{BrowserCMS is a general purpose, open source Web Content Management System (CMS) written in Ruby on Rails. Designed for web developers who want to create great looking websites while using standard Rails tools for customizing it.}
13471347
s.test_files = [
13481348
"test/custom_assertions.rb",
@@ -1423,7 +1423,7 @@ Gem::Specification.new do |s|
14231423
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
14241424
s.specification_version = 3
14251425

1426-
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
1426+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
14271427
else
14281428
end
14291429
else

lib/cms/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
# Allows the precise version of BrowserCMS to be determined programmatically.
33
#
44
module Cms
5-
VERSION = "3.1.1"
5+
VERSION = "3.1.2"
66
end

0 commit comments

Comments
 (0)