blog_logic 0.7.4 → 0.7.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 +1 -1
- data/app/views/admin/posts/_form.html.erb +1 -1
- data/blog_logic.gemspec +1 -3
- data/config/routes.rb +5 -15
- metadata +3 -5
- data/db/imports/wp_export.xml +0 -7194
- data/db/seeds.rb +0 -7
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.5
|
@@ -42,7 +42,7 @@
|
|
42
42
|
<fieldset class="form_container">
|
43
43
|
<%= legend_tag 'Content ' -%>
|
44
44
|
<div class="form_column">
|
45
|
-
<%= f.cktext_area :content, :toolbar => 'Full', :id => 'content_field', :
|
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.
|
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
|
-
|
22
|
-
|
23
|
-
|
24
|
-
request.subdomain =~ /admin/
|
17
|
+
namespace :admin do
|
18
|
+
resources :blogs do
|
19
|
+
resources :posts
|
25
20
|
end
|
26
21
|
end
|
27
22
|
|
28
|
-
|
29
|
-
|
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:
|
4
|
+
hash: 9
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 7
|
9
|
-
-
|
10
|
-
version: 0.7.
|
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
|