audited_views 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/audited_views.css +6 -0
  3. data/app/helpers/audited_views_helper.rb +0 -1
  4. data/lib/audited_views/version.rb +1 -1
  5. data/spec/dummy/db/test.sqlite3 +0 -0
  6. data/spec/dummy/log/test.log +386 -0
  7. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/3l/3lTfVt5mnUw_pwWB-EWfV7v3nBpF6w9PWzx_OY0d5Uo.cache +0 -0
  8. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/47/47N7l6uHSjSCd7Ru3vJ0JoBp9dFdqA8phU8uKIjIvqM.cache +1 -0
  9. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/BN/BNy5uhInXB0ihf1X9XEjYXOTQzS7LxrBtFhdfyIdeqA.cache +1 -0
  10. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HC/HCDOUd7-S45aJ_PjVAC_Vmjyud3i1aQv4cE3t9_Z3Dw.cache +0 -0
  11. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/OJ/OJ1uiUYKQmWd42oIWTlWOfjdMwo2HqQUv4bwvFozlgo.cache +1 -0
  12. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/OX/OXWdn9vE2KzoWk1Tgi3J7onOHM0xGEFYOD1Hg0h_bS0.cache +0 -0
  13. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Pk/PkhAoD3YaK1D-UYeKoFVVgr69lnTZMSQqUfczLbJ5NE.cache +1 -0
  14. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/SV/SVlVMncJi5iECzorG_xSmMvxIdCpAUPWeqLkXBRXKpM.cache +0 -0
  15. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/VR/VReNvp0QHy6LIJW8nYxURZoy5zbXKlkoMwR1TKWY-VQ.cache +1 -0
  16. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/b_/b_Itlk9QZZd7Rvf8kcA4yLP1R5Acu7jB-m1xQiSU0qE.cache +0 -0
  17. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/cj/cjNlSRlQtUDAwuCwO0GS59TcwcUey_SxumTMRMHp-Pc.cache +0 -0
  18. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gQ/gQL5o0PwSkV6nDNQotitNefQRbps23gfbhd0spq4GYI.cache +1 -0
  19. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/lk/lkovZoGWsi9s_5nn1YPmKKPQO5Ip6AeKCDi1Fj94i4o.cache +3 -0
  20. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/m4/m4b6OtLpnRvCY8QxV_G2w9l7YiS6Nb-1ZMXncJLuCxU.cache +1 -0
  21. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/mX/mX1nlsL_SWOB4y22W5FheRX0YEONKyOY7xUeIvRiHco.cache +0 -0
  22. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache +0 -0
  23. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache +0 -0
  24. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/pd/pdcYU2LAlzymtrkzi7c5N-62_9DiwuvZTHdXvi3LOH4.cache +1 -0
  25. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/qQ/qQf8fS1PozjLFywxp2mh64LVU9thBA6Mb1eJDrXOwUo.cache +0 -0
  26. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wK/wKsc6LmmkCDdNh8zD8yfu_lyJjL3pK8f1BpTAXc-vH4.cache +1 -0
  27. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yX/yXva_dhsxO6Sjr1dHQF_cyEOGHd065bVtMaMDTBQzXU.cache +0 -0
  28. data/spec/dummy/tmp/capybara/capybara-2017052417022284173193.html +139 -0
  29. data/spec/dummy/tmp/capybara/capybara-201705241703119446562013.html +139 -0
  30. data/spec/dummy/tmp/capybara/capybara-20170524170318735562344.html +139 -0
  31. data/spec/dummy/tmp/capybara/capybara-20170524170322884470518.html +139 -0
  32. data/spec/dummy/tmp/capybara/capybara-201705241704194913728982.html +139 -0
  33. metadata +45 -3
  34. data/app/models/audit.rb +0 -4
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=2fe68955142c92d54c9db335fbe9bb382d76d35567de347f22252d076fc96439:ET
@@ -0,0 +1,3 @@
1
+ [o:Set:
2
+ @hash}
3
+ I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"pfile-digest:///home/douglas/.rvm/gems/ruby-2.4.1/gems/actioncable-5.0.2/lib/assets/compiled/action_cable.js;TTF
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/cable.js?type=application/javascript&pipeline=self&id=fbf2bf504a4b724e38836379ebc5fce8307349fc7c0d7f47fc999ef86dae0013:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&id=3bd75a64fa0fc5ccf47580a5b8e2a532b9ac04c462a187690fa9289dfc718545:ET
@@ -0,0 +1,139 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Dummy</title>
5
+
6
+
7
+ <link rel="stylesheet" media="all" href="/assets/application-af04b226fd7202dfc532ce7aedb95a0128277937e90d3b3a3d35e1cce9e16886.css" />
8
+ <script src="/assets/application-bcd8f0246ac4e88833e8bf1edfca887995a268c875c45f90784d3a7cbbf3eef9.js"></script>
9
+ </head>
10
+
11
+ <body>
12
+ <p id="notice"></p>
13
+
14
+ <p>
15
+ <strong>Sku:</strong>
16
+ 001
17
+ </p>
18
+
19
+ <p>
20
+ <strong>Title:</strong>
21
+ Smartphone
22
+ </p>
23
+
24
+ <p>
25
+ <strong>Price:</strong>
26
+ 450.0
27
+ </p>
28
+
29
+ <p>
30
+ <strong>Active:</strong>
31
+ true
32
+ </p>
33
+
34
+ <p>
35
+ <strong>Description:</strong>
36
+ Smartphone ABC
37
+ </p>
38
+
39
+ <a href="/products/1/edit">Edit</a> |
40
+ <a href="/products">Back</a>
41
+
42
+ <hr>
43
+
44
+ <span class="audit-created-at">
45
+ Created at 24 May 20:02 by user@domain.com
46
+ </span>
47
+
48
+
49
+ <a name="audits"></a>
50
+ <hr>
51
+ <h2>Change Log</h2>
52
+
53
+ <div class="panel panel-success">
54
+ <div class="panel-heading">
55
+ <b>Creation</b> -
56
+ 24 May 20:02 -
57
+ user@domain.com
58
+ </div>
59
+ <div class="panel-body">
60
+ <p>
61
+ Product:
62
+ <b><span title="Id 1">#&lt;Product:0x00000006179de0&gt;</span></b>
63
+ </p>
64
+
65
+ <table class="table audits">
66
+ <tr>
67
+ <th>Field</th>
68
+ <th>Old Value</th>
69
+ <th>New Value</th>
70
+ </tr>
71
+ <tr data-audited-field="sku">
72
+ <td>
73
+ Sku
74
+ </td>
75
+ <td>
76
+ -
77
+ </td>
78
+ <td>
79
+ <!-- #Como audited changes so possui um elemento no array de campos, aqui ele aparece no primeiro elemento, logo old_value do parametro do bloco -->
80
+ 001
81
+ </td>
82
+ </tr>
83
+ <tr data-audited-field="title">
84
+ <td>
85
+ Title
86
+ </td>
87
+ <td>
88
+ -
89
+ </td>
90
+ <td>
91
+ <!-- #Como audited changes so possui um elemento no array de campos, aqui ele aparece no primeiro elemento, logo old_value do parametro do bloco -->
92
+ Smartphone
93
+ </td>
94
+ </tr>
95
+ <tr data-audited-field="price">
96
+ <td>
97
+ Price
98
+ </td>
99
+ <td>
100
+ -
101
+ </td>
102
+ <td>
103
+ <!-- #Como audited changes so possui um elemento no array de campos, aqui ele aparece no primeiro elemento, logo old_value do parametro do bloco -->
104
+ 450.0
105
+ </td>
106
+ </tr>
107
+ <tr data-audited-field="active">
108
+ <td>
109
+ Active
110
+ </td>
111
+ <td>
112
+ -
113
+ </td>
114
+ <td>
115
+ <!-- #Como audited changes so possui um elemento no array de campos, aqui ele aparece no primeiro elemento, logo old_value do parametro do bloco -->
116
+ <span class="translation_missing" title="translation missing: en.audited.true_word">True Word</span>
117
+ </td>
118
+ </tr>
119
+ <tr data-audited-field="description">
120
+ <td>
121
+ Description
122
+ </td>
123
+ <td>
124
+ -
125
+ </td>
126
+ <td>
127
+ <!-- #Como audited changes so possui um elemento no array de campos, aqui ele aparece no primeiro elemento, logo old_value do parametro do bloco -->
128
+ Smartphone ABC
129
+ </td>
130
+ </tr>
131
+ </table>
132
+ </div>
133
+ </div>
134
+
135
+
136
+
137
+
138
+ </body>
139
+ </html>
@@ -0,0 +1,139 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Dummy</title>
5
+
6
+
7
+ <link rel="stylesheet" media="all" href="/assets/application-af04b226fd7202dfc532ce7aedb95a0128277937e90d3b3a3d35e1cce9e16886.css" />
8
+ <script src="/assets/application-bcd8f0246ac4e88833e8bf1edfca887995a268c875c45f90784d3a7cbbf3eef9.js"></script>
9
+ </head>
10
+
11
+ <body>
12
+ <p id="notice"></p>
13
+
14
+ <p>
15
+ <strong>Sku:</strong>
16
+ 001
17
+ </p>
18
+
19
+ <p>
20
+ <strong>Title:</strong>
21
+ Smartphone
22
+ </p>
23
+
24
+ <p>
25
+ <strong>Price:</strong>
26
+ 450.0
27
+ </p>
28
+
29
+ <p>
30
+ <strong>Active:</strong>
31
+ true
32
+ </p>
33
+
34
+ <p>
35
+ <strong>Description:</strong>
36
+ Smartphone ABC
37
+ </p>
38
+
39
+ <a href="/products/1/edit">Edit</a> |
40
+ <a href="/products">Back</a>
41
+
42
+ <hr>
43
+
44
+ <span class="audit-created-at">
45
+ Created at 24 May 20:03 by user@domain.com
46
+ </span>
47
+
48
+
49
+ <a name="audits"></a>
50
+ <hr>
51
+ <h2>Change Log</h2>
52
+
53
+ <div class="panel panel-success">
54
+ <div class="panel-heading">
55
+ <b>Creation</b> -
56
+ 24 May 20:03 -
57
+ user@domain.com
58
+ </div>
59
+ <div class="panel-body">
60
+ <p>
61
+ Product:
62
+ <b><span title="Id 1">#&lt;Product:0x000000058beb60&gt;</span></b>
63
+ </p>
64
+
65
+ <table class="table audits">
66
+ <tr>
67
+ <th>Field</th>
68
+ <th>Old Value</th>
69
+ <th>New Value</th>
70
+ </tr>
71
+ <tr data-audited-field="sku">
72
+ <td>
73
+ Sku
74
+ </td>
75
+ <td>
76
+ -
77
+ </td>
78
+ <td>
79
+ <!-- #Como audited changes so possui um elemento no array de campos, aqui ele aparece no primeiro elemento, logo old_value do parametro do bloco -->
80
+ 001
81
+ </td>
82
+ </tr>
83
+ <tr data-audited-field="title">
84
+ <td>
85
+ Title
86
+ </td>
87
+ <td>
88
+ -
89
+ </td>
90
+ <td>
91
+ <!-- #Como audited changes so possui um elemento no array de campos, aqui ele aparece no primeiro elemento, logo old_value do parametro do bloco -->
92
+ Smartphone
93
+ </td>
94
+ </tr>
95
+ <tr data-audited-field="price">
96
+ <td>
97
+ Price
98
+ </td>
99
+ <td>
100
+ -
101
+ </td>
102
+ <td>
103
+ <!-- #Como audited changes so possui um elemento no array de campos, aqui ele aparece no primeiro elemento, logo old_value do parametro do bloco -->
104
+ 450.0
105
+ </td>
106
+ </tr>
107
+ <tr data-audited-field="active">
108
+ <td>
109
+ Active
110
+ </td>
111
+ <td>
112
+ -
113
+ </td>
114
+ <td>
115
+ <!-- #Como audited changes so possui um elemento no array de campos, aqui ele aparece no primeiro elemento, logo old_value do parametro do bloco -->
116
+ <span class="translation_missing" title="translation missing: en.audited.true_word">True Word</span>
117
+ </td>
118
+ </tr>
119
+ <tr data-audited-field="description">
120
+ <td>
121
+ Description
122
+ </td>
123
+ <td>
124
+ -
125
+ </td>
126
+ <td>
127
+ <!-- #Como audited changes so possui um elemento no array de campos, aqui ele aparece no primeiro elemento, logo old_value do parametro do bloco -->
128
+ Smartphone ABC
129
+ </td>
130
+ </tr>
131
+ </table>
132
+ </div>
133
+ </div>
134
+
135
+
136
+
137
+
138
+ </body>
139
+ </html>
@@ -0,0 +1,139 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Dummy</title>
5
+
6
+
7
+ <link rel="stylesheet" media="all" href="/assets/application-af04b226fd7202dfc532ce7aedb95a0128277937e90d3b3a3d35e1cce9e16886.css" />
8
+ <script src="/assets/application-bcd8f0246ac4e88833e8bf1edfca887995a268c875c45f90784d3a7cbbf3eef9.js"></script>
9
+ </head>
10
+
11
+ <body>
12
+ <p id="notice"></p>
13
+
14
+ <p>
15
+ <strong>Sku:</strong>
16
+ 001
17
+ </p>
18
+
19
+ <p>
20
+ <strong>Title:</strong>
21
+ Smartphone
22
+ </p>
23
+
24
+ <p>
25
+ <strong>Price:</strong>
26
+ 450.0
27
+ </p>
28
+
29
+ <p>
30
+ <strong>Active:</strong>
31
+ true
32
+ </p>
33
+
34
+ <p>
35
+ <strong>Description:</strong>
36
+ Smartphone ABC
37
+ </p>
38
+
39
+ <a href="/products/1/edit">Edit</a> |
40
+ <a href="/products">Back</a>
41
+
42
+ <hr>
43
+
44
+ <span class="audit-created-at">
45
+ Created at 24 May 20:03 by user@domain.com
46
+ </span>
47
+
48
+
49
+ <a name="audits"></a>
50
+ <hr>
51
+ <h2>Change Log</h2>
52
+
53
+ <div class="panel panel-success">
54
+ <div class="panel-heading">
55
+ <b>Creation</b> -
56
+ 24 May 20:03 -
57
+ user@domain.com
58
+ </div>
59
+ <div class="panel-body">
60
+ <p>
61
+ Product:
62
+ <b><span title="Id 1">#&lt;Product:0x00000006df5718&gt;</span></b>
63
+ </p>
64
+
65
+ <table class="table audits">
66
+ <tr>
67
+ <th>Field</th>
68
+ <th>Old Value</th>
69
+ <th>New Value</th>
70
+ </tr>
71
+ <tr data-audited-field="sku">
72
+ <td>
73
+ Sku
74
+ </td>
75
+ <td>
76
+ -
77
+ </td>
78
+ <td>
79
+ <!-- #Como audited changes so possui um elemento no array de campos, aqui ele aparece no primeiro elemento, logo old_value do parametro do bloco -->
80
+ 001
81
+ </td>
82
+ </tr>
83
+ <tr data-audited-field="title">
84
+ <td>
85
+ Title
86
+ </td>
87
+ <td>
88
+ -
89
+ </td>
90
+ <td>
91
+ <!-- #Como audited changes so possui um elemento no array de campos, aqui ele aparece no primeiro elemento, logo old_value do parametro do bloco -->
92
+ Smartphone
93
+ </td>
94
+ </tr>
95
+ <tr data-audited-field="price">
96
+ <td>
97
+ Price
98
+ </td>
99
+ <td>
100
+ -
101
+ </td>
102
+ <td>
103
+ <!-- #Como audited changes so possui um elemento no array de campos, aqui ele aparece no primeiro elemento, logo old_value do parametro do bloco -->
104
+ 450.0
105
+ </td>
106
+ </tr>
107
+ <tr data-audited-field="active">
108
+ <td>
109
+ Active
110
+ </td>
111
+ <td>
112
+ -
113
+ </td>
114
+ <td>
115
+ <!-- #Como audited changes so possui um elemento no array de campos, aqui ele aparece no primeiro elemento, logo old_value do parametro do bloco -->
116
+ <span class="translation_missing" title="translation missing: en.audited.true_word">True Word</span>
117
+ </td>
118
+ </tr>
119
+ <tr data-audited-field="description">
120
+ <td>
121
+ Description
122
+ </td>
123
+ <td>
124
+ -
125
+ </td>
126
+ <td>
127
+ <!-- #Como audited changes so possui um elemento no array de campos, aqui ele aparece no primeiro elemento, logo old_value do parametro do bloco -->
128
+ Smartphone ABC
129
+ </td>
130
+ </tr>
131
+ </table>
132
+ </div>
133
+ </div>
134
+
135
+
136
+
137
+
138
+ </body>
139
+ </html>
@@ -0,0 +1,139 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Dummy</title>
5
+
6
+
7
+ <link rel="stylesheet" media="all" href="/assets/application-af04b226fd7202dfc532ce7aedb95a0128277937e90d3b3a3d35e1cce9e16886.css" />
8
+ <script src="/assets/application-bcd8f0246ac4e88833e8bf1edfca887995a268c875c45f90784d3a7cbbf3eef9.js"></script>
9
+ </head>
10
+
11
+ <body>
12
+ <p id="notice"></p>
13
+
14
+ <p>
15
+ <strong>Sku:</strong>
16
+ 001
17
+ </p>
18
+
19
+ <p>
20
+ <strong>Title:</strong>
21
+ Smartphone
22
+ </p>
23
+
24
+ <p>
25
+ <strong>Price:</strong>
26
+ 450.0
27
+ </p>
28
+
29
+ <p>
30
+ <strong>Active:</strong>
31
+ true
32
+ </p>
33
+
34
+ <p>
35
+ <strong>Description:</strong>
36
+ Smartphone ABC
37
+ </p>
38
+
39
+ <a href="/products/1/edit">Edit</a> |
40
+ <a href="/products">Back</a>
41
+
42
+ <hr>
43
+
44
+ <span class="audit-created-at">
45
+ Created at 24 May 20:03 by user@domain.com
46
+ </span>
47
+
48
+
49
+ <a name="audits"></a>
50
+ <hr>
51
+ <h2>Change Log</h2>
52
+
53
+ <div class="panel panel-success">
54
+ <div class="panel-heading">
55
+ <b>Creation</b> -
56
+ 24 May 20:03 -
57
+ user@domain.com
58
+ </div>
59
+ <div class="panel-body">
60
+ <p>
61
+ Product:
62
+ <b><span title="Id 1">#&lt;Product:0x000000071563d0&gt;</span></b>
63
+ </p>
64
+
65
+ <table class="table audits">
66
+ <tr>
67
+ <th>Field</th>
68
+ <th>Old Value</th>
69
+ <th>New Value</th>
70
+ </tr>
71
+ <tr data-audited-field="sku">
72
+ <td>
73
+ Sku
74
+ </td>
75
+ <td>
76
+ -
77
+ </td>
78
+ <td>
79
+ <!-- #Como audited changes so possui um elemento no array de campos, aqui ele aparece no primeiro elemento, logo old_value do parametro do bloco -->
80
+ 001
81
+ </td>
82
+ </tr>
83
+ <tr data-audited-field="title">
84
+ <td>
85
+ Title
86
+ </td>
87
+ <td>
88
+ -
89
+ </td>
90
+ <td>
91
+ <!-- #Como audited changes so possui um elemento no array de campos, aqui ele aparece no primeiro elemento, logo old_value do parametro do bloco -->
92
+ Smartphone
93
+ </td>
94
+ </tr>
95
+ <tr data-audited-field="price">
96
+ <td>
97
+ Price
98
+ </td>
99
+ <td>
100
+ -
101
+ </td>
102
+ <td>
103
+ <!-- #Como audited changes so possui um elemento no array de campos, aqui ele aparece no primeiro elemento, logo old_value do parametro do bloco -->
104
+ 450.0
105
+ </td>
106
+ </tr>
107
+ <tr data-audited-field="active">
108
+ <td>
109
+ Active
110
+ </td>
111
+ <td>
112
+ -
113
+ </td>
114
+ <td>
115
+ <!-- #Como audited changes so possui um elemento no array de campos, aqui ele aparece no primeiro elemento, logo old_value do parametro do bloco -->
116
+ <span class="translation_missing" title="translation missing: en.audited.true_word">True Word</span>
117
+ </td>
118
+ </tr>
119
+ <tr data-audited-field="description">
120
+ <td>
121
+ Description
122
+ </td>
123
+ <td>
124
+ -
125
+ </td>
126
+ <td>
127
+ <!-- #Como audited changes so possui um elemento no array de campos, aqui ele aparece no primeiro elemento, logo old_value do parametro do bloco -->
128
+ Smartphone ABC
129
+ </td>
130
+ </tr>
131
+ </table>
132
+ </div>
133
+ </div>
134
+
135
+
136
+
137
+
138
+ </body>
139
+ </html>