editorial_logic 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Gemfile CHANGED
@@ -6,7 +6,7 @@ gem 'carrierwave-mongoid', :require => 'carrierwave/mongoid'
6
6
  gem 'ckeditor', :git => 'git://github.com/Bantik/rails-ckeditor.git', :branch => 'rails3_mongoid'
7
7
  gem 'fastercsv'
8
8
  gem 'mongoid'
9
- gem 'rails', '>= 3.0.1'
9
+ gem 'rails'
10
10
  gem 'scaffold_logic'#, :path => '~/Documents/projects/scaffold_logic'
11
11
  gem 'SystemTimer'
12
12
  gem 'tanker'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
1
+ 1.3.1
@@ -117,7 +117,7 @@ class ManagedContent
117
117
  end
118
118
 
119
119
  def path
120
- kind == 'Document' ? self.document_url : "/#{self.publication.slug}/#{self.slug}/".gsub('//', '/')
120
+ kind == 'Document' ? self.document_url : "/#{self.publication.slug}/#{self.slug}".gsub('//', '/')
121
121
  end
122
122
 
123
123
  def publish!
@@ -2,9 +2,9 @@
2
2
  <%- meta_description @publication.description -%>
3
3
  <%= auto_discovery_link_tag(:rss, @publication.rss_feed_url, {:title => @publication.name}) if @publication.rss_feed_enabled? -%>
4
4
 
5
- <%= @publication.description.to_s.html_safe -%>
6
-
7
- <br />
5
+ <p>
6
+ <%= @publication.description.to_s.html_safe -%>
7
+ </p>
8
8
 
9
9
  <%= render 'articles' if @publication.has_articles? -%>
10
10
  <%= render 'documents' if @publication.has_documents? -%>
@@ -4,14 +4,14 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{editorial_logic}
8
- s.version = "1.3.0"
7
+ s.name = "editorial_logic"
8
+ s.version = "1.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Bantik"]
12
- s.date = %q{2011-09-01}
13
- s.description = %q{An engine for enabling managed content, including articles, blogs, FAQs and glossaries.}
14
- s.email = %q{corey@seologic.com}
12
+ s.date = "2011-09-25"
13
+ s.description = "An engine for enabling managed content, including articles, blogs, FAQs and glossaries."
14
+ s.email = "corey@seologic.com"
15
15
  s.files = [
16
16
  ".document",
17
17
  ".rspec",
@@ -810,10 +810,10 @@ Gem::Specification.new do |s|
810
810
  "spec/support/be_valid_asset.rb",
811
811
  "tasks/editorial_logic.rake"
812
812
  ]
