refinerycms-blog 1.5.2 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. data/app/controllers/admin/blog/posts_controller.rb +7 -0
  2. data/app/controllers/blog/categories_controller.rb +4 -0
  3. data/app/models/blog_category.rb +4 -1
  4. data/app/models/blog_post.rb +10 -1
  5. data/app/views/admin/blog/_submenu.html.erb +2 -9
  6. data/app/views/admin/blog/comments/show.html.erb +2 -5
  7. data/app/views/admin/blog/posts/_form.html.erb +39 -11
  8. data/app/views/admin/blog/posts/_form.js.erb +3 -11
  9. data/app/views/admin/blog/posts/_form_part.html.erb +3 -0
  10. data/app/views/blog/categories/show.html.erb +5 -4
  11. data/app/views/blog/posts/_post.html.erb +4 -4
  12. data/app/views/blog/posts/show.html.erb +8 -21
  13. data/app/views/blog/posts/tagged.html.erb +1 -1
  14. data/app/views/blog/shared/_post.html.erb +4 -4
  15. data/app/views/blog/shared/_tags.html.erb +1 -1
  16. data/app/views/shared/admin/_autocomplete.html.erb +55 -0
  17. data/changelog.md +9 -0
  18. data/config/locales/de.yml +2 -0
  19. data/config/locales/en.yml +23 -1
  20. data/config/locales/fr.yml +31 -2
  21. data/config/locales/nl.yml +3 -3
  22. data/config/locales/pt-BR.yml +10 -0
  23. data/config/locales/ru.yml +3 -0
  24. data/config/routes.rb +4 -1
  25. data/db/migrate/5_add_cached_slugs.rb +11 -0
  26. data/db/migrate/6_add_custom_url_field_to_blog_posts.rb +9 -0
  27. data/features/authors.feature +1 -1
  28. data/features/category.feature +23 -0
  29. data/features/support/step_definitions/category_steps.rb +11 -0
  30. data/features/tags.feature +1 -1
  31. data/lib/refinery/blog/tabs.rb +28 -0
  32. data/lib/refinery/blog/version.rb +2 -2
  33. data/lib/refinerycms-blog.rb +6 -1
  34. data/public/stylesheets/refinerycms-blog.css +3 -2
  35. data/public/stylesheets/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  36. data/public/stylesheets/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  37. data/public/stylesheets/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
  38. data/public/stylesheets/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  39. data/public/stylesheets/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  40. data/public/stylesheets/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  41. data/public/stylesheets/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  42. data/public/stylesheets/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  43. data/public/stylesheets/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  44. data/public/stylesheets/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
  45. data/public/stylesheets/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
  46. data/public/stylesheets/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
  47. data/public/stylesheets/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
  48. data/public/stylesheets/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
  49. data/public/stylesheets/ui-lightness/jquery-ui-1.8.13.custom.css +337 -0
  50. metadata +77 -62
metadata CHANGED
@@ -1,83 +1,80 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-blog
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.6.0
4
5
  prerelease:
5
- version: 1.5.2
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Resolve Digital
9
9
  - Neoteric Design
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
-
14
- date: 2011-05-28 00:00:00 +12:00
13
+ date: 2011-06-21 00:00:00.000000000 +12:00
15
14
  default_executable:
16
- dependencies:
17
- - !ruby/object:Gem::Dependency
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
18
17
  name: refinerycms-core
19
- prerelease: false
20
- requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirement: &2152830920 !ruby/object:Gem::Requirement
21
19
  none: false
22
- requirements:
20
+ requirements:
23
21
  - - ~>
24
- - !ruby/object:Gem::Version
22
+ - !ruby/object:Gem::Version
25
23
  version: 1.0.0
26
24
  type: :runtime
27
- version_requirements: *id001
28
- - !ruby/object:Gem::Dependency
29
- name: filters_spam
30
25
  prerelease: false
