lanes 0.1.0 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (257) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +7 -0
  3. data/Gemfile +2 -2
  4. data/client/lanes/components/Base.coffee +12 -11
  5. data/client/lanes/components/enabled.js.erb +1 -1
  6. data/client/lanes/components/grid/Editor.coffee +2 -2
  7. data/client/lanes/components/grid/Grid.coffee +60 -58
  8. data/client/lanes/components/grid/PopOverEditor.coffee +3 -3
  9. data/client/lanes/components/grid/RowEditor.coffee +1 -1
  10. data/client/lanes/components/grid/{grid.scss → _index.scss} +0 -0
  11. data/client/lanes/components/grid/template.html +1 -1
  12. data/client/lanes/components/modal/ModalDialog.coffee +1 -1
  13. data/client/lanes/components/modal/{modal.scss → _index.scss} +1 -1
  14. data/client/lanes/components/modal/index.js +1 -1
  15. data/client/lanes/components/popover/PopOver.coffee +1 -1
  16. data/client/lanes/components/popover/_index.scss +1 -0
  17. data/client/lanes/components/popover/index.js +1 -1
  18. data/client/lanes/components/select_field/{select_field.scss → _index.scss} +0 -0
  19. data/client/lanes/extension/Extensions.coffee +3 -2
  20. data/client/lanes/lib/Templates.coffee +7 -0
  21. data/client/lanes/minimal.js +1 -1
  22. data/client/lanes/minimal.scss.erb +1 -1
  23. data/client/lanes/models/Base.coffee +16 -19
  24. data/client/lanes/models/Bootstrap.coffee +1 -2
  25. data/client/lanes/models/Collection.coffee +37 -25
  26. data/client/lanes/models/Screens.coffee +6 -18
  27. data/client/lanes/models/Sync.coffee +12 -5
  28. data/client/lanes/screens/Base.coffee +1 -2
  29. data/client/lanes/screens/Instance.coffee +2 -5
  30. data/client/lanes/screens/screen-definitions.js.erb +10 -2
  31. data/client/{styles → lanes/styles}/components/all.scss +0 -0
  32. data/client/{styles → lanes/styles}/components/changes-notification.scss +0 -0
  33. data/client/{styles → lanes/styles}/components/record-finder.scss +0 -0
  34. data/client/{styles → lanes/styles}/components/suggest.scss +0 -0
  35. data/client/{styles → lanes/styles}/fonts/icomoon.eot +0 -0
  36. data/client/{styles → lanes/styles}/fonts/icomoon.svg +0 -0
  37. data/client/{styles → lanes/styles}/fonts/icomoon.ttf +0 -0
  38. data/client/{styles → lanes/styles}/fonts/icomoon.woff +0 -0
  39. data/client/{styles → lanes/styles}/fonts/selection.json +0 -0
  40. data/client/{styles → lanes/styles}/fonts/style.scss +0 -0
  41. data/client/{styles → lanes/styles}/fonts.scss +5 -5
  42. data/client/{styles → lanes/styles}/forms.scss +0 -0
  43. data/client/{styles → lanes/styles}/index.css +0 -0
  44. data/client/{styles → lanes/styles}/keybindings.scss +0 -0
  45. data/client/{styles → lanes/styles}/layout.scss +0 -0
  46. data/client/{styles → lanes/styles}/plugins/all.scss +0 -0
  47. data/client/{styles → lanes/styles}/plugins/overlay.scss +0 -0
  48. data/client/{styles → lanes/styles}/plugins/resize-sensor.scss +0 -0
  49. data/client/{styles → lanes/styles}/screens.scss +0 -0
  50. data/client/{styles → lanes/styles}/tabs.scss +0 -0
  51. data/client/{styles → lanes/styles}/vendor/bootstrap/_alerts.scss +0 -0
  52. data/client/{styles → lanes/styles}/vendor/bootstrap/_badges.scss +0 -0
  53. data/client/{styles → lanes/styles}/vendor/bootstrap/_breadcrumbs.scss +0 -0
  54. data/client/{styles → lanes/styles}/vendor/bootstrap/_button-groups.scss +0 -0
  55. data/client/{styles → lanes/styles}/vendor/bootstrap/_buttons.scss +0 -0
  56. data/client/{styles → lanes/styles}/vendor/bootstrap/_carousel.scss +0 -0
  57. data/client/{styles → lanes/styles}/vendor/bootstrap/_close.scss +0 -0
  58. data/client/{styles → lanes/styles}/vendor/bootstrap/_code.scss +0 -0
  59. data/client/{styles → lanes/styles}/vendor/bootstrap/_component-animations.scss +0 -0
  60. data/client/{styles → lanes/styles}/vendor/bootstrap/_dropdowns.scss +0 -0
  61. data/client/{styles → lanes/styles}/vendor/bootstrap/_forms.scss +0 -0
  62. data/client/{styles → lanes/styles}/vendor/bootstrap/_glyphicons.scss +0 -0
  63. data/client/{styles → lanes/styles}/vendor/bootstrap/_grid.scss +0 -0
  64. data/client/{styles → lanes/styles}/vendor/bootstrap/_input-groups.scss +0 -0
  65. data/client/{styles → lanes/styles}/vendor/bootstrap/_jumbotron.scss +0 -0
  66. data/client/{styles → lanes/styles}/vendor/bootstrap/_labels.scss +0 -0
  67. data/client/{styles → lanes/styles}/vendor/bootstrap/_list-group.scss +0 -0
  68. data/client/{styles → lanes/styles}/vendor/bootstrap/_media.scss +0 -0
  69. data/client/{styles → lanes/styles}/vendor/bootstrap/_mixins.scss +0 -0
  70. data/client/{styles → lanes/styles}/vendor/bootstrap/_modals.scss +0 -0
  71. data/client/{styles → lanes/styles}/vendor/bootstrap/_navbar.scss +0 -0
  72. data/client/{styles → lanes/styles}/vendor/bootstrap/_navs.scss +0 -0
  73. data/client/{styles → lanes/styles}/vendor/bootstrap/_normalize.scss +0 -0
  74. data/client/{styles → lanes/styles}/vendor/bootstrap/_pager.scss +0 -0
  75. data/client/{styles → lanes/styles}/vendor/bootstrap/_pagination.scss +0 -0
  76. data/client/{styles → lanes/styles}/vendor/bootstrap/_panels.scss +0 -0
  77. data/client/{styles → lanes/styles}/vendor/bootstrap/_popovers.scss +0 -0
  78. data/client/{styles → lanes/styles}/vendor/bootstrap/_print.scss +0 -0
  79. data/client/{styles → lanes/styles}/vendor/bootstrap/_progress-bars.scss +0 -0
  80. data/client/{styles → lanes/styles}/vendor/bootstrap/_responsive-embed.scss +0 -0
  81. data/client/{styles → lanes/styles}/vendor/bootstrap/_responsive-utilities.scss +0 -0
  82. data/client/{styles → lanes/styles}/vendor/bootstrap/_scaffolding.scss +0 -0
  83. data/client/{styles → lanes/styles}/vendor/bootstrap/_tables.scss +0 -0
  84. data/client/{styles → lanes/styles}/vendor/bootstrap/_theme.scss +0 -0
  85. data/client/{styles → lanes/styles}/vendor/bootstrap/_thumbnails.scss +0 -0
  86. data/client/{styles → lanes/styles}/vendor/bootstrap/_tooltip.scss +0 -0
  87. data/client/{styles → lanes/styles}/vendor/bootstrap/_type.scss +0 -0
  88. data/client/{styles → lanes/styles}/vendor/bootstrap/_utilities.scss +0 -0
  89. data/client/{styles → lanes/styles}/vendor/bootstrap/_variables.scss +0 -0
  90. data/client/{styles → lanes/styles}/vendor/bootstrap/_wells.scss +0 -0
  91. data/client/{styles → lanes/styles}/vendor/bootstrap/mixins/_alerts.scss +0 -0
  92. data/client/{styles → lanes/styles}/vendor/bootstrap/mixins/_background-variant.scss +0 -0
  93. data/client/{styles → lanes/styles}/vendor/bootstrap/mixins/_border-radius.scss +0 -0
  94. data/client/{styles → lanes/styles}/vendor/bootstrap/mixins/_buttons.scss +0 -0
  95. data/client/{styles → lanes/styles}/vendor/bootstrap/mixins/_center-block.scss +0 -0
  96. data/client/{styles → lanes/styles}/vendor/bootstrap/mixins/_clearfix.scss +0 -0
  97. data/client/{styles → lanes/styles}/vendor/bootstrap/mixins/_forms.scss +0 -0
  98. data/client/{styles → lanes/styles}/vendor/bootstrap/mixins/_gradients.scss +0 -0
  99. data/client/{styles → lanes/styles}/vendor/bootstrap/mixins/_grid-framework.scss +0 -0
  100. data/client/{styles → lanes/styles}/vendor/bootstrap/mixins/_grid.scss +0 -0
  101. data/client/{styles → lanes/styles}/vendor/bootstrap/mixins/_hide-text.scss +0 -0
  102. data/client/{styles → lanes/styles}/vendor/bootstrap/mixins/_image.scss +0 -0
  103. data/client/{styles → lanes/styles}/vendor/bootstrap/mixins/_labels.scss +0 -0
  104. data/client/{styles → lanes/styles}/vendor/bootstrap/mixins/_list-group.scss +0 -0
  105. data/client/{styles → lanes/styles}/vendor/bootstrap/mixins/_nav-divider.scss +0 -0
  106. data/client/{styles → lanes/styles}/vendor/bootstrap/mixins/_nav-vertical-align.scss +0 -0
  107. data/client/{styles → lanes/styles}/vendor/bootstrap/mixins/_opacity.scss +0 -0
  108. data/client/{styles → lanes/styles}/vendor/bootstrap/mixins/_pagination.scss +0 -0
  109. data/client/{styles → lanes/styles}/vendor/bootstrap/mixins/_panels.scss +0 -0
  110. data/client/{styles → lanes/styles}/vendor/bootstrap/mixins/_progress-bar.scss +0 -0
  111. data/client/{styles → lanes/styles}/vendor/bootstrap/mixins/_reset-filter.scss +0 -0
  112. data/client/{styles → lanes/styles}/vendor/bootstrap/mixins/_resize.scss +0 -0
  113. data/client/{styles → lanes/styles}/vendor/bootstrap/mixins/_responsive-visibility.scss +0 -0
  114. data/client/{styles → lanes/styles}/vendor/bootstrap/mixins/_size.scss +0 -0
  115. data/client/{styles → lanes/styles}/vendor/bootstrap/mixins/_tab-focus.scss +0 -0
  116. data/client/{styles → lanes/styles}/vendor/bootstrap/mixins/_table-row.scss +0 -0
  117. data/client/{styles → lanes/styles}/vendor/bootstrap/mixins/_text-emphasis.scss +0 -0
  118. data/client/{styles → lanes/styles}/vendor/bootstrap/mixins/_text-overflow.scss +0 -0
  119. data/client/{styles → lanes/styles}/vendor/bootstrap/mixins/_vendor-prefixes.scss +0 -0
  120. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_alerts.scss +0 -0
  121. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_badges.scss +0 -0
  122. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_breadcrumbs.scss +0 -0
  123. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_button-groups.scss +0 -0
  124. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_buttons.scss +0 -0
  125. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_carousel.scss +0 -0
  126. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_close.scss +0 -0
  127. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_code.scss +0 -0
  128. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_component-animations.scss +0 -0
  129. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_dropdowns.scss +0 -0
  130. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_forms.scss +0 -0
  131. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_glyphicons.scss +0 -0
  132. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_grid.scss +0 -0
  133. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_input-groups.scss +0 -0
  134. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_jumbotron.scss +0 -0
  135. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_labels.scss +0 -0
  136. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_list-group.scss +0 -0
  137. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_media.scss +0 -0
  138. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_mixins.scss +0 -0
  139. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_modals.scss +0 -0
  140. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_navbar.scss +0 -0
  141. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_navs.scss +0 -0
  142. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_normalize.scss +0 -0
  143. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_pager.scss +0 -0
  144. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_pagination.scss +0 -0
  145. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_panels.scss +0 -0
  146. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_popovers.scss +0 -0
  147. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_print.scss +0 -0
  148. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_progress-bars.scss +0 -0
  149. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_responsive-embed.scss +0 -0
  150. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_responsive-utilities.scss +0 -0
  151. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_scaffolding.scss +0 -0
  152. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_tables.scss +0 -0
  153. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_theme.scss +0 -0
  154. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_thumbnails.scss +0 -0
  155. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_tooltip.scss +0 -0
  156. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_type.scss +0 -0
  157. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_utilities.scss +0 -0
  158. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_variables.scss +0 -0
  159. data/client/{styles → lanes/styles}/vendor/bootstrap/old/_wells.scss +0 -0
  160. data/client/{styles → lanes/styles}/vendor/bootstrap/old/bootstrap.scss +0 -0
  161. data/client/{styles → lanes/styles}/vendor/bootstrap/old/mixins/_alerts.scss +0 -0
  162. data/client/{styles → lanes/styles}/vendor/bootstrap/old/mixins/_background-variant.scss +0 -0
  163. data/client/{styles → lanes/styles}/vendor/bootstrap/old/mixins/_border-radius.scss +0 -0
  164. data/client/{styles → lanes/styles}/vendor/bootstrap/old/mixins/_buttons.scss +0 -0
  165. data/client/{styles → lanes/styles}/vendor/bootstrap/old/mixins/_center-block.scss +0 -0
  166. data/client/{styles → lanes/styles}/vendor/bootstrap/old/mixins/_clearfix.scss +0 -0
  167. data/client/{styles → lanes/styles}/vendor/bootstrap/old/mixins/_forms.scss +0 -0
  168. data/client/{styles → lanes/styles}/vendor/bootstrap/old/mixins/_gradients.scss +0 -0
  169. data/client/{styles → lanes/styles}/vendor/bootstrap/old/mixins/_grid-framework.scss +0 -0
  170. data/client/{styles → lanes/styles}/vendor/bootstrap/old/mixins/_grid.scss +0 -0
  171. data/client/{styles → lanes/styles}/vendor/bootstrap/old/mixins/_hide-text.scss +0 -0
  172. data/client/{styles → lanes/styles}/vendor/bootstrap/old/mixins/_image.scss +0 -0
  173. data/client/{styles → lanes/styles}/vendor/bootstrap/old/mixins/_labels.scss +0 -0
  174. data/client/{styles → lanes/styles}/vendor/bootstrap/old/mixins/_list-group.scss +0 -0
  175. data/client/{styles → lanes/styles}/vendor/bootstrap/old/mixins/_nav-divider.scss +0 -0
  176. data/client/{styles → lanes/styles}/vendor/bootstrap/old/mixins/_nav-vertical-align.scss +0 -0
  177. data/client/{styles → lanes/styles}/vendor/bootstrap/old/mixins/_opacity.scss +0 -0
  178. data/client/{styles → lanes/styles}/vendor/bootstrap/old/mixins/_pagination.scss +0 -0
  179. data/client/{styles → lanes/styles}/vendor/bootstrap/old/mixins/_panels.scss +0 -0
  180. data/client/{styles → lanes/styles}/vendor/bootstrap/old/mixins/_progress-bar.scss +0 -0
  181. data/client/{styles → lanes/styles}/vendor/bootstrap/old/mixins/_reset-filter.scss +0 -0
  182. data/client/{styles → lanes/styles}/vendor/bootstrap/old/mixins/_resize.scss +0 -0
  183. data/client/{styles → lanes/styles}/vendor/bootstrap/old/mixins/_responsive-visibility.scss +0 -0
  184. data/client/{styles → lanes/styles}/vendor/bootstrap/old/mixins/_size.scss +0 -0
  185. data/client/{styles → lanes/styles}/vendor/bootstrap/old/mixins/_tab-focus.scss +0 -0
  186. data/client/{styles → lanes/styles}/vendor/bootstrap/old/mixins/_table-row.scss +0 -0
  187. data/client/{styles → lanes/styles}/vendor/bootstrap/old/mixins/_text-emphasis.scss +0 -0
  188. data/client/{styles → lanes/styles}/vendor/bootstrap/old/mixins/_text-overflow.scss +0 -0
  189. data/client/{styles → lanes/styles}/vendor/bootstrap/old/mixins/_vendor-prefixes.scss +0 -0
  190. data/client/{styles → lanes/styles}/vendor/bootstrap-custom-grid.scss +0 -0
  191. data/client/{styles → lanes/styles}/vendor/bootstrap-custom-modals.scss +0 -0
  192. data/client/{styles → lanes/styles}/vendor/bootstrap.scss +2 -2
  193. data/client/{styles → lanes/styles}/vendor/dataTables.scss +0 -0
  194. data/client/lanes/views/Base.coffee +34 -49
  195. data/client/lanes/views/FormBindings.coffee +22 -20
  196. data/client/lanes/views/Helpers.coffee +1 -1
  197. data/client/lanes/views/empty-span.html +1 -0
  198. data/client/lanes/workspace/ActiveScreensSwitcher.coffee +8 -1
  199. data/client/lanes/workspace/Layout.coffee +7 -4
  200. data/client/lanes/workspace/Navbar.coffee +6 -2
  201. data/client/lanes/workspace/Pages.coffee +5 -1
  202. data/client/lanes/workspace/ScreensMenu.coffee +14 -2
  203. data/client/lanes/workspace/WorkspaceView.coffee +5 -0
  204. data/client/lanes/workspace/index.js +1 -0
  205. data/client/lanes/workspace.scss.erb +6 -1
  206. data/lanes.gemspec +1 -1
  207. data/lib/lanes/api/controller.rb +5 -7
  208. data/lib/lanes/api/helper_methods.rb +1 -1
  209. data/lib/lanes/api/javascript_processor.rb +3 -2
  210. data/lib/lanes/command/app.rb +8 -4
  211. data/lib/lanes/command/generate_model.rb +13 -11
  212. data/lib/lanes/command/generate_screen.rb +9 -2
  213. data/lib/lanes/command/generate_view.rb +15 -3
  214. data/lib/lanes/command/generate_view.usage +7 -7
  215. data/lib/lanes/command/named_command.rb +2 -2
  216. data/lib/lanes/command/templates/client/index.js +3 -0
  217. data/lib/lanes/command/templates/client/models/BaseModel.coffee +5 -0
  218. data/lib/lanes/command/templates/client/models/Model.coffee +1 -1
  219. data/lib/lanes/command/templates/client/views/BaseView.coffee +5 -0
  220. data/lib/lanes/command/templates/client/views/View.coffee +1 -1
  221. data/lib/lanes/command/templates/config/screen.rb +8 -0
  222. data/lib/lanes/command/templates/lib/namespace/base_model.rb +9 -0
  223. data/lib/lanes/command/templates/lib/namespace/model.rb +1 -1
  224. data/lib/lanes/command/templates/spec/client/models/ModelSpec.coffee +1 -1
  225. data/lib/lanes/command/templates/spec/client/views/ViewSpec.coffee +1 -1
  226. data/lib/lanes/command.rb +1 -2
  227. data/lib/lanes/components.rb +5 -4
  228. data/lib/lanes/concerns/all.rb +0 -5
  229. data/lib/lanes/concerns/attr_accessor_with_default.rb +5 -3
  230. data/lib/lanes/concerns/set_attribute_data.rb +6 -23
  231. data/lib/lanes/configuration.rb +1 -0
  232. data/lib/lanes/extension.rb +19 -10
  233. data/lib/lanes/guard_tasks.rb +1 -1
  234. data/lib/lanes/model.rb +1 -6
  235. data/lib/lanes/{screens.rb → screen.rb} +40 -23
  236. data/lib/lanes/spec_helper.rb +4 -2
  237. data/lib/lanes/version.rb +1 -1
  238. data/lib/lanes.rb +1 -1
  239. data/spec/api/javascript_processor_spec.rb +3 -3
  240. data/spec/command_spec.rb +49 -0
  241. data/spec/concerns/attr_accessor_with_default_spec.rb +7 -0
  242. data/spec/helpers/lanes-helpers.coffee +46 -22
  243. data/spec/helpers/minitest_assertions.rb +23 -0
  244. data/spec/lanes/models/BaseSpec.coffee +57 -56
  245. data/spec/lanes/models/CollectionSpec.coffee +14 -0
  246. data/spec/lanes/models/PubSubSpec.coffee +5 -5
  247. data/spec/lanes/views/BaseSpec.coffee +32 -31
  248. data/spec/lanes/views/FormBindingsSpec.coffee +32 -0
  249. metadata +183 -179
  250. data/client/lanes/components/popover/popover.scss +0 -1
  251. data/lib/lanes/command/templates/lib/namespace/screen.rb +0 -17
  252. data/lib/lanes/concerns/code_identifier.rb +0 -43
  253. data/lib/lanes/concerns/immutable_model.rb +0 -32
  254. data/lib/lanes/concerns/locked_fields.rb +0 -84
  255. data/lib/lanes/concerns/random_hash_code.rb +0 -40
  256. data/lib/lanes/concerns/visible_id_identifier.rb +0 -53
  257. data/spec/concerns/code_identifier_spec.rb +0 -45
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lanes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Stitt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-21 00:00:00.000000000 Z
11
+ date: 2015-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '4.1'
19
+ version: '4.2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '4.1'
26
+ version: '4.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: pg
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -441,6 +441,7 @@ extra_rdoc_files: []
441
441
  files:
