auto_hash 0.1.0

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.
Files changed (80) hide show
  1. data/.document +5 -0
  2. data/.gitignore +22 -0
  3. data/LICENSE +20 -0
  4. data/README.rdoc +54 -0
  5. data/Rakefile +41 -0
  6. data/VERSION +1 -0
  7. data/auto_hash.gemspec +160 -0
  8. data/created.rid +1 -0
  9. data/init.rb +4 -0
  10. data/lib/auto_hash.rb +85 -0
  11. data/log/test.log +0 -0
  12. data/test/common/user_test.rb +59 -0
  13. data/test/rails2x_root/Rakefile +10 -0
  14. data/test/rails2x_root/app/controllers/application_controller.rb +10 -0
  15. data/test/rails2x_root/app/helpers/application_helper.rb +3 -0
  16. data/test/rails2x_root/app/models/user.rb +5 -0
  17. data/test/rails2x_root/config/boot.rb +110 -0
  18. data/test/rails2x_root/config/database.yml +22 -0
  19. data/test/rails2x_root/config/environment.rb +29 -0
  20. data/test/rails2x_root/config/environments/development.rb +17 -0
  21. data/test/rails2x_root/config/environments/production.rb +28 -0
  22. data/test/rails2x_root/config/environments/test.rb +28 -0
  23. data/test/rails2x_root/config/initializers/backtrace_silencers.rb +7 -0
  24. data/test/rails2x_root/config/initializers/cookie_verification_secret.rb +7 -0
  25. data/test/rails2x_root/config/initializers/inflections.rb +10 -0
  26. data/test/rails2x_root/config/initializers/mime_types.rb +5 -0
  27. data/test/rails2x_root/config/initializers/new_rails_defaults.rb +21 -0
  28. data/test/rails2x_root/config/initializers/session_store.rb +15 -0
  29. data/test/rails2x_root/config/locales/en.yml +5 -0
  30. data/test/rails2x_root/config/routes.rb +43 -0
  31. data/test/rails2x_root/db/development.sqlite3 +0 -0
  32. data/test/rails2x_root/db/migrate/20100803040436_create_users.rb +13 -0
  33. data/test/rails2x_root/db/schema.rb +21 -0
  34. data/test/rails2x_root/db/seeds.rb +7 -0
  35. data/test/rails2x_root/db/test.sqlite3 +0 -0
  36. data/test/rails2x_root/log/development.log +1362 -0
  37. data/test/rails2x_root/log/production.log +0 -0
  38. data/test/rails2x_root/log/server.log +0 -0
  39. data/test/rails2x_root/log/test.log +74 -0
  40. data/test/rails2x_root/script/about +4 -0
  41. data/test/rails2x_root/script/console +3 -0
  42. data/test/rails2x_root/script/dbconsole +3 -0
  43. data/test/rails2x_root/script/destroy +3 -0
  44. data/test/rails2x_root/script/generate +3 -0
  45. data/test/rails2x_root/script/performance/benchmarker +3 -0
  46. data/test/rails2x_root/script/performance/profiler +3 -0
  47. data/test/rails2x_root/script/plugin +3 -0
  48. data/test/rails2x_root/script/runner +3 -0
  49. data/test/rails2x_root/script/server +3 -0
  50. data/test/rails2x_root/test/test_helper.rb +39 -0
  51. data/test/rails2x_root/test/unit/user_test.rb +59 -0
  52. data/test/rails3x_root/.gitignore +4 -0
  53. data/test/rails3x_root/Gemfile +33 -0
  54. data/test/rails3x_root/Gemfile.lock +81 -0
  55. data/test/rails3x_root/Rakefile +7 -0
  56. data/test/rails3x_root/app/controllers/application_controller.rb +3 -0
  57. data/test/rails3x_root/app/helpers/application_helper.rb +2 -0
  58. data/test/rails3x_root/app/models/user.rb +6 -0
  59. data/test/rails3x_root/app/views/layouts/application.html.erb +14 -0
  60. data/test/rails3x_root/config/application.rb +42 -0
  61. data/test/rails3x_root/config/boot.rb +13 -0
  62. data/test/rails3x_root/config/database.yml +22 -0
  63. data/test/rails3x_root/config/environment.rb +6 -0
  64. data/test/rails3x_root/config/environments/development.rb +22 -0
  65. data/test/rails3x_root/config/environments/production.rb +49 -0
  66. data/test/rails3x_root/config/environments/test.rb +35 -0
  67. data/test/rails3x_root/config/initializers/backtrace_silencers.rb +7 -0
  68. data/test/rails3x_root/config/initializers/inflections.rb +10 -0
  69. data/test/rails3x_root/config/initializers/mime_types.rb +5 -0
  70. data/test/rails3x_root/config/initializers/secret_token.rb +7 -0
  71. data/test/rails3x_root/config/initializers/session_store.rb +8 -0
  72. data/test/rails3x_root/config/locales/en.yml +5 -0
  73. data/test/rails3x_root/config/routes.rb +58 -0
  74. data/test/rails3x_root/db/migrate/20100804020911_create_users.rb +13 -0
  75. data/test/rails3x_root/db/schema.rb +22 -0
  76. data/test/rails3x_root/db/seeds.rb +7 -0
  77. data/test/rails3x_root/script/rails +6 -0
  78. data/test/rails3x_root/test/test_helper.rb +13 -0
  79. data/test/rails3x_root/test/unit/user_test.rb +59 -0
  80. metadata +188 -0
