lanes 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (111) hide show
  1. checksums.yaml +4 -4
  2. data/.dir-locals.el +8 -0
  3. data/client/lanes/Config.coffee +1 -1
  4. data/client/lanes/access/Extension.coffee +1 -6
  5. data/client/lanes/access/screens/user-management/GridUserEditor.coffee +6 -5
  6. data/client/lanes/access/screens/user-management/grid-popover-editor.html +2 -2
  7. data/client/lanes/components/grid/vendor/jquery.dataTables.js +1 -1
  8. data/client/lanes/components/multi-select/MultiSelect.coffee +10 -5
  9. data/client/lanes/components/select-field/SelectField.coffee +2 -1
  10. data/client/lanes/models/Base.coffee +1 -1
  11. data/client/lanes/models/PubSub.coffee +4 -3
  12. data/client/lanes/models/Sync.coffee +3 -3
  13. data/client/lanes/screens/ChangeListener.coffee +0 -3
  14. data/client/lanes/testing/ModelSaver.coffee +12 -1
  15. data/client/lanes/views/Base.coffee +1 -1
  16. data/client/lanes/views/Helpers.coffee +2 -1
  17. data/client/lanes/views/SaveNotify.coffee +9 -7
  18. data/client/lanes/views/TimedMask.coffee +1 -1
  19. data/lanes.gemspec +1 -1
  20. data/lib/lanes/access/authentication_provider.rb +17 -11
  21. data/lib/lanes/access/config/routes.rb +1 -1
  22. data/lib/lanes/access/extension.rb +9 -2
  23. data/lib/lanes/access/role.rb +12 -0
  24. data/lib/lanes/access.rb +8 -8
  25. data/lib/lanes/api/null_authentication_provider.rb +2 -2
  26. data/lib/lanes/api/request_wrapper.rb +10 -10
  27. data/lib/lanes/concerns/association_extensions.rb +16 -7
  28. data/lib/lanes/concerns/pub_sub.rb +55 -30
  29. data/lib/lanes/guard_tasks.rb +7 -3
  30. data/lib/lanes/version.rb +1 -1
  31. data/{appy-app → spec/command-reference-files/initial}/.gitignore +0 -0
  32. data/{appy-app → spec/command-reference-files/initial}/Gemfile +1 -1
  33. data/{appy-app → spec/command-reference-files/initial}/Guardfile +0 -0
  34. data/{appy-app → spec/command-reference-files/initial}/Rakefile +0 -0
  35. data/{appy-app → spec/command-reference-files/initial}/client/appy-app/Extension.coffee +0 -0
  36. data/{appy-app → spec/command-reference-files/initial}/client/appy-app/Router.coffee +0 -0
  37. data/{appy-app → spec/command-reference-files/initial}/client/appy-app/components/.gitkeep +0 -0
  38. data/{appy-app → spec/command-reference-files/initial}/client/appy-app/controllers/.gitkeep +0 -0
  39. data/{appy-app → spec/command-reference-files/initial}/client/appy-app/index.js +0 -0
  40. data/{appy-app → spec/command-reference-files/initial}/client/appy-app/models/.gitkeep +0 -0
  41. data/{appy-app → spec/command-reference-files/initial}/client/appy-app/models/Base.coffee +0 -0
  42. data/{appy-app → spec/command-reference-files/initial}/client/appy-app/screens/.gitkeep +0 -0
  43. data/spec/{server/command-reference-files → command-reference-files}/initial/client/appy-app/screens/Base.coffee +0 -0
  44. data/{appy-app → spec/command-reference-files/initial}/client/appy-app/styles.scss +0 -0
  45. data/{appy-app → spec/command-reference-files/initial}/client/appy-app/views/.gitkeep +0 -0
  46. data/{appy-app → spec/command-reference-files/initial}/client/appy-app/views/Base.coffee +0 -0
  47. data/{appy-app → spec/command-reference-files/initial}/config/database.yml +0 -0
  48. data/{appy-app → spec/command-reference-files/initial}/config/lanes.rb +0 -0
  49. data/{appy-app → spec/command-reference-files/initial}/config/routes.rb +0 -0
  50. data/spec/{server/command-reference-files → command-reference-files}/initial/config/screens.rb +0 -0
  51. data/{appy-app → spec/command-reference-files/initial}/config.ru +0 -0
  52. data/{appy-app → spec/command-reference-files/initial}/db/.gitkeep +0 -0
  53. data/{appy-app → spec/command-reference-files/initial}/lib/appy-app/extension.rb +0 -0
  54. data/{appy-app → spec/command-reference-files/initial}/lib/appy-app/model.rb +0 -0
  55. data/{appy-app → spec/command-reference-files/initial}/lib/appy-app/models/empty.rb +0 -0
  56. data/{appy-app → spec/command-reference-files/initial}/lib/appy-app/version.rb +0 -0
  57. data/spec/{server/command-reference-files → command-reference-files}/initial/lib/appy-app.rb +0 -0
  58. data/{appy-app → spec/command-reference-files/initial}/spec/appy-app/helpers/AppyAppHelpers.coffee +0 -0
  59. data/{appy-app → spec/command-reference-files/initial}/spec/appy-app/screens/Base.coffee +0 -0
  60. data/{appy-app → spec/command-reference-files/initial}/spec/server/spec_helpers.rb +0 -0
  61. data/spec/{server/command-reference-files → command-reference-files}/model/client/appy-app/models/TestTest.coffee +0 -0
  62. data/spec/{server/command-reference-files → command-reference-files}/model/config/routes.rb +0 -0
  63. data/spec/{server/command-reference-files → command-reference-files}/model/db/migrate/20150218032025_create_test_tests.rb +0 -0
  64. data/spec/{server/command-reference-files → command-reference-files}/model/lib/appy-app/models/test_test.rb +0 -0
  65. data/spec/{server/command-reference-files → command-reference-files}/model/spec/appy-app/models/TestTestSpec.coffee +0 -0
  66. data/spec/{server/command-reference-files → command-reference-files}/model/spec/fixtures/appy-app/test_test.yml +0 -0
  67. data/spec/{server/command-reference-files → command-reference-files}/model/spec/server/test_test_spec.rb +0 -0
  68. data/spec/{server/command-reference-files → command-reference-files}/screen/client/appy-app/screens/ready-set-go/ReadySetGo.coffee +0 -0
  69. data/spec/{server/command-reference-files → command-reference-files}/screen/client/appy-app/screens/ready-set-go/index.js +0 -0
  70. data/spec/{server/command-reference-files → command-reference-files}/screen/client/appy-app/screens/ready-set-go/index.scss +0 -0
  71. data/spec/{server/command-reference-files → command-reference-files}/screen/client/appy-app/screens/ready-set-go/layout.html +0 -0
  72. data/spec/{server/command-reference-files → command-reference-files}/screen/config/screens.rb +0 -0
  73. data/spec/{server/command-reference-files → command-reference-files}/screen/spec/appy-app/screens/ready-set-go/ReadySetGoSpec.coffee +0 -0
  74. data/spec/{server/command-reference-files → command-reference-files}/view/client/appy-app/views/BigView.coffee +0 -0
  75. data/spec/{server/command-reference-files → command-reference-files}/view/spec/appy-app/views/BigViewSpec.coffee +0 -0
  76. data/spec/lanes/models/BaseSpec.coffee +4 -4
  77. data/spec/server/command_spec.rb +5 -1
  78. data/spec/server/concerns/association_extensions_spec.rb +0 -8
  79. data/spec/server/concerns/pub_sub_spec.rb +77 -31
  80. data/spec/server/spec_helper.rb +1 -0
  81. metadata +48 -91
  82. data/appy-app/client/appy-app/screens/Base.coffee +0 -10
  83. data/appy-app/config/screens.rb +0 -8
  84. data/appy-app/lib/appy-app.rb +0 -14
  85. data/spec/server/command-reference-files/initial/.gitignore +0 -3
  86. data/spec/server/command-reference-files/initial/Gemfile +0 -6
  87. data/spec/server/command-reference-files/initial/Guardfile +0 -13
  88. data/spec/server/command-reference-files/initial/Rakefile +0 -2
  89. data/spec/server/command-reference-files/initial/client/appy-app/Extension.coffee +0 -7
  90. data/spec/server/command-reference-files/initial/client/appy-app/Router.coffee +0 -4
  91. data/spec/server/command-reference-files/initial/client/appy-app/components/.gitkeep +0 -0
  92. data/spec/server/command-reference-files/initial/client/appy-app/controllers/.gitkeep +0 -0
  93. data/spec/server/command-reference-files/initial/client/appy-app/index.js +0 -21
  94. data/spec/server/command-reference-files/initial/client/appy-app/models/.gitkeep +0 -0
  95. data/spec/server/command-reference-files/initial/client/appy-app/models/Base.coffee +0 -5
  96. data/spec/server/command-reference-files/initial/client/appy-app/screens/.gitkeep +0 -0
  97. data/spec/server/command-reference-files/initial/client/appy-app/styles.scss +0 -1
  98. data/spec/server/command-reference-files/initial/client/appy-app/views/.gitkeep +0 -0
  99. data/spec/server/command-reference-files/initial/client/appy-app/views/Base.coffee +0 -5
  100. data/spec/server/command-reference-files/initial/config/database.yml +0 -9
  101. data/spec/server/command-reference-files/initial/config/lanes.rb +0 -7
  102. data/spec/server/command-reference-files/initial/config/routes.rb +0 -2
  103. data/spec/server/command-reference-files/initial/config.ru +0 -5
  104. data/spec/server/command-reference-files/initial/db/.gitkeep +0 -0
  105. data/spec/server/command-reference-files/initial/lib/appy-app/extension.rb +0 -13
  106. data/spec/server/command-reference-files/initial/lib/appy-app/model.rb +0 -11
  107. data/spec/server/command-reference-files/initial/lib/appy-app/models/empty.rb +0 -0
  108. data/spec/server/command-reference-files/initial/lib/appy-app/version.rb +0 -3
  109. data/spec/server/command-reference-files/initial/spec/appy-app/helpers/AppyAppHelpers.coffee +0 -5
  110. data/spec/server/command-reference-files/initial/spec/appy-app/screens/Base.coffee +0 -5
  111. data/spec/server/command-reference-files/initial/spec/server/spec_helpers.rb +0 -16
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.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Stitt
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-19 00:00:00.000000000 Z
11
+ date: 2015-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -416,20 +416,6 @@ dependencies:
416
416
  - - "~>"