442
442
  - ".gitignore"
443
443
  - ".jshintrc"
444
+ - ".rubocop.yml"
444
445
  - Gemfile
445
446
  - Guardfile
446
447
  - LICENSE-MIT.txt
@@ -473,9 +474,9 @@ files:
473
474
  - client/lanes/components/grid/Grid.coffee
474
475
  - client/lanes/components/grid/PopOverEditor.coffee
475
476
  - client/lanes/components/grid/RowEditor.coffee
477
+ - client/lanes/components/grid/_index.scss
476
478
  - client/lanes/components/grid/config.json
477
479
  - client/lanes/components/grid/editors.scss
478
- - client/lanes/components/grid/grid.scss
479
480
  - client/lanes/components/grid/index.js
480
481
  - client/lanes/components/grid/popover-editor.html
481
482
  - client/lanes/components/grid/row-editor.html
@@ -487,12 +488,12 @@ files:
487
488
  - client/lanes/components/grid/vendor/jquery.dataTables.js
488
489
  - client/lanes/components/index.js
489
490
  - client/lanes/components/modal/ModalDialog.coffee
491
+ - client/lanes/components/modal/_index.scss
490
492
  - client/lanes/components/modal/index.js
491
- - client/lanes/components/modal/modal.scss
492
493
  - client/lanes/components/modal/template.html