813
- s.homepage = %q{http://github.com/ivanoblomov/editorial_logic}
813
+ s.homepage = "http://github.com/ivanoblomov/editorial_logic"
814
814
  s.require_paths = ["lib"]
815
- s.rubygems_version = %q{1.4.2}
816
- s.summary = %q{An engine for enabling managed content in a Rails app, including articles, blogs, FAQs and glossaries.}
815
+ s.rubygems_version = "1.8.10"
816
+ s.summary = "An engine for enabling managed content in a Rails app, including articles, blogs, FAQs and glossaries."
817
817
 
818
818
  if s.respond_to? :specification_version then
819
819
  s.specification_version = 3
@@ -824,7 +824,7 @@ Gem::Specification.new do |s|
824
824
  s.add_runtime_dependency(%q<ckeditor>, [">= 0"])
825
825
  s.add_runtime_dependency(%q<fastercsv>, [">= 0"])
826
826
  s.add_runtime_dependency(%q<mongoid>, [">= 0"])
827
- s.add_runtime_dependency(%q<rails>, [">= 3.0.1"])
827
+ s.add_runtime_dependency(%q<rails>, [">= 0"])
828
828
  s.add_runtime_dependency(%q<scaffold_logic>, [">= 0"])
829
829
  s.add_runtime_dependency(%q<SystemTimer>, [">= 0"])
830
830
  s.add_runtime_dependency(%q<tanker>, [">= 0"])
@@ -836,7 +836,7 @@ Gem::Specification.new do |s|
836
836
  s.add_dependency(%q<ckeditor>, [">= 0"])
837
837
  s.add_dependency(%q<fastercsv>, [">= 0"])
838
838
  s.add_dependency(%q<mongoid>, [">= 0"])
839
- s.add_dependency(%q<rails>, [">= 3.0.1"])
839
+ s.add_dependency(%q<rails>, [">= 0"])
840
840
  s.add_dependency(%q<scaffold_logic>, [">= 0"])
841
841
  s.add_dependency(%q<SystemTimer>, [">= 0"])
842
842
  s.add_dependency(%q<tanker>, [">= 0"])
@@ -849,7 +849,7 @@ Gem::Specification.new do |s|
849
849
  s.add_dependency(%q<ckeditor>, [">= 0"])
850
850
  s.add_dependency(%q<fastercsv>, [">= 0"])
851
851
  s.add_dependency(%q<mongoid>, [">= 0"])
852
- s.add_dependency(%q<rails>, [">= 3.0.1"])
852
+ s.add_dependency(%q<rails>, [">= 0"])
853
853
  s.add_dependency(%q<scaffold_logic>, [">= 0"])
854
854
  s.add_dependency(%q<SystemTimer>, [">= 0"])
855
855
  s.add_dependency(%q<tanker>, [">= 0"])
@@ -74,7 +74,7 @@ Feature: Manage Articles Content
74
74
  | headline | content | slug |
75
75
  | Foo | Stuff | foo |
76
76
  When I visit "My Articles"
77
- And I follow "Delete" within "[@class='crud_links']"
77
+ And I press "" within "[@class='crud_links']"
78
78
  Then I should not see "Foo"
79
79
 
80
80
  Scenario: Add a Section to a Multi-Page Article
@@ -54,5 +54,5 @@ Feature: Manage Documents Content
54
54
  | headline | content | slug |
55
55
  | Foo | Stuff | foo |
56
56
  When I visit "My Documents"
57
- And I follow "Delete" within "[@class='crud_links']"
57
+ And I press "" within "[@class='crud_links']"
58
58
  Then I should not see "Foo"
@@ -56,6 +56,6 @@ Feature: Manage FAQ Content
56
56
  | headline | content | slug |
57
57
  | Foo | Stuff | foo |
58
58
  When I visit "FAQ"
59
- And I follow "Delete" within "[@class='crud_links']"
59
+ And I press "" within "[@class='crud_links']"
60
60
  Then I should not see "Foo"
61
61
 
@@ -55,5 +55,5 @@ Feature: Manage Glossary Content
55
55
  | headline | content | slug |
56
56
  | Foo | Stuff | foo |
57
57
  When I visit "Glossary of Technical Terms"
58
- And I follow "Delete" within "[@class='crud_links']"
58
+ And I press "" within "[@class='crud_links']"
59
59
  Then I should not see "Foo"
@@ -25,7 +25,7 @@ Feature: Manage Publications
25
25
  Scenario: Delete Publication
26
26
  Given I have publications named FAQ
27
27
  When I go to the admin_publications page
28
- And I follow "Delete" within "[@class='crud_links']"
28
+ And I press "" within "[@class='crud_links']"
29
29
  Then I should not see "FAQ"
30
30
 
31
31
  Scenario: View Publication
@@ -24,7 +24,7 @@ describe ManagedContent do
24
24
  end
25
25
 
26
26
  it 'returns an SEO-friendly URL' do
27
- @content.humanize_path.should == '/faq/foo/'
27
+ @content.humanize_path.should == '/faq/foo'
28
28
  end
29
29
 
30
30
  it 'returns the direct URL for an attached document' do
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: editorial_logic
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 3
9
- - 0
10
- version: 1.3.0
9
+ - 1
10
+ version: 1.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bantik
@@ -15,8 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-01 00:00:00 -05:00
19
- default_executable:
18
+ date: 2011-09-25 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
21
  name: bson_ext
@@ -96,12 +95,10 @@ dependencies:
96
95
  requirements:
97
96
  - - ">="
98
97
  - !ruby/object:Gem::Version
99
- hash: 5
98
+ hash: 3
100
99
  segments:
101
- - 3
102
100
  - 0
103
- - 1
104
- version: 3.0.1
101
+ version: "0"
105
102
  type: :runtime
106
103
  version_requirements: *id006
107
104
  - !ruby/object:Gem::Dependency
@@ -981,7 +978,6 @@ files:
981
978
  - spec/spec_helper.rb
982
979
  - spec/support/be_valid_asset.rb
983
980
  - tasks/editorial_logic.rake
984
- has_rdoc: true
985
981
  homepage: http://github.com/ivanoblomov/editorial_logic
986
982
  licenses: []
987
983
 
@@ -1011,7 +1007,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1011
1007
  requirements: []
1012
1008
 
1013
1009
  rubyforge_project:
1014
- rubygems_version: 1.4.2
1010
+ rubygems_version: 1.8.10
1015
1011
  signing_key:
1016
1012
  specification_version: 3
1017
1013
  summary: An engine for enabling managed content in a Rails app, including articles, blogs, FAQs and glossaries.