31
- requirement: &id002 !ruby/object:Gem::Requirement
26
+ version_requirements: *2152830920
27
+ - !ruby/object:Gem::Dependency
28
+ name: filters_spam
29
+ requirement: &2152830220 !ruby/object:Gem::Requirement
32
30
  none: false
33
- requirements:
31
+ requirements:
34
32
  - - ~>
35
- - !ruby/object:Gem::Version
36
- version: "0.2"
33
+ - !ruby/object:Gem::Version
34
+ version: '0.2'
37
35
  type: :runtime
38
- version_requirements: *id002
39
- - !ruby/object:Gem::Dependency
40
- name: acts-as-taggable-on
41
36
  prerelease: false
42
- requirement: &id003 !ruby/object:Gem::Requirement
37
+ version_requirements: *2152830220
38
+ - !ruby/object:Gem::Dependency
39
+ name: acts-as-taggable-on
40
+ requirement: &2152829420 !ruby/object:Gem::Requirement
43
41
  none: false
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: "0"
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
48
46
  type: :runtime
49
- version_requirements: *id003
50
- - !ruby/object:Gem::Dependency
51
- name: seo_meta
52
47
  prerelease: false
53
- requirement: &id004 !ruby/object:Gem::Requirement
48
+ version_requirements: *2152829420
49
+ - !ruby/object:Gem::Dependency
50
+ name: seo_meta
51
+ requirement: &2152828600 !ruby/object:Gem::Requirement
54
52
  none: false
55
- requirements:
53
+ requirements:
56
54
  - - ~>
57
- - !ruby/object:Gem::Version
55
+ - !ruby/object:Gem::Version
58
56
  version: 1.1.0
59
57
  type: :runtime
60
- version_requirements: *id004
61
- - !ruby/object:Gem::Dependency
62
- name: factory_girl
63
58
  prerelease: false
64
- requirement: &id005 !ruby/object:Gem::Requirement
59
+ version_requirements: *2152828600
60
+ - !ruby/object:Gem::Dependency
61
+ name: factory_girl
62
+ requirement: &2152822820 !ruby/object:Gem::Requirement
65
63
  none: false
66
- requirements:
67
- - - ">="
68
- - !ruby/object:Gem::Version
69
- version: "0"
64
+ requirements:
65
+ - - ! '>='
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
70
68
  type: :development
71
- version_requirements: *id005
72
- description: A really straightforward open source Ruby on Rails blog engine designed for integration with RefineryCMS.
69
+ prerelease: false
70
+ version_requirements: *2152822820
71
+ description: A really straightforward open source Ruby on Rails blog engine designed
72
+ for integration with RefineryCMS.
73
73
  email: info@refinerycms.com
74
74
  executables: []
75
-
76
75
  extensions: []
77
-
78
76
  extra_rdoc_files: []
79
-
80
- files:
77
+ files:
81
78
  - app/controllers/admin/blog/categories_controller.rb
82
79
  - app/controllers/admin/blog/comments_controller.rb
83
80
  - app/controllers/admin/blog/posts_controller.rb
@@ -106,6 +103,7 @@ files:
106
103
  - app/views/admin/blog/posts/_form.css.erb
107
104
  - app/views/admin/blog/posts/_form.html.erb
108
105
  - app/views/admin/blog/posts/_form.js.erb
106
+ - app/views/admin/blog/posts/_form_part.html.erb
109
107
  - app/views/admin/blog/posts/_post.html.erb
110
108
  - app/views/admin/blog/posts/_sortable_list.html.erb
111
109
  - app/views/admin/blog/posts/edit.html.erb
@@ -128,6 +126,7 @@ files:
128
126
  - app/views/blog/shared/_posts.html.erb
129
127
  - app/views/blog/shared/_rss_feed.html.erb
130
128
  - app/views/blog/shared/_tags.html.erb
129
+ - app/views/shared/admin/_autocomplete.html.erb
131
130
  - changelog.md
132
131
  - config/locales/cs.yml
133
132
  - config/locales/de.yml
@@ -147,17 +146,22 @@ files:
147
146
  - db/migrate/2_add_user_id_to_blog_posts.rb