493
494
  - client/lanes/components/popover/PopOver.coffee
495
+ - client/lanes/components/popover/_index.scss
494
496
  - client/lanes/components/popover/index.js
495
- - client/lanes/components/popover/popover.scss
496
497
  - client/lanes/components/popover/template.html
497
498
  - client/lanes/components/radio_group/RadioGroup.coffee
498
499
  - client/lanes/components/record_finder/RecordFinder.coffee
@@ -500,8 +501,8 @@ files:
500
501
  - client/lanes/components/record_finder/dialog.skr
501
502
  - client/lanes/components/record_finder/field.skr
502
503
  - client/lanes/components/select_field/SelectField.coffee
504
+ - client/lanes/components/select_field/_index.scss
503
505
  - client/lanes/components/select_field/index.js
504
- - client/lanes/components/select_field/select_field.scss
505
506
  - client/lanes/extension/Base.coffee
506
507
  - client/lanes/extension/EarlyExtensions.js.erb
507
508
  - client/lanes/extension/Extensions.coffee
@@ -547,6 +548,169 @@ files:
547
548
  - client/lanes/screens/Router.coffee
548
549
  - client/lanes/screens/index.js
549
550
  - client/lanes/screens/screen-definitions.js.erb
551
+ - client/lanes/styles/components/all.scss
552
+ - client/lanes/styles/components/changes-notification.scss
553
+ - client/lanes/styles/components/record-finder.scss
554
+ - client/lanes/styles/components/suggest.scss
555
+ - client/lanes/styles/fonts.scss
556
+ - client/lanes/styles/fonts/icomoon.eot
557
+ - client/lanes/styles/fonts/icomoon.svg
558
+ - client/lanes/styles/fonts/icomoon.ttf
559
+ - client/lanes/styles/fonts/icomoon.woff
560
+ - client/lanes/styles/fonts/selection.json
561
+ - client/lanes/styles/fonts/style.scss
562
+ - client/lanes/styles/forms.scss
563
+ - client/lanes/styles/index.css
564
+ - client/lanes/styles/keybindings.scss
565
+ - client/lanes/styles/layout.scss
566
+ - client/lanes/styles/plugins/all.scss
567
+ - client/lanes/styles/plugins/overlay.scss
568
+ - client/lanes/styles/plugins/resize-sensor.scss
569
+ - client/lanes/styles/screens.scss
570
+ - client/lanes/styles/tabs.scss
571
+ - client/lanes/styles/vendor/bootstrap-custom-grid.scss
572
+ - client/lanes/styles/vendor/bootstrap-custom-modals.scss
573
+ - client/lanes/styles/vendor/bootstrap.scss
574
+ - client/lanes/styles/vendor/bootstrap/_alerts.scss
575
+ - client/lanes/styles/vendor/bootstrap/_badges.scss
576
+ - client/lanes/styles/vendor/bootstrap/_breadcrumbs.scss
577
+ - client/lanes/styles/vendor/bootstrap/_button-groups.scss
578
+ - client/lanes/styles/vendor/bootstrap/_buttons.scss
579
+ - client/lanes/styles/vendor/bootstrap/_carousel.scss
580
+ - client/lanes/styles/vendor/bootstrap/_close.scss
581
+ - client/lanes/styles/vendor/bootstrap/_code.scss
582
+ - client/lanes/styles/vendor/bootstrap/_component-animations.scss
583
+ - client/lanes/styles/vendor/bootstrap/_dropdowns.scss
584
+ - client/lanes/styles/vendor/bootstrap/_forms.scss
585
+ - client/lanes/styles/vendor/bootstrap/_glyphicons.scss
586
+ - client/lanes/styles/vendor/bootstrap/_grid.scss
587
+ - client/lanes/styles/vendor/bootstrap/_input-groups.scss
588
+ - client/lanes/styles/vendor/bootstrap/_jumbotron.scss
589
+ - client/lanes/styles/vendor/bootstrap/_labels.scss
590
+ - client/lanes/styles/vendor/bootstrap/_list-group.scss
591
+ - client/lanes/styles/vendor/bootstrap/_media.scss
592
+ - client/lanes/styles/vendor/bootstrap/_mixins.scss
593
+ - client/lanes/styles/vendor/bootstrap/_modals.scss
594
+ - client/lanes/styles/vendor/bootstrap/_navbar.scss
595
+ - client/lanes/styles/vendor/bootstrap/_navs.scss
596
+ - client/lanes/styles/vendor/bootstrap/_normalize.scss
597
+ - client/lanes/styles/vendor/bootstrap/_pager.scss
598
+ - client/lanes/styles/vendor/bootstrap/_pagination.scss
599
+ - client/lanes/styles/vendor/bootstrap/_panels.scss
600
+ - client/lanes/styles/vendor/bootstrap/_popovers.scss
601
+ - client/lanes/styles/vendor/bootstrap/_print.scss
602
+ - client/lanes/styles/vendor/bootstrap/_progress-bars.scss
603
+ - client/lanes/styles/vendor/bootstrap/_responsive-embed.scss
604
+ - client/lanes/styles/vendor/bootstrap/_responsive-utilities.scss
605
+ - client/lanes/styles/vendor/bootstrap/_scaffolding.scss
606
+ - client/lanes/styles/vendor/bootstrap/_tables.scss
607
+ - client/lanes/styles/vendor/bootstrap/_theme.scss
608
+ - client/lanes/styles/vendor/bootstrap/_thumbnails.scss
609
+ - client/lanes/styles/vendor/bootstrap/_tooltip.scss
610
+ - client/lanes/styles/vendor/bootstrap/_type.scss
611
+ - client/lanes/styles/vendor/bootstrap/_utilities.scss
612
+ - client/lanes/styles/vendor/bootstrap/_variables.scss
613
+ - client/lanes/styles/vendor/bootstrap/_wells.scss
614
+ - client/lanes/styles/vendor/bootstrap/mixins/_alerts.scss
615
+ - client/lanes/styles/vendor/bootstrap/mixins/_background-variant.scss
616
+ - client/lanes/styles/vendor/bootstrap/mixins/_border-radius.scss
617
+ - client/lanes/styles/vendor/bootstrap/mixins/_buttons.scss
618
+ - client/lanes/styles/vendor/bootstrap/mixins/_center-block.scss
619
+ - client/lanes/styles/vendor/bootstrap/mixins/_clearfix.scss
620
+ - client/lanes/styles/vendor/bootstrap/mixins/_forms.scss
621
+ - client/lanes/styles/vendor/bootstrap/mixins/_gradients.scss
622
+ - client/lanes/styles/vendor/bootstrap/mixins/_grid-framework.scss
623
+ - client/lanes/styles/vendor/bootstrap/mixins/_grid.scss
624
+ - client/lanes/styles/vendor/bootstrap/mixins/_hide-text.scss
625
+ - client/lanes/styles/vendor/bootstrap/mixins/_image.scss
626
+ - client/lanes/styles/vendor/bootstrap/mixins/_labels.scss
627
+ - client/lanes/styles/vendor/bootstrap/mixins/_list-group.scss
628
+ - client/lanes/styles/vendor/bootstrap/mixins/_nav-divider.scss
629
+ - client/lanes/styles/vendor/bootstrap/mixins/_nav-vertical-align.scss
630
+ - client/lanes/styles/vendor/bootstrap/mixins/_opacity.scss
631
+ - client/lanes/styles/vendor/bootstrap/mixins/_pagination.scss
632
+ - client/lanes/styles/vendor/bootstrap/mixins/_panels.scss
633
+ - client/lanes/styles/vendor/bootstrap/mixins/_progress-bar.scss
634
+ - client/lanes/styles/vendor/bootstrap/mixins/_reset-filter.scss
635
+ - client/lanes/styles/vendor/bootstrap/mixins/_resize.scss
636
+ - client/lanes/styles/vendor/bootstrap/mixins/_responsive-visibility.scss
637
+ - client/lanes/styles/vendor/bootstrap/mixins/_size.scss
638
+ - client/lanes/styles/vendor/bootstrap/mixins/_tab-focus.scss
639
+ - client/lanes/styles/vendor/bootstrap/mixins/_table-row.scss
640
+ - client/lanes/styles/vendor/bootstrap/mixins/_text-emphasis.scss
641
+ - client/lanes/styles/vendor/bootstrap/mixins/_text-overflow.scss
642
+ - client/lanes/styles/vendor/bootstrap/mixins/_vendor-prefixes.scss
643
+ - client/lanes/styles/vendor/bootstrap/old/_alerts.scss
644
+ - client/lanes/styles/vendor/bootstrap/old/_badges.scss
645
+ - client/lanes/styles/vendor/bootstrap/old/_breadcrumbs.scss
646
+ - client/lanes/styles/vendor/bootstrap/old/_button-groups.scss
647
+ - client/lanes/styles/vendor/bootstrap/old/_buttons.scss
648
+ - client/lanes/styles/vendor/bootstrap/old/_carousel.scss
649
+ - client/lanes/styles/vendor/bootstrap/old/_close.scss
650
+ - client/lanes/styles/vendor/bootstrap/old/_code.scss
651
+ - client/lanes/styles/vendor/bootstrap/old/_component-animations.scss
652
+ - client/lanes/styles/vendor/bootstrap/old/_dropdowns.scss
653
+ - client/lanes/styles/vendor/bootstrap/old/_forms.scss
654
+ - client/lanes/styles/vendor/bootstrap/old/_glyphicons.scss
655
+ - client/lanes/styles/vendor/bootstrap/old/_grid.scss
656
+ - client/lanes/styles/vendor/bootstrap/old/_input-groups.scss
657
+ - client/lanes/styles/vendor/bootstrap/old/_jumbotron.scss
658
+ - client/lanes/styles/vendor/bootstrap/old/_labels.scss
659
+ - client/lanes/styles/vendor/bootstrap/old/_list-group.scss
660
+ - client/lanes/styles/vendor/bootstrap/old/_media.scss
661
+ - client/lanes/styles/vendor/bootstrap/old/_mixins.scss
662
+ - client/lanes/styles/vendor/bootstrap/old/_modals.scss
663
+ - client/lanes/styles/vendor/bootstrap/old/_navbar.scss
664
+ - client/lanes/styles/vendor/bootstrap/old/_navs.scss
665
+ - client/lanes/styles/vendor/bootstrap/old/_normalize.scss
666
+ - client/lanes/styles/vendor/bootstrap/old/_pager.scss
667
+ - client/lanes/styles/vendor/bootstrap/old/_pagination.scss
668
+ - client/lanes/styles/vendor/bootstrap/old/_panels.scss
669
+ - client/lanes/styles/vendor/bootstrap/old/_popovers.scss
670
+ - client/lanes/styles/vendor/bootstrap/old/_print.scss
671
+ - client/lanes/styles/vendor/bootstrap/old/_progress-bars.scss
672
+ - client/lanes/styles/vendor/bootstrap/old/_responsive-embed.scss
673
+ - client/lanes/styles/vendor/bootstrap/old/_responsive-utilities.scss
674
+ - client/lanes/styles/vendor/bootstrap/old/_scaffolding.scss
675
+ - client/lanes/styles/vendor/bootstrap/old/_tables.scss
676
+ - client/lanes/styles/vendor/bootstrap/old/_theme.scss
677
+ - client/lanes/styles/vendor/bootstrap/old/_thumbnails.scss
678
+ - client/lanes/styles/vendor/bootstrap/old/_tooltip.scss
679
+ - client/lanes/styles/vendor/bootstrap/old/_type.scss
680
+ - client/lanes/styles/vendor/bootstrap/old/_utilities.scss
681
+ - client/lanes/styles/vendor/bootstrap/old/_variables.scss
682
+ - client/lanes/styles/vendor/bootstrap/old/_wells.scss
683
+ - client/lanes/styles/vendor/bootstrap/old/bootstrap.scss
684
+ - client/lanes/styles/vendor/bootstrap/old/mixins/_alerts.scss
685
+ - client/lanes/styles/vendor/bootstrap/old/mixins/_background-variant.scss
686
+ - client/lanes/styles/vendor/bootstrap/old/mixins/_border-radius.scss
687
+ - client/lanes/styles/vendor/bootstrap/old/mixins/_buttons.scss
688
+ - client/lanes/styles/vendor/bootstrap/old/mixins/_center-block.scss
689
+ - client/lanes/styles/vendor/bootstrap/old/mixins/_clearfix.scss
690
+ - client/lanes/styles/vendor/bootstrap/old/mixins/_forms.scss
691
+ - client/lanes/styles/vendor/bootstrap/old/mixins/_gradients.scss
692
+ - client/lanes/styles/vendor/bootstrap/old/mixins/_grid-framework.scss
693
+ - client/lanes/styles/vendor/bootstrap/old/mixins/_grid.scss
694
+ - client/lanes/styles/vendor/bootstrap/old/mixins/_hide-text.scss
695
+ - client/lanes/styles/vendor/bootstrap/old/mixins/_image.scss
696
+ - client/lanes/styles/vendor/bootstrap/old/mixins/_labels.scss
697
+ - client/lanes/styles/vendor/bootstrap/old/mixins/_list-group.scss
698
+ - client/lanes/styles/vendor/bootstrap/old/mixins/_nav-divider.scss
699
+ - client/lanes/styles/vendor/bootstrap/old/mixins/_nav-vertical-align.scss
700
+ - client/lanes/styles/vendor/bootstrap/old/mixins/_opacity.scss
701
+ - client/lanes/styles/vendor/bootstrap/old/mixins/_pagination.scss
702
+ - client/lanes/styles/vendor/bootstrap/old/mixins/_panels.scss
703
+ - client/lanes/styles/vendor/bootstrap/old/mixins/_progress-bar.scss
704
+ - client/lanes/styles/vendor/bootstrap/old/mixins/_reset-filter.scss
705
+ - client/lanes/styles/vendor/bootstrap/old/mixins/_resize.scss
706
+ - client/lanes/styles/vendor/bootstrap/old/mixins/_responsive-visibility.scss
707
+ - client/lanes/styles/vendor/bootstrap/old/mixins/_size.scss
708
+ - client/lanes/styles/vendor/bootstrap/old/mixins/_tab-focus.scss
709
+ - client/lanes/styles/vendor/bootstrap/old/mixins/_table-row.scss
710
+ - client/lanes/styles/vendor/bootstrap/old/mixins/_text-emphasis.scss
711
+ - client/lanes/styles/vendor/bootstrap/old/mixins/_text-overflow.scss
712
+ - client/lanes/styles/vendor/bootstrap/old/mixins/_vendor-prefixes.scss
713
+ - client/lanes/styles/vendor/dataTables.scss
550
714
  - client/lanes/vendor/bootstrap/affix.js
