comfy_blog 0.1.5 → 0.1.6

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
- 0.1.5
1
+ 0.1.6
@@ -32,7 +32,7 @@ class Blog::PostsController < ApplicationController
32
32
 
33
33
  def show
34
34
  @post = if params[:slug] && params[:year] && params[:month]
35
- Blog::Post.published.find_by_year_and_year_and_slug!(params[:year], params[:month], params[:slug])
35
+ Blog::Post.published.find_by_year_and_month_and_slug!(params[:year], params[:month], params[:slug])
36
36
  else
37
37
  Blog::Post.published.find(params[:id])
38
38
  end
data/comfy_blog.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "comfy_blog"
8
- s.version = "0.1.5"
8
+ s.version = "0.1.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Oleg Khabarov", "The Working Group Inc."]
12
- s.date = "2012-02-08"
12
+ s.date = "2012-03-15"
13
13
  s.description = ""
14
14
  s.email = "oleg@twg.ca"
15
15
  s.extra_rdoc_files = [
@@ -71,7 +71,6 @@ Gem::Specification.new do |s|
71
71
  "config/environments/test.rb",
72
72
  "config/initializers/comfy_blog.rb",
73
73
  "config/initializers/secret_token.rb",
74
- "config/initializers/wrap_parameters.rb",
75
74
  "config/locales/en.yml",
76
75
  "config/routes.rb",
77
76
  "db/migrate/01_create_comfy_blog.rb",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: comfy_blog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-02-08 00:00:00.000000000Z
13
+ date: 2012-03-15 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
17
- requirement: &70211280481080 !ruby/object:Gem::Requirement
17
+ requirement: &70282754223980 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 3.1.0
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70211280481080
25
+ version_requirements: *70282754223980
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: rails_autolink
28
- requirement: &70211280479140 !ruby/object:Gem::Requirement
28
+ requirement: &70282754223500 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 1.0.4
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *70211280479140
36
+ version_requirements: *70282754223500
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: jquery-rails
39
- requirement: &70211280466080 !ruby/object:Gem::Requirement
39
+ requirement: &70282754223020 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,7 +44,7 @@ dependencies:
44
44
  version: 1.0.0
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *70211280466080
47
+ version_requirements: *70282754223020
48
48
  description: ''
49
49
  email: oleg@twg.ca
50
50
  executables: []
@@ -107,7 +107,6 @@ files:
107
107
  - config/environments/test.rb
108
108
  - config/initializers/comfy_blog.rb
109
109
  - config/initializers/secret_token.rb
110
- - config/initializers/wrap_parameters.rb
111
110
  - config/locales/en.yml
112
111
  - config/routes.rb
113
112
  - db/migrate/01_create_comfy_blog.rb
@@ -157,7 +156,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
157
156
  version: '0'
158
157
  segments:
159
158
  - 0
160
- hash: -503918461499753036
159
+ hash: 2422141203898734413
161
160
  required_rubygems_version: !ruby/object:Gem::Requirement
162
161
  none: false
163
162
  requirements:
@@ -1,14 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
- #
3
- # This file contains settings for ActionController::ParamsWrapper which
4
- # is enabled by default.
5
-
6
- # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
- ActiveSupport.on_load(:action_controller) do
8
- wrap_parameters :format => [:json]
9
- end
10
-
11
- # Disable root element in JSON by default.
12
- ActiveSupport.on_load(:active_record) do
13
- self.include_root_in_json = false
14
- end