crankharder-friendlyErrorMessages 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.3.2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{friendlyErrorMessages}
8
- s.version = "0.3.1"
8
+ s.version = "0.3.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Josh Sharpe"]
@@ -18,8 +18,11 @@ module ActiveRecord
18
18
 
19
19
  class Base
20
20
  def self.exclude_unfriendly_attributes(*args)
21
- attr_accessor :friendly_excluded_attributes
22
- friendly_excluded_attributes = args
21
+ @friendly_excluded_attributes = args
22
+ end
23
+
24
+ def self.friendly_excluded_attributes
25
+ @friendly_excluded_attributes
23
26
  end
24
27
  end
25
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crankharder-friendlyErrorMessages
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Sharpe