lanes 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -0
  3. data/client/lanes/Config.coffee +1 -1
  4. data/client/lanes/access/LoginDialog.cjsx +1 -1
  5. data/client/lanes/access/Roles.coffee +1 -1
  6. data/client/lanes/access/User.coffee +2 -2
  7. data/client/lanes/access/screens/user-management/UserManagement.cjsx +1 -1
  8. data/client/lanes/components/calendar/styles.scss +1 -1
  9. data/client/lanes/components/grid/Body.cjsx +5 -2
  10. data/client/lanes/components/grid/EditingMixin.cjsx +3 -0
  11. data/client/lanes/components/grid/Editor.cjsx +3 -11
  12. data/client/lanes/components/grid/Grid.cjsx +22 -12
  13. data/client/lanes/components/grid/Selections.cjsx +4 -1
  14. data/client/lanes/components/grid/Toolbar.cjsx +1 -1
  15. data/client/lanes/components/record-finder/RecordFinder.cjsx +2 -2
  16. data/client/lanes/components/select-field/SelectField.cjsx +19 -16
  17. data/client/lanes/components/select-field/styles.scss +1 -1
  18. data/client/lanes/components/shared/FieldMixin.cjsx +2 -2
  19. data/client/lanes/components/shared/Input.cjsx +2 -13
  20. data/client/lanes/components/shared/InputFieldMixin.cjsx +15 -8
  21. data/client/lanes/components/shared/NetworkActivityOverlay.cjsx +1 -1
  22. data/client/lanes/components/shared/NumberInput.cjsx +4 -12
  23. data/client/lanes/components/shared/ToggleField.cjsx +0 -2
  24. data/client/lanes/components/shared/fields.scss +9 -0
  25. data/client/lanes/components/shared/styles.scss +2 -1
  26. data/client/lanes/components/toolbar/Toolbar.cjsx +1 -1
  27. data/client/lanes/lib/HotReload.coffee +2 -2
  28. data/client/lanes/lib/development.coffee +1 -1
  29. data/client/lanes/lib/loader.coffee +3 -3
  30. data/client/lanes/models/AssociationMap.coffee +1 -1
  31. data/client/lanes/models/AssociationProxy.coffee +1 -0
  32. data/client/lanes/models/Base.coffee +7 -10
  33. data/client/lanes/models/Collection.coffee +3 -6
  34. data/client/lanes/models/JobStatus.coffee +1 -1
  35. data/client/lanes/models/PubSub.coffee +51 -33
  36. data/client/lanes/models/Query.coffee +1 -1
  37. data/client/lanes/models/Sync.coffee +1 -1
  38. data/client/lanes/models/User.coffee +3 -3
  39. data/client/lanes/models/mixins/FileSupport.coffee +3 -3
  40. data/client/lanes/models/query/ArrayResult.coffee +3 -6
  41. data/client/lanes/models/query/CollectionResult.coffee +5 -3
  42. data/client/lanes/react/Component.coffee +2 -2
  43. data/client/lanes/react/DefaultComponentNotFound.cjsx +2 -2
  44. data/client/lanes/react/Screen.coffee +1 -1
  45. data/client/lanes/react/Viewport.coffee +1 -1
  46. data/client/lanes/react/mixins/Access.coffee +1 -1
  47. data/client/lanes/react/mixins/Data.coffee +9 -5
  48. data/client/lanes/screens/Commands.coffee +1 -1
  49. data/client/lanes/screens/UserPreferences.cjsx +1 -1
  50. data/client/lanes/testing/BeforeEach.coffee +7 -0
  51. data/client/lanes/vendor/base.js.erb +5 -0
  52. data/client/lanes/vendor/calendar.js.erb +5 -0
  53. data/client/lanes/vendor/commons.js.erb +5 -0
  54. data/client/lanes/vendor/{base.js → development/base.js} +37776 -40850
  55. data/client/lanes/vendor/development/calendar.js +1667 -0
  56. data/client/lanes/vendor/development/commons.js +39085 -0
  57. data/client/lanes/vendor/development/helpers.js +578 -0
  58. data/client/lanes/vendor/{toggle.js → development/toggle.js} +22 -82
  59. data/client/lanes/vendor/development/widgets.js +8975 -0
  60. data/client/lanes/vendor/production/base.js +63239 -0
  61. data/client/lanes/vendor/production/calendar.js +1667 -0
  62. data/client/lanes/vendor/production/commons.js +38505 -0
  63. data/client/lanes/vendor/production/toggle.js +285 -0
  64. data/client/lanes/vendor/production/widgets.js +8975 -0
  65. data/client/lanes/vendor/{calendar.scss → styles/calendar.scss} +6 -0
  66. data/client/lanes/vendor/{toggle.scss → styles/toggle.scss} +0 -0
  67. data/client/lanes/vendor/{widgets.scss → styles/widgets.scss} +2 -2
  68. data/client/lanes/vendor/toggle.js.erb +5 -0
  69. data/client/lanes/vendor/widgets.js.erb +5 -0
  70. data/lib/lanes/api/default_routes.rb +3 -3
  71. data/lib/lanes/api/routing.rb +1 -1
  72. data/lib/lanes/configuration.rb +8 -14
  73. data/lib/lanes/environment.rb +3 -0
  74. data/lib/lanes/extension/definition.rb +4 -0
  75. data/lib/lanes/system_settings.rb +21 -6
  76. data/lib/lanes/version.rb +1 -1
  77. data/npm-build/base.js +9 -4
  78. data/npm-build/build +9 -0
  79. data/npm-build/development.js +3 -1
  80. data/npm-build/package.json +34 -34
  81. data/npm-build/update-dayz +1 -1
  82. data/npm-build/webpack.config.js +36 -20
  83. data/spec/command-reference-files/initial/Gemfile +1 -1
  84. data/spec/command-reference-files/screen/config/screens.rb +1 -1
  85. data/spec/lanes/components/grid/RowEditorSpec.coffee +3 -1
  86. data/spec/lanes/components/select-field/SelectFieldSpec.coffee +33 -28
  87. data/spec/lanes/models/AssociationProxySpec.coffee +36 -37
  88. data/spec/lanes/models/BaseSpec.coffee +0 -32
  89. data/spec/lanes/models/CollectionSpec.coffee +0 -10
  90. data/spec/lanes/models/PubSubSpec.coffee +63 -13
  91. data/spec/lanes/screens/DefinitionsSpec.coffee +2 -2
  92. metadata +23 -20
  93. data/client/lanes/vendor/calendar.js +0 -17301
  94. data/client/lanes/vendor/commons.js +0 -19722
  95. data/client/lanes/vendor/development.js +0 -5471
  96. data/client/lanes/vendor/grid.js +0 -15384
  97. data/client/lanes/vendor/grid.scss +0 -928
  98. data/client/lanes/vendor/rw-widgets.eot +0 -0
  99. data/client/lanes/vendor/rw-widgets.svg +0 -18
  100. data/client/lanes/vendor/rw-widgets.ttf +0 -0
  101. data/client/lanes/vendor/rw-widgets.woff +0 -0
  102. data/client/lanes/vendor/widgets.js +0 -23204
  103. data/npm-build/compile.coffee +0 -19
  104. data/spec/lanes/models/ServerCacheSpec.coffee +0 -65
