user_stamp 0.0.2
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.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +65 -0
- data/Rakefile +40 -0
- data/config/routes.rb +28 -0
- data/lib/generators/user_stamp/USAGE +9 -0
- data/lib/generators/user_stamp/templates/user_stamp.template +26 -0
- data/lib/generators/user_stamp/user_stamp_generator.rb +34 -0
- data/lib/tasks/user_stamp_tasks.rake +4 -0
- data/lib/user_stamp.rb +36 -0
- data/lib/user_stamp/app_controller.rb +40 -0
- data/lib/user_stamp/config.rb +60 -0
- data/lib/user_stamp/engine.rb +37 -0
- data/lib/user_stamp/user.rb +41 -0
- data/lib/user_stamp/user_stamp.rb +62 -0
- data/lib/user_stamp/version.rb +29 -0
- data/test/dummy/README.rdoc +261 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +15 -0
- data/test/dummy/app/assets/javascripts/materials.js +2 -0
- data/test/dummy/app/assets/javascripts/products.js +2 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/assets/stylesheets/materials.css +4 -0
- data/test/dummy/app/assets/stylesheets/products.css +4 -0
- data/test/dummy/app/controllers/application_controller.rb +33 -0
- data/test/dummy/app/controllers/materials_controller.rb +83 -0
- data/test/dummy/app/controllers/products_controller.rb +83 -0
- data/test/dummy/app/helpers/application_helper.rb +28 -0
- data/test/dummy/app/helpers/materials_helper.rb +28 -0
- data/test/dummy/app/helpers/products_helper.rb +28 -0
- data/test/dummy/app/models/material.rb +43 -0
- data/test/dummy/app/models/product.rb +40 -0
- data/test/dummy/app/models/user.rb +36 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/app/views/materials/_form.html.erb +33 -0
- data/test/dummy/app/views/materials/edit.html.erb +6 -0
- data/test/dummy/app/views/materials/index.html.erb +29 -0
- data/test/dummy/app/views/materials/new.html.erb +6 -0
- data/test/dummy/app/views/materials/show.html.erb +28 -0
- data/test/dummy/app/views/products/_form.html.erb +33 -0
- data/test/dummy/app/views/products/edit.html.erb +6 -0
- data/test/dummy/app/views/products/index.html.erb +29 -0
- data/test/dummy/app/views/products/new.html.erb +5 -0
- data/test/dummy/app/views/products/show.html.erb +25 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +59 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +67 -0
- data/test/dummy/config/environments/test.rb +37 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/devise.rb +259 -0
- data/test/dummy/config/initializers/inflections.rb +15 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/user_stamp.rb +26 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/devise.en.yml +60 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +7 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20150418012302_devise_create_users.rb +43 -0
- data/test/dummy/db/migrate/20150418013334_create_products.rb +13 -0
- data/test/dummy/db/migrate/20150420023321_create_materials.rb +13 -0
- data/test/dummy/db/schema.rb +55 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +168 -0
- data/test/dummy/log/test.log +5481 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +25 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/dummy/test/functional/materials_controller_test.rb +98 -0
- data/test/dummy/test/functional/products_controller_test.rb +99 -0
- data/test/dummy/test/unit/helpers/materials_helper_test.rb +30 -0
- data/test/dummy/test/unit/helpers/products_helper_test.rb +30 -0
- data/test/dummy/test/unit/material_test.rb +33 -0
- data/test/dummy/test/unit/product_test.rb +33 -0
- data/test/dummy/test/unit/user_test.rb +33 -0
- data/test/fixtures/materials.yml +51 -0
- data/test/fixtures/products.yml +51 -0
- data/test/fixtures/users.yml +40 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/test_helper.rb +45 -0
- data/test/user_stamp_test.rb +33 -0
- metadata +248 -0
@@ -0,0 +1,51 @@
|
|
1
|
+
# This file is part of the UserStamp library that provides tools to
|
2
|
+
# track who created, updated, or destroyed a record in the database.
|
3
|
+
#
|
4
|
+
# https://github.com/mjpete3/user_stamp
|
5
|
+
#
|
6
|
+
# Copyright (C) 2015 PD Technology Solutions, LLC
|
7
|
+
#
|
8
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
9
|
+
# a copy of this software and associated documentation files (the
|
10
|
+
# "Software"), to deal in the Software without restriction, including
|
11
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
12
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
13
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
14
|
+
# the following conditions:
|
15
|
+
#
|
16
|
+
# The above copyright notice and this permission notice shall be
|
17
|
+
# included in all copies or substantial portions of the Software.
|
18
|
+
#
|
19
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
20
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
21
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
22
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
23
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
24
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
25
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
26
|
+
|
27
|
+
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
|
28
|
+
|
29
|
+
one:
|
30
|
+
id: 1
|
31
|
+
name: Lumber
|
32
|
+
deleted: false
|
33
|
+
created_user: 1
|
34
|
+
updated_user: 1
|
35
|
+
destroy_user:
|
36
|
+
|
37
|
+
two:
|
38
|
+
id: 2
|
39
|
+
name: Brick
|
40
|
+
deleted: false
|
41
|
+
created_user: 1
|
42
|
+
updated_user:
|
43
|
+
destroy_user:
|
44
|
+
|
45
|
+
three:
|
46
|
+
id: 3
|
47
|
+
name: Nails
|
48
|
+
deleted: false
|
49
|
+
created_user: 1
|
50
|
+
updated_user:
|
51
|
+
destroy_user:
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# This file is part of the UserStamp library that provides tools to
|
2
|
+
# track who created, updated, or destroyed a record in the database.
|
3
|
+
#
|
4
|
+
# https://github.com/mjpete3/user_stamp
|
5
|
+
#
|
6
|
+
# Copyright (C) 2015 PD Technology Solutions, LLC
|
7
|
+
#
|
8
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
9
|
+
# a copy of this software and associated documentation files (the
|
10
|
+
# "Software"), to deal in the Software without restriction, including
|
11
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
12
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
13
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
14
|
+
# the following conditions:
|
15
|
+
#
|
16
|
+
# The above copyright notice and this permission notice shall be
|
17
|
+
# included in all copies or substantial portions of the Software.
|
18
|
+
#
|
19
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
20
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
21
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
22
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
23
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
24
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
25
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
26
|
+
|
27
|
+
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
|
28
|
+
|
29
|
+
one:
|
30
|
+
id: 1
|
31
|
+
name: Apple
|
32
|
+
deleted: false
|
33
|
+
created_user: admin
|
34
|
+
updated_user:
|
35
|
+
destroy_user:
|
36
|
+
|
37
|
+
two:
|
38
|
+
id: 2
|
39
|
+
name: Bannana
|
40
|
+
deleted: false
|
41
|
+
created_user: admin
|
42
|
+
updated_user: admin
|
43
|
+
destroy_user:
|
44
|
+
|
45
|
+
three:
|
46
|
+
id: 3
|
47
|
+
name: Pears
|
48
|
+
deleted: false
|
49
|
+
created_user: admin
|
50
|
+
updated_user: admin
|
51
|
+
destroy_user: admin
|
@@ -0,0 +1,40 @@
|
|
1
|
+
# This file is part of the UserStamp library that provides tools to
|
2
|
+
# track who created, updated, or destroyed a record in the database.
|
3
|
+
#
|
4
|
+
# https://github.com/mjpete3/user_stamp
|
5
|
+
#
|
6
|
+
# Copyright (C) 2015 PD Technology Solutions, LLC
|
7
|
+
#
|
8
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
9
|
+
# a copy of this software and associated documentation files (the
|
10
|
+
# "Software"), to deal in the Software without restriction, including
|
11
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
12
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
13
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
14
|
+
# the following conditions:
|
15
|
+
#
|
16
|
+
# The above copyright notice and this permission notice shall be
|
17
|
+
# included in all copies or substantial portions of the Software.
|
18
|
+
#
|
19
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
20
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
21
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
22
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
23
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
24
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
25
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
26
|
+
|
27
|
+
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
|
28
|
+
|
29
|
+
one:
|
30
|
+
id: 1
|
31
|
+
email: admin@domain.com
|
32
|
+
login_name: admin
|
33
|
+
encrypted_password: $2a$10$QayP0kUmLS54d20cHXLf4eX/gjqxPC6SyBVOy.q1GnfHoCYSOQl4S
|
34
|
+
|
35
|
+
two:
|
36
|
+
id: 2
|
37
|
+
email: user@domain.com
|
38
|
+
login_name: user
|
39
|
+
encrypted_password: $2a$10$QayP0kUmLS54d20cHXLf4eX/gjqxPC6SyBVOy.q1GnfHoCYSOQl4S
|
40
|
+
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
# This file is part of the UserStamp library that provides tools to
|
2
|
+
# track who created, updated, or destroyed a record in the database.
|
3
|
+
#
|
4
|
+
# https://github.com/mjpete3/user_stamp
|
5
|
+
#
|
6
|
+
# Copyright (C) 2015 PD Technology Solutions, LLC
|
7
|
+
#
|
8
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
9
|
+
# a copy of this software and associated documentation files (the
|
10
|
+
# "Software"), to deal in the Software without restriction, including
|
11
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
12
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
13
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
14
|
+
# the following conditions:
|
15
|
+
#
|
16
|
+
# The above copyright notice and this permission notice shall be
|
17
|
+
# included in all copies or substantial portions of the Software.
|
18
|
+
#
|
19
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
20
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
21
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
22
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
23
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
24
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
25
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
26
|
+
|
27
|
+
# Configure Rails Environment
|
28
|
+
ENV["RAILS_ENV"] = "test"
|
29
|
+
|
30
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
31
|
+
require "rails/test_help"
|
32
|
+
|
33
|
+
Rails.backtrace_cleaner.remove_silencers!
|
34
|
+
|
35
|
+
# Load support files
|
36
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
37
|
+
|
38
|
+
# Load fixtures from the engine
|
39
|
+
if ActiveSupport::TestCase.method_defined?(:fixture_path=)
|
40
|
+
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
|
41
|
+
end
|
42
|
+
|
43
|
+
class ActiveSupport::TestCase
|
44
|
+
fixtures :all
|
45
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# This file is part of the UserStamp library that provides tools to
|
2
|
+
# track who created, updated, or destroyed a record in the database.
|
3
|
+
#
|
4
|
+
# https://github.com/mjpete3/user_stamp
|
5
|
+
#
|
6
|
+
# Copyright (C) 2015 PD Technology Solutions, LLC
|
7
|
+
#
|
8
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
9
|
+
# a copy of this software and associated documentation files (the
|
10
|
+
# "Software"), to deal in the Software without restriction, including
|
11
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
12
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
13
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
14
|
+
# the following conditions:
|
15
|
+
#
|
16
|
+
# The above copyright notice and this permission notice shall be
|
17
|
+
# included in all copies or substantial portions of the Software.
|
18
|
+
#
|
19
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
20
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
21
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
22
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
23
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
24
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
25
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
26
|
+
|
27
|
+
require 'test_helper'
|
28
|
+
|
29
|
+
class UserStampTest < ActiveSupport::TestCase
|
30
|
+
test "truth" do
|
31
|
+
assert_kind_of Module, UserStamp
|
32
|
+
end
|
33
|
+
end
|
metadata
ADDED
@@ -0,0 +1,248 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: user_stamp
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Marty Petersen
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-04-20 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 3.2.21
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 3.2.21
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: devise
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: sqlite3
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
description: Preserve the user idenity whwn database records are updated for tracking
|
56
|
+
or audit purposes.
|
57
|
+
email:
|
58
|
+
- marty.petersen@pd-techsolutions.com
|
59
|
+
executables: []
|
60
|
+
extensions: []
|
61
|
+
extra_rdoc_files: []
|
62
|
+
files:
|
63
|
+
- MIT-LICENSE
|
64
|
+
- README.rdoc
|
65
|
+
- Rakefile
|
66
|
+
- config/routes.rb
|
67
|
+
- lib/generators/user_stamp/USAGE
|
68
|
+
- lib/generators/user_stamp/templates/user_stamp.template
|
69
|
+
- lib/generators/user_stamp/user_stamp_generator.rb
|
70
|
+
- lib/tasks/user_stamp_tasks.rake
|
71
|
+
- lib/user_stamp.rb
|
72
|
+
- lib/user_stamp/app_controller.rb
|
73
|
+
- lib/user_stamp/config.rb
|
74
|
+
- lib/user_stamp/engine.rb
|
75
|
+
- lib/user_stamp/user.rb
|
76
|
+
- lib/user_stamp/user_stamp.rb
|
77
|
+
- lib/user_stamp/version.rb
|
78
|
+
- test/dummy/README.rdoc
|
79
|
+
- test/dummy/Rakefile
|
80
|
+
- test/dummy/app/assets/javascripts/application.js
|
81
|
+
- test/dummy/app/assets/javascripts/materials.js
|
82
|
+
- test/dummy/app/assets/javascripts/products.js
|
83
|
+
- test/dummy/app/assets/stylesheets/application.css
|
84
|
+
- test/dummy/app/assets/stylesheets/materials.css
|
85
|
+
- test/dummy/app/assets/stylesheets/products.css
|
86
|
+
- test/dummy/app/controllers/application_controller.rb
|
87
|
+
- test/dummy/app/controllers/materials_controller.rb
|
88
|
+
- test/dummy/app/controllers/products_controller.rb
|
89
|
+
- test/dummy/app/helpers/application_helper.rb
|
90
|
+
- test/dummy/app/helpers/materials_helper.rb
|
91
|
+
- test/dummy/app/helpers/products_helper.rb
|
92
|
+
- test/dummy/app/models/material.rb
|
93
|
+
- test/dummy/app/models/product.rb
|
94
|
+
- test/dummy/app/models/user.rb
|
95
|
+
- test/dummy/app/views/layouts/application.html.erb
|
96
|
+
- test/dummy/app/views/materials/_form.html.erb
|
97
|
+
- test/dummy/app/views/materials/edit.html.erb
|
98
|
+
- test/dummy/app/views/materials/index.html.erb
|
99
|
+
- test/dummy/app/views/materials/new.html.erb
|
100
|
+
- test/dummy/app/views/materials/show.html.erb
|
101
|
+
- test/dummy/app/views/products/_form.html.erb
|
102
|
+
- test/dummy/app/views/products/edit.html.erb
|
103
|
+
- test/dummy/app/views/products/index.html.erb
|
104
|
+
- test/dummy/app/views/products/new.html.erb
|
105
|
+
- test/dummy/app/views/products/show.html.erb
|
106
|
+
- test/dummy/config.ru
|
107
|
+
- test/dummy/config/application.rb
|
108
|
+
- test/dummy/config/boot.rb
|
109
|
+
- test/dummy/config/database.yml
|
110
|
+
- test/dummy/config/environment.rb
|
111
|
+
- test/dummy/config/environments/development.rb
|
112
|
+
- test/dummy/config/environments/production.rb
|
113
|
+
- test/dummy/config/environments/test.rb
|
114
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
115
|
+
- test/dummy/config/initializers/devise.rb
|
116
|
+
- test/dummy/config/initializers/inflections.rb
|
117
|
+
- test/dummy/config/initializers/mime_types.rb
|
118
|
+
- test/dummy/config/initializers/secret_token.rb
|
119
|
+
- test/dummy/config/initializers/session_store.rb
|
120
|
+
- test/dummy/config/initializers/user_stamp.rb
|
121
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
122
|
+
- test/dummy/config/locales/devise.en.yml
|
123
|
+
- test/dummy/config/locales/en.yml
|
124
|
+
- test/dummy/config/routes.rb
|
125
|
+
- test/dummy/db/development.sqlite3
|
126
|
+
- test/dummy/db/migrate/20150418012302_devise_create_users.rb
|
127
|
+
- test/dummy/db/migrate/20150418013334_create_products.rb
|
128
|
+
- test/dummy/db/migrate/20150420023321_create_materials.rb
|
129
|
+
- test/dummy/db/schema.rb
|
130
|
+
- test/dummy/db/test.sqlite3
|
131
|
+
- test/dummy/log/development.log
|
132
|
+
- test/dummy/log/test.log
|
133
|
+
- test/dummy/public/404.html
|
134
|
+
- test/dummy/public/422.html
|
135
|
+
- test/dummy/public/500.html
|
136
|
+
- test/dummy/public/favicon.ico
|
137
|
+
- test/dummy/script/rails
|
138
|
+
- test/dummy/test/functional/materials_controller_test.rb
|
139
|
+
- test/dummy/test/functional/products_controller_test.rb
|
140
|
+
- test/dummy/test/unit/helpers/materials_helper_test.rb
|
141
|
+
- test/dummy/test/unit/helpers/products_helper_test.rb
|
142
|
+
- test/dummy/test/unit/material_test.rb
|
143
|
+
- test/dummy/test/unit/product_test.rb
|
144
|
+
- test/dummy/test/unit/user_test.rb
|
145
|
+
- test/fixtures/materials.yml
|
146
|
+
- test/fixtures/products.yml
|
147
|
+
- test/fixtures/users.yml
|
148
|
+
- test/integration/navigation_test.rb
|
149
|
+
- test/test_helper.rb
|
150
|
+
- test/user_stamp_test.rb
|
151
|
+
homepage:
|
152
|
+
licenses: []
|
153
|
+
metadata: {}
|
154
|
+
post_install_message:
|
155
|
+
rdoc_options: []
|
156
|
+
require_paths:
|
157
|
+
- lib
|
158
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
159
|
+
requirements:
|
160
|
+
- - ">="
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
version: '0'
|
163
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
164
|
+
requirements:
|
165
|
+
- - ">="
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: '0'
|
168
|
+
requirements: []
|
169
|
+
rubyforge_project:
|
170
|
+
rubygems_version: 2.2.2
|
171
|
+
signing_key:
|
172
|
+
specification_version: 4
|
173
|
+
summary: Provides the ability to stamp database records with the user name when creating,
|
174
|
+
updating or destroying
|
175
|
+
test_files:
|
176
|
+
- test/fixtures/products.yml
|
177
|
+
- test/fixtures/users.yml
|
178
|
+
- test/fixtures/materials.yml
|
179
|
+
- test/integration/navigation_test.rb
|
180
|
+
- test/test_helper.rb
|
181
|
+
- test/user_stamp_test.rb
|
182
|
+
- test/dummy/app/helpers/application_helper.rb
|
183
|
+
- test/dummy/app/helpers/products_helper.rb
|
184
|
+
- test/dummy/app/helpers/materials_helper.rb
|
185
|
+
- test/dummy/app/controllers/products_controller.rb
|
186
|
+
- test/dummy/app/controllers/materials_controller.rb
|
187
|
+
- test/dummy/app/controllers/application_controller.rb
|
188
|
+
- test/dummy/app/models/user.rb
|
189
|
+
- test/dummy/app/models/product.rb
|
190
|
+
- test/dummy/app/models/material.rb
|
191
|
+
- test/dummy/app/assets/javascripts/application.js
|
192
|
+
- test/dummy/app/assets/javascripts/materials.js
|
193
|
+
- test/dummy/app/assets/javascripts/products.js
|
194
|
+
- test/dummy/app/assets/stylesheets/application.css
|
195
|
+
- test/dummy/app/assets/stylesheets/materials.css
|
196
|
+
- test/dummy/app/assets/stylesheets/products.css
|
197
|
+
- test/dummy/app/views/products/_form.html.erb
|
198
|
+
- test/dummy/app/views/products/show.html.erb
|
199
|
+
- test/dummy/app/views/products/new.html.erb
|
200
|
+
- test/dummy/app/views/products/index.html.erb
|
201
|
+
- test/dummy/app/views/products/edit.html.erb
|
202
|
+
- test/dummy/app/views/layouts/application.html.erb
|
203
|
+
- test/dummy/app/views/materials/_form.html.erb
|
204
|
+
- test/dummy/app/views/materials/show.html.erb
|
205
|
+
- test/dummy/app/views/materials/new.html.erb
|
206
|
+
- test/dummy/app/views/materials/index.html.erb
|
207
|
+
- test/dummy/app/views/materials/edit.html.erb
|
208
|
+
- test/dummy/log/development.log
|
209
|
+
- test/dummy/log/test.log
|
210
|
+
- test/dummy/script/rails
|
211
|
+
- test/dummy/config.ru
|
212
|
+
- test/dummy/db/migrate/20150418013334_create_products.rb
|
213
|
+
- test/dummy/db/migrate/20150418012302_devise_create_users.rb
|
214
|
+
- test/dummy/db/migrate/20150420023321_create_materials.rb
|
215
|
+
- test/dummy/db/test.sqlite3
|
216
|
+
- test/dummy/db/schema.rb
|
217
|
+
- test/dummy/db/development.sqlite3
|
218
|
+
- test/dummy/config/initializers/inflections.rb
|
219
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
220
|
+
- test/dummy/config/initializers/secret_token.rb
|
221
|
+
- test/dummy/config/initializers/session_store.rb
|
222
|
+
- test/dummy/config/initializers/devise.rb
|
223
|
+
- test/dummy/config/initializers/mime_types.rb
|
224
|
+
- test/dummy/config/initializers/user_stamp.rb
|
225
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
226
|
+
- test/dummy/config/database.yml
|
227
|
+
- test/dummy/config/routes.rb
|
228
|
+
- test/dummy/config/environments/development.rb
|
229
|
+
- test/dummy/config/environments/production.rb
|
230
|
+
- test/dummy/config/environments/test.rb
|
231
|
+
- test/dummy/config/locales/en.yml
|
232
|
+
- test/dummy/config/locales/devise.en.yml
|
233
|
+
- test/dummy/config/environment.rb
|
234
|
+
- test/dummy/config/application.rb
|
235
|
+
- test/dummy/config/boot.rb
|
236
|
+
- test/dummy/test/functional/products_controller_test.rb
|
237
|
+
- test/dummy/test/functional/materials_controller_test.rb
|
238
|
+
- test/dummy/test/unit/user_test.rb
|
239
|
+
- test/dummy/test/unit/product_test.rb
|
240
|
+
- test/dummy/test/unit/helpers/materials_helper_test.rb
|
241
|
+
- test/dummy/test/unit/helpers/products_helper_test.rb
|
242
|
+
- test/dummy/test/unit/material_test.rb
|
243
|
+
- test/dummy/README.rdoc
|
244
|
+
- test/dummy/Rakefile
|
245
|
+
- test/dummy/public/favicon.ico
|
246
|
+
- test/dummy/public/500.html
|
247
|
+
- test/dummy/public/404.html
|
248
|
+
- test/dummy/public/422.html
|