bcms_news 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile
CHANGED
@@ -0,0 +1,8 @@
|
|
1
|
+
require 'cms/upgrades/v3_5_0'
|
2
|
+
|
3
|
+
# If your project has a migration named 'bcms_news_130.rb', you should delete it. This migration is a 'miore complete' version of that.
|
4
|
+
class BcmsNewsV141 < ActiveRecord::Migration
|
5
|
+
def change
|
6
|
+
v3_5_0_apply_namespace_to_block("BcmsNews", "NewsArticle")
|
7
|
+
end
|
8
|
+
end
|
data/lib/bcms_news/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bcms_news
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -61,7 +61,7 @@ files:
|
|
61
61
|
- config/routes.rb
|
62
62
|
- db/bcms_news.seeds.rb
|
63
63
|
- db/migrate/20111229220000_create_news_articles.rb
|
64
|
-
- db/migrate/
|
64
|
+
- db/migrate/20120716200957_bcms_news_v141.rb
|
65
65
|
- lib/bcms_news/engine.rb
|
66
66
|
- lib/bcms_news/version.rb
|
67
67
|
- lib/bcms_news.rb
|
@@ -91,7 +91,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
91
91
|
version: '0'
|
92
92
|
segments:
|
93
93
|
- 0
|
94
|
-
hash:
|
94
|
+
hash: -3125739825299269893
|
95
95
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
96
96
|
none: false
|
97
97
|
requirements:
|
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
100
|
version: '0'
|
101
101
|
segments:
|
102
102
|
- 0
|
103
|
-
hash:
|
103
|
+
hash: -3125739825299269893
|
104
104
|
requirements: []
|
105
105
|
rubyforge_project: bcms_news
|
106
106
|
rubygems_version: 1.8.24
|
@@ -1,13 +0,0 @@
|
|
1
|
-
# Upgrade to BcmsNew v1.3.0
|
2
|
-
class BcmsNews130 < ActiveRecord::Migration
|
3
|
-
def change
|
4
|
-
# These need to be done since v1.2 had a different table name
|
5
|
-
rename_table :news_articles, :bcms_news_news_articles
|
6
|
-
rename_table :news_article_versions, :bcms_news_news_article_versions
|
7
|
-
|
8
|
-
# This is needed to match new BrowserCMS 3.4 naming convention for versioning column.
|
9
|
-
if column_exists? :bcms_news_news_article_versions, :news_article_id
|
10
|
-
rename_column :bcms_news_news_article_versions, :news_article_id, :original_record_id
|
11
|
-
end
|
12
|
-
end
|
13
|
-
end
|