aeonscope-acts_as_commentable 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ = v1.1.0
2
+
3
+ * Moved all comment options to the acts_as_comment method.
4
+
1
5
  = v1.0.0
2
6
 
3
7
  * Initial version.
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :patch: 0
3
3
  :major: 1
4
- :minor: 0
4
+ :minor: 1
@@ -8,7 +8,7 @@ module ActsAsComment
8
8
  options.reverse_merge! :commentable_label => "label", :comment_label => "label"
9
9
  # Default the comment label to the commentable label.
10
10
  if self.instance_eval("self.#{options[:comment_label]}").blank? && commentable && commentable.respond_to?(options[:commentable_label])
11
- instance_eval("self.#{options[:comment_label]} = "RE: " + commentable.#{options[:commentable_label]}")
11
+ instance_eval("self.#{options[:comment_label]} = 'RE: ' + commentable.#{options[:commentable_label]}")
12
12
  end
13
13
  end
14
14
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aeonscope-acts_as_commentable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann