encrypted_strings 0.3.0 → 0.3.1

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/CHANGELOG.rdoc CHANGED
@@ -1,5 +1,9 @@
1
1
  == master
2
2
 
3
+ == 0.3.1 / 2008-12-4
4
+
5
+ * Fix symmetric ciphers not working on Ruby 1.8.6 and below
6
+
3
7
  == 0.3.0 / 2008-12-14
4
8
 
5
9
  * Remove the PluginAWeek namespace
data/Rakefile CHANGED
@@ -5,7 +5,7 @@ require 'rake/contrib/sshpublisher'
5
5
 
6
6
  spec = Gem::Specification.new do |s|
7
7
  s.name = 'encrypted_strings'
8
- s.version = '0.3.0'
8
+ s.version = '0.3.1'
9
9
  s.platform = Gem::Platform::RUBY
10
10
  s.summary = 'Dead-simple string encryption/decryption syntax.'
11
11
 
@@ -92,7 +92,7 @@ module EncryptedStrings
92
92
 
93
93
  private
94
94
  def build_cipher(type) #:nodoc:
95
- cipher = OpenSSL::Cipher.new(algorithm).send(type)
95
+ cipher = OpenSSL::Cipher::Cipher.new(algorithm).send(type)
96
96
  cipher.pkcs5_keyivgen(password)
97
97
  cipher
98
98
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: encrypted_strings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Pfeifer