blog_logic 0.7.4 → 0.7.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.4
1
+ 0.7.5
@@ -42,7 +42,7 @@
42
42
  <fieldset class="form_container">
43
43
  <%= legend_tag 'Content&nbsp;' -%>
44
44
  <div class="form_column">
45
- <%= f.cktext_area :content, :toolbar => 'Full', :id => 'content_field', :width => '900px', :height => '500px' -%>
45
+ <%= f.cktext_area :content, :toolbar => 'Full', :id => 'content_field', :height => '500px' -%>
46
46
  </div>
47
47
  <div class="form_column">
48
48
  </div>
data/blog_logic.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{blog_logic}
8
- s.version = "0.7.4"
8
+ s.version = "0.7.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = [%q{Bantik}]
@@ -71,8 +71,6 @@ Gem::Specification.new do |s|
71
71
  "config/locales/en.yml",
72
72
  "config/mongoid.yml",
73
73
  "config/routes.rb",
74
- "db/imports/wp_export.xml",
75
- "db/seeds.rb",
76
74
  "features/browse_blog.feature",
77
75
  "features/manage_blog.feature",
78
76
  "features/post_to_blog.feature",
data/config/routes.rb CHANGED
@@ -1,8 +1,4 @@
1
1
  Rails.application.routes.draw do
2
-
3
- resources :blogs
4
- resources :posts
5
-
6
2
  class BlogConstraint
7
3
  def initialize; end
8
4
  def matches?(request)
@@ -18,18 +14,12 @@ Rails.application.routes.draw do
18
14
  get ':blog_slug/:post_slug', :to => 'posts#show'
19
15
  end
20
16
 
21
- class AdminConstraint
22
- def initialize; end
23
- def matches?(request)
24
- request.subdomain =~ /admin/
17
+ namespace :admin do
18
+ resources :blogs do
19
+ resources :posts
25
20
  end
26
21
  end
27
22
 
28
- constraints(AdminConstraint.new) do
29
- namespace :admin do
30
- resources :blogs do
31
- resources :posts
32
- end
33
- end
34
- end
23
+ resources :blogs
24
+ resources :posts
35
25
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blog_logic
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
- - 4
10
- version: 0.7.4
9
+ - 5
10
+ version: 0.7.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bantik
@@ -261,8 +261,6 @@ files:
261
261
  - config/locales/en.yml
262
262
  - config/mongoid.yml
263
263
  - config/routes.rb
264
- - db/imports/wp_export.xml
265
- - db/seeds.rb
266
264
  - features/browse_blog.feature
267
265
  - features/manage_blog.feature
268
266
  - features/post_to_blog.feature