devise-encryptable 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog.md +15 -3
- data/LICENSE +2 -2
- data/README.md +1 -1
- data/lib/devise/encryptable/encryptors/base.rb +2 -2
- data/lib/devise/encryptable/version.rb +1 -1
- data/test/devise/encryptable/encryptable_test.rb +10 -5
- data/test/devise/encryptable/encryptors_test.rb +8 -1
- data/test/rails_app/app/models/admin.rb +1 -3
- data/test/rails_app/app/models/user.rb +1 -3
- data/test/rails_app/config/application.rb +0 -6
- data/test/rails_app/config/environments/development.rb +1 -3
- data/test/rails_app/config/environments/test.rb +1 -3
- data/test/test_helper.rb +3 -5
- metadata +10 -27
- data/.gitignore +0 -17
- data/.travis.yml +0 -13
- data/Gemfile +0 -10
- data/Gemfile.lock +0 -111
- data/Rakefile +0 -14
- data/devise-encryptable.gemspec +0 -19
- data/gemfiles/Gemfile.rails-3.1.x +0 -10
- data/gemfiles/Gemfile.rails-3.1.x.lock +0 -112
- data/test/rails_app/.gitignore +0 -15
- data/test/rails_app/Rakefile +0 -7
- data/test/rails_app/app/models/.gitkeep +0 -0
- data/test/rails_app/config.ru +0 -4
- data/test/rails_app/config/database.yml +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fbf15fb45c05086d7ec5401a7920083b11d737ad
|
4
|
+
data.tar.gz: fa2127c87a91d1bc21403a62c99dc862e446538e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d207edf83450e9b80d72b9db78393bc1b9aa6f7b6c8dcfa0796565f130d331f863af1b8327ec14d0809268bc7e30b815f4709666c04cae1af46e54cedcde186
|
7
|
+
data.tar.gz: 3f327acac4b9521847aef71c6976d3c411c8ac2a9ffbe9bb639b8f6b7090fba6f39ff0a5ca6465f5b7e63a4b008eccebbd69b620a1456dca3a2bdb4841ba7577
|
data/Changelog.md
CHANGED
@@ -1,4 +1,16 @@
|
|
1
|
-
|
1
|
+
### Unreleased.
|
2
2
|
|
3
|
-
|
4
|
-
|
3
|
+
* Updated to Rails 4+.
|
4
|
+
* Dropped compatibility with Rails 3.1 and Ruby 1.8.
|
5
|
+
|
6
|
+
### 0.1.2
|
7
|
+
|
8
|
+
* Devise dependency locked at `2.1.x`.
|
9
|
+
|
10
|
+
### 0.1.1
|
11
|
+
|
12
|
+
* Initial support for Devise `2.1.0.rc`.
|
13
|
+
|
14
|
+
### 0.1.0
|
15
|
+
|
16
|
+
* Added the encryptable module and the encryptors from Devise.
|
data/LICENSE
CHANGED
@@ -186,7 +186,7 @@ APPENDIX: How to apply the Apache License to your work.
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
187
187
|
identification within third-party archives.
|
188
188
|
|
189
|
-
Copyright 2012 Plataformatec (
|
189
|
+
Copyright 2012-2014 Plataformatec (opensource@plataformatec.com.br)
|
190
190
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
192
192
|
you may not use this file except in compliance with the License.
|
@@ -198,4 +198,4 @@ Unless required by applicable law or agreed to in writing, software
|
|
198
198
|
distributed under the License is distributed on an "AS IS" BASIS,
|
199
199
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
200
200
|
See the License for the specific language governing permissions and
|
201
|
-
limitations under the License.
|
201
|
+
limitations under the License.
|
data/README.md
CHANGED
@@ -10,7 +10,7 @@ class EncryptableTest < ActiveSupport::TestCase
|
|
10
10
|
end
|
11
11
|
|
12
12
|
test 'should generate salt while setting password' do
|
13
|
-
|
13
|
+
assert create_admin.password_salt.present?
|
14
14
|
end
|
15
15
|
|
16
16
|
test 'should not change password salt when updating' do
|
@@ -23,7 +23,12 @@ class EncryptableTest < ActiveSupport::TestCase
|
|
23
23
|
|
24
24
|
test 'should generate a base64 hash using SecureRandom for password salt' do
|
25
25
|
swap_with_encryptor Admin, :sha1 do
|
26
|
-
|
26
|
+
# Devise 3.1+ uses a different method to generate friendly tokens,
|
27
|
+
# when we drop support for Devise 2 we can remove this hack.
|
28
|
+
# https://github.com/plataformatec/devise/commit/4048545151fe467c9d8c8c6fce164788bb36e25f.
|
29
|
+
expected_method = Devise::VERSION >= '3.1.0' ? :urlsafe_base64 : :base64
|
30
|
+
|
31
|
+
SecureRandom.expects(expected_method).with(15).returns('01lI').once
|
27
32
|
salt = create_admin.password_salt
|
28
33
|
assert_not_equal '01lI', salt
|
29
34
|
assert_equal 4, salt.size
|
@@ -31,8 +36,8 @@ class EncryptableTest < ActiveSupport::TestCase
|
|
31
36
|
end
|
32
37
|
|
33
38
|
test 'should not generate salt if password is blank' do
|
34
|
-
|
35
|
-
|
39
|
+
assert create_admin(:password => nil).password_salt.blank?
|
40
|
+
assert create_admin(:password => '').password_salt.blank?
|
36
41
|
end
|
37
42
|
|
38
43
|
test 'should encrypt password again if password has changed' do
|
@@ -62,4 +67,4 @@ class EncryptableTest < ActiveSupport::TestCase
|
|
62
67
|
:password_salt
|
63
68
|
]
|
64
69
|
end
|
65
|
-
end
|
70
|
+
end
|
@@ -21,6 +21,13 @@ class Encryptors < ActiveSupport::TestCase
|
|
21
21
|
assert_equal clearance, encryptor
|
22
22
|
end
|
23
23
|
|
24
|
+
test 'digest should raise NotImplementedError if not implemented in subclass' do
|
25
|
+
c = Class.new(Devise::Encryptable::Encryptors::Base)
|
26
|
+
assert_raise(NotImplementedError) do
|
27
|
+
c.digest('quux', 10, 'foo', 'bar')
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
24
31
|
Devise::ENCRYPTORS_LENGTH.each do |key, value|
|
25
32
|
test "should have length #{value} for #{key.inspect}" do
|
26
33
|
swap Devise, :encryptor => key do
|
@@ -29,4 +36,4 @@ class Encryptors < ActiveSupport::TestCase
|
|
29
36
|
end
|
30
37
|
end
|
31
38
|
end
|
32
|
-
end
|
39
|
+
end
|
@@ -44,12 +44,6 @@ module RailsApp
|
|
44
44
|
# like if you have constraints or database-specific column types
|
45
45
|
# config.active_record.schema_format = :sql
|
46
46
|
|
47
|
-
# Enforce whitelist mode for mass assignment.
|
48
|
-
# This will create an empty whitelist of attributes available for mass-assignment for all models
|
49
|
-
# in your app. As such, your models will need to explicitly whitelist or blacklist accessible
|
50
|
-
# parameters by using an attr_accessible or attr_protected declaration.
|
51
|
-
config.active_record.whitelist_attributes = true
|
52
|
-
|
53
47
|
# Enable the asset pipeline
|
54
48
|
config.assets.enabled = true
|
55
49
|
|
@@ -5,9 +5,7 @@ RailsApp::Application.configure do
|
|
5
5
|
# every request. This slows down response time but is perfect for development
|
6
6
|
# since you don't have to restart the web server when you make code changes.
|
7
7
|
config.cache_classes = false
|
8
|
-
|
9
|
-
# Log error messages when you accidentally call methods on nil.
|
10
|
-
config.whiny_nils = true
|
8
|
+
config.eager_load = false
|
11
9
|
|
12
10
|
# Show full error reports and disable caching
|
13
11
|
config.consider_all_requests_local = true
|
@@ -6,14 +6,12 @@ RailsApp::Application.configure do
|
|
6
6
|
# your test database is "scratch space" for the test suite and is wiped
|
7
7
|
# and recreated between test runs. Don't rely on the data there!
|
8
8
|
config.cache_classes = true
|
9
|
+
config.eager_load = false
|
9
10
|
|
10
11
|
# Configure static asset server for tests with Cache-Control for performance
|
11
12
|
config.serve_static_assets = true
|
12
13
|
config.static_cache_control = "public, max-age=3600"
|
13
14
|
|
14
|
-
# Log error messages when you accidentally call methods on nil
|
15
|
-
config.whiny_nils = true
|
16
|
-
|
17
15
|
# Show full error reports and disable caching
|
18
16
|
config.consider_all_requests_local = true
|
19
17
|
config.action_controller.perform_caching = false
|
data/test/test_helper.rb
CHANGED
@@ -1,15 +1,13 @@
|
|
1
1
|
ENV["RAILS_ENV"] = "test"
|
2
2
|
require "devise"
|
3
|
+
require "devise/version"
|
3
4
|
require "active_support/core_ext/module/attribute_accessors"
|
4
5
|
|
5
6
|
require "devise/encryptable/encryptable"
|
6
7
|
|
7
|
-
require "minitest/autorun"
|
8
|
-
require "minitest/unit"
|
9
|
-
|
10
|
-
require "mocha/setup"
|
11
|
-
|
12
8
|
require "rails_app/config/environment"
|
9
|
+
require "rails/test_help"
|
10
|
+
require "mocha/setup"
|
13
11
|
|
14
12
|
require 'support/assertions'
|
15
13
|
require 'support/factories'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise-encryptable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carlos Antonio da Silva
|
@@ -10,39 +10,31 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2014-05-05 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: devise
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: 2.1.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
|
-
- -
|
26
|
+
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
28
|
version: 2.1.0
|
29
29
|
description: Encryption solution for salted-encryptors on Devise
|
30
|
-
email:
|
30
|
+
email: opensource@plataformatec.com.br
|
31
31
|
executables: []
|
32
32
|
extensions: []
|
33
33
|
extra_rdoc_files: []
|
34
34
|
files:
|
35
|
-
- .gitignore
|
36
|
-
- .travis.yml
|
37
35
|
- Changelog.md
|
38
|
-
- Gemfile
|
39
|
-
- Gemfile.lock
|
40
36
|
- LICENSE
|
41
37
|
- README.md
|
42
|
-
- Rakefile
|
43
|
-
- devise-encryptable.gemspec
|
44
|
-
- gemfiles/Gemfile.rails-3.1.x
|
45
|
-
- gemfiles/Gemfile.rails-3.1.x.lock
|
46
38
|
- lib/devise-encryptable.rb
|
47
39
|
- lib/devise/encryptable/encryptable.rb
|
48
40
|
- lib/devise/encryptable/encryptors/authlogic_sha512.rb
|
@@ -55,16 +47,11 @@ files:
|
|
55
47
|
- lib/devise/encryptable/version.rb
|
56
48
|
- test/devise/encryptable/encryptable_test.rb
|
57
49
|
- test/devise/encryptable/encryptors_test.rb
|
58
|
-
- test/rails_app/.gitignore
|
59
|
-
- test/rails_app/Rakefile
|
60
50
|
- test/rails_app/app/controllers/application_controller.rb
|
61
|
-
- test/rails_app/app/models/.gitkeep
|
62
51
|
- test/rails_app/app/models/admin.rb
|
63
52
|
- test/rails_app/app/models/user.rb
|
64
|
-
- test/rails_app/config.ru
|
65
53
|
- test/rails_app/config/application.rb
|
66
54
|
- test/rails_app/config/boot.rb
|
67
|
-
- test/rails_app/config/database.yml
|
68
55
|
- test/rails_app/config/environment.rb
|
69
56
|
- test/rails_app/config/environments/development.rb
|
70
57
|
- test/rails_app/config/environments/production.rb
|
@@ -76,7 +63,8 @@ files:
|
|
76
63
|
- test/support/swappers.rb
|
77
64
|
- test/test_helper.rb
|
78
65
|
homepage: http://github.com/plataformatec/devise-encryptable
|
79
|
-
licenses:
|
66
|
+
licenses:
|
67
|
+
- Apache 2.0
|
80
68
|
metadata: {}
|
81
69
|
post_install_message:
|
82
70
|
rdoc_options: []
|
@@ -84,33 +72,28 @@ require_paths:
|
|
84
72
|
- lib
|
85
73
|
required_ruby_version: !ruby/object:Gem::Requirement
|
86
74
|
requirements:
|
87
|
-
- -
|
75
|
+
- - ">="
|
88
76
|
- !ruby/object:Gem::Version
|
89
77
|
version: '0'
|
90
78
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
91
79
|
requirements:
|
92
|
-
- -
|
80
|
+
- - ">="
|
93
81
|
- !ruby/object:Gem::Version
|
94
82
|
version: '0'
|
95
83
|
requirements: []
|
96
84
|
rubyforge_project:
|
97
|
-
rubygems_version: 2.
|
85
|
+
rubygems_version: 2.2.2
|
98
86
|
signing_key:
|
99
87
|
specification_version: 4
|
100
88
|
summary: Encryption solution for salted-encryptors on Devise
|
101
89
|
test_files:
|
102
90
|
- test/devise/encryptable/encryptable_test.rb
|
103
91
|
- test/devise/encryptable/encryptors_test.rb
|
104
|
-
- test/rails_app/.gitignore
|
105
|
-
- test/rails_app/Rakefile
|
106
92
|
- test/rails_app/app/controllers/application_controller.rb
|
107
|
-
- test/rails_app/app/models/.gitkeep
|
108
93
|
- test/rails_app/app/models/admin.rb
|
109
94
|
- test/rails_app/app/models/user.rb
|
110
|
-
- test/rails_app/config.ru
|
111
95
|
- test/rails_app/config/application.rb
|
112
96
|
- test/rails_app/config/boot.rb
|
113
|
-
- test/rails_app/config/database.yml
|
114
97
|
- test/rails_app/config/environment.rb
|
115
98
|
- test/rails_app/config/environments/development.rb
|
116
99
|
- test/rails_app/config/environments/production.rb
|
data/.gitignore
DELETED
data/.travis.yml
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
rvm:
|
3
|
-
- 1.8.7
|
4
|
-
- 1.9.2
|
5
|
-
- 1.9.3
|
6
|
-
- 2.0.0
|
7
|
-
notifications:
|
8
|
-
email: false
|
9
|
-
campfire:
|
10
|
-
on_success: change
|
11
|
-
on_failure: always
|
12
|
-
rooms:
|
13
|
-
- secure: "apo8q+63WTaltM6kUD4GFoMO3zVXaMV0O38yo7LN0xyD2O9650UpTZZdMZ6D\narJ29YCumJf3KsdPcxq3wcM0JhNCkg/G+apJYUDRJdlcboYr84v3/MbJf53U\ng8p7Big1TYbt5cjD40VQJTSqlzHgPoQAy2wGjuryuCY8jt+6wB0="
|
data/Gemfile
DELETED
data/Gemfile.lock
DELETED
@@ -1,111 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
devise-encryptable (0.1.2)
|
5
|
-
devise (>= 2.1.0)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
actionmailer (3.2.13)
|
11
|
-
actionpack (= 3.2.13)
|
12
|
-
mail (~> 2.5.3)
|
13
|
-
actionpack (3.2.13)
|
14
|
-
activemodel (= 3.2.13)
|
15
|
-
activesupport (= 3.2.13)
|
16
|
-
builder (~> 3.0.0)
|
17
|
-
erubis (~> 2.7.0)
|
18
|
-
journey (~> 1.0.4)
|
19
|
-
rack (~> 1.4.5)
|
20
|
-
rack-cache (~> 1.2)
|
21
|
-
rack-test (~> 0.6.1)
|
22
|
-
sprockets (~> 2.2.1)
|
23
|
-
activemodel (3.2.13)
|
24
|
-
activesupport (= 3.2.13)
|
25
|
-
builder (~> 3.0.0)
|
26
|
-
activerecord (3.2.13)
|
27
|
-
activemodel (= 3.2.13)
|
28
|
-
activesupport (= 3.2.13)
|
29
|
-
arel (~> 3.0.2)
|
30
|
-
tzinfo (~> 0.3.29)
|
31
|
-
activeresource (3.2.13)
|
32
|
-
activemodel (= 3.2.13)
|
33
|
-
activesupport (= 3.2.13)
|
34
|
-
activesupport (3.2.13)
|
35
|
-
i18n (= 0.6.1)
|
36
|
-
multi_json (~> 1.0)
|
37
|
-
arel (3.0.2)
|
38
|
-
bcrypt-ruby (3.0.1)
|
39
|
-
builder (3.0.4)
|
40
|
-
devise (2.2.4)
|
41
|
-
bcrypt-ruby (~> 3.0)
|
42
|
-
orm_adapter (~> 0.1)
|
43
|
-
railties (~> 3.1)
|
44
|
-
warden (~> 1.2.1)
|
45
|
-
erubis (2.7.0)
|
46
|
-
hike (1.2.2)
|
47
|
-
i18n (0.6.1)
|
48
|
-
journey (1.0.4)
|
49
|
-
json (1.7.7)
|
50
|
-
mail (2.5.3)
|
51
|
-
i18n (>= 0.4.0)
|
52
|
-
mime-types (~> 1.16)
|
53
|
-
treetop (~> 1.4.8)
|
54
|
-
metaclass (0.0.1)
|
55
|
-
mime-types (1.23)
|
56
|
-
minitest (4.7.4)
|
57
|
-
mocha (0.13.3)
|
58
|
-
metaclass (~> 0.0.1)
|
59
|
-
multi_json (1.7.3)
|
60
|
-
orm_adapter (0.4.0)
|
61
|
-
polyglot (0.3.3)
|
62
|
-
rack (1.4.5)
|
63
|
-
rack-cache (1.2)
|
64
|
-
rack (>= 0.4)
|
65
|
-
rack-ssl (1.3.3)
|
66
|
-
rack
|
67
|
-
rack-test (0.6.2)
|
68
|
-
rack (>= 1.0)
|
69
|
-
rails (3.2.13)
|
70
|
-
actionmailer (= 3.2.13)
|
71
|
-
actionpack (= 3.2.13)
|
72
|
-
activerecord (= 3.2.13)
|
73
|
-
activeresource (= 3.2.13)
|
74
|
-
activesupport (= 3.2.13)
|
75
|
-
bundler (~> 1.0)
|
76
|
-
railties (= 3.2.13)
|
77
|
-
railties (3.2.13)
|
78
|
-
actionpack (= 3.2.13)
|
79
|
-
activesupport (= 3.2.13)
|
80
|
-
rack-ssl (~> 1.3.2)
|
81
|
-
rake (>= 0.8.7)
|
82
|
-
rdoc (~> 3.4)
|
83
|
-
thor (>= 0.14.6, < 2.0)
|
84
|
-
rake (10.0.4)
|
85
|
-
rdoc (3.12.2)
|
86
|
-
json (~> 1.4)
|
87
|
-
sprockets (2.2.2)
|
88
|
-
hike (~> 1.2)
|
89
|
-
multi_json (~> 1.0)
|
90
|
-
rack (~> 1.0)
|
91
|
-
tilt (~> 1.1, != 1.3.0)
|
92
|
-
sqlite3 (1.3.7)
|
93
|
-
thor (0.18.1)
|
94
|
-
tilt (1.4.0)
|
95
|
-
treetop (1.4.12)
|
96
|
-
polyglot
|
97
|
-
polyglot (>= 0.3.1)
|
98
|
-
tzinfo (0.3.37)
|
99
|
-
warden (1.2.1)
|
100
|
-
rack (>= 1.0)
|
101
|
-
|
102
|
-
PLATFORMS
|
103
|
-
ruby
|
104
|
-
|
105
|
-
DEPENDENCIES
|
106
|
-
devise (~> 2.1)
|
107
|
-
devise-encryptable!
|
108
|
-
minitest
|
109
|
-
mocha (~> 0.13.3)
|
110
|
-
rails (~> 3.2)
|
111
|
-
sqlite3
|
data/Rakefile
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env rake
|
2
|
-
require "bundler/gem_tasks"
|
3
|
-
require 'rake/testtask'
|
4
|
-
|
5
|
-
desc 'Default: run unit tests.'
|
6
|
-
task :default => :test
|
7
|
-
|
8
|
-
desc 'Run unit tests.'
|
9
|
-
Rake::TestTask.new(:test) do |t|
|
10
|
-
t.libs << 'lib'
|
11
|
-
t.libs << 'test'
|
12
|
-
t.pattern = 'test/**/*_test.rb'
|
13
|
-
t.verbose = true
|
14
|
-
end
|
data/devise-encryptable.gemspec
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
require File.expand_path('../lib/devise/encryptable/version', __FILE__)
|
3
|
-
|
4
|
-
Gem::Specification.new do |gem|
|
5
|
-
gem.authors = ["Carlos Antonio da Silva", "José Valim", "Rodrigo Flores"]
|
6
|
-
gem.email = "contact@plataformatec.com.br"
|
7
|
-
gem.description = %q{Encryption solution for salted-encryptors on Devise}
|
8
|
-
gem.summary = %q{Encryption solution for salted-encryptors on Devise}
|
9
|
-
gem.homepage = "http://github.com/plataformatec/devise-encryptable"
|
10
|
-
|
11
|
-
gem.files = `git ls-files`.split($\)
|
12
|
-
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
13
|
-
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
14
|
-
gem.name = "devise-encryptable"
|
15
|
-
gem.require_paths = ["lib"]
|
16
|
-
gem.version = Devise::Encryptable::VERSION
|
17
|
-
|
18
|
-
gem.add_dependency("devise", '>= 2.1.0')
|
19
|
-
end
|
@@ -1,112 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ..
|
3
|
-
specs:
|
4
|
-
devise-encryptable (0.1.2)
|
5
|
-
devise (>= 2.1.0)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
actionmailer (3.1.4)
|
11
|
-
actionpack (= 3.1.4)
|
12
|
-
mail (~> 2.3.0)
|
13
|
-
actionpack (3.1.4)
|
14
|
-
activemodel (= 3.1.4)
|
15
|
-
activesupport (= 3.1.4)
|
16
|
-
builder (~> 3.0.0)
|
17
|
-
erubis (~> 2.7.0)
|
18
|
-
i18n (~> 0.6)
|
19
|
-
rack (~> 1.3.6)
|
20
|
-
rack-cache (~> 1.1)
|
21
|
-
rack-mount (~> 0.8.2)
|
22
|
-
rack-test (~> 0.6.1)
|
23
|
-
sprockets (~> 2.0.3)
|
24
|
-
activemodel (3.1.4)
|
25
|
-
activesupport (= 3.1.4)
|
26
|
-
builder (~> 3.0.0)
|
27
|
-
i18n (~> 0.6)
|
28
|
-
activerecord (3.1.4)
|
29
|
-
activemodel (= 3.1.4)
|
30
|
-
activesupport (= 3.1.4)
|
31
|
-
arel (~> 2.2.3)
|
32
|
-
tzinfo (~> 0.3.29)
|
33
|
-
activeresource (3.1.4)
|
34
|
-
activemodel (= 3.1.4)
|
35
|
-
activesupport (= 3.1.4)
|
36
|
-
activesupport (3.1.4)
|
37
|
-
multi_json (~> 1.0)
|
38
|
-
arel (2.2.3)
|
39
|
-
bcrypt-ruby (3.0.1)
|
40
|
-
builder (3.0.4)
|
41
|
-
devise (2.2.4)
|
42
|
-
bcrypt-ruby (~> 3.0)
|
43
|
-
orm_adapter (~> 0.1)
|
44
|
-
railties (~> 3.1)
|
45
|
-
warden (~> 1.2.1)
|
46
|
-
erubis (2.7.0)
|
47
|
-
hike (1.2.2)
|
48
|
-
i18n (0.6.4)
|
49
|
-
json (1.7.7)
|
50
|
-
mail (2.3.3)
|
51
|
-
i18n (>= 0.4.0)
|
52
|
-
mime-types (~> 1.16)
|
53
|
-
treetop (~> 1.4.8)
|
54
|
-
metaclass (0.0.1)
|
55
|
-
mime-types (1.23)
|
56
|
-
minitest (4.7.4)
|
57
|
-
mocha (0.13.3)
|
58
|
-
metaclass (~> 0.0.1)
|
59
|
-
multi_json (1.7.3)
|
60
|
-
orm_adapter (0.4.0)
|
61
|
-
polyglot (0.3.3)
|
62
|
-
rack (1.3.10)
|
63
|
-
rack-cache (1.2)
|
64
|
-
rack (>= 0.4)
|
65
|
-
rack-mount (0.8.3)
|
66
|
-
rack (>= 1.0.0)
|
67
|
-
rack-ssl (1.3.3)
|
68
|
-
rack
|
69
|
-
rack-test (0.6.2)
|
70
|
-
rack (>= 1.0)
|
71
|
-
rails (3.1.4)
|
72
|
-
actionmailer (= 3.1.4)
|
73
|
-
actionpack (= 3.1.4)
|
74
|
-
activerecord (= 3.1.4)
|
75
|
-
activeresource (= 3.1.4)
|
76
|
-
activesupport (= 3.1.4)
|
77
|
-
bundler (~> 1.0)
|
78
|
-
railties (= 3.1.4)
|
79
|
-
railties (3.1.4)
|
80
|
-
actionpack (= 3.1.4)
|
81
|
-
activesupport (= 3.1.4)
|
82
|
-
rack-ssl (~> 1.3.2)
|
83
|
-
rake (>= 0.8.7)
|
84
|
-
rdoc (~> 3.4)
|
85
|
-
thor (~> 0.14.6)
|
86
|
-
rake (10.0.4)
|
87
|
-
rdoc (3.12.2)
|
88
|
-
json (~> 1.4)
|
89
|
-
sprockets (2.0.4)
|
90
|
-
hike (~> 1.2)
|
91
|
-
rack (~> 1.0)
|
92
|
-
tilt (~> 1.1, != 1.3.0)
|
93
|
-
sqlite3 (1.3.7)
|
94
|
-
thor (0.14.6)
|
95
|
-
tilt (1.4.0)
|
96
|
-
treetop (1.4.12)
|
97
|
-
polyglot
|
98
|
-
polyglot (>= 0.3.1)
|
99
|
-
tzinfo (0.3.37)
|
100
|
-
warden (1.2.1)
|
101
|
-
rack (>= 1.0)
|
102
|
-
|
103
|
-
PLATFORMS
|
104
|
-
ruby
|
105
|
-
|
106
|
-
DEPENDENCIES
|
107
|
-
devise (~> 2.1)
|
108
|
-
devise-encryptable!
|
109
|
-
minitest
|
110
|
-
mocha (~> 0.13.3)
|
111
|
-
rails (= 3.1.4)
|
112
|
-
sqlite3
|
data/test/rails_app/.gitignore
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
# See http://help.github.com/ignore-files/ for more about ignoring files.
|
2
|
-
#
|
3
|
-
# If you find yourself ignoring temporary files generated by your text editor
|
4
|
-
# or operating system, you probably want to add a global ignore instead:
|
5
|
-
# git config --global core.excludesfile ~/.gitignore_global
|
6
|
-
|
7
|
-
# Ignore bundler config
|
8
|
-
/.bundle
|
9
|
-
|
10
|
-
# Ignore the default SQLite database.
|
11
|
-
/db/*.sqlite3
|
12
|
-
|
13
|
-
# Ignore all logfiles and tempfiles.
|
14
|
-
/log/*.log
|
15
|
-
/tmp
|
data/test/rails_app/Rakefile
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
#!/usr/bin/env rake
|
2
|
-
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
3
|
-
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
4
|
-
|
5
|
-
require File.expand_path('../config/application', __FILE__)
|
6
|
-
|
7
|
-
RailsApp::Application.load_tasks
|
File without changes
|
data/test/rails_app/config.ru
DELETED