loggable_activity 0.5.6 → 0.5.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (120) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +3 -0
  3. data/GETTING-STARTED.md +1 -0
  4. data/docker-compose.yml +27 -0
  5. data/docs/CHANGELOG_md.html +318 -0
  6. data/docs/CHEAT_SHEET_md.html +168 -0
  7. data/docs/CODE_OF_CONDUCT_md.html +250 -0
  8. data/docs/CreateLoggableActivities.html +175 -0
  9. data/docs/CreateLoggableActivityTables.html +173 -0
  10. data/docs/GETTING-STARTED_md.html +211 -0
  11. data/docs/Gemfile.html +153 -0
  12. data/docs/Gemfile_lock.html +438 -0
  13. data/docs/LoggableActivity/ActivitiesController.html +160 -0
  14. data/docs/LoggableActivity/ActivitiesHelper.html +158 -0
  15. data/docs/LoggableActivity/Activity.html +565 -0
  16. data/docs/LoggableActivity/ApplicationController.html +97 -0
  17. data/docs/LoggableActivity/ApplicationHelper.html +91 -0
  18. data/docs/LoggableActivity/ApplicationJob.html +97 -0
  19. data/docs/LoggableActivity/ApplicationMailer.html +97 -0
  20. data/docs/LoggableActivity/ApplicationRecord.html +97 -0
  21. data/docs/LoggableActivity/Configuration.html +237 -0
  22. data/docs/LoggableActivity/ConfigurationError.html +142 -0
  23. data/docs/LoggableActivity/CurrentActor.html +166 -0
  24. data/docs/LoggableActivity/DataOwner.html +138 -0
  25. data/docs/LoggableActivity/Encryption.html +321 -0
  26. data/docs/LoggableActivity/EncryptionError.html +142 -0
  27. data/docs/LoggableActivity/EncryptionKey.html +399 -0
  28. data/docs/LoggableActivity/Engine.html +108 -0
  29. data/docs/LoggableActivity/Error.html +142 -0
  30. data/docs/LoggableActivity/Generators/InstallGenerator.html +212 -0
  31. data/docs/LoggableActivity/Generators.html +91 -0
  32. data/docs/LoggableActivity/Hooks.html +841 -0
  33. data/docs/LoggableActivity/Payload.html +430 -0
  34. data/docs/LoggableActivity/Sanitizer.html +134 -0
  35. data/docs/LoggableActivity/Services/BasePayloadsBuilder.html +472 -0
  36. data/docs/LoggableActivity/Services/CustomPayloadsBuilder.html +225 -0
  37. data/docs/LoggableActivity/Services/DestroyPayloadsBuilder.html +396 -0
  38. data/docs/LoggableActivity/Services/PayloadsBuilder.html +348 -0
  39. data/docs/LoggableActivity/Services/UpdatePayloadsBuilder.html +540 -0
  40. data/docs/LoggableActivity/Services.html +93 -0
  41. data/docs/LoggableActivity.html +173 -0
  42. data/docs/MIT-LICENSE.html +132 -0
  43. data/docs/Object.html +110 -0
  44. data/docs/README_md.html +186 -0
  45. data/docs/Rakefile.html +134 -0
  46. data/docs/app/assets/config/loggable_activity_manifest_js.html +126 -0
  47. data/docs/app/assets/javascripts/loggable_activity/application_js.html +124 -0
  48. data/docs/app/assets/stylesheets/loggable_activity/activities_scss.html +154 -0
  49. data/docs/app/assets/stylesheets/loggable_activity/application_scss.html +142 -0
  50. data/docs/app/views/layouts/loggable_activity/application_html_slim.html +145 -0
  51. data/docs/app/views/loggable_activity/activities/_activities_html_slim.html +159 -0
  52. data/docs/created.rid +74 -0
  53. data/docs/css/fonts.css +167 -0
  54. data/docs/css/rdoc.css +687 -0
  55. data/docs/fonts/Lato-Light.ttf +0 -0
  56. data/docs/fonts/Lato-LightItalic.ttf +0 -0
  57. data/docs/fonts/Lato-Regular.ttf +0 -0
  58. data/docs/fonts/Lato-RegularItalic.ttf +0 -0
  59. data/docs/fonts/SourceCodePro-Bold.ttf +0 -0
  60. data/docs/fonts/SourceCodePro-Regular.ttf +0 -0
  61. data/docs/git-org/HEAD.html +126 -0
  62. data/docs/git-org/config.html +128 -0
  63. data/docs/git-org/description.html +126 -0
  64. data/docs/git-org/hooks/applypatch-msg_sample.html +128 -0
  65. data/docs/git-org/hooks/commit-msg_sample.html +138 -0
  66. data/docs/git-org/hooks/fsmonitor-watchman_sample.html +302 -0
  67. data/docs/git-org/hooks/post-update_sample.html +128 -0
  68. data/docs/git-org/hooks/pre-applypatch_sample.html +128 -0
  69. data/docs/git-org/hooks/pre-commit_sample.html +174 -0
  70. data/docs/git-org/hooks/pre-merge-commit_sample.html +133 -0
  71. data/docs/git-org/hooks/pre-push_sample.html +161 -0
  72. data/docs/git-org/hooks/pre-rebase_sample.html +282 -0
  73. data/docs/git-org/hooks/pre-receive_sample.html +144 -0
  74. data/docs/git-org/hooks/prepare-commit-msg_sample.html +136 -0
  75. data/docs/git-org/hooks/push-to-checkout_sample.html +178 -0
  76. data/docs/git-org/hooks/update_sample.html +226 -0
  77. data/docs/git-org/info/exclude.html +126 -0
  78. data/docs/images/add.png +0 -0
  79. data/docs/images/arrow_up.png +0 -0
  80. data/docs/images/brick.png +0 -0
  81. data/docs/images/brick_link.png +0 -0
  82. data/docs/images/bug.png +0 -0
  83. data/docs/images/bullet_black.png +0 -0
  84. data/docs/images/bullet_toggle_minus.png +0 -0
  85. data/docs/images/bullet_toggle_plus.png +0 -0
  86. data/docs/images/date.png +0 -0
  87. data/docs/images/delete.png +0 -0
  88. data/docs/images/find.png +0 -0
  89. data/docs/images/loadingAnimation.gif +0 -0
  90. data/docs/images/macFFBgHack.png +0 -0
  91. data/docs/images/package.png +0 -0
  92. data/docs/images/page_green.png +0 -0
  93. data/docs/images/page_white_text.png +0 -0
  94. data/docs/images/page_white_width.png +0 -0
  95. data/docs/images/plugin.png +0 -0
  96. data/docs/images/ruby.png +0 -0
  97. data/docs/images/tag_blue.png +0 -0
  98. data/docs/images/tag_green.png +0 -0
  99. data/docs/images/transparent.png +0 -0
  100. data/docs/images/wrench.png +0 -0
  101. data/docs/images/wrench_orange.png +0 -0
  102. data/docs/images/zoom.png +0 -0
  103. data/docs/index.html +166 -0
  104. data/docs/js/darkfish.js +97 -0
  105. data/docs/js/navigation.js +105 -0
  106. data/docs/js/navigation.js.gz +0 -0
  107. data/docs/js/search.js +110 -0
  108. data/docs/js/search_index.js +1 -0
  109. data/docs/js/search_index.js.gz +0 -0
  110. data/docs/js/searcher.js +229 -0
  111. data/docs/js/searcher.js.gz +0 -0
  112. data/docs/lib/loggable_activity/config_schema_json.html +205 -0
  113. data/docs/lib/tasks/loggable_activity_tasks_rake.html +128 -0
  114. data/docs/table_of_contents.html +954 -0
  115. data/lib/loggable_activity/concerns/current_actor.rb +25 -0
  116. data/lib/loggable_activity/hooks.rb +41 -19
  117. data/lib/loggable_activity/version.rb +1 -1
  118. data/lib/loggable_activity.rb +1 -1
  119. metadata +114 -3
  120. data/lib/loggable_activity/concerns/current_user.rb +0 -26