417
417
  - !ruby/object:Gem::Version
418
418
  version: '1.0'
419
- - !ruby/object:Gem::Dependency
420
- name: pry-byebug
421
- requirement: !ruby/object:Gem::Requirement
422
- requirements:
423
- - - "~>"
424
- - !ruby/object:Gem::Version
425
- version: '2.0'
426
- type: :development
427
- prerelease: false
428
- version_requirements: !ruby/object:Gem::Requirement
429
- requirements:
430
- - - "~>"
431
- - !ruby/object:Gem::Version
432
- version: '2.0'
433
419
  - !ruby/object:Gem::Dependency
434
420
  name: diffy
435
421
  requirement: !ruby/object:Gem::Requirement
@@ -453,6 +439,7 @@ executables:
453
439
  extensions: []
454
440
  extra_rdoc_files: []
455
441
  files:
442
+ - ".dir-locals.el"
456
443
  - ".gitignore"
457
444
  - ".jshintrc"
458
445
  - ".rubocop.yml"
@@ -461,36 +448,6 @@ files:
461
448
  - LICENSE-MIT.txt
462
449
  - README.md
463
450
  - Rakefile
464
- - appy-app/.gitignore
465
- - appy-app/Gemfile
466
- - appy-app/Guardfile
467
- - appy-app/Rakefile
468
- - appy-app/client/appy-app/Extension.coffee
469
- - appy-app/client/appy-app/Router.coffee
470
- - appy-app/client/appy-app/components/.gitkeep
471
- - appy-app/client/appy-app/controllers/.gitkeep
472
- - appy-app/client/appy-app/index.js
473
- - appy-app/client/appy-app/models/.gitkeep
474
- - appy-app/client/appy-app/models/Base.coffee
475
- - appy-app/client/appy-app/screens/.gitkeep
476
- - appy-app/client/appy-app/screens/Base.coffee
477
- - appy-app/client/appy-app/styles.scss
478
- - appy-app/client/appy-app/views/.gitkeep
479
- - appy-app/client/appy-app/views/Base.coffee
480
- - appy-app/config.ru
481
- - appy-app/config/database.yml
482
- - appy-app/config/lanes.rb
483
- - appy-app/config/routes.rb
484
- - appy-app/config/screens.rb
485
- - appy-app/db/.gitkeep
486
- - appy-app/lib/appy-app.rb
487
- - appy-app/lib/appy-app/extension.rb
488
- - appy-app/lib/appy-app/model.rb
489
- - appy-app/lib/appy-app/models/empty.rb
490
- - appy-app/lib/appy-app/version.rb
491
- - appy-app/spec/appy-app/helpers/AppyAppHelpers.coffee
492
- - appy-app/spec/appy-app/screens/Base.coffee
493
- - appy-app/spec/server/spec_helpers.rb
494
451
  - bin/lanes
