lib/symmetric-encryption.rb in symmetric-encryption-0.4.0 vs lib/symmetric-encryption.rb in symmetric-encryption-0.5.0
- old
+ new
@@ -1,16 +1,19 @@
-require 'symmetric/version'
-require 'symmetric/cipher'
-require 'symmetric/encryption'
+require 'symmetric_encryption/version'
+require 'symmetric_encryption/cipher'
+require 'symmetric_encryption/symmetric_encryption'
+require 'symmetric_encryption/reader'
+require 'symmetric_encryption/writer'
+require 'zlib'
if defined?(Rails)
- require 'symmetric/railtie'
+ require 'symmetric_encryption/railtie'
end
# attr_encrypted and Encrypted validator
if defined?(ActiveRecord::Base)
- require 'symmetric/extensions/active_record/base'
- require 'symmetric/railties/symmetric_encrypted_validator'
+ require 'symmetric_encryption/extensions/active_record/base'
+ require 'symmetric_encryption/railties/symmetric_encryption_validator'
end
# field encryption for Mongoid
if defined?(Mongoid)
- require 'symmetric/extensions/mongoid/fields'
+ require 'symmetric_encryption/extensions/mongoid/fields'
end