Skip to content

Commit

Permalink
removed some debugging puts
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Howard committed Mar 19, 2012
1 parent 30c8fd9 commit 46eca8f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.mdown
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# YattrEncrypted #

Version: 0.1.4 (but you should check lib/yattr_encrypted/version.rb to be sure)
Version: 0.1.5.pre1 (but you should check lib/yattr_encrypted/version.rb to be sure)

## Applicability ##

Expand Down
1 change: 0 additions & 1 deletion lib/yattr_encrypted.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ def yattr_encrypted(*attributes)

# iterate through attributes and create accessors, verify encryped accessors exist
attributes.map { |x| x.to_sym }.each do |attribute|
puts "yate_encrypted: #{attribute}"
encrypted_attribute_name = [options[:prefix], attribute, options[:suffix]].join.to_sym

# barf if reader and write doesn't exist for encrypted attribute
Expand Down
2 changes: 1 addition & 1 deletion lib/yattr_encrypted/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module YattrEncrypted
VERSION = '0.1.4'
VERSION = '0.1.5.pre1'
end
2 changes: 1 addition & 1 deletion test/yattr_encrypted_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class SomeClass < ActiveRecord::Base
yattr_encrypted :special_reader, :key => 'a honkin big key: honk honk honk honk honk',
:read_filter => lambda { |val| val.strip }
yattr_encrypted :special_writer, :key => 'a honkin big key: honk honk honk honk honk',
:write_filter => lambda { |val| puts val; val.upcase }
:write_filter => lambda { |val| val.upcase }
end

class TestYattrEncrypted < MiniTest::Unit::TestCase
Expand Down

0 comments on commit 46eca8f

Please sign in to comment.