@@ -6,24 +6,14 @@ webpackJsonp([3],{
6
6
  /* WEBPACK VAR INJECTION */(function(global) {var Lanes = ( global.Lanes || (global.Lanes = {}) );
7
7
  Lanes.Vendor = ( Lanes.Vendor || {} );
8
8
 
9
- Lanes.Vendor.ReactToggle = __webpack_require__(1474)
10
- __webpack_require__(1481);
9
+ Lanes.Vendor.ReactToggle = __webpack_require__(929)
10
+ __webpack_require__(935);
11
11
 
12
12
  /* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))
13
13
 
14
14
  /***/ },
15
15
 
16
- /***/ 67:
17
- /***/ function(module, exports, __webpack_require__) {
18
-
19
- 'use strict';
20
-
21
- module.exports = __webpack_require__(68);
22
-
23
-
24
- /***/ },
25
-
26
- /***/ 1474:
16
+ /***/ 929:
27
17
  /***/ function(module, exports, __webpack_require__) {
28
18
 
29
19
  "use strict";
@@ -32,15 +22,15 @@ webpackJsonp([3],{
32
22
 
33
23
  var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
34
24
 
35
- var React = _interopRequire(__webpack_require__(67));
25
+ var React = _interopRequire(__webpack_require__(66));
36
26
 
37
- var classNames = _interopRequire(__webpack_require__(1475));
27
+ var classNames = _interopRequire(__webpack_require__(457));
38
28
 
39
- var Check = _interopRequire(__webpack_require__(1476));
29
+ var Check = _interopRequire(__webpack_require__(930));
40
30
 
41
- var X = _interopRequire(__webpack_require__(1477));
31
+ var X = _interopRequire(__webpack_require__(931));
42
32
 
43
- var PureRenderMixin = _interopRequire(__webpack_require__(1478));
33
+ var PureRenderMixin = _interopRequire(__webpack_require__(932));
44
34
 
45
35
  module.exports = React.createClass({
46
36
  mixins: [PureRenderMixin],
@@ -138,64 +128,14 @@ webpackJsonp([3],{
138
128
 
139
129
  /***/ },
140
130
 
141
- /***/ 1475:
142
- /***/ function(module, exports, __webpack_require__) {
143
-
144
- var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
145
- Copyright (c) 2015 Jed Watson.
146
- Licensed under the MIT License (MIT), see
147
- http://jedwatson.github.io/classnames
148
- */
149
-
150
- function classNames() {
151
- var classes = '';
152
- var arg;
153
-
154
- for (var i = 0; i < arguments.length; i++) {
155
- arg = arguments[i];
156
- if (!arg) {
157
- continue;
158
- }
159
-
160
- if ('string' === typeof arg || 'number' === typeof arg) {
161
- classes += ' ' + arg;
162
- } else if (Object.prototype.toString.call(arg) === '[object Array]') {
163
- classes += ' ' + classNames.apply(null, arg);
164
- } else if ('object' === typeof arg) {
165
- for (var key in arg) {
166
- if (!arg.hasOwnProperty(key) || !arg[key]) {
167
- continue;
168
- }
169
- classes += ' ' + key;
170
- }
171
- }
172
- }
173
- return classes.substr(1);
174
- }
175
-
176
- // safely export classNames for node / browserify
177
- if (typeof module !== 'undefined' && module.exports) {
178
- module.exports = classNames;
179
- }
180
-
181
- // safely export classNames for RequireJS
182
- if (true) {
183
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function() {
184
- return classNames;
185
- }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
186
- }
187
-
188
-
189
- /***/ },
190
-
191
- /***/ 1476:
131
+ /***/ 930:
192
132
  /***/ function(module, exports, __webpack_require__) {
193
133
 
194
134
  "use strict";
195
135
 
196
136
  var _interopRequire = function (obj) { return obj && obj.__esModule ? obj["default"] : obj; };
197
137
 
198
- var React = _interopRequire(__webpack_require__(67));
138
+ var React = _interopRequire(__webpack_require__(66));
199
139
 
200
140
  module.exports = React.createClass({
201
141
  displayName: "check.es6",
@@ -217,14 +157,14 @@ webpackJsonp([3],{
217
157
 
218
158
  /***/ },
219
159
 
220
- /***/ 1477:
160
+ /***/ 931:
221
161
  /***/ function(module, exports, __webpack_require__) {
222
162
 
223
163
  "use strict";
224
164
 
225
165
  var _interopRequire = function (obj) { return obj && obj.__esModule ? obj["default"] : obj; };
226
166
 
227
- var React = _interopRequire(__webpack_require__(67));
167
+ var React = _interopRequire(__webpack_require__(66));
228
168
 
229
169
  module.exports = React.createClass({
230
170
  displayName: "x.es6",
@@ -246,18 +186,18 @@ webpackJsonp([3],{
246
186
 
247
187
  /***/ },
248
188
 
249
- /***/ 1478:
189
+ /***/ 932:
250
190
  /***/ function(module, exports, __webpack_require__) {
251
191
 
252
- module.exports = __webpack_require__(1479);
192
+ module.exports = __webpack_require__(933);
253
193
 
254
194
  /***/ },
255
195
 
256
- /***/ 1479:
196
+ /***/ 933:
257
197
  /***/ function(module, exports, __webpack_require__) {
258
198
 
259
199
  /**
260
- * Copyright 2013-2015, Facebook, Inc.
200
+ * Copyright 2013-present, Facebook, Inc.
261
201
  * All rights reserved.
262
202
  *
263
203
  * This source code is licensed under the BSD-style license found in the
@@ -269,11 +209,11 @@ webpackJsonp([3],{
269
209
 
270
210
  'use strict';
271
211
 
272
- var shallowCompare = __webpack_require__(1480);
212
+ var shallowCompare = __webpack_require__(934);
273
213
 
274
214
  /**
275
215
  * If your React component's render function is "pure", e.g. it will render the
276
- * same result given the same props and state, provide this Mixin for a
216
+ * same result given the same props and state, provide this mixin for a
277
217
  * considerable performance boost.
278
218
  *
279
219
  * Most React components have pure render functions.
@@ -305,11 +245,11 @@ webpackJsonp([3],{
305
245
 
306
246
  /***/ },
307
247
 
308
- /***/ 1480:
248
+ /***/ 934:
309
249
  /***/ function(module, exports, __webpack_require__) {
310
250
 
311
251
  /**
312
- * Copyright 2013-2015, Facebook, Inc.
252
+ * Copyright 2013-present, Facebook, Inc.
313
253
  * All rights reserved.
314
254
  *
315
255
  * This source code is licensed under the BSD-style license found in the
@@ -321,7 +261,7 @@ webpackJsonp([3],{
321
261
 
322
262
  'use strict';
323
263
 
324
- var shallowEqual = __webpack_require__(183);
264
+ var shallowEqual = __webpack_require__(187);
325
265
 
326
266
  /**
327
267
  * Does a shallow comparison for props and state.
@@ -335,7 +275,7 @@ webpackJsonp([3],{
335
275
 
336
276
  /***/ },
337
277
 
338
- /***/ 1481:
278
+ /***/ 935:
339
279
  /***/ function(module, exports) {
340
280
 
341
281
  // removed by extract-text-webpack-plugin