551
715
  - client/lanes/vendor/bootstrap/alert.js
552
716
  - client/lanes/vendor/bootstrap/button.js
@@ -581,6 +745,7 @@ files:
581
745
  - client/lanes/views/Viewport.coffee
582
746
  - client/lanes/views/_button.html
583
747
  - client/lanes/views/_toolbar.html
748
+ - client/lanes/views/empty-span.html
584
749
  - client/lanes/views/index.js
585
750
  - client/lanes/views/model-update.html
586
751
  - client/lanes/workspace.scss.erb
@@ -589,6 +754,7 @@ files:
589
754
  - client/lanes/workspace/Navbar.coffee
590
755
  - client/lanes/workspace/Pages.coffee
591
756
  - client/lanes/workspace/ScreensMenu.coffee
757
+ - client/lanes/workspace/WorkspaceView.coffee
592
758
  - client/lanes/workspace/index.js
593
759
  - client/lanes/workspace/layout.html
594
760
  - client/lanes/workspace/menu.html
@@ -598,169 +764,6 @@ files:
598
764
  - client/lanes/workspace/screens-menu.html
599
765
  - client/lanes/workspace/screens-switcher.html
600
766
  - client/lanes/workspace/tab.html
601
- - client/styles/components/all.scss
602
- - client/styles/components/changes-notification.scss
603
- - client/styles/components/record-finder.scss
604
- - client/styles/components/suggest.scss
605
- - client/styles/fonts.scss
606
- - client/styles/fonts/icomoon.eot
607
- - client/styles/fonts/icomoon.svg
608
- - client/styles/fonts/icomoon.ttf
609
- - client/styles/fonts/icomoon.woff
610
- - client/styles/fonts/selection.json
611
- - client/styles/fonts/style.scss
612
- - client/styles/forms.scss
613
- - client/styles/index.css
614
- - client/styles/keybindings.scss
615
- - client/styles/layout.scss
616
- - client/styles/plugins/all.scss
617
- - client/styles/plugins/overlay.scss
618
- - client/styles/plugins/resize-sensor.scss
619
- - client/styles/screens.scss
620
- - client/styles/tabs.scss
621
- - client/styles/vendor/bootstrap-custom-grid.scss
622
- - client/styles/vendor/bootstrap-custom-modals.scss
623
- - client/styles/vendor/bootstrap.scss
624
- - client/styles/vendor/bootstrap/_alerts.scss
625
- - client/styles/vendor/bootstrap/_badges.scss
626
- - client/styles/vendor/bootstrap/_breadcrumbs.scss
627
- - client/styles/vendor/bootstrap/_button-groups.scss
628
- - client/styles/vendor/bootstrap/_buttons.scss
629
- - client/styles/vendor/bootstrap/_carousel.scss
630
- - client/styles/vendor/bootstrap/_close.scss
631
- - client/styles/vendor/bootstrap/_code.scss
632
- - client/styles/vendor/bootstrap/_component-animations.scss
633
- - client/styles/vendor/bootstrap/_dropdowns.scss
634
- - client/styles/vendor/bootstrap/_forms.scss
635
- - client/styles/vendor/bootstrap/_glyphicons.scss
636
- - client/styles/vendor/bootstrap/_grid.scss
637
- - client/styles/vendor/bootstrap/_input-groups.scss
638
- - client/styles/vendor/bootstrap/_jumbotron.scss
639
- - client/styles/vendor/bootstrap/_labels.scss
640
- - client/styles/vendor/bootstrap/_list-group.scss
641
- - client/styles/vendor/bootstrap/_media.scss
642
- - client/styles/vendor/bootstrap/_mixins.scss
643
- - client/styles/vendor/bootstrap/_modals.scss
644
- - client/styles/vendor/bootstrap/_navbar.scss
645
- - client/styles/vendor/bootstrap/_navs.scss
646
- - client/styles/vendor/bootstrap/_normalize.scss
647
- - client/styles/vendor/bootstrap/_pager.scss
648
- - client/styles/vendor/bootstrap/_pagination.scss
649
- - client/styles/vendor/bootstrap/_panels.scss
650
- - client/styles/vendor/bootstrap/_popovers.scss
651
- - client/styles/vendor/bootstrap/_print.scss
652
- - client/styles/vendor/bootstrap/_progress-bars.scss
653
- - client/styles/vendor/bootstrap/_responsive-embed.scss
654
- - client/styles/vendor/bootstrap/_responsive-utilities.scss
655
- - client/styles/vendor/bootstrap/_scaffolding.scss
656
- - client/styles/vendor/bootstrap/_tables.scss
657
- - client/styles/vendor/bootstrap/_theme.scss
658
- - client/styles/vendor/bootstrap/_thumbnails.scss
659
- - client/styles/vendor/bootstrap/_tooltip.scss
660
- - client/styles/vendor/bootstrap/_type.scss
661
- - client/styles/vendor/bootstrap/_utilities.scss
662
- - client/styles/vendor/bootstrap/_variables.scss
663
- - client/styles/vendor/bootstrap/_wells.scss
664
- - client/styles/vendor/bootstrap/mixins/_alerts.scss
665
- - client/styles/vendor/bootstrap/mixins/_background-variant.scss
666
- - client/styles/vendor/bootstrap/mixins/_border-radius.scss
667
- - client/styles/vendor/bootstrap/mixins/_buttons.scss
668
- - client/styles/vendor/bootstrap/mixins/_center-block.scss
669
- - client/styles/vendor/bootstrap/mixins/_clearfix.scss
670
- - client/styles/vendor/bootstrap/mixins/_forms.scss
671
- - client/styles/vendor/bootstrap/mixins/_gradients.scss
672
- - client/styles/vendor/bootstrap/mixins/_grid-framework.scss
673
- - client/styles/vendor/bootstrap/mixins/_grid.scss
674
- - client/styles/vendor/bootstrap/mixins/_hide-text.scss
675
- - client/styles/vendor/bootstrap/mixins/_image.scss
676
- - client/styles/vendor/bootstrap/mixins/_labels.scss
677
- - client/styles/vendor/bootstrap/mixins/_list-group.scss
678
- - client/styles/vendor/bootstrap/mixins/_nav-divider.scss
679
- - client/styles/vendor/bootstrap/mixins/_nav-vertical-align.scss
680
- - client/styles/vendor/bootstrap/mixins/_opacity.scss
681
- - client/styles/vendor/bootstrap/mixins/_pagination.scss
682
- - client/styles/vendor/bootstrap/mixins/_panels.scss
683
- - client/styles/vendor/bootstrap/mixins/_progress-bar.scss
684
- - client/styles/vendor/bootstrap/mixins/_reset-filter.scss
685
- - client/styles/vendor/bootstrap/mixins/_resize.scss
686
- - client/styles/vendor/bootstrap/mixins/_responsive-visibility.scss
687
- - client/styles/vendor/bootstrap/mixins/_size.scss
688
- - client/styles/vendor/bootstrap/mixins/_tab-focus.scss
689
- - client/styles/vendor/bootstrap/mixins/_table-row.scss
690
- - client/styles/vendor/bootstrap/mixins/_text-emphasis.scss
691
- - client/styles/vendor/bootstrap/mixins/_text-overflow.scss
692
- - client/styles/vendor/bootstrap/mixins/_vendor-prefixes.scss
693
- - client/styles/vendor/bootstrap/old/_alerts.scss
694
- - client/styles/vendor/bootstrap/old/_badges.scss
695
- - client/styles/vendor/bootstrap/old/_breadcrumbs.scss
696
- - client/styles/vendor/bootstrap/old/_button-groups.scss
697
- - client/styles/vendor/bootstrap/old/_buttons.scss
698
- - client/styles/vendor/bootstrap/old/_carousel.scss
699
- - client/styles/vendor/bootstrap/old/_close.scss
700
- - client/styles/vendor/bootstrap/old/_code.scss
701
- - client/styles/vendor/bootstrap/old/_component-animations.scss
702
- - client/styles/vendor/bootstrap/old/_dropdowns.scss
703
- - client/styles/vendor/bootstrap/old/_forms.scss
704
- - client/styles/vendor/bootstrap/old/_glyphicons.scss
705
- - client/styles/vendor/bootstrap/old/_grid.scss
706
- - client/styles/vendor/bootstrap/old/_input-groups.scss
707
- - client/styles/vendor/bootstrap/old/_jumbotron.scss
708
- - client/styles/vendor/bootstrap/old/_labels.scss
709
- - client/styles/vendor/bootstrap/old/_list-group.scss
710
- - client/styles/vendor/bootstrap/old/_media.scss
711
- - client/styles/vendor/bootstrap/old/_mixins.scss
712
- - client/styles/vendor/bootstrap/old/_modals.scss
713
- - client/styles/vendor/bootstrap/old/_navbar.scss
714
- - client/styles/vendor/bootstrap/old/_navs.scss
715
- - client/styles/vendor/bootstrap/old/_normalize.scss
716
- - client/styles/vendor/bootstrap/old/_pager.scss
717
- - client/styles/vendor/bootstrap/old/_pagination.scss
718
- - client/styles/vendor/bootstrap/old/_panels.scss
719
- - client/styles/vendor/bootstrap/old/_popovers.scss
720
- - client/styles/vendor/bootstrap/old/_print.scss
721
- - client/styles/vendor/bootstrap/old/_progress-bars.scss
722
- - client/styles/vendor/bootstrap/old/_responsive-embed.scss
723
- - client/styles/vendor/bootstrap/old/_responsive-utilities.scss
724
- - client/styles/vendor/bootstrap/old/_scaffolding.scss
725
- - client/styles/vendor/bootstrap/old/_tables.scss
726
- - client/styles/vendor/bootstrap/old/_theme.scss
727
- - client/styles/vendor/bootstrap/old/_thumbnails.scss
728
- - client/styles/vendor/bootstrap/old/_tooltip.scss
729
- - client/styles/vendor/bootstrap/old/_type.scss
730
- - client/styles/vendor/bootstrap/old/_utilities.scss
731
- - client/styles/vendor/bootstrap/old/_variables.scss
732
- - client/styles/vendor/bootstrap/old/_wells.scss
733
- - client/styles/vendor/bootstrap/old/bootstrap.scss
734
- - client/styles/vendor/bootstrap/old/mixins/_alerts.scss
735
- - client/styles/vendor/bootstrap/old/mixins/_background-variant.scss
736
- - client/styles/vendor/bootstrap/old/mixins/_border-radius.scss
737
- - client/styles/vendor/bootstrap/old/mixins/_buttons.scss
738
- - client/styles/vendor/bootstrap/old/mixins/_center-block.scss
739
- - client/styles/vendor/bootstrap/old/mixins/_clearfix.scss
740
- - client/styles/vendor/bootstrap/old/mixins/_forms.scss
741
- - client/styles/vendor/bootstrap/old/mixins/_gradients.scss
742
- - client/styles/vendor/bootstrap/old/mixins/_grid-framework.scss
743
- - client/styles/vendor/bootstrap/old/mixins/_grid.scss
744
- - client/styles/vendor/bootstrap/old/mixins/_hide-text.scss
745
- - client/styles/vendor/bootstrap/old/mixins/_image.scss
746
- - client/styles/vendor/bootstrap/old/mixins/_labels.scss
747
- - client/styles/vendor/bootstrap/old/mixins/_list-group.scss
748
- - client/styles/vendor/bootstrap/old/mixins/_nav-divider.scss
749
- - client/styles/vendor/bootstrap/old/mixins/_nav-vertical-align.scss
750
- - client/styles/vendor/bootstrap/old/mixins/_opacity.scss
751
- - client/styles/vendor/bootstrap/old/mixins/_pagination.scss
752
- - client/styles/vendor/bootstrap/old/mixins/_panels.scss
753
- - client/styles/vendor/bootstrap/old/mixins/_progress-bar.scss
754
- - client/styles/vendor/bootstrap/old/mixins/_reset-filter.scss
755
- - client/styles/vendor/bootstrap/old/mixins/_resize.scss
756
- - client/styles/vendor/bootstrap/old/mixins/_responsive-visibility.scss
757
- - client/styles/vendor/bootstrap/old/mixins/_size.scss
758
- - client/styles/vendor/bootstrap/old/mixins/_tab-focus.scss
759
- - client/styles/vendor/bootstrap/old/mixins/_table-row.scss
760
- - client/styles/vendor/bootstrap/old/mixins/_text-emphasis.scss
761
- - client/styles/vendor/bootstrap/old/mixins/_text-overflow.scss
762
- - client/styles/vendor/bootstrap/old/mixins/_vendor-prefixes.scss
763
- - client/styles/vendor/dataTables.scss
764
767
  - config.ru
