pluginaweek / encrypted_strings Goto Github PK
View Code? Open in Web Editor NEWProvides dead-simple string encryption/decryption syntax
Home Page: http://www.pluginaweek.org
License: MIT License
Provides dead-simple string encryption/decryption syntax
Home Page: http://www.pluginaweek.org
License: MIT License
Hello,
this gem seems unmaintained because:
yet the gem is used by many other open source projects (directly or undirectly)
@obrie you are the owner (last committer at least). Would you be ok to transfer the ownership of the gem (especially the abiilyt to push to rubygems.org) to someone else?
Thanks in advance.
Brandon Valentine opened this issue
In several of the encryptor modules you call cattr_accessor which is an ActiveRecord method. On my system I get a dependency error when including encrypted_attributes (which includes encrypted_strings) into a Rails app unless I add require ’active_record’ to encrypted_strings.rb.
I am running Rails 2.0.2 on Ruby 1.8.6 on Mac OS X 10.5.4. Rails is installed via gem as is encrypted_strings (and encrypted_attributes). I have the following in my environment.rb:
@@@
require ’rubygems’
require ’encrypted_attributes’
@@@
If I try to run ./script/console (or any other Rails command) I get:
@@@
% ./script/console
Loading development environment (Rails 2.0.2)
/Library/Ruby/Gems/1.8/gems/encrypted_strings-0.0.4/lib/encrypted_strings/symmetric_encryptor.rb:44:NoMethodError: undefined method cattr_accessor’ for PluginAWeek::EncryptedStrings::SymmetricEncryptor:Class /Library/Ruby/Gems/1.8/gems/actionpack-2.0.2/lib/action_controller/dispatcher.rb:88:NoMethodError: undefined method
cattr_accessor’ for ActionController::Dispatcher:Class
@@@
Adding require ’active_record’ to the top of encrypted_strings.rb fixes it for me. Not sure if this is the correct fix, but it does seem to be working.
This ticket has 0 attachment(s).
Ruby 2.4.0
Basic encryption yields warning message
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.