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
@@ -8,8 +8,8 @@ gemspec
8
8
  gem "thin"
9
9
 
10
10
  # Gem Environments
11
- group :development do
12
- gem "mysql"
11
+ group :development, :test do
12
+ gem "sqlite3"
13
13
  gem "mocha"
14
14
  end
15
15
 
@@ -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
@@ -1,3 +1,3 @@
1
1
  module BcmsNews
2
- VERSION = "1.4.0"
2
+ VERSION = "1.4.1"
3
3
  end
@@ -4,7 +4,7 @@ module BcmsNews
4
4
  class RecentNewsArticleTest < ActiveSupport::TestCase
5
5
 
6
6
  def setup
7
- @past_article_1 = Factory(:article)
7
+ @past_article_1 = Factory(:article, :release_date => Date.yesterday)
8
8
  @past_article_2 = Factory(:article)
9
9
  end
10
10
 
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.0
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/20120103165543_bcms_news_130.rb
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: 898571447684150772
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: 898571447684150772
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