765
768
  - config/database.yml
766
769
  - db/migrate/20140615031600_create_hip_users.rb
@@ -812,6 +815,7 @@ files:
812
815
  - lib/lanes/command/templates/client/components/.gitkeep
813
816
  - lib/lanes/command/templates/client/components/Component.coffee
814
817
  - lib/lanes/command/templates/client/index.js
818
+ - lib/lanes/command/templates/client/models/BaseModel.coffee
815
819
  - lib/lanes/command/templates/client/models/Model.coffee
816
820
  - lib/lanes/command/templates/client/screens/Screen.coffee
817
821
  - lib/lanes/command/templates/client/screens/index.js
@@ -819,18 +823,20 @@ files:
819
823
  - lib/lanes/command/templates/client/screens/styles.scss
820
824
  - lib/lanes/command/templates/client/styles.scss
821
825
  - lib/lanes/command/templates/client/views/.gitkeep
826
+ - lib/lanes/command/templates/client/views/BaseView.coffee
822
827
  - lib/lanes/command/templates/client/views/View.coffee
823
828
  - lib/lanes/command/templates/client/views/template.html
824
829
  - lib/lanes/command/templates/config.ru
825
830
  - lib/lanes/command/templates/config/database.yml
826
831
  - lib/lanes/command/templates/config/lanes.rb