495
452
  - client/fonts/lanes/icomoon.eot
496
453
  - client/fonts/lanes/icomoon.svg
@@ -930,6 +887,51 @@ files:
930
887
  - npm-build/shims/underscore.js
931
888
  - npm-build/template.js
932
889
  - spec/api/javascript_processor_spec.rb
890
+ - spec/command-reference-files/initial/.gitignore
891
+ - spec/command-reference-files/initial/Gemfile
892
+ - spec/command-reference-files/initial/Guardfile
893
+ - spec/command-reference-files/initial/Rakefile
894
+ - spec/command-reference-files/initial/client/appy-app/Extension.coffee
895
+ - spec/command-reference-files/initial/client/appy-app/Router.coffee
896
+ - spec/command-reference-files/initial/client/appy-app/components/.gitkeep
897
+ - spec/command-reference-files/initial/client/appy-app/controllers/.gitkeep
898
+ - spec/command-reference-files/initial/client/appy-app/index.js
899
+ - spec/command-reference-files/initial/client/appy-app/models/.gitkeep
900
+ - spec/command-reference-files/initial/client/appy-app/models/Base.coffee
901
+ - spec/command-reference-files/initial/client/appy-app/screens/.gitkeep
902
+ - spec/command-reference-files/initial/client/appy-app/screens/Base.coffee
903
+ - spec/command-reference-files/initial/client/appy-app/styles.scss
904
+ - spec/command-reference-files/initial/client/appy-app/views/.gitkeep
905
+ - spec/command-reference-files/initial/client/appy-app/views/Base.coffee
906
+ - spec/command-reference-files/initial/config.ru
907
+ - spec/command-reference-files/initial/config/database.yml
908
+ - spec/command-reference-files/initial/config/lanes.rb
909
+ - spec/command-reference-files/initial/config/routes.rb
910
+ - spec/command-reference-files/initial/config/screens.rb
911
+ - spec/command-reference-files/initial/db/.gitkeep
912
+ - spec/command-reference-files/initial/lib/appy-app.rb
913
+ - spec/command-reference-files/initial/lib/appy-app/extension.rb
914
+ - spec/command-reference-files/initial/lib/appy-app/model.rb
915
+ - spec/command-reference-files/initial/lib/appy-app/models/empty.rb
916
+ - spec/command-reference-files/initial/lib/appy-app/version.rb
917
+ - spec/command-reference-files/initial/spec/appy-app/helpers/AppyAppHelpers.coffee
918
+ - spec/command-reference-files/initial/spec/appy-app/screens/Base.coffee
919
+ - spec/command-reference-files/initial/spec/server/spec_helpers.rb
920
+ - spec/command-reference-files/model/client/appy-app/models/TestTest.coffee
921
+ - spec/command-reference-files/model/config/routes.rb
922
+ - spec/command-reference-files/model/db/migrate/20150218032025_create_test_tests.rb
923
+ - spec/command-reference-files/model/lib/appy-app/models/test_test.rb
924
+ - spec/command-reference-files/model/spec/appy-app/models/TestTestSpec.coffee
925
+ - spec/command-reference-files/model/spec/fixtures/appy-app/test_test.yml
926
+ - spec/command-reference-files/model/spec/server/test_test_spec.rb
927
+ - spec/command-reference-files/screen/client/appy-app/screens/ready-set-go/ReadySetGo.coffee
928
+ - spec/command-reference-files/screen/client/appy-app/screens/ready-set-go/index.js
929
+ - spec/command-reference-files/screen/client/appy-app/screens/ready-set-go/index.scss
930
+ - spec/command-reference-files/screen/client/appy-app/screens/ready-set-go/layout.html
931
+ - spec/command-reference-files/screen/config/screens.rb
932
+ - spec/command-reference-files/screen/spec/appy-app/screens/ready-set-go/ReadySetGoSpec.coffee
933
+ - spec/command-reference-files/view/client/appy-app/views/BigView.coffee
934
+ - spec/command-reference-files/view/spec/appy-app/views/BigViewSpec.coffee
933
935
  - spec/lanes/components/grid/GridSpec.coffee
