Skip to content

Commit 1771226

Browse files
committed
Rename plugin_db to just plugin.
1 parent 55063c2 commit 1771226

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const styleURL = style => `/css/code-style/${style}.css`
1111
const codeFiles = {
1212
'server-code': 'server.gb',
1313
'model-code': 'model.gb',
14-
'db-code': 'plugin_pg.gb'
14+
'db-code': 'plugin.gb'
1515
}
1616

1717
axios.all(Object.keys(codeFiles).map(key => codeFiles[key]).map(file => axios.get(fileURL(file))))

model.gb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
require_relative "./plugin_pg"
1+
require_relative "plugin"
22

33
PluginPG.run("create table if not exists list_items (
44
id serial primary key,

plugin_pg.gb renamed to plugin.gb

File renamed without changes.

public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ <h4>Stay up to date on Goby's news</h4>
6868
<ul id="code-tab">
6969
<li id="server-code" class="active">server.gb</li>
7070
<li id="model-code">model.gb</li>
71-
<li id="db-code">plugin_pg.gb</li>
71+
<li id="db-code">plugin.gb</li>
7272
</ul>
7373
<pre><code class="ruby" id="render-code"></code></pre>
7474
</div>

public/js/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10468,7 +10468,7 @@ var styleURL = function styleURL(style) {
1046810468
var codeFiles = {
1046910469
'server-code': 'server.gb',
1047010470
'model-code': 'model.gb',
10471-
'db-code': 'plugin_pg.gb'
10471+
'db-code': 'plugin.gb'
1047210472
};
1047310473

1047410474
_axios2.default.all(Object.keys(codeFiles).map(function (key) {

0 commit comments

Comments
 (0)