827
832
  - lib/lanes/command/templates/config/routes.rb
833
+ - lib/lanes/command/templates/config/screen.rb
828
834
  - lib/lanes/command/templates/db/create_table_migration.rb
829
835
  - lib/lanes/command/templates/gitignore
830
836
  - lib/lanes/command/templates/lib/namespace.rb
837
+ - lib/lanes/command/templates/lib/namespace/base_model.rb
831
838
  - lib/lanes/command/templates/lib/namespace/extension.rb
832
839
  - lib/lanes/command/templates/lib/namespace/model.rb
833
- - lib/lanes/command/templates/lib/namespace/screen.rb
834
840
  - lib/lanes/command/templates/lib/namespace/version.rb
835
841
  - lib/lanes/command/templates/public/.gitkeep
836
842
  - lib/lanes/command/templates/spec/client/Screen.coffee
@@ -847,20 +853,15 @@ files:
847
853
  - lib/lanes/concerns/api_path.rb
848
854
  - lib/lanes/concerns/association_extensions.rb
849
855
  - lib/lanes/concerns/attr_accessor_with_default.rb
850
- - lib/lanes/concerns/code_identifier.rb
851
856
  - lib/lanes/concerns/export_associations.rb
852
857
  - lib/lanes/concerns/export_join_tables.rb
