bootbox_crud 0.1.1.6 → 0.1.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.codeclimate.yml +21 -0
- data/.eslintrc +212 -0
- data/.gitignore +5 -0
- data/.rubocop.yml +1156 -0
- data/.travis.yml +11 -0
- data/Gemfile +14 -0
- data/README.md +4 -2
- data/Rakefile +33 -0
- data/bootbox_crud.gemspec +2 -0
- data/lib/bootbox_crud/action_view/helpers.rb +1 -1
- data/lib/bootbox_crud/engine.rb +1 -1
- data/lib/bootbox_crud/version.rb +1 -1
- data/lib/generators/bootbox_crud/install_generator.rb +5 -5
- data/lib/generators/bootbox_crud/templates/config/initializers/simple_form_bootstrap.rb +54 -50
- data/lib/generators/rails/haml_modal_crud/haml_modal_crud_generator.rb +2 -2
- data/lib/generators/rails/haml_modal_crud/templates/create.js.erb +1 -1
- data/lib/generators/rails/haml_modal_crud/templates/destroy.js.erb +1 -1
- data/lib/generators/rails/haml_modal_crud/templates/update.js.erb +1 -1
- data/lib/generators/rails/modal_crud_route/modal_crud_route_generator.rb +1 -1
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/images/.keep +0 -0
- data/test/dummy/app/assets/javascripts/application.js +19 -0
- data/test/dummy/app/assets/javascripts/models.js +8 -0
- data/test/dummy/app/assets/stylesheets/application.css +17 -0
- data/test/dummy/app/assets/stylesheets/bootstrap_main.scss +2 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/controllers/blocks_controller.rb +92 -0
- data/test/dummy/app/controllers/concerns/.keep +0 -0
- data/test/dummy/app/helpers/.keep +0 -0
- data/test/dummy/app/mailers/.keep +0 -0
- data/test/dummy/app/models/.keep +0 -0
- data/test/dummy/app/models/block.rb +2 -0
- data/test/dummy/app/models/concerns/.keep +0 -0
- data/test/dummy/app/views/blocks/_form.html.haml +13 -0
- data/test/dummy/app/views/blocks/create.js.erb +2 -0
- data/test/dummy/app/views/blocks/destroy.js.erb +1 -0
- data/test/dummy/app/views/blocks/edit.html.haml +2 -0
- data/test/dummy/app/views/blocks/index.html.haml +38 -0
- data/test/dummy/app/views/blocks/new.html.haml +2 -0
- data/test/dummy/app/views/blocks/show.html.haml +8 -0
- data/test/dummy/app/views/blocks/update.js.erb +1 -0
- data/test/dummy/app/views/layouts/application.html.haml +11 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +29 -0
- data/test/dummy/config/application.rb +34 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +41 -0
- data/test/dummy/config/environments/production.rb +79 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/simple_form.rb +142 -0
- data/test/dummy/config/initializers/simple_form_bootstrap.rb +167 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +58 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/migrate/20160328122748_create_blocks.rb +12 -0
- data/test/dummy/lib/assets/.keep +0 -0
- data/test/dummy/log/.keep +0 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/spec/javascripts/alert_spec.js.es6 +5 -0
- data/test/dummy/spec/javascripts/bb_crud_spec.js.es6 +5 -0
- data/test/dummy/spec/javascripts/helpers/.gitkeep +0 -0
- data/test/dummy/spec/javascripts/modals_spec.js.es6 +5 -0
- data/test/dummy/spec/javascripts/models_spec.js.es6 +5 -0
- data/test/dummy/spec/javascripts/support/jasmine.yml +50 -0
- data/test/dummy/spec/javascripts/support/jasmine_helper.rb +14 -0
- data/test/dummy/test/controllers/blocks_controller_test.rb +49 -0
- data/test/dummy/test/fixtures/blocks.yml +19 -0
- data/test/dummy/test/models/block_test.rb +11 -0
- data/test/generators/generator_test_base.rb +7 -0
- data/test/generators/haml_modal_crud_generator_test.rb +15 -0
- data/test/generators/install_generator_test.rb +14 -0
- data/test/generators/modal_crud_route_generator_test.rb +22 -0
- data/test/test_helper.rb +37 -0
- data/vendor/assets/javascripts/bootbox_crud_modals.js +33 -20
- data/vendor/assets/javascripts/sortable.js +11 -10
- data/vendor/assets/stylesheets/{bootbox_crud.css.scss → bootbox_crud.scss} +0 -0
- data/vendor/assets/stylesheets/bootbox_crud_main.scss +2 -0
- metadata +110 -6
- data/vendor/assets/stylesheets/bootbox_crud_main.css.scss +0 -2
@@ -1,9 +1,24 @@
|
|
1
1
|
var BBCrud = BBCrud || {};
|
2
2
|
|
3
|
-
BBCrud.Modals = function () {
|
3
|
+
BBCrud.Modals = (function () {
|
4
4
|
|
5
5
|
var modals = {
|
6
|
-
|
6
|
+
/**
|
7
|
+
* Displays a bootbox modal dialog form.
|
8
|
+
* @param {Number} id related model id
|
9
|
+
* @param {String} title modal dialog title
|
10
|
+
* @param {String} btnLabel submit button label
|
11
|
+
* @param {String} url URL address pointing to rails route with form partial
|
12
|
+
* @param {Function} [onLoad] function to be executed after successfully loading the form partial into the modal dialog
|
13
|
+
* @param {Number} [onSubmitTimeout] timeout to use with onSubmit function, if it is defined
|
14
|
+
* @param {Function} [onSubmit] function to be executed after the form was submitted
|
15
|
+
* @param {Object} options
|
16
|
+
* @param {String} options.baseUrl related model base URL, used for delete button
|
17
|
+
* @param {Object} options.data
|
18
|
+
* @param {Boolean} [options.data.bbDontSubmit] prohibits form submission if set to true, submit just hides the dialog
|
19
|
+
* @param {Boolean} [options.data.bbShowDelete] set to true if you don't want to show a delete button on the dialog
|
20
|
+
*/
|
21
|
+
form: function(id, title, btnLabel, url, onLoad, onSubmitTimeout, onSubmit, options) {
|
7
22
|
options = $.extend({ data: {} }, options);
|
8
23
|
var buttons = {
|
9
24
|
close: {
|
@@ -16,7 +31,7 @@ BBCrud.Modals = function () {
|
|
16
31
|
if (options.data.bbDontSubmit !== true) {
|
17
32
|
$('.bootbox.modal').find('input[type="submit"]').closest('form').submit();
|
18
33
|
}
|
19
|
-
if (
|
34
|
+
if (onSubmit !== null && typeof onSubmit !== 'undefined') { setTimeout(onSubmit, onSubmitTimeout); }
|
20
35
|
return false;
|
21
36
|
}
|
22
37
|
}
|
@@ -35,7 +50,7 @@ BBCrud.Modals = function () {
|
|
35
50
|
}
|
36
51
|
|
37
52
|
var bbOptions = Object.keys(options.data).reduce(function (result, key) {
|
38
|
-
if (key.indexOf('bb')
|
53
|
+
if (key.indexOf('bb') !== -1) {
|
39
54
|
var cleanKey = key.replace('bb', '');
|
40
55
|
cleanKey = cleanKey[0].toLowerCase() + cleanKey.slice(1);
|
41
56
|
result[cleanKey] = options.data[key];
|
@@ -54,7 +69,7 @@ BBCrud.Modals = function () {
|
|
54
69
|
}));
|
55
70
|
|
56
71
|
var reqParams = Object.keys(options.data).reduce(function (result, key) {
|
57
|
-
if (key.indexOf('bb')
|
72
|
+
if (key.indexOf('bb') === -1) {
|
58
73
|
result[key] = options.data[key];
|
59
74
|
}
|
60
75
|
return result;
|
@@ -65,7 +80,7 @@ BBCrud.Modals = function () {
|
|
65
80
|
var content = result.attr('id') === 'content' ? result : result.find('#content');
|
66
81
|
modal.find('.modal-body').html(content);
|
67
82
|
modal.find('.form-actions').hide();
|
68
|
-
if (
|
83
|
+
if (onLoad !== null && typeof onLoad !== 'undefined') { onLoad(); }
|
69
84
|
});
|
70
85
|
},
|
71
86
|
create: function (title, baseUrl, exec, data) {
|
@@ -91,7 +106,7 @@ BBCrud.Modals = function () {
|
|
91
106
|
dataType: 'script',
|
92
107
|
type: 'DELETE'
|
93
108
|
}).success(function () {
|
94
|
-
if (typeof exec
|
109
|
+
if (typeof exec !== 'undefined') { exec(); }
|
95
110
|
BBCrud.Alert.show('Deleted');
|
96
111
|
}).error(function () {
|
97
112
|
BBCrud.Alert.show('Something went wrong!');
|
@@ -140,11 +155,11 @@ BBCrud.Modals = function () {
|
|
140
155
|
}
|
141
156
|
};
|
142
157
|
return modals;
|
143
|
-
}();
|
158
|
+
}());
|
144
159
|
|
145
160
|
BBCrud.Modals.initBtnHandler();
|
146
161
|
|
147
|
-
BBCrud.Models = function () {
|
162
|
+
BBCrud.Models = (function () {
|
148
163
|
function defineModelActions(modelName, actions) {
|
149
164
|
if (typeof BBCrud[modelName] === 'undefined') {
|
150
165
|
BBCrud[modelName] = actions;
|
@@ -153,12 +168,12 @@ BBCrud.Models = function () {
|
|
153
168
|
}
|
154
169
|
}
|
155
170
|
|
156
|
-
|
171
|
+
return {
|
157
172
|
add: function(modelName, url, titleName) {
|
158
|
-
var modelCRUD = function () {
|
173
|
+
var modelCRUD = (function () {
|
159
174
|
var baseUrl = url;
|
160
175
|
|
161
|
-
|
176
|
+
return {
|
162
177
|
create: function (data) {
|
163
178
|
BBCrud.Modals.create('Create ' + titleName, baseUrl, null, data);
|
164
179
|
},
|
@@ -169,13 +184,12 @@ BBCrud.Models = function () {
|
|
169
184
|
BBCrud.Modals.show(data.id, titleName.charAt(0).toUpperCase() + titleName.slice(1) + ' detail', baseUrl, data);
|
170
185
|
}
|
171
186
|
};
|
172
|
-
|
173
|
-
}();
|
187
|
+
}());
|
174
188
|
|
175
189
|
defineModelActions(modelName, modelCRUD);
|
176
190
|
},
|
177
191
|
addAction: function(modelName, url, titleName, actionName) {
|
178
|
-
var action = function () {
|
192
|
+
var action = (function () {
|
179
193
|
var baseUrl = url;
|
180
194
|
var modelAction = {};
|
181
195
|
modelAction[actionName] = function (data) {
|
@@ -183,16 +197,15 @@ BBCrud.Models = function () {
|
|
183
197
|
baseUrl, actionName, null, 0, null, data);
|
184
198
|
};
|
185
199
|
return modelAction;
|
186
|
-
}();
|
200
|
+
}());
|
187
201
|
defineModelActions(modelName, action);
|
188
202
|
}
|
189
203
|
|
190
204
|
};
|
191
|
-
|
192
|
-
}();
|
205
|
+
}());
|
193
206
|
|
194
207
|
|
195
|
-
BBCrud.Alert = function() {
|
208
|
+
BBCrud.Alert = (function() {
|
196
209
|
var elem,
|
197
210
|
hideHandler,
|
198
211
|
alert = {};
|
@@ -217,7 +230,7 @@ BBCrud.Alert = function() {
|
|
217
230
|
};
|
218
231
|
|
219
232
|
return alert;
|
220
|
-
}();
|
233
|
+
}());
|
221
234
|
|
222
235
|
$(function() {
|
223
236
|
BBCrud.Alert.init({selector: '.bb-alert'});
|
@@ -1,5 +1,6 @@
|
|
1
|
+
// https://github.com/HubSpot/sortable
|
1
2
|
(function() {
|
2
|
-
var SELECTOR, addEventListener, clickEvent, numberRegExp, sortable,
|
3
|
+
var SELECTOR, addEventListener, clickEvent, numberRegExp, sortable, trimRegExp; // touchDevice
|
3
4
|
|
4
5
|
SELECTOR = 'table[data-sortable]';
|
5
6
|
|
@@ -12,7 +13,7 @@
|
|
12
13
|
clickEvent = 'click';//touchDevice ? 'touchstart' : 'click';
|
13
14
|
|
14
15
|
addEventListener = function(el, event, handler) {
|
15
|
-
if (el.addEventListener
|
16
|
+
if (el.addEventListener) {
|
16
17
|
return el.addEventListener(event, handler, false);
|
17
18
|
} else {
|
18
19
|
return el.attachEvent("on" + event, handler);
|
@@ -22,10 +23,10 @@
|
|
22
23
|
sortable = {
|
23
24
|
init: function(options) {
|
24
25
|
var table, tables, _i, _len, _results;
|
25
|
-
if (options
|
26
|
+
if (!options) {
|
26
27
|
options = {};
|
27
28
|
}
|
28
|
-
if (options.selector
|
29
|
+
if (!options.selector) {
|
29
30
|
options.selector = SELECTOR;
|
30
31
|
}
|
31
32
|
tables = document.querySelectorAll(options.selector);
|
@@ -38,7 +39,7 @@
|
|
38
39
|
},
|
39
40
|
initTable: function(table) {
|
40
41
|
var i, th, ths, _i, _len, _ref;
|
41
|
-
if (((_ref = table.tHead)
|
42
|
+
if (((_ref = table.tHead) ? _ref.rows.length : undefined) !== 1) {
|
42
43
|
return;
|
43
44
|
}
|
44
45
|
if (table.getAttribute('data-sortable-initialized') === 'true') {
|
@@ -58,7 +59,7 @@
|
|
58
59
|
var type;
|
59
60
|
type = sortable.getColumnType(table, i);
|
60
61
|
return addEventListener(th, clickEvent, function(e) {
|
61
|
-
|
62
|
+
console.log(e.type);
|
62
63
|
|
63
64
|
var newSortedDirection, row, rowArray, rowArrayObject, sorted, sortedDirection, tBody, ths, _i, _j, _k, _len, _len1, _len2, _ref, _results;
|
64
65
|
sorted = this.getAttribute('data-sorted') === 'true';
|
@@ -120,7 +121,7 @@
|
|
120
121
|
if (!node) {
|
121
122
|
return '';
|
122
123
|
}
|
123
|
-
if (node.getAttribute('data-value')
|
124
|
+
if (node.getAttribute('data-value')) {
|
124
125
|
return node.getAttribute('data-value');
|
125
126
|
}
|
126
127
|
if (typeof node.innerText !== 'undefined') {
|
@@ -133,8 +134,8 @@
|
|
133
134
|
defaultSortDirection: 'descending',
|
134
135
|
compare: function(a, b) {
|
135
136
|
var aa, bb;
|
136
|
-
aa = parseFloat(a[0].replace(/[^0-9.-]/g, '')
|
137
|
-
bb = parseFloat(b[0].replace(/[^0-9.-]/g, '')
|
137
|
+
aa = parseFloat(a[0].replace(/[^0-9.-]/g, ''));
|
138
|
+
bb = parseFloat(b[0].replace(/[^0-9.-]/g, ''));
|
138
139
|
if (isNaN(aa)) {
|
139
140
|
aa = 0;
|
140
141
|
}
|
@@ -170,7 +171,7 @@
|
|
170
171
|
|
171
172
|
window.Sortable = sortable;
|
172
173
|
|
173
|
-
}
|
174
|
+
}());
|
174
175
|
|
175
176
|
$(function() {
|
176
177
|
window.Sortable.init();
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootbox_crud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.1.
|
4
|
+
version: 0.1.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jiri Kaipr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -178,6 +178,34 @@ dependencies:
|
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '1.0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: minitest-rails
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - "~>"
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: 2.2.0
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: 2.2.0
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: mocha
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: 1.1.0
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - "~>"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: 1.1.0
|
181
209
|
description: Provides Rails modal CRUD scaffolding powered by bootstrap & bootbox
|
182
210
|
& simple_form. Built for use with Turbolinks, jQuery and Twitter Bootstrap 3.
|
183
211
|
email:
|
@@ -186,9 +214,15 @@ executables: []
|
|
186
214
|
extensions: []
|
187
215
|
extra_rdoc_files: []
|
188
216
|
files:
|
217
|
+
- ".codeclimate.yml"
|
218
|
+
- ".eslintrc"
|
189
219
|
- ".gitignore"
|
220
|
+
- ".rubocop.yml"
|
221
|
+
- ".travis.yml"
|
222
|
+
- Gemfile
|
190
223
|
- MIT.license
|
191
224
|
- README.md
|
225
|
+
- Rakefile
|
192
226
|
- app/views/layouts/_bb_alert.html.haml
|
193
227
|
- app/views/layouts/_show_link_to.html.haml
|
194
228
|
- app/views/layouts/_show_link_to_array.html.haml
|
@@ -222,11 +256,82 @@ files:
|
|
222
256
|
- lib/templates/haml/scaffold/new.html.haml
|
223
257
|
- lib/templates/haml/scaffold/show.html.haml
|
224
258
|
- lib/templates/rails/scaffold_controller/controller.rb
|
259
|
+
- test/dummy/README.rdoc
|
260
|
+
- test/dummy/Rakefile
|
261
|
+
- test/dummy/app/assets/images/.keep
|
262
|
+
- test/dummy/app/assets/javascripts/application.js
|
263
|
+
- test/dummy/app/assets/javascripts/models.js
|
264
|
+
- test/dummy/app/assets/stylesheets/application.css
|
265
|
+
- test/dummy/app/assets/stylesheets/bootstrap_main.scss
|
266
|
+
- test/dummy/app/controllers/application_controller.rb
|
267
|
+
- test/dummy/app/controllers/blocks_controller.rb
|
268
|
+
- test/dummy/app/controllers/concerns/.keep
|
269
|
+
- test/dummy/app/helpers/.keep
|
270
|
+
- test/dummy/app/mailers/.keep
|
271
|
+
- test/dummy/app/models/.keep
|
272
|
+
- test/dummy/app/models/block.rb
|
273
|
+
- test/dummy/app/models/concerns/.keep
|
274
|
+
- test/dummy/app/views/blocks/_form.html.haml
|
275
|
+
- test/dummy/app/views/blocks/create.js.erb
|
276
|
+
- test/dummy/app/views/blocks/destroy.js.erb
|
277
|
+
- test/dummy/app/views/blocks/edit.html.haml
|
278
|
+
- test/dummy/app/views/blocks/index.html.haml
|
279
|
+
- test/dummy/app/views/blocks/new.html.haml
|
280
|
+
- test/dummy/app/views/blocks/show.html.haml
|
281
|
+
- test/dummy/app/views/blocks/update.js.erb
|
282
|
+
- test/dummy/app/views/layouts/application.html.haml
|
283
|
+
- test/dummy/bin/bundle
|
284
|
+
- test/dummy/bin/rails
|
285
|
+
- test/dummy/bin/rake
|
286
|
+
- test/dummy/bin/setup
|
287
|
+
- test/dummy/config.ru
|
288
|
+
- test/dummy/config/application.rb
|
289
|
+
- test/dummy/config/boot.rb
|
290
|
+
- test/dummy/config/database.yml
|
291
|
+
- test/dummy/config/environment.rb
|
292
|
+
- test/dummy/config/environments/development.rb
|
293
|
+
- test/dummy/config/environments/production.rb
|
294
|
+
- test/dummy/config/environments/test.rb
|
295
|
+
- test/dummy/config/initializers/assets.rb
|
296
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
297
|
+
- test/dummy/config/initializers/cookies_serializer.rb
|
298
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
299
|
+
- test/dummy/config/initializers/inflections.rb
|
300
|
+
- test/dummy/config/initializers/mime_types.rb
|
301
|
+
- test/dummy/config/initializers/session_store.rb
|
302
|
+
- test/dummy/config/initializers/simple_form.rb
|
303
|
+
- test/dummy/config/initializers/simple_form_bootstrap.rb
|
304
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
305
|
+
- test/dummy/config/locales/en.yml
|
306
|
+
- test/dummy/config/routes.rb
|
307
|
+
- test/dummy/config/secrets.yml
|
308
|
+
- test/dummy/db/migrate/20160328122748_create_blocks.rb
|
309
|
+
- test/dummy/lib/assets/.keep
|
310
|
+
- test/dummy/log/.keep
|
311
|
+
- test/dummy/public/404.html
|
312
|
+
- test/dummy/public/422.html
|
313
|
+
- test/dummy/public/500.html
|
314
|
+
- test/dummy/public/favicon.ico
|
315
|
+
- test/dummy/spec/javascripts/alert_spec.js.es6
|
316
|
+
- test/dummy/spec/javascripts/bb_crud_spec.js.es6
|
317
|
+
- test/dummy/spec/javascripts/helpers/.gitkeep
|
318
|
+
- test/dummy/spec/javascripts/modals_spec.js.es6
|
319
|
+
- test/dummy/spec/javascripts/models_spec.js.es6
|
320
|
+
- test/dummy/spec/javascripts/support/jasmine.yml
|
321
|
+
- test/dummy/spec/javascripts/support/jasmine_helper.rb
|
322
|
+
- test/dummy/test/controllers/blocks_controller_test.rb
|
323
|
+
- test/dummy/test/fixtures/blocks.yml
|
324
|
+
- test/dummy/test/models/block_test.rb
|
325
|
+
- test/generators/generator_test_base.rb
|
326
|
+
- test/generators/haml_modal_crud_generator_test.rb
|
327
|
+
- test/generators/install_generator_test.rb
|
328
|
+
- test/generators/modal_crud_route_generator_test.rb
|
329
|
+
- test/test_helper.rb
|
225
330
|
- vendor/assets/javascripts/bootbox_crud_main.js
|
226
331
|
- vendor/assets/javascripts/bootbox_crud_modals.js
|
227
332
|
- vendor/assets/javascripts/sortable.js
|
228
|
-
- vendor/assets/stylesheets/bootbox_crud.
|
229
|
-
- vendor/assets/stylesheets/bootbox_crud_main.
|
333
|
+
- vendor/assets/stylesheets/bootbox_crud.scss
|
334
|
+
- vendor/assets/stylesheets/bootbox_crud_main.scss
|
230
335
|
- vendor/assets/stylesheets/sortable-theme-minimal.css
|
231
336
|
homepage: https://github.com/Virtualmaster/bootbox_crud
|
232
337
|
licenses: []
|
@@ -247,9 +352,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
247
352
|
version: '0'
|
248
353
|
requirements: []
|
249
354
|
rubyforge_project:
|
250
|
-
rubygems_version: 2.4.
|
355
|
+
rubygems_version: 2.4.5.1
|
251
356
|
signing_key:
|
252
357
|
specification_version: 4
|
253
358
|
summary: Rails CRUD scaffold with bootbox modals.
|
254
359
|
test_files: []
|
255
|
-
has_rdoc:
|