diff --git a/Gemfile b/Gemfile index 652ab35..1a6c020 100644 --- a/Gemfile +++ b/Gemfile @@ -6,6 +6,7 @@ source "http://rubygems.org" # Add dependencies to develop your gem here. # Include everything needed to run rake, tests, features, etc. group :development do + gem "test-unit" gem "shoulda" gem "bundler" gem "jeweler" diff --git a/lib/aes/aes.rb b/lib/aes/aes.rb index 0c09c89..5235ad4 100644 --- a/lib/aes/aes.rb +++ b/lib/aes/aes.rb @@ -148,7 +148,7 @@ def _handle_padding # Create a new cipher using the cipher type specified def _setup(action) - @cipher ||= OpenSSL::Cipher::Cipher.new(@options[:cipher]) + @cipher ||= OpenSSL::Cipher.new(@options[:cipher]) # Toggles encryption mode @cipher.send(action) @cipher.padding = @options[:padding]