853
858
  - lib/lanes/concerns/export_methods.rb
854
859
  - lib/lanes/concerns/export_scope.rb
855
860
  - lib/lanes/concerns/exported_limit_evaluator.rb
856
- - lib/lanes/concerns/immutable_model.rb
857
- - lib/lanes/concerns/locked_fields.rb
858
861
  - lib/lanes/concerns/pub_sub.rb
859
862
  - lib/lanes/concerns/queries.rb
860
- - lib/lanes/concerns/random_hash_code.rb
861
863
  - lib/lanes/concerns/sanitize_fields.rb
862
864
  - lib/lanes/concerns/set_attribute_data.rb
863
- - lib/lanes/concerns/visible_id_identifier.rb
864
865
  - lib/lanes/configuration.rb
865
866
  - lib/lanes/db.rb
866
867
  - lib/lanes/db/migration_helpers.rb
@@ -873,7 +874,7 @@ files:
873
874
  - lib/lanes/numbers.rb
874
875
  - lib/lanes/rails_engine.rb
875
876
  - lib/lanes/rake_tasks.rb
876
- - lib/lanes/screens.rb
877
+ - lib/lanes/screen.rb
877
878
  - lib/lanes/spec_helper.rb
878
879
  - lib/lanes/strings.rb
879
880
  - lib/lanes/testing_models.rb