@@ -0,0 +1,22 @@
1
+ # SQLite version 3.x
2
+ # gem install sqlite3-ruby (not necessary on OS X Leopard)
3
+ development:
4
+ adapter: sqlite3
5
+ database: db/development.sqlite3
6
+ pool: 5
7
+ timeout: 5000
8
+
9
+ # Warning: The database defined as "test" will be erased and
10
+ # re-generated from your development database when you run "rake".
11
+ # Do not set this db to the same as development or production.
12
+ test:
13
+ adapter: sqlite3
14
+ database: db/test.sqlite3
15
+ pool: 5
16
+ timeout: 5000
17
+
18
+ production:
19
+ adapter: sqlite3
20
+ database: db/production.sqlite3
21
+ pool: 5
22
+ timeout: 5000
@@ -0,0 +1,6 @@
1
+ # Load the rails application
2
+ require File.expand_path('../application', __FILE__)
3
+
4
+ # Initialize the rails application
5
+ Rails3xRoot::Application.initialize!
6
+
@@ -0,0 +1,22 @@
1
+ Rails3xRoot::Application.configure do
2
+ # Settings specified here will take precedence over those in config/environment.rb
3
+
4
+ # In the development environment your application's code is reloaded on
5
+ # every request. This slows down response time but is perfect for development
6
+ # since you don't have to restart the webserver when you make code changes.
7
+ config.cache_classes = false
8
+
9
+ # Log error messages when you accidentally call methods on nil.
10
+ config.whiny_nils = true
11
+
12
+ # Show full error reports and disable caching
13
+ config.consider_all_requests_local = true
14
+ config.action_view.debug_rjs = true
15
+ config.action_controller.perform_caching = false
16
+
17
+ # Don't care if the mailer can't send
18
+ config.action_mailer.raise_delivery_errors = false
19
+
20
+ # Print deprecation notices to the Rails logger
21
+ config.active_support.deprecation = :log
22
+ end
@@ -0,0 +1,49 @@
1
+ Rails3xRoot::Application.configure do
2
+ # Settings specified here will take precedence over those in config/environment.rb
3
+
4
+ # The production environment is meant for finished, "live" apps.
5
+ # Code is not reloaded between requests
6
+ config.cache_classes = true
7
+
8
+ # Full error reports are disabled and caching is turned on
9
+ config.consider_all_requests_local = false
10
+ config.action_controller.perform_caching = true
11
+
12
+ # Specifies the header that your server uses for sending files
13
+ config.action_dispatch.x_sendfile_header = "X-Sendfile"
14
+
15
+ # For nginx:
16
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect'
17
+
18
+ # If you have no front-end server that supports something like X-Sendfile,
19
+ # just comment this out and Rails will serve the files
20
+
21
+ # See everything in the log (default is :info)
22
+ # config.log_level = :debug
23
+
24
+ # Use a different logger for distributed setups
25
+ # config.logger = SyslogLogger.new
26
+
27
+ # Use a different cache store in production
28
+ # config.cache_store = :mem_cache_store
29
+
30
+ # Disable Rails's static asset server
31
+ # In production, Apache or nginx will already do this
32
+ config.serve_static_assets = false
33
+
34
+ # Enable serving of images, stylesheets, and javascripts from an asset server
35
+ # config.action_controller.asset_host = "http://assets.example.com"
36
+
37
+ # Disable delivery errors, bad email addresses will be ignored
38
+ # config.action_mailer.raise_delivery_errors = false
39
+
40
+ # Enable threaded mode
41
+ # config.threadsafe!
42
+
43
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
44
+ # the I18n.default_locale when a translation can not be found)
45
+ config.i18n.fallbacks = true
46
+
47
+ # Send deprecation notices to registered listeners
48
+ config.active_support.deprecation = :notify
49
+ end
@@ -0,0 +1,35 @@
1
+ Rails3xRoot::Application.configure do
2
+ # Settings specified here will take precedence over those in config/environment.rb
3
+
4
+ # The test environment is used exclusively to run your application's
5
+ # test suite. You never need to work with it otherwise. Remember that
6
+ # your test database is "scratch space" for the test suite and is wiped
7
+ # and recreated between test runs. Don't rely on the data there!
8
+ config.cache_classes = true
9
+
10
+ # Log error messages when you accidentally call methods on nil.
11
+ config.whiny_nils = true
12
+
13
+ # Show full error reports and disable caching
14
+ config.consider_all_requests_local = true
15
+ config.action_controller.perform_caching = false
16
+
17
+ # Raise exceptions instead of rendering exception templates
18
+ config.action_dispatch.show_exceptions = false
19
+
20
+ # Disable request forgery protection in test environment
21
+ config.action_controller.allow_forgery_protection = false
22
+
23
+ # Tell Action Mailer not to deliver emails to the real world.
24
+ # The :test delivery method accumulates sent emails in the
25
+ # ActionMailer::Base.deliveries array.
26
+ config.action_mailer.delivery_method = :test
27
+
28
+ # Use SQL instead of Active Record's schema dumper when creating the test database.
29
+ # This is necessary if your schema can't be completely dumped by the schema dumper,
30
+ # like if you have constraints or database-specific column types
31
+ # config.active_record.schema_format = :sql
32
+
33
+ # Print deprecation notices to the stderr
34
+ config.active_support.deprecation = :stderr
35
+ end
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,10 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format
4
+ # (all these examples are active by default):
5
+ # ActiveSupport::Inflector.inflections do |inflect|
6
+ # inflect.plural /^(ox)$/i, '\1en'
7
+ # inflect.singular /^(ox)en/i, '\1'
8
+ # inflect.irregular 'person', 'people'
9
+ # inflect.uncountable %w( fish sheep )
10
+ # end
@@ -0,0 +1,5 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
5
+ # Mime::Type.register_alias "text/html", :iphone
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+ # Make sure the secret is at least 30 characters and all random,
6
+ # no regular words or you'll be exposed to dictionary attacks.
7
+ Rails3xRoot::Application.config.secret_token = '144fb95affa0e85daf7fb455b287cce0d1b3f57de098612e66edebb349a7fd305adb109f1802ef4a173a12078a39b8baf7bf336e0e1273f67a72ecfa5425e4ab'
@@ -0,0 +1,8 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails3xRoot::Application.config.session_store :cookie_store, :key => '_rails3x_root_session'
4
+
5
+ # Use the database for sessions instead of the cookie-based default,
6
+ # which shouldn't be used to store highly confidential information
7
+ # (create the session table with "rake db:sessions:create")
8
+ # Rails3xRoot::Application.config.session_store :active_record_store
@@ -0,0 +1,5 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ en:
5
+ hello: "Hello world"
@@ -0,0 +1,58 @@
1
+ Rails3xRoot::Application.routes.draw do
2
+ # The priority is based upon order of creation:
3
+ # first created -> highest priority.
4
+
5
+ # Sample of regular route:
6
+ # match 'products/:id' => 'catalog#view'
7
+ # Keep in mind you can assign values other than :controller and :action
8
+
9
+ # Sample of named route:
10
+ # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
11
+ # This route can be invoked with purchase_url(:id => product.id)
12
+
13
+ # Sample resource route (maps HTTP verbs to controller actions automatically):
14
+ # resources :products
15
+
16
+ # Sample resource route with options:
17
+ # resources :products do
18
+ # member do
19
+ # get :short
20
+ # post :toggle
21
+ # end
22
+ #
23
+ # collection do
24
+ # get :sold
25
+ # end
26
+ # end
27
+
28
+ # Sample resource route with sub-resources:
29
+ # resources :products do
30
+ # resources :comments, :sales
31
+ # resource :seller
32
+ # end
33
+
34
+ # Sample resource route with more complex sub-resources
35
+ # resources :products do
36
+ # resources :comments
37
+ # resources :sales do
38
+ # get :recent, :on => :collection
39
+ # end
40
+ # end
41
+
42
+ # Sample resource route within a namespace:
43
+ # namespace :admin do
44
+ # # Directs /admin/products/* to Admin::ProductsController
45
+ # # (app/controllers/admin/products_controller.rb)
46
+ # resources :products
47
+ # end
48
+
49
+ # You can have the root of your site routed with "root"
50
+ # just remember to delete public/index.html.
51
+ # root :to => "welcome#index"
52
+
53
+ # See how all your routes lay out with "rake routes"
54
+
55
+ # This is a legacy wild controller route that's not recommended for RESTful applications.
56
+ # Note: This route will make all actions in every controller accessible via GET requests.
57
+ # match ':controller(/:action(/:id(.:format)))'
58
+ end
@@ -0,0 +1,13 @@
1
+ class CreateUsers < ActiveRecord::Migration
2
+ def self.up
3
+ create_table :users do |t|
4
+ t.string :username
5
+ t.string :password
6
+ t.timestamps
7
+ end
8
+ end
9
+
10
+ def self.down
11
+ drop_table :users
12
+ end
13
+ end
@@ -0,0 +1,22 @@
1
+ # This file is auto-generated from the current state of the database. Instead
2
+ # of editing this file, please use the migrations feature of Active Record to
3
+ # incrementally modify your database, and then regenerate this schema definition.
4
+ #
5
+ # Note that this schema.rb definition is the authoritative source for your
6
+ # database schema. If you need to create the application database on another
7
+ # system, you should be using db:schema:load, not running all the migrations
8
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
9
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
10
+ #
11
+ # It's strongly recommended to check this file into your version control system.
12
+
13
+ ActiveRecord::Schema.define(:version => 20100804020911) do
14
+
15
+ create_table "users", :force => true do |t|
16
+ t.string "username"
17
+ t.string "password"
18
+ t.datetime "created_at"
19
+ t.datetime "updated_at"
20
+ end
21
+
22
+ end
@@ -0,0 +1,7 @@
1
+ # This file should contain all the record creation needed to seed the database with its default values.
2
+ # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
3
+ #
4
+ # Examples:
5
+ #
6
+ # cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }])
7
+ # Mayor.create(:name => 'Daley', :city => cities.first)
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
@@ -0,0 +1,13 @@
1
+ ENV["RAILS_ENV"] = "test"
2
+ require File.expand_path('../../config/environment', __FILE__)
3
+ require 'rails/test_help'
4
+
5
+ class ActiveSupport::TestCase
6
+ # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
7
+ #
8
+ # Note: You'll currently still have to declare fixtures explicitly in integration tests
9
+ # -- they do not yet inherit this setting
10
+ fixtures :all
11
+
12
+ # Add more helper methods to be used by all tests here...
13
+ end
@@ -0,0 +1,59 @@
1
+ require 'test_helper'
2
+
3
+ # Note: all these test depend on "autotest :password" being in the User model
4
+
5
+ class UserTest < ActiveSupport::TestCase
6
+
7
+ test "simple instantiation" do
8
+
9
+ @user = User.new(:username => "kevin", :password => "asdf")
10
+ assert @user
11
+
12
+ end
13
+
14
+ # We can't exactly test if the new password is a correctly hashed
15
+ # password until running the comparer method, but we can check if
16
+ # its nil or blank, or its not still the clear text password - which
17
+ # would be quite a bug.
18
+ test "password hashed" do
19
+
20
+ original_password = "asdf"
21
+ @user = User.new(:username => "kevin", :password => original_password)
22
+
23
+ assert_equal "kevin", @user.username # make sure other fields untouched
24
+ assert_not_equal nil, @user.password
25
+ assert_not_equal "", @user.password
26
+ assert_not_equal original_password, @user.password
27
+
28
+ end
29
+
30
+ # Finally test the comparer method
31
+ test "matching" do
32
+
33
+ original_password = "asdf"
34
+ @user = User.new(:username => "kevin", :password => original_password)
35
+
36
+ assert @user.password_hash_match?(original_password)
37
+ assert ! @user.password_hash_match?("banana")
38
+ assert ! @user.password_hash_match?("")
39
+ assert ! @user.password_hash_match?(nil)
40
+
41
+ end
42
+
43
+ # Test whole circuit, including writing and reading from database.
44
+ test "write, find, match" do
45
+
46
+ original_password = "asdf"
47
+ @user = User.new(:username => "kevin", :password => original_password)
48
+ @user.save
49
+
50
+ user = User.find_by_username("kevin")
51
+
52
+ assert user.password_hash_match?(original_password)
53
+ assert ! user.password_hash_match?("banana")
54
+ assert ! user.password_hash_match?("")
55
+ assert ! user.password_hash_match?(nil)
56
+
57
+ end
58
+
59
+ end
metadata ADDED
@@ -0,0 +1,188 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: auto_hash
3
+ version: !ruby/object:Gem::Version
4
+ hash: 27
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 0
10
+ version: 0.1.0
11
+ platform: ruby
12
+ authors:
13
+ - Kevin Swope
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-08-05 00:00:00 -04:00
19
+ default_executable:
20
+ dependencies: []
21
+
22
+ description: Ruby on Rails plugin to automate hashing an activerecord field and saving as a salt and digest in a single field.
23
+ email: gems-kevdev@snkmail.com
24
+ executables: []
25
+
26
+ extensions: []
27
+
28
+ extra_rdoc_files:
29
+ - LICENSE
30
+ - README.html
31
+ - README.rdoc
32
+ files:
33
+ - .document
34
+ - .gitignore
35
+ - LICENSE
36
+ - README.rdoc
37
+ - Rakefile
38
+ - VERSION
39
+ - auto_hash.gemspec
40
+ - created.rid
41
+ - init.rb
42
+ - lib/auto_hash.rb
43
+ - log/test.log
44
+ - test/common/user_test.rb
45
+ - test/rails2x_root/Rakefile
46
+ - test/rails2x_root/app/controllers/application_controller.rb
47
+ - test/rails2x_root/app/helpers/application_helper.rb
48
+ - test/rails2x_root/app/models/user.rb
49
+ - test/rails2x_root/config/boot.rb
50
+ - test/rails2x_root/config/database.yml
51
+ - test/rails2x_root/config/environment.rb
52
+ - test/rails2x_root/config/environments/development.rb
53
+ - test/rails2x_root/config/environments/production.rb
54
+ - test/rails2x_root/config/environments/test.rb
55
+ - test/rails2x_root/config/initializers/backtrace_silencers.rb
56
+ - test/rails2x_root/config/initializers/cookie_verification_secret.rb
57
+ - test/rails2x_root/config/initializers/inflections.rb
58
+ - test/rails2x_root/config/initializers/mime_types.rb
59
+ - test/rails2x_root/config/initializers/new_rails_defaults.rb
60
+ - test/rails2x_root/config/initializers/session_store.rb
61
+ - test/rails2x_root/config/locales/en.yml
62
+ - test/rails2x_root/config/routes.rb
63
+ - test/rails2x_root/db/development.sqlite3
64
+ - test/rails2x_root/db/migrate/20100803040436_create_users.rb
65
+ - test/rails2x_root/db/schema.rb
66
+ - test/rails2x_root/db/seeds.rb
67
+ - test/rails2x_root/db/test.sqlite3
68
+ - test/rails2x_root/log/development.log
69
+ - test/rails2x_root/log/production.log
70
+ - test/rails2x_root/log/server.log
71
+ - test/rails2x_root/log/test.log
72
+ - test/rails2x_root/script/about
73
+ - test/rails2x_root/script/console
74
+ - test/rails2x_root/script/dbconsole
75
+ - test/rails2x_root/script/destroy
76
+ - test/rails2x_root/script/generate
77
+ - test/rails2x_root/script/performance/benchmarker
78
+ - test/rails2x_root/script/performance/profiler
79
+ - test/rails2x_root/script/plugin
80
+ - test/rails2x_root/script/runner
81
+ - test/rails2x_root/script/server
82
+ - test/rails2x_root/test/test_helper.rb
83
+ - test/rails2x_root/test/unit/user_test.rb
84
+ - test/rails3x_root/.gitignore
85
+ - test/rails3x_root/Gemfile
86
+ - test/rails3x_root/Gemfile.lock
87
+ - test/rails3x_root/Rakefile
88
+ - test/rails3x_root/app/controllers/application_controller.rb
89
+ - test/rails3x_root/app/helpers/application_helper.rb
90
+ - test/rails3x_root/app/models/user.rb
91
+ - test/rails3x_root/app/views/layouts/application.html.erb
92
+ - test/rails3x_root/config/application.rb
93
+ - test/rails3x_root/config/boot.rb
94
+ - test/rails3x_root/config/database.yml
95
+ - test/rails3x_root/config/environment.rb
96
+ - test/rails3x_root/config/environments/development.rb
97
+ - test/rails3x_root/config/environments/production.rb
98
+ - test/rails3x_root/config/environments/test.rb
99
+ - test/rails3x_root/config/initializers/backtrace_silencers.rb
100
+ - test/rails3x_root/config/initializers/inflections.rb
101
+ - test/rails3x_root/config/initializers/mime_types.rb
102
+ - test/rails3x_root/config/initializers/secret_token.rb
103
+ - test/rails3x_root/config/initializers/session_store.rb
104
+ - test/rails3x_root/config/locales/en.yml
105
+ - test/rails3x_root/config/routes.rb
106
+ - test/rails3x_root/db/migrate/20100804020911_create_users.rb
107
+ - test/rails3x_root/db/schema.rb
108
+ - test/rails3x_root/db/seeds.rb
109
+ - test/rails3x_root/script/rails
110
+ - test/rails3x_root/test/test_helper.rb
111
+ - test/rails3x_root/test/unit/user_test.rb
112
+ - README.html
113
+ has_rdoc: true
114
+ homepage: http://github.com/kswope/auto_hash
115
+ licenses: []
116
+
117
+ post_install_message:
118
+ rdoc_options:
119
+ - --charset=UTF-8
120
+ require_paths:
121
+ - lib
122
+ required_ruby_version: !ruby/object:Gem::Requirement
123
+ none: false
124
+ requirements:
125
+ - - ">="
126
+ - !ruby/object:Gem::Version
127
+ hash: 3
128
+ segments:
129
+ - 0
130
+ version: "0"
131
+ required_rubygems_version: !ruby/object:Gem::Requirement
132
+ none: false
133
+ requirements:
134
+ - - ">="
135
+ - !ruby/object:Gem::Version
136
+ hash: 3
137
+ segments:
138
+ - 0
139
+ version: "0"
140
+ requirements: []
141
+
142
+ rubyforge_project:
143
+ rubygems_version: 1.3.7
144
+ signing_key:
145
+ specification_version: 3
146
+ summary: Ruby on Rails plugin to automate hashing an activerecord field and saving as a salt and digest in a single field.
147
+ test_files:
148
+ - test/common/user_test.rb
149
+ - test/rails2x_root/app/controllers/application_controller.rb
150
+ - test/rails2x_root/app/helpers/application_helper.rb
151
+ - test/rails2x_root/app/models/user.rb
152
+ - test/rails2x_root/config/boot.rb
153
+ - test/rails2x_root/config/environment.rb
154
+ - test/rails2x_root/config/environments/development.rb
155
+ - test/rails2x_root/config/environments/production.rb
156
+ - test/rails2x_root/config/environments/test.rb
157
+ - test/rails2x_root/config/initializers/backtrace_silencers.rb
158
+ - test/rails2x_root/config/initializers/cookie_verification_secret.rb
159
+ - test/rails2x_root/config/initializers/inflections.rb
160
+ - test/rails2x_root/config/initializers/mime_types.rb
161
+ - test/rails2x_root/config/initializers/new_rails_defaults.rb
162
+ - test/rails2x_root/config/initializers/session_store.rb
163
+ - test/rails2x_root/config/routes.rb
164
+ - test/rails2x_root/db/migrate/20100803040436_create_users.rb
165
+ - test/rails2x_root/db/schema.rb
166
+ - test/rails2x_root/db/seeds.rb
167
+ - test/rails2x_root/test/test_helper.rb
168
+ - test/rails2x_root/test/unit/user_test.rb
169
+ - test/rails3x_root/app/controllers/application_controller.rb
170
+ - test/rails3x_root/app/helpers/application_helper.rb
171
+ - test/rails3x_root/app/models/user.rb
172
+ - test/rails3x_root/config/application.rb
173
+ - test/rails3x_root/config/boot.rb
174
+ - test/rails3x_root/config/environment.rb
175
+ - test/rails3x_root/config/environments/development.rb
176
+ - test/rails3x_root/config/environments/production.rb
177
+ - test/rails3x_root/config/environments/test.rb
178
+ - test/rails3x_root/config/initializers/backtrace_silencers.rb
179
+ - test/rails3x_root/config/initializers/inflections.rb
180
+ - test/rails3x_root/config/initializers/mime_types.rb
181
+ - test/rails3x_root/config/initializers/secret_token.rb
182
+ - test/rails3x_root/config/initializers/session_store.rb
183
+ - test/rails3x_root/config/routes.rb
184
+ - test/rails3x_root/db/migrate/20100804020911_create_users.rb
185
+ - test/rails3x_root/db/schema.rb
186
+ - test/rails3x_root/db/seeds.rb
187
+ - test/rails3x_root/test/test_helper.rb
188
+ - test/rails3x_root/test/unit/user_test.rb