governor_comments 0.2.3 → 0.2.4

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/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ./
3
3
  specs:
4
- governor_comments (0.2.3)
4
+ governor_comments (0.2.4)
5
5
  governor (>= 0.5.0)
6
6
  rails (~> 3.0.5)
7
7
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.3
1
+ 0.2.4
@@ -10,7 +10,7 @@ module Governor
10
10
  helper Governor::Controllers::Helpers
11
11
 
12
12
  def create
13
- params[:comment][:commenter] = governor_logged_in? ? the_governor : Guest.find_or_create_by_email(params[:comment][:commenter])
13
+ params[:comment][:commenter] = governor_logged_in? ? the_governor : Guest.find_or_initialize_by_email(params[:comment][:commenter])
14
14
  @comment = resource.comments.new(params[:comment])
15
15
 
16
16
  respond_to do |format|
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{governor_comments}
8
- s.version = "0.2.3"
8
+ s.version = "0.2.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Liam Morley"]
@@ -8,7 +8,7 @@ GIT
8
8
  PATH
9
9
  remote: ../..
10
10
  specs:
11
- governor_comments (0.2.3)
11
+ governor_comments (0.2.4)
12
12
  governor (>= 0.5.0)
13
13
  rails (~> 3.0.5)
14
14
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: governor_comments
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 3
10
- version: 0.2.3
9
+ - 4
10
+ version: 0.2.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Liam Morley