@@ -889,10 +890,10 @@ files:
889
890
  - public/javascripts/jasmine_examples/Player.js
890
891
  - public/javascripts/jasmine_examples/Song.js
891
892
  - spec/api/javascript_processor_spec.rb
893
+ - spec/command_spec.rb
892
894
  - spec/concerns/api_path_spec.rb
893
895
  - spec/concerns/association_extensions_spec.rb
894
896
  - spec/concerns/attr_accessor_with_default_spec.rb
895
- - spec/concerns/code_identifier_spec.rb
896
897
  - spec/concerns/export_associations_spec.rb
897
898
  - spec/concerns/export_methods_spec.rb
898
899
  - spec/concerns/export_scope_spec.rb
@@ -904,9 +905,12 @@ files:
904
905
  - spec/helpers/jasmine-jquery.js
905
906
  - spec/helpers/jasmine-matchers.js
906
907
  - spec/helpers/lanes-helpers.coffee
908
+ - spec/helpers/minitest_assertions.rb
907
909
  - spec/lanes/models/BaseSpec.coffee
910
+ - spec/lanes/models/CollectionSpec.coffee
908
911
  - spec/lanes/models/PubSubSpec.coffee
909
912
  - spec/lanes/views/BaseSpec.coffee
913
+ - spec/lanes/views/FormBindingsSpec.coffee
910
914
  - spec/numbers_spec.rb
911
915
  - spec/strings_spec.rb
912
916
  - tasks/migrations.rake
@@ -1 +0,0 @@
1
- @import "styles/vendor/bootstrap/popovers";
@@ -1,17 +0,0 @@
1
- require 'lanes'
2
-
3
- module <%= namespace.camelize %>
4
-
5
- class <%= class_name %>Screen < Lanes::Screens::Definition
6
-
7
- identifier "<%= name.dasherize %>"
8
- title "<%= options[:title] %>"
9
- description "<%= options[:description] %>"
10
- icon "<%= options[:icon] %>"
11
- group_id "<%= options[:group] %>"
12
- model_class "<%= options[:model_class] %>"
13
- view_class "<%= namespace.camelize %>.Screens.<%= class_name %>"
14
- files ['<%= namespace %>/screens/<%= name.dasherize %>.js','<%= namespace %>/screens/<%= name.dasherize %>.css']
15
- end
16
-
17
- end
@@ -1,43 +0,0 @@
1
- module Lanes
2
- module Concerns
3
-
4
- # @see ClassMethods
5
- module CodeIdentifier
6
-
7
- extend ActiveSupport::Concern
8
-
9
- # ### Code Identifier Concern
10
- # This adds the {#has_code_identifier} class method
11
- module ClassMethods
12
-
13
- # A 2-10 character string that identifies an entity, such as a Customer, Vendor, or SKU.
14
- # The code is often assigned by the user, but may also
15
- # be auto-generated by {Lanes::Strings.code_identifier}
16
- #
17
- # @param max_length [Integer] how long the code is allowed to be
18
- # @param from [Symbol], method to call for a string to base the code upon
19
- def has_code_identifier( from: nil, max_length: 10 )
20
-
21
- validates :code, :length=>2..max_length, :presence=>true, :uniqueness=>true
22
-
23
- alias_attribute :record_identifier, :code
24
-
25
- if from
26
- before_validation(:on=>:create) do
27
- source = self[from]
28
- unless source.blank?
29
- self.code ||= Lanes::Strings.code_identifier( source, length:max_length )
30
- end
31
- end
32
- end
33
-
34
- before_validation do
35
- self.code = self.code.upcase unless self.code.blank?
36
- end
37
- end
38
-
39
- end
40
-
41
- end
42
- end
43
- end
@@ -1,32 +0,0 @@
1
- module Lanes
2
- module Concerns
3
-
4
- module ImmutableModel
5
-
6
- extend ActiveSupport::Concern
7
-
8
- module ClassMethods
9
-
10
- # Once it's created it may not be updated or destroyed.
11
- # @raise [ActiveRecord::ReadOnlyRecord] if destroy, delete or save is called after it's been created.
12
- def is_immutable(options = {})
13
-
14
- options[:except] = [*options[:except]].map{|name| name.to_s } # make sure except is present and an array
15
-
16
- before_destroy do
17
- raise ActiveRecord::ReadOnlyRecord.new( "Can not destroy #{self.class.model_name}, only create is allowed" )
18
- end
19
-
20
- before_update do
21
- unless ( changes.keys - change_tracking_fields - options[:except] ).blank?
22
- raise ActiveRecord::ReadOnlyRecord.new( "Can not update, only create #{self.class.model_name}" )
23
- end
24
- end
25
-
26
- end
27
-
28
- end
29
-
30
- end
31
- end
32
- end