934
936
  - spec/lanes/helpers/.gitkeep
935
937
  - spec/lanes/helpers/jasmine-matchers.js
@@ -941,51 +943,6 @@ files:
941
943
  - spec/lanes/models/PubSubSpec.coffee
942
944
  - spec/lanes/views/BaseSpec.coffee
943
945
  - spec/lanes/views/FormBindingsSpec.coffee
944
- - spec/server/command-reference-files/initial/.gitignore
945
- - spec/server/command-reference-files/initial/Gemfile
946
- - spec/server/command-reference-files/initial/Guardfile
947
- - spec/server/command-reference-files/initial/Rakefile
948
- - spec/server/command-reference-files/initial/client/appy-app/Extension.coffee
949
- - spec/server/command-reference-files/initial/client/appy-app/Router.coffee
950
- - spec/server/command-reference-files/initial/client/appy-app/components/.gitkeep
951
- - spec/server/command-reference-files/initial/client/appy-app/controllers/.gitkeep
952
- - spec/server/command-reference-files/initial/client/appy-app/index.js
953
- - spec/server/command-reference-files/initial/client/appy-app/models/.gitkeep
954
- - spec/server/command-reference-files/initial/client/appy-app/models/Base.coffee
955
- - spec/server/command-reference-files/initial/client/appy-app/screens/.gitkeep
956
- - spec/server/command-reference-files/initial/client/appy-app/screens/Base.coffee
957
- - spec/server/command-reference-files/initial/client/appy-app/styles.scss
958
- - spec/server/command-reference-files/initial/client/appy-app/views/.gitkeep
959
- - spec/server/command-reference-files/initial/client/appy-app/views/Base.coffee
960
- - spec/server/command-reference-files/initial/config.ru
961
- - spec/server/command-reference-files/initial/config/database.yml
962
- - spec/server/command-reference-files/initial/config/lanes.rb
963
- - spec/server/command-reference-files/initial/config/routes.rb
964
- - spec/server/command-reference-files/initial/config/screens.rb
965
- - spec/server/command-reference-files/initial/db/.gitkeep
966
- - spec/server/command-reference-files/initial/lib/appy-app.rb
967
- - spec/server/command-reference-files/initial/lib/appy-app/extension.rb
968
- - spec/server/command-reference-files/initial/lib/appy-app/model.rb
969
- - spec/server/command-reference-files/initial/lib/appy-app/models/empty.rb
970
- - spec/server/command-reference-files/initial/lib/appy-app/version.rb
971
- - spec/server/command-reference-files/initial/spec/appy-app/helpers/AppyAppHelpers.coffee
972
- - spec/server/command-reference-files/initial/spec/appy-app/screens/Base.coffee
973
- - spec/server/command-reference-files/initial/spec/server/spec_helpers.rb
974
- - spec/server/command-reference-files/model/client/appy-app/models/TestTest.coffee
975
- - spec/server/command-reference-files/model/config/routes.rb
976
- - spec/server/command-reference-files/model/db/migrate/20150218032025_create_test_tests.rb
977
- - spec/server/command-reference-files/model/lib/appy-app/models/test_test.rb
978
- - spec/server/command-reference-files/model/spec/appy-app/models/TestTestSpec.coffee
979
- - spec/server/command-reference-files/model/spec/fixtures/appy-app/test_test.yml
980
- - spec/server/command-reference-files/model/spec/server/test_test_spec.rb
981
- - spec/server/command-reference-files/screen/client/appy-app/screens/ready-set-go/ReadySetGo.coffee
982
- - spec/server/command-reference-files/screen/client/appy-app/screens/ready-set-go/index.js
983
- - spec/server/command-reference-files/screen/client/appy-app/screens/ready-set-go/index.scss
984
- - spec/server/command-reference-files/screen/client/appy-app/screens/ready-set-go/layout.html
985
- - spec/server/command-reference-files/screen/config/screens.rb
986
- - spec/server/command-reference-files/screen/spec/appy-app/screens/ready-set-go/ReadySetGoSpec.coffee
987
- - spec/server/command-reference-files/view/client/appy-app/views/BigView.coffee
988
- - spec/server/command-reference-files/view/spec/appy-app/views/BigViewSpec.coffee
989
946
  - spec/server/command_spec.rb