@@ -0,0 +1,229 @@
1
+ Searcher = function(data) {
2
+ this.data = data;
3
+ this.handlers = [];
4
+ }
5
+
6
+ Searcher.prototype = new function() {
7
+ // search is performed in chunks of 1000 for non-blocking user input
8
+ var CHUNK_SIZE = 1000;
9
+ // do not try to find more than 100 results
10
+ var MAX_RESULTS = 100;
11
+ var huid = 1;
12
+ var suid = 1;
13
+ var runs = 0;
14
+
15
+ this.find = function(query) {
16
+ var queries = splitQuery(query);
17
+ var regexps = buildRegexps(queries);
18
+ var highlighters = buildHilighters(queries);
19
+ var state = { from: 0, pass: 0, limit: MAX_RESULTS, n: suid++};
20
+ var _this = this;
21
+
22
+ this.currentSuid = state.n;
23
+
24
+ if (!query) return;
25
+
26
+ var run = function() {
27
+ // stop current search thread if new search started
28
+ if (state.n != _this.currentSuid) return;
29
+
30
+ var results =
31
+ performSearch(_this.data, regexps, queries, highlighters, state);
32
+ var hasMore = (state.limit > 0 && state.pass < 4);
33
+
34
+ triggerResults.call(_this, results, !hasMore);
35
+ if (hasMore) {
36
+ setTimeout(run, 2);
37
+ }
38
+ runs++;
39
+ };
40
+ runs = 0;
41
+
42
+ // start search thread
43
+ run();
44
+ }
45
+
46
+ /* ----- Events ------ */
47
+ this.ready = function(fn) {
48
+ fn.huid = huid;
49
+ this.handlers.push(fn);
50
+ }
51
+
52
+ /* ----- Utilities ------ */
53
+ function splitQuery(query) {
54
+ return query.split(/(\s+|::?|\(\)?)/).filter(function(string) {
55
+ return string.match(/\S/);
56
+ });
57
+ }
58
+
59
+ function buildRegexps(queries) {
60
+ return queries.map(function(query) {
61
+ return new RegExp(query.replace(/(.)/g, '([$1])([^$1]*?)'), 'i');
62
+ });
63
+ }
64
+
65
+ function buildHilighters(queries) {
66
+ return queries.map(function(query) {
67
+ return query.split('').map(function(l, i) {
68
+ return '\u0001$' + (i*2+1) + '\u0002$' + (i*2+2);
69
+ }).join('');
70
+ });
71
+ }
72
+
73
+ // function longMatchRegexp(index, longIndex, regexps) {
74
+ // for (var i = regexps.length - 1; i >= 0; i--){
75
+ // if (!index.match(regexps[i]) && !longIndex.match(regexps[i])) return false;
76
+ // };
77
+ // return true;
78
+ // }
79
+
80
+
81
+ /* ----- Mathchers ------ */
82
+
83
+ /*
84
+ * This record matches if the index starts with queries[0] and the record
85
+ * matches all of the regexps
86
+ */
87
+ function matchPassBeginning(index, longIndex, queries, regexps) {
88
+ if (index.indexOf(queries[0]) != 0) return false;
89
+ for (var i=1, l = regexps.length; i < l; i++) {
90
+ if (!index.match(regexps[i]) && !longIndex.match(regexps[i]))
91
+ return false;
92
+ };
93
+ return true;
94
+ }
95
+
96
+ /*
97
+ * This record matches if the longIndex starts with queries[0] and the
98
+ * longIndex matches all of the regexps
99
+ */
100
+ function matchPassLongIndex(index, longIndex, queries, regexps) {
101
+ if (longIndex.indexOf(queries[0]) != 0) return false;
102
+ for (var i=1, l = regexps.length; i < l; i++) {
103
+ if (!longIndex.match(regexps[i]))
104
+ return false;
105
+ };
106
+ return true;
107
+ }
108
+
109
+ /*
110
+ * This record matches if the index contains queries[0] and the record
111
+ * matches all of the regexps
112
+ */
113
+ function matchPassContains(index, longIndex, queries, regexps) {
114
+ if (index.indexOf(queries[0]) == -1) return false;
115
+ for (var i=1, l = regexps.length; i < l; i++) {
116
+ if (!index.match(regexps[i]) && !longIndex.match(regexps[i]))
117
+ return false;
118
+ };
119
+ return true;
120
+ }
121
+
122
+ /*
123
+ * This record matches if regexps[0] matches the index and the record
124
+ * matches all of the regexps
125
+ */
126
+ function matchPassRegexp(index, longIndex, queries, regexps) {
127
+ if (!index.match(regexps[0])) return false;
128
+ for (var i=1, l = regexps.length; i < l; i++) {
129
+ if (!index.match(regexps[i]) && !longIndex.match(regexps[i]))
130
+ return false;
131
+ };
132
+ return true;
133
+ }
134
+
135
+
136
+ /* ----- Highlighters ------ */
137
+ function highlightRegexp(info, queries, regexps, highlighters) {
138
+ var result = createResult(info);
139
+ for (var i=0, l = regexps.length; i < l; i++) {
140
+ result.title = result.title.replace(regexps[i], highlighters[i]);
141
+ result.namespace = result.namespace.replace(regexps[i], highlighters[i]);
142
+ };
143
+ return result;
144
+ }
145
+
146
+ function hltSubstring(string, pos, length) {
147
+ return string.substring(0, pos) + '\u0001' + string.substring(pos, pos + length) + '\u0002' + string.substring(pos + length);
148
+ }
149
+
150
+ function highlightQuery(info, queries, regexps, highlighters) {
151
+ var result = createResult(info);
152
+ var pos = 0;
153
+ var lcTitle = result.title.toLowerCase();
154
+
155
+ pos = lcTitle.indexOf(queries[0]);
156
+ if (pos != -1) {
157
+ result.title = hltSubstring(result.title, pos, queries[0].length);
158
+ }
159
+
160
+ result.namespace = result.namespace.replace(regexps[0], highlighters[0]);
161
+ for (var i=1, l = regexps.length; i < l; i++) {
162
+ result.title = result.title.replace(regexps[i], highlighters[i]);
163
+ result.namespace = result.namespace.replace(regexps[i], highlighters[i]);
164
+ };
165
+ return result;
166
+ }
167
+
168
+ function createResult(info) {
169
+ var result = {};
170
+ result.title = info[0];
171
+ result.namespace = info[1];
172
+ result.path = info[2];
173
+ result.params = info[3];
174
+ result.snippet = info[4];
175
+ result.badge = info[6];
176
+ return result;
177
+ }
178
+
179
+ /* ----- Searching ------ */
180
+ function performSearch(data, regexps, queries, highlighters, state) {
181
+ var searchIndex = data.searchIndex;
182
+ var longSearchIndex = data.longSearchIndex;
183
+ var info = data.info;
184
+ var result = [];
185
+ var i = state.from;
186
+ var l = searchIndex.length;
187
+ var togo = CHUNK_SIZE;
188
+ var matchFunc, hltFunc;
189
+
190
+ while (state.pass < 4 && state.limit > 0 && togo > 0) {
191
+ if (state.pass == 0) {
192
+ matchFunc = matchPassBeginning;
193
+ hltFunc = highlightQuery;
194
+ } else if (state.pass == 1) {
195
+ matchFunc = matchPassLongIndex;
196
+ hltFunc = highlightQuery;
197
+ } else if (state.pass == 2) {
198
+ matchFunc = matchPassContains;
199
+ hltFunc = highlightQuery;
200
+ } else if (state.pass == 3) {
201
+ matchFunc = matchPassRegexp;
202
+ hltFunc = highlightRegexp;
203
+ }
204
+
205
+ for (; togo > 0 && i < l && state.limit > 0; i++, togo--) {
206
+ if (info[i].n == state.n) continue;
207
+ if (matchFunc(searchIndex[i], longSearchIndex[i], queries, regexps)) {
208
+ info[i].n = state.n;
209
+ result.push(hltFunc(info[i], queries, regexps, highlighters));
210
+ state.limit--;
211
+ }
212
+ };
213
+ if (searchIndex.length <= i) {
214
+ state.pass++;
215
+ i = state.from = 0;
216
+ } else {
217
+ state.from = i;
218
+ }
219
+ }
220
+ return result;
221
+ }
222
+
223
+ function triggerResults(results, isLast) {
224
+ this.handlers.forEach(function(fn) {
225
+ fn.call(this, results, isLast)
226
+ });
227
+ }
228
+ }
229
+
Binary file
@@ -0,0 +1,205 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>config_schema.json - RDoc Documentation</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "../../";
11
+ var index_rel_prefix = "../../";
12
+ </script>
13
+
14
+ <script src="../../js/navigation.js" defer></script>
15
+ <script src="../../js/search.js" defer></script>
16
+ <script src="../../js/search_index.js" defer></script>
17
+ <script src="../../js/searcher.js" defer></script>
18
+ <script src="../../js/darkfish.js" defer></script>
19
+
20
+ <link href="../../css/fonts.css" rel="stylesheet">
21
+ <link href="../../css/rdoc.css" rel="stylesheet">
22
+
23
+
24
+ <body id="top" role="document" class="file">
25
+ <nav role="navigation">
26
+ <div id="project-navigation">
27
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
+ <h2>
29
+ <a href="../../index.html" rel="home">Home</a>
30
+ </h2>
31
+
32
+ <div id="table-of-contents-navigation">
33
+ <a href="../../table_of_contents.html#pages">Pages</a>
34
+ <a href="../../table_of_contents.html#classes">Classes</a>
35
+ <a href="../../table_of_contents.html#methods">Methods</a>
36
+ </div>
37
+ </div>
38
+
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
40
+ <form action="#" method="get" accept-charset="utf-8">
41
+ <div id="search-field-wrapper">
42
+ <input id="search-field" role="combobox" aria-label="Search"
43
+ aria-autocomplete="list" aria-controls="search-results"
44
+ type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
45
+ title="Type to search, Up and Down to navigate, Enter to load">
46
+ </div>
47
+
48
+ <ul id="search-results" aria-label="Search Results"
49
+ aria-busy="false" aria-expanded="false"
50
+ aria-atomic="false" class="initially-hidden"></ul>
51
+ </form>
52
+ </div>
53
+
54
+ </div>
55
+
56
+
57
+
58
+ <div id="project-metadata">
59
+
60
+ <div id="fileindex-section" class="nav-section">
61
+ <h3>Pages</h3>
62
+
63
+ <ul class="link-list">
64
+ <li><a href="../../CHANGELOG_md.html">CHANGELOG</a>
65
+ <li><a href="../../CHEAT_SHEET_md.html">CHEAT_SHEET</a>
66
+ <li><a href="../../CODE_OF_CONDUCT_md.html">CODE_OF_CONDUCT</a>
67
+ <li><a href="../../GETTING-STARTED_md.html">GETTING-STARTED</a>
68
+ <li><a href="../../Gemfile.html">Gemfile</a>
69
+ <li><a href="../../Gemfile_lock.html">Gemfile.lock</a>
70
+ <li><a href="../../MIT-LICENSE.html">MIT-LICENSE</a>
71
+ <li><a href="../../README_md.html">README</a>
72
+ <li><a href="../../Rakefile.html">Rakefile</a>
73
+ <li><details><summary>app</summary>
74
+ <ul class="link-list">
75
+ <li><a href="../../app/assets/config/loggable_activity_manifest_js.html">loggable_activity_manifest.js</a>
76
+ <li><a href="../../app/assets/javascripts/loggable_activity/application_js.html">application.js</a>
77
+ <li><a href="../../app/assets/stylesheets/loggable_activity/activities_scss.html">activities.scss</a>
78
+ <li><a href="../../app/assets/stylesheets/loggable_activity/application_scss.html">application.scss</a>
79
+ <li><a href="../../app/views/layouts/loggable_activity/application_html_slim.html">application.html.slim</a>
80
+ <li><a href="../../app/views/loggable_activity/activities/_activities_html_slim.html">_activities.html.slim</a>
81
+ </ul></details>
82
+ <li><details><summary>git-org</summary>
83
+ <ul class="link-list">
84
+ <li><a href="../../git-org/HEAD.html">HEAD</a>
85
+ <li><a href="../../git-org/config.html">config</a>
86
+ <li><a href="../../git-org/description.html">description</a>
87
+ <li><a href="../../git-org/hooks/applypatch-msg_sample.html">applypatch-msg.sample</a>
88
+ <li><a href="../../git-org/hooks/commit-msg_sample.html">commit-msg.sample</a>
89
+ <li><a href="../../git-org/hooks/fsmonitor-watchman_sample.html">fsmonitor-watchman.sample</a>
90
+ <li><a href="../../git-org/hooks/post-update_sample.html">post-update.sample</a>
91
+ <li><a href="../../git-org/hooks/pre-applypatch_sample.html">pre-applypatch.sample</a>
92
+ <li><a href="../../git-org/hooks/pre-commit_sample.html">pre-commit.sample</a>
93
+ <li><a href="../../git-org/hooks/pre-merge-commit_sample.html">pre-merge-commit.sample</a>
94
+ <li><a href="../../git-org/hooks/pre-push_sample.html">pre-push.sample</a>
95
+ <li><a href="../../git-org/hooks/pre-rebase_sample.html">pre-rebase.sample</a>
96
+ <li><a href="../../git-org/hooks/pre-receive_sample.html">pre-receive.sample</a>
97
+ <li><a href="../../git-org/hooks/prepare-commit-msg_sample.html">prepare-commit-msg.sample</a>
98
+ <li><a href="../../git-org/hooks/push-to-checkout_sample.html">push-to-checkout.sample</a>
99
+ <li><a href="../../git-org/hooks/update_sample.html">update.sample</a>
100
+ <li><a href="../../git-org/info/exclude.html">exclude</a>
101
+ </ul></details>
102
+ <li><details open><summary>lib</summary>
103
+ <ul class="link-list">
104
+ <li><a href="../../lib/loggable_activity/config_schema_json.html">config_schema.json</a>
105
+ <li><a href="../../lib/tasks/loggable_activity_tasks_rake.html">loggable_activity_tasks.rake</a>
106
+ </ul></details>
107
+ </ul>
108
+ </div>
109
+
110
+ </div>
111
+ </nav>
112
+
113
+ <main role="main" aria-label="Page lib/loggable_activity/config_schema.json">
114
+
115
+ <p>{</p>
116
+
117
+ <pre>&quot;$schema&quot;: &quot;http://json-schema.org/draft-06/schema#&quot;,
118
+ &quot;type&quot;: &quot;object&quot;,
119
+ &quot;patternProperties&quot;: {
120
+ &quot;^[A-Za-z0-9_:]+$&quot;: {
121
+ &quot;type&quot;: &quot;object&quot;,
122
+ &quot;properties&quot;: {
123
+ &quot;data_owner&quot;: {
124
+ &quot;type&quot;: &quot;boolean&quot;
125
+ },
126
+ &quot;fetch_record_name_from&quot;: {
127
+ &quot;type&quot;: &quot;string&quot;
128
+ },
129
+ &quot;task_for_sanitization&quot;: {
130
+ &quot;type&quot;: &quot;boolean&quot;
131
+ },
132
+ &quot;loggable_attrs&quot;: {
133
+ &quot;type&quot;: &quot;array&quot;,
134
+ &quot;items&quot;: {
135
+ &quot;type&quot;: &quot;string&quot;
136
+ }
137
+ },
138
+ &quot;auto_log&quot;: {
139
+ &quot;type&quot;: &quot;array&quot;,
140
+ &quot;items&quot;: {
141
+ &quot;type&quot;: &quot;string&quot;,
142
+ &quot;enum&quot;: [
143
+ &quot;create&quot;,
144
+ &quot;update&quot;,
145
+ &quot;destroy&quot;
146
+ ]
147
+ }
148
+ },
149
+ &quot;route&quot;: {
150
+ &quot;type&quot;: &quot;string&quot;,
151
+ &quot;minLength&quot;: 1
152
+ },
153
+ &quot;relations&quot;: {
154
+ &quot;type&quot;: &quot;array&quot;,
155
+ &quot;items&quot;: {
156
+ &quot;type&quot;: &quot;object&quot;,
157
+ &quot;properties&quot;: {
158
+ &quot;has_many&quot;: {
159
+ &quot;type&quot;: &quot;string&quot;
160
+ },
161
+ &quot;has_one&quot;: {
162
+ &quot;type&quot;: &quot;string&quot;
163
+ },
164
+ &quot;belongs_to&quot;: {
165
+ &quot;type&quot;: &quot;string&quot;
166
+ },
167
+ &quot;model&quot;: {
168
+ &quot;type&quot;: &quot;string&quot;
169
+ },
170
+ &quot;loggable_attrs&quot;: {
171
+ &quot;type&quot;: &quot;array&quot;,
172
+ &quot;items&quot;: {
173
+ &quot;type&quot;: &quot;string&quot;
174
+ }
175
+ },
176
+ &quot;route&quot;: {
177
+ &quot;type&quot;: &quot;string&quot;,
178
+ &quot;minLength&quot;: 1
179
+ }
180
+ },
181
+ &quot;required&quot;: [
182
+ &quot;model&quot;
183
+ ]
184
+ }
185
+ }
186
+ },
187
+ &quot;required&quot;: [
188
+ &quot;loggable_attrs&quot;
189
+ ]
190
+ }
191
+ },
192
+ &quot;additionalProperties&quot;: false</pre>
193
+
194
+ <p>}</p>
195
+
196
+ </main>
197
+
198
+
199
+
200
+ <footer id="validator-badges" role="contentinfo">
201
+ <p><a href="https://validator.w3.org/check/referer">Validate</a>
202
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.7.0.
203
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
204
+ </footer>
205
+
@@ -0,0 +1,128 @@
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="UTF-8">
6
+
7
+ <title>loggable_activity_tasks.rake - RDoc Documentation</title>
8
+
9
+ <script type="text/javascript">
10
+ var rdoc_rel_prefix = "../../";
11
+ var index_rel_prefix = "../../";
12
+ </script>
13
+
14
+ <script src="../../js/navigation.js" defer></script>
15
+ <script src="../../js/search.js" defer></script>
16
+ <script src="../../js/search_index.js" defer></script>
17
+ <script src="../../js/searcher.js" defer></script>
18
+ <script src="../../js/darkfish.js" defer></script>
19
+
20
+ <link href="../../css/fonts.css" rel="stylesheet">
21
+ <link href="../../css/rdoc.css" rel="stylesheet">
22
+
23
+
24
+ <body id="top" role="document" class="file">
25
+ <nav role="navigation">
26
+ <div id="project-navigation">
27
+ <div id="home-section" role="region" title="Quick navigation" class="nav-section">
28
+ <h2>
29
+ <a href="../../index.html" rel="home">Home</a>
30
+ </h2>
31
+
32
+ <div id="table-of-contents-navigation">
33
+ <a href="../../table_of_contents.html#pages">Pages</a>
34
+ <a href="../../table_of_contents.html#classes">Classes</a>
35
+ <a href="../../table_of_contents.html#methods">Methods</a>
36
+ </div>
37
+ </div>
38
+
39
+ <div id="search-section" role="search" class="project-section initially-hidden">
40
+ <form action="#" method="get" accept-charset="utf-8">
41
+ <div id="search-field-wrapper">
42
+ <input id="search-field" role="combobox" aria-label="Search"
43
+ aria-autocomplete="list" aria-controls="search-results"
44
+ type="text" name="search" placeholder="Search (/) for a class, method, ..." spellcheck="false"
45
+ title="Type to search, Up and Down to navigate, Enter to load">
46
+ </div>
47
+
48
+ <ul id="search-results" aria-label="Search Results"
49
+ aria-busy="false" aria-expanded="false"
50
+ aria-atomic="false" class="initially-hidden"></ul>
51
+ </form>
52
+ </div>
53
+
54
+ </div>
55
+
56
+
57
+
58
+ <div id="project-metadata">
59
+
60
+ <div id="fileindex-section" class="nav-section">
61
+ <h3>Pages</h3>
62
+
63
+ <ul class="link-list">
64
+ <li><a href="../../CHANGELOG_md.html">CHANGELOG</a>
65
+ <li><a href="../../CHEAT_SHEET_md.html">CHEAT_SHEET</a>
66
+ <li><a href="../../CODE_OF_CONDUCT_md.html">CODE_OF_CONDUCT</a>
67
+ <li><a href="../../GETTING-STARTED_md.html">GETTING-STARTED</a>
68
+ <li><a href="../../Gemfile.html">Gemfile</a>
69
+ <li><a href="../../Gemfile_lock.html">Gemfile.lock</a>
70
+ <li><a href="../../MIT-LICENSE.html">MIT-LICENSE</a>
71
+ <li><a href="../../README_md.html">README</a>
72
+ <li><a href="../../Rakefile.html">Rakefile</a>
73
+ <li><details><summary>app</summary>
74
+ <ul class="link-list">
75
+ <li><a href="../../app/assets/config/loggable_activity_manifest_js.html">loggable_activity_manifest.js</a>
76
+ <li><a href="../../app/assets/javascripts/loggable_activity/application_js.html">application.js</a>
77
+ <li><a href="../../app/assets/stylesheets/loggable_activity/activities_scss.html">activities.scss</a>
78
+ <li><a href="../../app/assets/stylesheets/loggable_activity/application_scss.html">application.scss</a>
79
+ <li><a href="../../app/views/layouts/loggable_activity/application_html_slim.html">application.html.slim</a>
80
+ <li><a href="../../app/views/loggable_activity/activities/_activities_html_slim.html">_activities.html.slim</a>
81
+ </ul></details>
82
+ <li><details><summary>git-org</summary>
83
+ <ul class="link-list">
84
+ <li><a href="../../git-org/HEAD.html">HEAD</a>
85
+ <li><a href="../../git-org/config.html">config</a>
86
+ <li><a href="../../git-org/description.html">description</a>
87
+ <li><a href="../../git-org/hooks/applypatch-msg_sample.html">applypatch-msg.sample</a>
88
+ <li><a href="../../git-org/hooks/commit-msg_sample.html">commit-msg.sample</a>
89
+ <li><a href="../../git-org/hooks/fsmonitor-watchman_sample.html">fsmonitor-watchman.sample</a>
90
+ <li><a href="../../git-org/hooks/post-update_sample.html">post-update.sample</a>
91
+ <li><a href="../../git-org/hooks/pre-applypatch_sample.html">pre-applypatch.sample</a>
92
+ <li><a href="../../git-org/hooks/pre-commit_sample.html">pre-commit.sample</a>
93
+ <li><a href="../../git-org/hooks/pre-merge-commit_sample.html">pre-merge-commit.sample</a>
94
+ <li><a href="../../git-org/hooks/pre-push_sample.html">pre-push.sample</a>
95
+ <li><a href="../../git-org/hooks/pre-rebase_sample.html">pre-rebase.sample</a>
96
+ <li><a href="../../git-org/hooks/pre-receive_sample.html">pre-receive.sample</a>
97
+ <li><a href="../../git-org/hooks/prepare-commit-msg_sample.html">prepare-commit-msg.sample</a>
98
+ <li><a href="../../git-org/hooks/push-to-checkout_sample.html">push-to-checkout.sample</a>
99
+ <li><a href="../../git-org/hooks/update_sample.html">update.sample</a>
100
+ <li><a href="../../git-org/info/exclude.html">exclude</a>
101
+ </ul></details>
102
+ <li><details open><summary>lib</summary>
103
+ <ul class="link-list">
104
+ <li><a href="../../lib/loggable_activity/config_schema_json.html">config_schema.json</a>
105
+ <li><a href="../../lib/tasks/loggable_activity_tasks_rake.html">loggable_activity_tasks.rake</a>
106
+ </ul></details>
107
+ </ul>
108
+ </div>
109
+
110
+ </div>
111
+ </nav>
112
+
113
+ <main role="main" aria-label="Page lib/tasks/loggable_activity_tasks.rake">
114
+
115
+ <p># frozen_string_literal: true</p>
116
+
117
+ <p># desc “Explaining what the task does” # task :loggable_activity do # # Task goes here # end</p>
118
+
119
+ </main>
120
+
121
+
122
+
123
+ <footer id="validator-badges" role="contentinfo">
124
+ <p><a href="https://validator.w3.org/check/referer">Validate</a>
125
+ <p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.7.0.
126
+ <p>Based on <a href="http://deveiate.org/projects/Darkfish-RDoc/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.
127
+ </footer>
128
+