editorial_logic 1.1.4 → 1.1.5

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/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.4
1
+ 1.1.5
@@ -1,7 +1,7 @@
1
1
  <%- unless @contents.blank? -%>
2
- <ol class="faqs_list">
2
+ <ul class="faqs_list">
3
3
  <%- @contents.each do |content| -%>
4
4
  <li><%= link_to content.headline, content.humanize_path -%></li>
5
5
  <%- end -%>
6
- </ol>
6
+ </ul>
7
7
  <%- end -%>
@@ -1,4 +1,6 @@
1
1
  Rails.application.routes.draw do
2
+ root :to => 'admin:publications#index', :via => :get if Rails.env.test?
3
+
2
4
  class PublicationConstraint
3
5
  def initialize; end
4
6
  def matches?(request)
@@ -6,17 +8,6 @@ Rails.application.routes.draw do
6
8
  end
7
9
  end
8
10
 
9
- class TestingConstraint
10
- def initialize; end
11
- def matches?(request)
12
- Rails.env == 'testing'
13
- end
14
- end
15
-
16
- constraints(TestingConstraint.new) do
17
- root :to => 'admin:publications#index', :via => :get
18
- end
19
-
20
11
  constraints(PublicationConstraint.new) do
21
12
  get ':publication_slug/', :to => 'publications#show'
22
13
  get ':publication_slug/feed', :to => 'publications#feed', :format => [:rss]
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{editorial_logic}
8
- s.version = "1.1.4"
8
+ s.version = "1.1.5"
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-08-16}
12
+ s.date = %q{2011-08-30}
13
13
  s.description = %q{An engine for enabling managed content, including articles, blogs, FAQs and glossaries.}
14
14
  s.email = %q{corey@seologic.com}
15
15
  s.files = [
@@ -812,7 +812,7 @@ Gem::Specification.new do |s|
812
812
  ]
813
813
  s.homepage = %q{http://github.com/ivanoblomov/editorial_logic}
814
814
  s.require_paths = ["lib"]
815
- s.rubygems_version = %q{1.6.2}
815
+ s.rubygems_version = %q{1.4.2}
816
816
  s.summary = %q{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
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
  - 1
9
- - 4
10
- version: 1.1.4
9
+ - 5
10
+ version: 1.1.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bantik
@@ -15,7 +15,8 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-08-16 00:00:00 Z
18
+ date: 2011-08-30 00:00:00 -05:00
19
+ default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: bson_ext
@@ -966,6 +967,7 @@ files:
966
967
  - spec/spec_helper.rb
967
968
  - spec/support/be_valid_asset.rb
968
969
  - tasks/editorial_logic.rake
970
+ has_rdoc: true
969
971
  homepage: http://github.com/ivanoblomov/editorial_logic
970
972
  licenses: []
971
973
 
@@ -995,7 +997,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
995
997
  requirements: []
996
998
 
997
999
  rubyforge_project:
998
- rubygems_version: 1.8.5
1000
+ rubygems_version: 1.4.2
999
1001
  signing_key:
1000
1002
  specification_version: 3
1001
1003
  summary: An engine for enabling managed content in a Rails app, including articles, blogs, FAQs and glossaries.