990
947
  - spec/server/concerns/api_path_spec.rb
991
948
  - spec/server/concerns/association_extensions_spec.rb
@@ -1,10 +0,0 @@
1
- class AppyApp.Screens.Base extends Lanes.Screens.Base
2
-
3
- FILE: FILE
4
- template: '''
5
- <div><h1>Base Screen</h1></div>
6
- '''
7
-
8
- subviews: {}
9
-
10
- events: {}
@@ -1,8 +0,0 @@
1
-
2
- Lanes::Screen.define "base" do | screen |
3
- screen.description = "Base Screen for Appy App"
4
- screen.icon = ""
5
- screen.group_id = ""
6
- screen.model_class = ""
7
- screen.view_class = "AppyApp.Screens.Base"
8
- end
@@ -1,14 +0,0 @@
1
- require "lanes"
2
- require 'require_all'
3
- require_relative "appy-app/version.rb"
4
- require_relative "appy-app/extension.rb"
5
-
6
- # The main namespace for Appy-app
7
- module AppyApp
8
- def self.table_name_prefix
9
- "appy-app_"
10
- end
11
- end
12
-
13
- require_relative "appy-app/model"
14
- require_rel "appy-app/models"
@@ -1,3 +0,0 @@
1
- public/assets
2
- tmp/cache
3
- log/*log
@@ -1,6 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem "lanes", '0.1.5'
4
-
5
- gem "rake"
6
- gem 'puma'
@@ -1,13 +0,0 @@
1
- require "lanes/guard_tasks"
2
-
3
- Lanes::GuardTasks.run(self, name: "appy-app") do | tests |
4
-
5
- tests.client do
6
-
7
- end
8
-
9
- tests.server do
10
-
11
- end
12
-
13
- end
@@ -1,2 +0,0 @@
1
- require_relative 'lib/appy-app'
2
- require 'lanes/rake_tasks'
@@ -1,7 +0,0 @@
1
- class AppyApp.Extension extends Lanes.Extensions.Base
2
-
3
- FILE: FILE
4
-
5
- identifier: "appy-app"
6
-
7
- setBootstrapData: (data)->
@@ -1,4 +0,0 @@
1
- class AppyApp.Router extends Lanes.Screens.Router
2
-
3
- routes:
4
- {}
@@ -1,21 +0,0 @@
1
- //=require ./models/Base
2
- //=require ./views/Base
3
- //=require_tree ./models
4
- //=require_tree ./views
5
- //=require_tree ./components
6
- //=require ./screens/Base
7
- //=require ./Router
8
- //=require ./Extension
9
-
10
- /*
11
- Files located in the above directories are part of the default
12
- Javascript build and are downloaded to the client on the initial
13
- request.
14
-
15
- Accordingly, only essential files should be included here. Code that
16
- relates to a screen should be placed in the "screens" directory,
17
- where it will be loaded dynamically when the screen is displayed.
18
-
19
- Alternatively, feel free to modify the require statements above to
20
- only include the paths you need.
21
- */
@@ -1,5 +0,0 @@
1
- # All models in AppyApp will inherit from
2
- # this common base class.
3
- class AppyApp.Models.Base extends Lanes.Models.Base
4
-
5
- abstractClass: true
@@ -1 +0,0 @@
1
- /* Enter styles for your application in scss format here */
@@ -1,5 +0,0 @@
1
- # All views in AppyApp will inherit from
2
- # this common base class.
3
- class AppyApp.Views.Base extends Lanes.Views.Base
4
-
5
- abstractClass: true
@@ -1,9 +0,0 @@
1
- development:
2
- adapter: postgresql
3
- database: appy-app_dev
4
- host: /tmp
5
-
6
- test:
7
- adapter: postgresql
8
- database: appy-app_test
9
- host: /tmp
@@ -1,7 +0,0 @@
1
- # This file will be loaded if the current extension is the
2
- # one controlling Lanes.
3
- #
4
- # It will not be evaluated if another extension is loading this one
5
- Lanes.configure do | config |
6
- config.root_view = "AppyApp.Screens.Base"
7
- end
@@ -1,2 +0,0 @@
1
- Lanes::API.routes.draw do
2
- end
@@ -1,5 +0,0 @@
1
- require 'bundler'
2
- Bundler.require
3
- require_relative 'lib/appy-app'
4
- require 'lanes/api'
5
- run Lanes::API::Root
@@ -1,13 +0,0 @@
1
- require_relative '../appy-app'
2
-
3
- module AppyApp
4
-
5
- class Extension < Lanes::Extensions::Definition
6
-
7
- identifier "appy-app"
8
-
9
- root_path Pathname.new(__FILE__).dirname.join("..","..").expand_path
10
-
11
- end
12
-
13
- end
@@ -1,11 +0,0 @@
1
- module AppyApp
2
-
3
- # All models in AppyApp will inherit from
4
- # this common base class.
5
- class Model < Lanes::Model
6
-
7
- self.abstract_class = true
8
-
9
- end
10
-
11
- end
@@ -1,3 +0,0 @@
1
- module AppyApp
2
- VERSION=0.1
3
- end
@@ -1,5 +0,0 @@
1
- ##
2
- # Uncomment the below beforeEach method to execute code or set instance variables
3
- # that will be available to all Specs
4
-
5
- # beforeEach ->
@@ -1,5 +0,0 @@
1
- describe "AppyApp.Screens.Base", ->
2
-
3
- it "can be instantiated", ->
4
- view = new AppyApp.Screens.Base()
5
- expect(view).toEqual(jasmine.any(AppyApp.Screens.Base));
@@ -1,16 +0,0 @@
1
- require_relative '../../lib/AppyApp'
2
- require 'lanes/spec_helper'
3
-
4
- module AppyApp
5
-
6
- # Add more helper methods to be used by all tests here...
7
-
8
- class TestCase < Lanes::TestCase
9
- include AppyApp
10
- end
11
-
12
- class ApiTestCase < Lanes::ApiTestCase
13
- include AppyApp
14
- end
15
-
16
- end