148
147
  - db/migrate/3_acts_as_taggable_on_migration.rb
149
148
  - db/migrate/4_create_seo_meta_for_blog.rb
149
+ - db/migrate/5_add_cached_slugs.rb
150
+ - db/migrate/6_add_custom_url_field_to_blog_posts.rb
150
151
  - db/seeds/refinerycms_blog.rb
151
152
  - features/authors.feature
153
+ - features/category.feature
152
154
  - features/support/factories/blog_categories.rb
153
155
  - features/support/factories/blog_comments.rb
154
156
  - features/support/factories/blog_posts.rb
155
157
  - features/support/paths.rb
156
158
  - features/support/step_definitions/authors_steps.rb
159
+ - features/support/step_definitions/category_steps.rb
157
160
  - features/support/step_definitions/tags_steps.rb
158
161
  - features/tags.feature
159
162
  - lib/gemspec.rb
160
163
  - lib/generators/refinerycms_blog_generator.rb
164
+ - lib/refinery/blog/tabs.rb
161
165
  - lib/refinery/blog/version.rb
162
166
  - lib/refinerycms-blog.rb
163
167
  - public/images/refinerycms-blog/icons/cog.png
@@ -178,6 +182,21 @@ files:
178
182
  - public/javascripts/refinerycms-blog.js
179
183
  - public/stylesheets/refinery/refinerycms-blog.css
180
184
  - public/stylesheets/refinerycms-blog.css
185
+ - public/stylesheets/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png
186
+ - public/stylesheets/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png
187
+ - public/stylesheets/ui-lightness/images/ui-bg_flat_10_000000_40x100.png
188
+ - public/stylesheets/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png
189
+ - public/stylesheets/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png
190
+ - public/stylesheets/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png
191
+ - public/stylesheets/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png
192
+ - public/stylesheets/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
193
+ - public/stylesheets/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png
194
+ - public/stylesheets/ui-lightness/images/ui-icons_222222_256x240.png
195
+ - public/stylesheets/ui-lightness/images/ui-icons_228ef1_256x240.png
196
+ - public/stylesheets/ui-lightness/images/ui-icons_ef8c08_256x240.png
197
+ - public/stylesheets/ui-lightness/images/ui-icons_ffd27a_256x240.png
198
+ - public/stylesheets/ui-lightness/images/ui-icons_ffffff_256x240.png
199
+ - public/stylesheets/ui-lightness/jquery-ui-1.8.13.custom.css
181
200
  - readme.md
182
201
  - spec/models/blog_category_spec.rb
183
202
  - spec/models/blog_comment_spec.rb
@@ -185,30 +204,26 @@ files:
185
204
  has_rdoc: true
186
205
  homepage: http://refinerycms.com/blog
187
206
  licenses: []
188
-
189
207
  post_install_message:
190
208
  rdoc_options: []
191
-
192
- require_paths:
209
+ require_paths:
193
210
  - lib
194
- required_ruby_version: !ruby/object:Gem::Requirement
211
+ required_ruby_version: !ruby/object:Gem::Requirement
195
212
  none: false
196
- requirements:
197
- - - ">="
198
- - !ruby/object:Gem::Version
199
- version: "0"
200
- required_rubygems_version: !ruby/object:Gem::Requirement
213
+ requirements:
214
+ - - ! '>='
215
+ - !ruby/object:Gem::Version
216
+ version: '0'
217
+ required_rubygems_version: !ruby/object:Gem::Requirement
201
218
  none: false
202
- requirements:
203
- - - ">="
204
- - !ruby/object:Gem::Version
205
- version: "0"
219
+ requirements:
220
+ - - ! '>='
221
+ - !ruby/object:Gem::Version
222
+ version: '0'
206
223
  requirements: []
207
-
208
224
  rubyforge_project:
209
225
  rubygems_version: 1.6.2
210
226
  signing_key:
211
227
  specification_version: 3
212
228
  summary: Ruby on Rails blogging engine for RefineryCMS.
213
229
  test_files: []
214
-