emergent-core 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.bnsignore +16 -0
- data/History.txt +4 -0
- data/Manifest.txt +348 -0
- data/README.rdoc +47 -0
- data/Rakefile +39 -0
- data/app_generators/emergent_core/USAGE +5 -0
- data/app_generators/emergent_core/emergent_core_generator.rb +73 -0
- data/app_generators/emergent_core/templates/core/actionscript.properties +16 -0
- data/app_generators/emergent_core/templates/core/actionscriptair.properties +16 -0
- data/app_generators/emergent_core/templates/core/app.yaml.erb +12 -0
- data/app_generators/emergent_core/templates/core/default_tasks.rake +51 -0
- data/app_generators/emergent_core/templates/core/empty.txt +0 -0
- data/app_generators/emergent_core/templates/core/expressInstall.swf +0 -0
- data/app_generators/emergent_core/templates/core/flex.properties +2 -0
- data/app_generators/emergent_core/templates/core/generate.rb +17 -0
- data/app_generators/emergent_core/templates/core/html-template/AC_OETags.js +276 -0
- data/app_generators/emergent_core/templates/core/html-template/history/history.css +6 -0
- data/app_generators/emergent_core/templates/core/html-template/history/history.js +645 -0
- data/app_generators/emergent_core/templates/core/html-template/history/historyFrame.html +29 -0
- data/app_generators/emergent_core/templates/core/html-template/index.template.html +121 -0
- data/app_generators/emergent_core/templates/core/html-template/playerProductInstall.swf +0 -0
- data/app_generators/emergent_core/templates/core/index.html.erb +18 -0
- data/app_generators/emergent_core/templates/core/index.yaml +11 -0
- data/app_generators/emergent_core/templates/core/mainair-app.xml +134 -0
- data/app_generators/emergent_core/templates/core/mainapp-config.xml +21 -0
- data/app_generators/emergent_core/templates/core/mainapp.mxml +106 -0
- data/app_generators/emergent_core/templates/core/project-textmate.erb +52 -0
- data/app_generators/emergent_core/templates/core/project.properties +18 -0
- data/app_generators/emergent_core/templates/core/projectair.properties +24 -0
- data/app_generators/emergent_core/templates/core/swfobject.js +5 -0
- data/bin/emergent +17 -0
- data/lib/emergent_core.rb +49 -0
- data/lib/restfulx/active_foo.rb +194 -0
- data/lib/restfulx/active_record_tasks.rb +81 -0
- data/lib/restfulx/configuration.rb +76 -0
- data/lib/restfulx/datamapper_foo.rb +31 -0
- data/lib/restfulx/rails/recipes.rb +60 -0
- data/lib/restfulx/rails/swf_helper.rb +60 -0
- data/lib/restfulx/tasks.rb +85 -0
- data/lib/restfulx.rb +117 -0
- data/rails_generators/emergent_cms/USAGE +5 -0
- data/rails_generators/emergent_cms/emergent_cms_generator.rb +21 -0
- data/rails_generators/emergent_cms/templates/PagesEditModel.as +114 -0
- data/rails_generators/emergent_cms/templates/PagesEditView.mxml +102 -0
- data/rails_generators/emergent_config/USAGE +5 -0
- data/rails_generators/emergent_config/emergent_config_generator.rb +330 -0
- data/rails_generators/emergent_config/templates/app/controllers/accounts_controller.rb +104 -0
- data/rails_generators/emergent_config/templates/app/controllers/addresses_controller.rb +97 -0
- data/rails_generators/emergent_config/templates/app/controllers/application.rb +26 -0
- data/rails_generators/emergent_config/templates/app/controllers/assets_controller.rb +1 -0
- data/rails_generators/emergent_config/templates/app/controllers/content_assignments_controller.rb +97 -0
- data/rails_generators/emergent_config/templates/app/controllers/contents_controller.rb +114 -0
- data/rails_generators/emergent_config/templates/app/controllers/sessions_controller.rb +72 -0
- data/rails_generators/emergent_config/templates/app/controllers/sites_controller.rb +1 -0
- data/rails_generators/emergent_config/templates/app/controllers/users_controller.rb +97 -0
- data/rails_generators/emergent_config/templates/app/flex/application/controllers/command/ICommand.as +16 -0
- data/rails_generators/emergent_config/templates/app/flex/application/controllers/command/Undoable.as +46 -0
- data/rails_generators/emergent_config/templates/app/flex/application/controllers/command/UpdateDocumentCommand.as +73 -0
- data/rails_generators/emergent_config/templates/app/flex/application/controllers/event/DocumentEvent.as +46 -0
- data/rails_generators/emergent_config/templates/app/flex/application/controllers/event/NavigationEvent.as +31 -0
- data/rails_generators/emergent_config/templates/app/flex/application/controllers/event/ResourceEvent.as +27 -0
- data/rails_generators/emergent_config/templates/app/flex/application/controllers/event/UndoEvent.as +36 -0
- data/rails_generators/emergent_config/templates/app/flex/application/controllers/manager/AboutUsManager.as +15 -0
- data/rails_generators/emergent_config/templates/app/flex/application/controllers/manager/AccountManager.as +31 -0
- data/rails_generators/emergent_config/templates/app/flex/application/controllers/manager/AuthenticationManager.as +76 -0
- data/rails_generators/emergent_config/templates/app/flex/application/controllers/manager/ContentManager.as +92 -0
- data/rails_generators/emergent_config/templates/app/flex/application/controllers/manager/DocumentManager.as +131 -0
- data/rails_generators/emergent_config/templates/app/flex/application/controllers/manager/DocumentsManager.as +156 -0
- data/rails_generators/emergent_config/templates/app/flex/application/controllers/manager/HomeManager.as +18 -0
- data/rails_generators/emergent_config/templates/app/flex/application/controllers/manager/MainManager.as +23 -0
- data/rails_generators/emergent_config/templates/app/flex/application/controllers/manager/PagesManager.as +71 -0
- data/rails_generators/emergent_config/templates/app/flex/application/controllers/manager/ResourceManager.as +195 -0
- data/rails_generators/emergent_config/templates/app/flex/application/controllers/manager/SiteManager.as +25 -0
- data/rails_generators/emergent_config/templates/app/flex/application/controllers/manager/UndoManager.as +143 -0
- data/rails_generators/emergent_config/templates/app/flex/application/controllers/map/DocumentMap.mxml +123 -0
- data/rails_generators/emergent_config/templates/app/flex/application/controllers/map/DocumentsMap.mxml +134 -0
- data/rails_generators/emergent_config/templates/app/flex/application/controllers/map/ManagerPresentationModelMap.mxml +59 -0
- data/rails_generators/emergent_config/templates/app/flex/application/controllers/map/ObjectMap.mxml +75 -0
- data/rails_generators/emergent_config/templates/app/flex/application/controllers/map/PresentationModelViewMap.mxml +81 -0
- data/rails_generators/emergent_config/templates/app/flex/application/controllers/map/PresenterViewMap.mxml +67 -0
- data/rails_generators/emergent_config/templates/app/flex/application/models/constant/DocumentType.as +52 -0
- data/rails_generators/emergent_config/templates/app/flex/application/models/constant/Resource.as +25 -0
- data/rails_generators/emergent_config/templates/app/flex/application/models/constant/ResourceAction.as +28 -0
- data/rails_generators/emergent_config/templates/app/flex/application/models/constant/ResourceResult.as +8 -0
- data/rails_generators/emergent_config/templates/app/flex/application/models/domain/Account.as +32 -0
- data/rails_generators/emergent_config/templates/app/flex/application/models/domain/Address.as +26 -0
- data/rails_generators/emergent_config/templates/app/flex/application/models/domain/Asset.as +25 -0
- data/rails_generators/emergent_config/templates/app/flex/application/models/domain/AssetAssignment.as +25 -0
- data/rails_generators/emergent_config/templates/app/flex/application/models/domain/Content.as +46 -0
- data/rails_generators/emergent_config/templates/app/flex/application/models/domain/ContentAssignment.as +33 -0
- data/rails_generators/emergent_config/templates/app/flex/application/models/domain/Document.as +131 -0
- data/rails_generators/emergent_config/templates/app/flex/application/models/domain/PlainDocument.as +19 -0
- data/rails_generators/emergent_config/templates/app/flex/application/models/domain/RichDocument.as +19 -0
- data/rails_generators/emergent_config/templates/app/flex/application/models/domain/Session.as +13 -0
- data/rails_generators/emergent_config/templates/app/flex/application/models/domain/Snapshot.as +21 -0
- data/rails_generators/emergent_config/templates/app/flex/application/models/domain/User.as +28 -0
- data/rails_generators/emergent_config/templates/app/flex/application/models/factory/DocumentFactory.as +61 -0
- data/rails_generators/emergent_config/templates/app/flex/application/models/factory/DocumentViewFactory.as +59 -0
- data/rails_generators/emergent_config/templates/app/flex/application/models/factory/ResourceFactory.as +28 -0
- data/rails_generators/emergent_config/templates/app/flex/application/models/presentation/AboutUsModel.as +22 -0
- data/rails_generators/emergent_config/templates/app/flex/application/models/presentation/AccountModel.as +68 -0
- data/rails_generators/emergent_config/templates/app/flex/application/models/presentation/AuthenticationModel.as +44 -0
- data/rails_generators/emergent_config/templates/app/flex/application/models/presentation/ContactUsModel.as +45 -0
- data/rails_generators/emergent_config/templates/app/flex/application/models/presentation/ContentModel.as +70 -0
- data/rails_generators/emergent_config/templates/app/flex/application/models/presentation/DocumentModel.as +235 -0
- data/rails_generators/emergent_config/templates/app/flex/application/models/presentation/DocumentsModel.as +169 -0
- data/rails_generators/emergent_config/templates/app/flex/application/models/presentation/HomeModel.as +23 -0
- data/rails_generators/emergent_config/templates/app/flex/application/models/presentation/MainModel.as +35 -0
- data/rails_generators/emergent_config/templates/app/flex/application/models/presentation/PagesModel.as +44 -0
- data/rails_generators/emergent_config/templates/app/flex/application/models/presentation/ProfileModel.as +99 -0
- data/rails_generators/emergent_config/templates/app/flex/application/models/presentation/ResourceModel.as +100 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/about_us/about_us.mxml +105 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/account/account.mxml +97 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/contact_us/contact_us.mxml +65 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/document/document.mxml +71 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/document/documents.mxml +201 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/document/plain_document.mxml +9 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/document/rich_document.mxml +12 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/gallery/gallery.mxml +37 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/home/home.mxml +58 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/home/home_presenter.as +81 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/home/home_troparchy.mxml +71 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/login/login.mxml +50 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/main/main.mxml +131 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/main/main_presenter.as +166 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/main/main_troparchy.mxml +74 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/navigation/navigation_bar_bottom_model.as +13 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/navigation/navigation_bar_bottom_presenter.as +10 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/navigation/navigation_bar_bottom_view.mxml +48 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/navigation/navigation_bar_left_model.as +13 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/navigation/navigation_bar_left_presenter.as +10 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/navigation/navigation_bar_left_view.mxml +43 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/navigation/navigation_bar_right_model.as +13 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/navigation/navigation_bar_right_presenter.as +10 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/navigation/navigation_bar_right_view.mxml +47 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/navigation/navigation_bar_top_model.as +13 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/navigation/navigation_bar_top_presenter.as +10 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/navigation/navigation_bar_top_view.mxml +49 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/navigation/navigation_bars_presenter.as +63 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/navigation/navigation_bars_troparchy.mxml +63 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/navigation/navigation_bars_view.mxml +59 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/pages/pages.mxml +44 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/pages/pages_presenter.as +83 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/pages/pages_troparchy.mxml +62 -0
- data/rails_generators/emergent_config/templates/app/flex/application/views/profile/profile.mxml +73 -0
- data/rails_generators/emergent_config/templates/app/flex/assets/fonts/MyriadPro-Bold.otf +0 -0
- data/rails_generators/emergent_config/templates/app/flex/assets/fonts/MyriadPro-Regular.otf +0 -0
- data/rails_generators/emergent_config/templates/app/flex/assets/html/lorem.html +3 -0
- data/rails_generators/emergent_config/templates/app/flex/assets/images/alexgrey/Picture10.png +0 -0
- data/rails_generators/emergent_config/templates/app/flex/assets/images/alexgrey/Picture11.png +0 -0
- data/rails_generators/emergent_config/templates/app/flex/assets/images/alexgrey/Picture12.png +0 -0
- data/rails_generators/emergent_config/templates/app/flex/assets/images/alexgrey/Picture13.png +0 -0
- data/rails_generators/emergent_config/templates/app/flex/assets/images/alexgrey/Picture14.png +0 -0
- data/rails_generators/emergent_config/templates/app/flex/assets/images/alexgrey/Picture3.png +0 -0
- data/rails_generators/emergent_config/templates/app/flex/assets/images/alexgrey/Picture4.png +0 -0
- data/rails_generators/emergent_config/templates/app/flex/assets/images/alexgrey/Picture5.png +0 -0
- data/rails_generators/emergent_config/templates/app/flex/assets/images/alexgrey/Picture6.png +0 -0
- data/rails_generators/emergent_config/templates/app/flex/assets/images/alexgrey/Picture7.png +0 -0
- data/rails_generators/emergent_config/templates/app/flex/assets/images/alexgrey/Picture8.png +0 -0
- data/rails_generators/emergent_config/templates/app/flex/assets/images/alexgrey/Picture9.png +0 -0
- data/rails_generators/emergent_config/templates/app/flex/assets/images/hot_nebula_0.jpg +0 -0
- data/rails_generators/emergent_config/templates/app/flex/assets/images/hot_nebula_180.jpg +0 -0
- data/rails_generators/emergent_config/templates/app/flex/assets/images/hot_nebula_270.jpg +0 -0
- data/rails_generators/emergent_config/templates/app/flex/assets/images/hot_nebula_90.jpg +0 -0
- data/rails_generators/emergent_config/templates/app/flex/assets/images/hot_nebula_bottom.jpg +0 -0
- data/rails_generators/emergent_config/templates/app/flex/assets/images/hot_nebula_top.jpg +0 -0
- data/rails_generators/emergent_config/templates/app/flex/assets/styles/itunes7Bg.jpg +0 -0
- data/rails_generators/emergent_config/templates/app/flex/assets/styles/jukebox.css +764 -0
- data/rails_generators/emergent_config/templates/app/flex/assets/styles/jukeboxGfx.swf +0 -0
- data/rails_generators/emergent_config/templates/app/flex/assets/styles/obsidian.css +734 -0
- data/rails_generators/emergent_config/templates/app/flex/assets/styles/obsidianBg.jpg +0 -0
- data/rails_generators/emergent_config/templates/app/flex/assets/styles/obsidianGfx.swf +0 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/actions/LayoutAction.as +377 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/actions/SimpleLayoutAction.as +210 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/animators/FourDTweenCollection.mxml +50 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/animators/IAnimator.as +39 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/animators/TweenMaxAnimator.as +269 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/cameras/AstroCamera.as +177 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/components/FourDDataGrid.mxml +105 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/components/FourDItemRenderer.mxml +54 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/core/CenterPerspectiveProjection.as +72 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/core/ComplexCondition.as +44 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/core/ConditionsUtil.as +82 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/core/FourDComponent.as +309 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/core/InstanceMethodInvoker.as +50 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/core/InstancePropertyInjector.as +43 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/core/MethodCaller.as +51 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/core/Pathway.as +10 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/core/PathwayEvent.as +28 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/core/Pheron.as +34 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/core/Pheron2.as +41 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/core/PheronReceptor.as +125 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/core/Properties.as +57 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/core/Router.as +50 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/core/RouterUtil.as +70 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/core/SimpleCondition.as +42 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/core/SimpleZSortVO.as +1 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/core/SimpleZSorter.as +1 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/core/Tecton.as +70 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/core/Tecton2.as +234 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/core/TectonCache.as +111 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/core/TectonEvent.as +39 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/core/TectonMap.as +515 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/core/TectonMap2.as +289 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/core/TectonMapSample.mxml +73 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/core/TectonReceptor.as +43 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/core/TectonScope.as +38 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/core/TectonScopeProperties.as +18 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/core/TectonUtils.as +51 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/events/LayoutActionEvent.as +75 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/layouts/CarouselLayout.as +85 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/layouts/CircleLayout.as +102 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/layouts/CoverFlowLayout.as +136 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/layouts/FourDLayout.as +272 -0
- data/rails_generators/emergent_config/templates/app/flex/com/fourD/utils/TweenUtil.as +110 -0
- data/rails_generators/emergent_config/templates/app/helpers/accounts_helper.rb +93 -0
- data/rails_generators/emergent_config/templates/app/helpers/application_helper.rb +3 -0
- data/rails_generators/emergent_config/templates/app/models/account.rb +84 -0
- data/rails_generators/emergent_config/templates/app/models/account_mailer.rb +24 -0
- data/rails_generators/emergent_config/templates/app/models/account_observer.rb +17 -0
- data/rails_generators/emergent_config/templates/app/models/address.rb +2 -0
- data/rails_generators/emergent_config/templates/app/models/asset.rb +6 -0
- data/rails_generators/emergent_config/templates/app/models/asset_assignment.rb +4 -0
- data/rails_generators/emergent_config/templates/app/models/category.rb +35 -0
- data/rails_generators/emergent_config/templates/app/models/comment.rb +98 -0
- data/rails_generators/emergent_config/templates/app/models/content.rb +89 -0
- data/rails_generators/emergent_config/templates/app/models/content_assignment.rb +21 -0
- data/rails_generators/emergent_config/templates/app/models/image.rb +3 -0
- data/rails_generators/emergent_config/templates/app/models/post.rb +76 -0
- data/rails_generators/emergent_config/templates/app/models/section.rb +97 -0
- data/rails_generators/emergent_config/templates/app/models/site.rb +1 -0
- data/rails_generators/emergent_config/templates/app/models/tag.rb +1 -0
- data/rails_generators/emergent_config/templates/app/models/user.rb +4 -0
- data/rails_generators/emergent_config/templates/app/views/account_mailer/activation.erb +3 -0
- data/rails_generators/emergent_config/templates/app/views/account_mailer/signup_notification.erb +8 -0
- data/rails_generators/emergent_config/templates/config/Capfile +4 -0
- data/rails_generators/emergent_config/templates/config/README.txt +18 -0
- data/rails_generators/emergent_config/templates/config/deploy.rb +36 -0
- data/rails_generators/emergent_config/templates/config/routes.rb +72 -0
- data/rails_generators/emergent_config/templates/core/actionscript.properties +16 -0
- data/rails_generators/emergent_config/templates/core/actionscriptair.properties +16 -0
- data/rails_generators/emergent_config/templates/core/app.yaml.erb +12 -0
- data/rails_generators/emergent_config/templates/core/default_tasks.rake +51 -0
- data/rails_generators/emergent_config/templates/core/emergent_tasks.rake +42 -0
- data/rails_generators/emergent_config/templates/core/empty.txt +0 -0
- data/rails_generators/emergent_config/templates/core/expressInstall.swf +0 -0
- data/rails_generators/emergent_config/templates/core/flex.properties +2 -0
- data/rails_generators/emergent_config/templates/core/generate.rb +17 -0
- data/rails_generators/emergent_config/templates/core/html-template/AC_OETags.js +276 -0
- data/rails_generators/emergent_config/templates/core/html-template/history/history.css +6 -0
- data/rails_generators/emergent_config/templates/core/html-template/history/history.js +645 -0
- data/rails_generators/emergent_config/templates/core/html-template/history/historyFrame.html +29 -0
- data/rails_generators/emergent_config/templates/core/html-template/index.template.html +121 -0
- data/rails_generators/emergent_config/templates/core/html-template/playerProductInstall.swf +0 -0
- data/rails_generators/emergent_config/templates/core/index.html.erb +18 -0
- data/rails_generators/emergent_config/templates/core/index.yaml +11 -0
- data/rails_generators/emergent_config/templates/core/mainair-app.xml +134 -0
- data/rails_generators/emergent_config/templates/core/mainapp-config.xml +21 -0
- data/rails_generators/emergent_config/templates/core/mainapp.mxml +101 -0
- data/rails_generators/emergent_config/templates/core/project-textmate.erb +52 -0
- data/rails_generators/emergent_config/templates/core/project.properties +18 -0
- data/rails_generators/emergent_config/templates/core/projectair.properties +24 -0
- data/rails_generators/emergent_config/templates/core/restfulx.yml +14 -0
- data/rails_generators/emergent_config/templates/core/restfulx_tasks.rake +6 -0
- data/rails_generators/emergent_config/templates/core/swfobject.js +5 -0
- data/rails_generators/emergent_config/templates/db/migrate/create_accounts.rb +40 -0
- data/rails_generators/emergent_config/templates/db/migrate/create_addresses.rb +18 -0
- data/rails_generators/emergent_config/templates/db/migrate/create_asset_assignments.rb +19 -0
- data/rails_generators/emergent_config/templates/db/migrate/create_assets.rb +20 -0
- data/rails_generators/emergent_config/templates/db/migrate/create_content_assignments.rb +26 -0
- data/rails_generators/emergent_config/templates/db/migrate/create_contents.rb +21 -0
- data/rails_generators/emergent_config/templates/db/migrate/create_sessions.rb +16 -0
- data/rails_generators/emergent_config/templates/db/migrate/create_sites.rb +27 -0
- data/rails_generators/emergent_config/templates/db/migrate/create_users.rb +15 -0
- data/rails_generators/emergent_config/templates/lib/analytics.swc +0 -0
- data/rails_generators/emergent_config/templates/lib/app_controller.rb.erb +26 -0
- data/rails_generators/emergent_config/templates/lib/as3corelib-0.92.1.swc +0 -0
- data/rails_generators/emergent_config/templates/lib/as3crypto-1.3patched.swc +0 -0
- data/rails_generators/emergent_config/templates/lib/as3crypto.swc +0 -0
- data/rails_generators/emergent_config/templates/lib/as3ds-1.04.swc +0 -0
- data/rails_generators/emergent_config/templates/lib/as3httpclientlib-1.0.swc +0 -0
- data/rails_generators/emergent_config/templates/lib/authenticated_system.rb +189 -0
- data/rails_generators/emergent_config/templates/lib/authenticated_test_helper.rb +11 -0
- data/rails_generators/emergent_config/templates/lib/containerEx.swc +0 -0
- data/rails_generators/emergent_config/templates/lib/flare.swc +0 -0
- data/rails_generators/emergent_config/templates/lib/flash_session_hack.rb +27 -0
- data/rails_generators/emergent_config/templates/lib/flex2BrowserManager.swc +0 -0
- data/rails_generators/emergent_config/templates/lib/flexlib.swc +0 -0
- data/rails_generators/emergent_config/templates/lib/fluint.swc +0 -0
- data/rails_generators/emergent_config/templates/lib/mate_0_8_6_enhanced.swc +0 -0
- data/rails_generators/emergent_config/templates/lib/openflux.swc +0 -0
- data/rails_generators/emergent_config/templates/lib/pv3d.swc +0 -0
- data/rails_generators/emergent_config/templates/lib/restfulx.swc +0 -0
- data/rails_generators/emergent_config/templates/lib/site_keys.rb +38 -0
- data/rails_generators/emergent_config/templates/lib/tweenMax.swc +0 -0
- data/rails_generators/emergent_config/templates/lib/urlkitFlex3.swc +0 -0
- data/rails_generators/emergent_config/templates/shell_script +31 -0
- data/rails_generators/emergent_controller/USAGE +5 -0
- data/rails_generators/emergent_controller/emergent_controller_generator.rb +25 -0
- data/rails_generators/emergent_controller/templates/controller.as.erb +37 -0
- data/rails_generators/emergent_core/USAGE +5 -0
- data/rails_generators/emergent_core/emergent_core_generator.rb +157 -0
- data/rails_generators/emergent_iphone/USAGE +5 -0
- data/rails_generators/emergent_iphone/emergent_iphone_generator.rb +27 -0
- data/rails_generators/emergent_scaffold/USAGE +5 -0
- data/rails_generators/emergent_scaffold/emergent_scaffold_generator.rb +157 -0
- data/rails_generators/emergent_scaffold/templates/component.mxml.erb +101 -0
- data/rails_generators/emergent_scaffold/templates/controller.rb.erb +101 -0
- data/rails_generators/emergent_scaffold/templates/edit_index_view.mxml.erb +114 -0
- data/rails_generators/emergent_scaffold/templates/edit_show_view.mxml.erb +84 -0
- data/rails_generators/emergent_scaffold/templates/filter_view.mxml.erb +1 -0
- data/rails_generators/emergent_scaffold/templates/fixtures.yml.erb +128 -0
- data/rails_generators/emergent_scaffold/templates/index_view.mxml.erb +58 -0
- data/rails_generators/emergent_scaffold/templates/item_renderer.mxml.erb +53 -0
- data/rails_generators/emergent_scaffold/templates/manager.as.erb +31 -0
- data/rails_generators/emergent_scaffold/templates/migration.rb.erb +22 -0
- data/rails_generators/emergent_scaffold/templates/model.as.erb +42 -0
- data/rails_generators/emergent_scaffold/templates/model.rb.erb +11 -0
- data/rails_generators/emergent_scaffold/templates/presentation_model.as.erb +33 -0
- data/rails_generators/emergent_scaffold/templates/presenter.as.erb +98 -0
- data/rails_generators/emergent_scaffold/templates/show_view.mxml.erb +50 -0
- data/rails_generators/emergent_scaffold/templates/view_map.mxml.erb +40 -0
- data/rails_generators/emergent_scaffold/templates/views_panel.mxml.erb +64 -0
- data/rails_generators/emergent_styler/USAGE +5 -0
- data/rails_generators/emergent_styler/emergent_styler_generator.rb +21 -0
- data/rails_generators/rx_yaml_scaffold/USAGE +51 -0
- data/rails_generators/rx_yaml_scaffold/rx_yaml_scaffold_generator.rb +49 -0
- data/script/console +10 -0
- data/script/destroy +14 -0
- data/script/generate +14 -0
- data/spec/emergent_core_spec.rb +7 -0
- data/spec/spec_helper.rb +16 -0
- data/tasks/ann.rake +80 -0
- data/tasks/bones.rake +20 -0
- data/tasks/gem.rake +201 -0
- data/tasks/git.rake +40 -0
- data/tasks/manifest.rake +48 -0
- data/tasks/notes.rake +27 -0
- data/tasks/post_load.rake +39 -0
- data/tasks/rdoc.rake +50 -0
- data/tasks/rubyforge.rake +55 -0
- data/tasks/setup.rb +279 -0
- data/tasks/spec.rake +54 -0
- data/tasks/svn.rake +47 -0
- data/tasks/test.rake +40 -0
- data/test/test_emergent_core.rb +0 -0
- data/test/test_emergent_iphone_generator.rb +46 -0
- data/test/test_generator_helper.rb +29 -0
- metadata +437 -0
@@ -0,0 +1,121 @@
|
|
1
|
+
<!-- saved from url=(0014)about:internet -->
|
2
|
+
<html lang="en">
|
3
|
+
|
4
|
+
<!--
|
5
|
+
Smart developers always View Source.
|
6
|
+
|
7
|
+
This application was built using Adobe Flex, an open source framework
|
8
|
+
for building rich Internet applications that get delivered via the
|
9
|
+
Flash Player or to desktops via Adobe AIR.
|
10
|
+
|
11
|
+
Learn more about Flex at http://flex.org
|
12
|
+
// -->
|
13
|
+
|
14
|
+
<head>
|
15
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
16
|
+
|
17
|
+
<!-- BEGIN Browser History required section -->
|
18
|
+
<link rel="stylesheet" type="text/css" href="history/history.css" />
|
19
|
+
<!-- END Browser History required section -->
|
20
|
+
|
21
|
+
<title>${title}</title>
|
22
|
+
<script src="AC_OETags.js" language="javascript"></script>
|
23
|
+
|
24
|
+
<!-- BEGIN Browser History required section -->
|
25
|
+
<script src="history/history.js" language="javascript"></script>
|
26
|
+
<!-- END Browser History required section -->
|
27
|
+
|
28
|
+
<style>
|
29
|
+
body { margin: 0px; overflow:hidden }
|
30
|
+
</style>
|
31
|
+
<script language="JavaScript" type="text/javascript">
|
32
|
+
<!--
|
33
|
+
// -----------------------------------------------------------------------------
|
34
|
+
// Globals
|
35
|
+
// Major version of Flash required
|
36
|
+
var requiredMajorVersion = ${version_major};
|
37
|
+
// Minor version of Flash required
|
38
|
+
var requiredMinorVersion = ${version_minor};
|
39
|
+
// Minor version of Flash required
|
40
|
+
var requiredRevision = ${version_revision};
|
41
|
+
// -----------------------------------------------------------------------------
|
42
|
+
// -->
|
43
|
+
</script>
|
44
|
+
</head>
|
45
|
+
|
46
|
+
<body scroll="no">
|
47
|
+
<script language="JavaScript" type="text/javascript">
|
48
|
+
<!--
|
49
|
+
// Version check for the Flash Player that has the ability to start Player Product Install (6.0r65)
|
50
|
+
var hasProductInstall = DetectFlashVer(6, 0, 65);
|
51
|
+
|
52
|
+
// Version check based upon the values defined in globals
|
53
|
+
var hasRequestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
|
54
|
+
|
55
|
+
if ( hasProductInstall && !hasRequestedVersion ) {
|
56
|
+
// DO NOT MODIFY THE FOLLOWING FOUR LINES
|
57
|
+
// Location visited after installation is complete if installation is required
|
58
|
+
var MMPlayerType = (isIE == true) ? "ActiveX" : "PlugIn";
|
59
|
+
var MMredirectURL = window.location;
|
60
|
+
document.title = document.title.slice(0, 47) + " - Flash Player Installation";
|
61
|
+
var MMdoctitle = document.title;
|
62
|
+
|
63
|
+
AC_FL_RunContent(
|
64
|
+
"src", "playerProductInstall",
|
65
|
+
"FlashVars", "MMredirectURL="+MMredirectURL+'&MMplayerType='+MMPlayerType+'&MMdoctitle='+MMdoctitle+"",
|
66
|
+
"width", "${width}",
|
67
|
+
"height", "${height}",
|
68
|
+
"align", "middle",
|
69
|
+
"id", "${application}",
|
70
|
+
"quality", "high",
|
71
|
+
"bgcolor", "${bgcolor}",
|
72
|
+
"name", "${application}",
|
73
|
+
"allowScriptAccess","sameDomain",
|
74
|
+
"type", "application/x-shockwave-flash",
|
75
|
+
"pluginspage", "http://www.adobe.com/go/getflashplayer"
|
76
|
+
);
|
77
|
+
} else if (hasRequestedVersion) {
|
78
|
+
// if we've detected an acceptable version
|
79
|
+
// embed the Flash Content SWF when all tests are passed
|
80
|
+
AC_FL_RunContent(
|
81
|
+
"src", "${swf}",
|
82
|
+
"width", "${width}",
|
83
|
+
"height", "${height}",
|
84
|
+
"align", "middle",
|
85
|
+
"id", "${application}",
|
86
|
+
"quality", "high",
|
87
|
+
"bgcolor", "${bgcolor}",
|
88
|
+
"name", "${application}",
|
89
|
+
"allowScriptAccess","sameDomain",
|
90
|
+
"type", "application/x-shockwave-flash",
|
91
|
+
"pluginspage", "http://www.adobe.com/go/getflashplayer"
|
92
|
+
);
|
93
|
+
} else { // flash is too old or we can't detect the plugin
|
94
|
+
var alternateContent = 'Alternate HTML content should be placed here. '
|
95
|
+
+ 'This content requires the Adobe Flash Player. '
|
96
|
+
+ '<a href=http://www.adobe.com/go/getflash/>Get Flash</a>';
|
97
|
+
document.write(alternateContent); // insert non-flash content
|
98
|
+
}
|
99
|
+
// -->
|
100
|
+
</script>
|
101
|
+
<noscript>
|
102
|
+
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
|
103
|
+
id="${application}" width="${width}" height="${height}"
|
104
|
+
codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
|
105
|
+
<param name="movie" value="${swf}.swf" />
|
106
|
+
<param name="quality" value="high" />
|
107
|
+
<param name="bgcolor" value="${bgcolor}" />
|
108
|
+
<param name="allowScriptAccess" value="sameDomain" />
|
109
|
+
<embed src="${swf}.swf" quality="high" bgcolor="${bgcolor}"
|
110
|
+
width="${width}" height="${height}" name="${application}" align="middle"
|
111
|
+
play="true"
|
112
|
+
loop="false"
|
113
|
+
quality="high"
|
114
|
+
allowScriptAccess="sameDomain"
|
115
|
+
type="application/x-shockwave-flash"
|
116
|
+
pluginspage="http://www.adobe.com/go/getflashplayer">
|
117
|
+
</embed>
|
118
|
+
</object>
|
119
|
+
</noscript>
|
120
|
+
</body>
|
121
|
+
</html>
|
Binary file
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<title><%= project_name %></title>
|
4
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
5
|
+
<script type="text/javascript" src="javascripts/swfobject.js"></script>
|
6
|
+
<script type="text/javascript">
|
7
|
+
swfobject.embedSWF("bin/<%= project_name %>.swf", "mainApp", "100%", "100%", "9.0.0", "expressInstall.swf");
|
8
|
+
</script>
|
9
|
+
<style>
|
10
|
+
body { margin: 0px; overflow: hidden; }
|
11
|
+
</style>
|
12
|
+
</head>
|
13
|
+
<body>
|
14
|
+
<div id="mainApp">
|
15
|
+
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
|
16
|
+
</div>
|
17
|
+
</body>
|
18
|
+
</html>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
indexes:
|
2
|
+
|
3
|
+
# AUTOGENERATED
|
4
|
+
|
5
|
+
# This index.yaml is automatically updated whenever the dev_appserver
|
6
|
+
# detects that a new type of query is run. If you want to manage the
|
7
|
+
# index.yaml file manually, remove the above marker line (the line
|
8
|
+
# saying "# AUTOGENERATED"). If you want to manage some indexes
|
9
|
+
# manually, move them above the marker line. The index.yaml file is
|
10
|
+
# automatically uploaded to the admin console when you next deploy
|
11
|
+
# your application using appcfg.py.
|
@@ -0,0 +1,134 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<application xmlns="http://ns.adobe.com/air/application/1.5">
|
3
|
+
|
4
|
+
<!-- Adobe AIR Application Descriptor File Template.
|
5
|
+
|
6
|
+
Specifies parameters for identifying, installing, and launching AIR applications.
|
7
|
+
See http://www.adobe.com/go/air_1.0_application_descriptor for complete documentation.
|
8
|
+
|
9
|
+
xmlns - The Adobe AIR namespace: http://ns.adobe.com/air/application/1.0
|
10
|
+
The last segment of the namespace specifies the version
|
11
|
+
of the AIR runtime required for this application to run.
|
12
|
+
|
13
|
+
minimumPatchLevel - The minimum patch level of the AIR runtime required to run
|
14
|
+
the application. Optional.
|
15
|
+
-->
|
16
|
+
|
17
|
+
<!-- The application identifier string, unique to this application. Required. -->
|
18
|
+
<id><%= project_name %></id>
|
19
|
+
|
20
|
+
<!-- Used as the filename for the application. Required. -->
|
21
|
+
<filename><%= project_name %></filename>
|
22
|
+
|
23
|
+
<!-- The name that is displayed in the AIR application installer. Optional. -->
|
24
|
+
<name><%= project_name %></name>
|
25
|
+
|
26
|
+
<!-- An application version designator (such as "v1", "2.5", or "Alpha 1"). Required. -->
|
27
|
+
<version>v1</version>
|
28
|
+
|
29
|
+
<!-- Description, displayed in the AIR application installer. Optional. -->
|
30
|
+
<!-- <description></description> -->
|
31
|
+
|
32
|
+
<!-- Copyright information. Optional -->
|
33
|
+
<!-- <copyright></copyright> -->
|
34
|
+
|
35
|
+
<!-- Settings for the application's initial window. Required. -->
|
36
|
+
<initialWindow>
|
37
|
+
<!-- The main SWF or HTML file of the application. Required. -->
|
38
|
+
<!-- Note: In Flex Builder, the SWF reference is set automatically. -->
|
39
|
+
<content>[This value will be overwritten by Flex Builder in the output app.xml]</content>
|
40
|
+
|
41
|
+
<!-- The title of the main window. Optional. -->
|
42
|
+
<!-- <title></title> -->
|
43
|
+
|
44
|
+
<!-- The type of system chrome to use (either "standard" or "none"). Optional. Default standard. -->
|
45
|
+
<!-- <systemChrome></systemChrome> -->
|
46
|
+
|
47
|
+
<!-- Whether the window is transparent. Only applicable when systemChrome is false. Optional. Default false. -->
|
48
|
+
<!-- <transparent></transparent> -->
|
49
|
+
|
50
|
+
<!-- Whether the window is initially visible. Optional. Default false. -->
|
51
|
+
<!-- <visible></visible> -->
|
52
|
+
|
53
|
+
<!-- Whether the user can minimize the window. Optional. Default true. -->
|
54
|
+
<!-- <minimizable></minimizable> -->
|
55
|
+
|
56
|
+
<!-- Whether the user can maximize the window. Optional. Default true. -->
|
57
|
+
<!-- <maximizable></maximizable> -->
|
58
|
+
|
59
|
+
<!-- Whether the user can resize the window. Optional. Default true. -->
|
60
|
+
<!-- <resizable></resizable> -->
|
61
|
+
|
62
|
+
<!-- The window's initial width. Optional. -->
|
63
|
+
<width>800</width>
|
64
|
+
|
65
|
+
<!-- The window's initial height. Optional. -->
|
66
|
+
<height>600</height>
|
67
|
+
|
68
|
+
<!-- The window's initial x position. Optional. -->
|
69
|
+
<!-- <x></x> -->
|
70
|
+
|
71
|
+
<!-- The window's initial y position. Optional. -->
|
72
|
+
<!-- <y></y> -->
|
73
|
+
|
74
|
+
<!-- The window's minimum size, specified as a width/height pair, such as "400 200". Optional. -->
|
75
|
+
<!-- <minSize></minSize> -->
|
76
|
+
|
77
|
+
<!-- The window's initial maximum size, specified as a width/height pair, such as "1600 1200". Optional. -->
|
78
|
+
<!-- <maxSize></maxSize> -->
|
79
|
+
</initialWindow>
|
80
|
+
|
81
|
+
<!-- The subpath of the standard default installation location to use. Optional. -->
|
82
|
+
<!-- <installFolder></installFolder> -->
|
83
|
+
|
84
|
+
<!-- The subpath of the Windows Start/Programs menu to use. Optional. -->
|
85
|
+
<!-- <programMenuFolder></programMenuFolder> -->
|
86
|
+
|
87
|
+
<!-- The icon the system uses for the application. For at least one resolution,
|
88
|
+
specify the path to a PNG file included in the AIR package. Optional. -->
|
89
|
+
<!-- <icon>
|
90
|
+
<image16x16></image16x16>
|
91
|
+
<image32x32></image32x32>
|
92
|
+
<image48x48></image48x48>
|
93
|
+
<image128x128></image128x128>
|
94
|
+
</icon> -->
|
95
|
+
|
96
|
+
<!-- Whether the application handles the update when a user double-clicks an update version
|
97
|
+
of the AIR file (true), or the default AIR application installer handles the update (false).
|
98
|
+
Optional. Default false. -->
|
99
|
+
<!-- <customUpdateUI></customUpdateUI> -->
|
100
|
+
|
101
|
+
<!-- Whether the application can be launched when the user clicks a link in a web browser.
|
102
|
+
Optional. Default false. -->
|
103
|
+
<!-- <allowBrowserInvocation></allowBrowserInvocation> -->
|
104
|
+
|
105
|
+
<!-- Listing of file types for which the application can register. Optional. -->
|
106
|
+
<!-- <fileTypes> -->
|
107
|
+
|
108
|
+
<!-- Defines one file type. Optional. -->
|
109
|
+
<!-- <fileType> -->
|
110
|
+
|
111
|
+
<!-- The name that the system displays for the registered file type. Required. -->
|
112
|
+
<!-- <name></name> -->
|
113
|
+
|
114
|
+
<!-- The extension to register. Required. -->
|
115
|
+
<!-- <extension></extension> -->
|
116
|
+
|
117
|
+
<!-- The description of the file type. Optional. -->
|
118
|
+
<!-- <description></description> -->
|
119
|
+
|
120
|
+
<!-- The MIME type. Optional. -->
|
121
|
+
<!-- <contentType></contentType> -->
|
122
|
+
|
123
|
+
<!-- The icon to display for the file type. Optional. -->
|
124
|
+
<!-- <icon>
|
125
|
+
<image16x16></image16x16>
|
126
|
+
<image32x32></image32x32>
|
127
|
+
<image48x48></image48x48>
|
128
|
+
<image128x128></image128x128>
|
129
|
+
</icon> -->
|
130
|
+
|
131
|
+
<!-- </fileType> -->
|
132
|
+
<!-- </fileTypes> -->
|
133
|
+
|
134
|
+
</application>
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<flex-config>
|
2
|
+
<benchmark>false</benchmark>
|
3
|
+
<default-background-color>#FFFFFF</default-background-color>
|
4
|
+
<compiler>
|
5
|
+
<incremental>false</incremental>
|
6
|
+
<keep-as3-metadata append="true">
|
7
|
+
<name>Resource</name>
|
8
|
+
<name>HasOne</name>
|
9
|
+
<name>HasMany</name>
|
10
|
+
<name>BelongsTo</name>
|
11
|
+
<name>DateTime</name>
|
12
|
+
<name>Lazy</name>
|
13
|
+
<name>Ignored</name>
|
14
|
+
</keep-as3-metadata>
|
15
|
+
<optimize>true</optimize>
|
16
|
+
<keep-generated-actionscript>false</keep-generated-actionscript>
|
17
|
+
<warn-no-constructor>false</warn-no-constructor>
|
18
|
+
<warn-no-explicit-super-call-in-constructor>false</warn-no-explicit-super-call-in-constructor>
|
19
|
+
<debug>false</debug>
|
20
|
+
</compiler>
|
21
|
+
</flex-config>
|
@@ -0,0 +1,106 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<<%= application_tag %> xmlns="http://ns.adobe.com/mxml/2009"
|
3
|
+
xmlns:main="<%= base_package %>.views.main.*"
|
4
|
+
xmlns:control="<%= base_package %>.controllers.*"
|
5
|
+
xmlns:modelMap="<%= base_package %>.controllers.map.model.*"
|
6
|
+
xmlns:viewMap="<%= base_package %>.controllers.map.view.*"
|
7
|
+
layout="vertical"
|
8
|
+
backgroundGradientColors="[#ffffff, #c0c0c0]"
|
9
|
+
horizontalAlign="center"
|
10
|
+
verticalAlign="top"
|
11
|
+
paddingLeft="0"
|
12
|
+
paddingRight="0"
|
13
|
+
paddingTop="0"
|
14
|
+
paddingBottom="0"
|
15
|
+
width="100%"
|
16
|
+
height="100%"
|
17
|
+
frameRate="60"
|
18
|
+
creationCompleteEffect="fadeIn"
|
19
|
+
initialize="init()"
|
20
|
+
applicationComplete="applicationComplete()">
|
21
|
+
|
22
|
+
<Script>
|
23
|
+
<![CDATA[
|
24
|
+
<% if use_air -%>
|
25
|
+
import org.restfulx.services.air.AIRServiceProvider;
|
26
|
+
<% end -%>
|
27
|
+
import org.restfulx.Rx;
|
28
|
+
import <%= base_package %>.controllers.<%= command_controller_name %>;
|
29
|
+
|
30
|
+
import mx.core.Container;
|
31
|
+
|
32
|
+
import mx.logging.ILogger;
|
33
|
+
import mx.logging.Log;
|
34
|
+
import mx.logging.LogEventLevel;
|
35
|
+
import mx.logging.targets.TraceTarget;
|
36
|
+
|
37
|
+
public static var log:ILogger = Log.getLogger("<%= base_package %>.*");
|
38
|
+
|
39
|
+
private var pp:PerspectiveProjection = new PerspectiveProjection();
|
40
|
+
|
41
|
+
private function init():void {
|
42
|
+
<% if use_air -%>
|
43
|
+
<%= command_controller_name %>.initialize([AIRServiceProvider], AIRServiceProvider.ID, "<%= base_package %>");
|
44
|
+
<% else -%>
|
45
|
+
<%= command_controller_name %>.initialize();
|
46
|
+
<% end -%>
|
47
|
+
}
|
48
|
+
|
49
|
+
private function applicationComplete():void {
|
50
|
+
pp.projectionCenter = new Point(this.width/2, this.height/2);
|
51
|
+
pp.fieldOfView = 30;
|
52
|
+
root.transform.perspectiveProjection = pp;
|
53
|
+
|
54
|
+
// CenterPerspectiveProjection.setCenterOn(this);
|
55
|
+
}
|
56
|
+
|
57
|
+
public static function enableLogging(logLevel:int = LogEventLevel.ALL):void {
|
58
|
+
var target:TraceTarget = new TraceTarget();
|
59
|
+
target.filters = ["<%= base_package %>.*"];
|
60
|
+
target.level = logLevel;
|
61
|
+
target.includeDate = true;
|
62
|
+
target.includeTime = true;
|
63
|
+
target.includeCategory = true;
|
64
|
+
target.includeLevel = true;
|
65
|
+
Log.addTarget(target);
|
66
|
+
}
|
67
|
+
|
68
|
+
]]>
|
69
|
+
</Script>
|
70
|
+
<Declarations>
|
71
|
+
<!-- Model maps -->
|
72
|
+
<modelMap:PresentationModelViewMap id="presentationModelViewMap"/>
|
73
|
+
<modelMap:ManagerPresentationModelMap id="managerPresentationModelMap"/>
|
74
|
+
<modelMap:PresenterViewMap id="presenterViewMap"/>
|
75
|
+
<modelMap:ResourceEventMap id="resourceEventMap"/>
|
76
|
+
<modelMap:ContentMap id="contentMap"/>
|
77
|
+
<!-- Navigation Event maps -->
|
78
|
+
<viewMap:MainNavigationEventMap id="mainNavigationEventMap"/>
|
79
|
+
<viewMap:NavigationBarsNavigationEventMap id="navigationBarsNavigationEventMap"/>
|
80
|
+
<viewMap:ProfileNavigationEventMap id="profileNavigationEventMap"/>
|
81
|
+
</Declarations>
|
82
|
+
|
83
|
+
<main:MainView id="mainView" showEffect="fadeIn"/>
|
84
|
+
|
85
|
+
<Style source="assets/styles/obsidian.css"/>
|
86
|
+
<!-- You must Embed fonts, because the default fonts don't work at all with Effects -->
|
87
|
+
<Style>
|
88
|
+
@font-face {
|
89
|
+
src:url("assets/fonts/MyriadPro-Bold.otf");
|
90
|
+
fontFamily: "MyriadPro";
|
91
|
+
fontWeight:bold;
|
92
|
+
}
|
93
|
+
|
94
|
+
@font-face {
|
95
|
+
src:url("assets/fonts/MyriadPro-Regular.otf");
|
96
|
+
fontFamily: "MyriadPro";
|
97
|
+
fontWeight:regular;
|
98
|
+
}
|
99
|
+
|
100
|
+
Application {
|
101
|
+
/* font-size: 24px; */
|
102
|
+
font-family: "MyriadPro";
|
103
|
+
}
|
104
|
+
|
105
|
+
</Style>
|
106
|
+
</<%= application_tag %>>
|
@@ -0,0 +1,52 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>currentDocument</key>
|
6
|
+
<string>app/flex/<%= project_name %>.mxml</string>
|
7
|
+
<key>documents</key>
|
8
|
+
<array>
|
9
|
+
<dict>
|
10
|
+
<key>expanded</key>
|
11
|
+
<true/>
|
12
|
+
<key>name</key>
|
13
|
+
<string><%= project_name.underscore %></string>
|
14
|
+
<key>regexFolderFilter</key>
|
15
|
+
<string>!.*/(\.[^/]*|CVS|_darcs|_MTN|\{arch\}|blib|.*~\.nib|.*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle))$</string>
|
16
|
+
<key>sourceDirectory</key>
|
17
|
+
<string></string>
|
18
|
+
</dict>
|
19
|
+
</array>
|
20
|
+
<key>fileHierarchyDrawerWidth</key>
|
21
|
+
<integer>299</integer>
|
22
|
+
<key>metaData</key>
|
23
|
+
<dict/>
|
24
|
+
<key>openDocuments</key>
|
25
|
+
<array>
|
26
|
+
<string>app/flex/<%= project_name %>.mxml</string>
|
27
|
+
</array>
|
28
|
+
<key>shellVariables</key>
|
29
|
+
<array>
|
30
|
+
<dict>
|
31
|
+
<key>enabled</key>
|
32
|
+
<true/>
|
33
|
+
<key>value</key>
|
34
|
+
<string>app/flex/<%= project_name %>.mxml</string>
|
35
|
+
<key>variable</key>
|
36
|
+
<string>TM_FLEX_FILE_SPECS</string>
|
37
|
+
</dict>
|
38
|
+
<dict>
|
39
|
+
<key>enabled</key>
|
40
|
+
<true/>
|
41
|
+
<key>value</key>
|
42
|
+
<string>public/bin/<%= project_name %>.swf</string>
|
43
|
+
<key>variable</key>
|
44
|
+
<string>TM_FLEX_OUTPUT</string>
|
45
|
+
</dict>
|
46
|
+
</array>
|
47
|
+
<key>showFileHierarchyDrawer</key>
|
48
|
+
<false/>
|
49
|
+
<key>windowFrame</key>
|
50
|
+
<string>{{5, 15}, {1073, 860}}</string>
|
51
|
+
</dict>
|
52
|
+
</plist>
|
@@ -0,0 +1,18 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<projectDescription>
|
3
|
+
<name><%= flex_project_name %></name>
|
4
|
+
<comment></comment>
|
5
|
+
<projects>
|
6
|
+
</projects>
|
7
|
+
<buildSpec>
|
8
|
+
<buildCommand>
|
9
|
+
<name>com.adobe.flexbuilder.project.flexbuilder</name>
|
10
|
+
<arguments>
|
11
|
+
</arguments>
|
12
|
+
</buildCommand>
|
13
|
+
</buildSpec>
|
14
|
+
<natures>
|
15
|
+
<nature>com.adobe.flexbuilder.project.flexnature</nature>
|
16
|
+
<nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
|
17
|
+
</natures>
|
18
|
+
</projectDescription>
|
@@ -0,0 +1,24 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<projectDescription>
|
3
|
+
<name><%= flex_project_name %></name>
|
4
|
+
<comment></comment>
|
5
|
+
<projects>
|
6
|
+
</projects>
|
7
|
+
<buildSpec>
|
8
|
+
<buildCommand>
|
9
|
+
<name>com.adobe.flexbuilder.project.flexbuilder</name>
|
10
|
+
<arguments>
|
11
|
+
</arguments>
|
12
|
+
</buildCommand>
|
13
|
+
<buildCommand>
|
14
|
+
<name>com.adobe.flexbuilder.apollo.apollobuilder</name>
|
15
|
+
<arguments>
|
16
|
+
</arguments>
|
17
|
+
</buildCommand>
|
18
|
+
</buildSpec>
|
19
|
+
<natures>
|
20
|
+
<nature>com.adobe.flexbuilder.apollo.apollonature</nature>
|
21
|
+
<nature>com.adobe.flexbuilder.project.flexnature</nature>
|
22
|
+
<nature>com.adobe.flexbuilder.project.actionscriptnature</nature>
|
23
|
+
</natures>
|
24
|
+
</projectDescription>
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/* SWFObject v2.0 <http://code.google.com/p/swfobject/>
|
2
|
+
Copyright (c) 2007 Geoff Stearns, Michael Williams, and Bobby van der Sluis
|
3
|
+
This software is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
|
4
|
+
*/
|
5
|
+
var swfobject=function(){var Z="undefined",P="object",B="Shockwave Flash",h="ShockwaveFlash.ShockwaveFlash",W="application/x-shockwave-flash",K="SWFObjectExprInst",G=window,g=document,N=navigator,f=[],H=[],Q=null,L=null,T=null,S=false,C=false;var a=function(){var l=typeof g.getElementById!=Z&&typeof g.getElementsByTagName!=Z&&typeof g.createElement!=Z&&typeof g.appendChild!=Z&&typeof g.replaceChild!=Z&&typeof g.removeChild!=Z&&typeof g.cloneNode!=Z,t=[0,0,0],n=null;if(typeof N.plugins!=Z&&typeof N.plugins[B]==P){n=N.plugins[B].description;if(n){n=n.replace(/^.*\s+(\S+\s+\S+$)/,"$1");t[0]=parseInt(n.replace(/^(.*)\..*$/,"$1"),10);t[1]=parseInt(n.replace(/^.*\.(.*)\s.*$/,"$1"),10);t[2]=/r/.test(n)?parseInt(n.replace(/^.*r(.*)$/,"$1"),10):0}}else{if(typeof G.ActiveXObject!=Z){var o=null,s=false;try{o=new ActiveXObject(h+".7")}catch(k){try{o=new ActiveXObject(h+".6");t=[6,0,21];o.AllowScriptAccess="always"}catch(k){if(t[0]==6){s=true}}if(!s){try{o=new ActiveXObject(h)}catch(k){}}}if(!s&&o){try{n=o.GetVariable("$version");if(n){n=n.split(" ")[1].split(",");t=[parseInt(n[0],10),parseInt(n[1],10),parseInt(n[2],10)]}}catch(k){}}}}var v=N.userAgent.toLowerCase(),j=N.platform.toLowerCase(),r=/webkit/.test(v)?parseFloat(v.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,i=false,q=j?/win/.test(j):/win/.test(v),m=j?/mac/.test(j):/mac/.test(v);/*@cc_on i=true;@if(@_win32)q=true;@elif(@_mac)m=true;@end@*/return{w3cdom:l,pv:t,webkit:r,ie:i,win:q,mac:m}}();var e=function(){if(!a.w3cdom){return }J(I);if(a.ie&&a.win){try{g.write("<script id=__ie_ondomload defer=true src=//:><\/script>");var i=c("__ie_ondomload");if(i){i.onreadystatechange=function(){if(this.readyState=="complete"){this.parentNode.removeChild(this);V()}}}}catch(j){}}if(a.webkit&&typeof g.readyState!=Z){Q=setInterval(function(){if(/loaded|complete/.test(g.readyState)){V()}},10)}if(typeof g.addEventListener!=Z){g.addEventListener("DOMContentLoaded",V,null)}M(V)}();function V(){if(S){return }if(a.ie&&a.win){var m=Y("span");try{var l=g.getElementsByTagName("body")[0].appendChild(m);l.parentNode.removeChild(l)}catch(n){return }}S=true;if(Q){clearInterval(Q);Q=null}var j=f.length;for(var k=0;k<j;k++){f[k]()}}function J(i){if(S){i()}else{f[f.length]=i}}function M(j){if(typeof G.addEventListener!=Z){G.addEventListener("load",j,false)}else{if(typeof g.addEventListener!=Z){g.addEventListener("load",j,false)}else{if(typeof G.attachEvent!=Z){G.attachEvent("onload",j)}else{if(typeof G.onload=="function"){var i=G.onload;G.onload=function(){i();j()}}else{G.onload=j}}}}}function I(){var l=H.length;for(var j=0;j<l;j++){var m=H[j].id;if(a.pv[0]>0){var k=c(m);if(k){H[j].width=k.getAttribute("width")?k.getAttribute("width"):"0";H[j].height=k.getAttribute("height")?k.getAttribute("height"):"0";if(O(H[j].swfVersion)){if(a.webkit&&a.webkit<312){U(k)}X(m,true)}else{if(H[j].expressInstall&&!C&&O("6.0.65")&&(a.win||a.mac)){D(H[j])}else{d(k)}}}}else{X(m,true)}}}function U(m){var k=m.getElementsByTagName(P)[0];if(k){var p=Y("embed"),r=k.attributes;if(r){var o=r.length;for(var n=0;n<o;n++){if(r[n].nodeName.toLowerCase()=="data"){p.setAttribute("src",r[n].nodeValue)}else{p.setAttribute(r[n].nodeName,r[n].nodeValue)}}}var q=k.childNodes;if(q){var s=q.length;for(var l=0;l<s;l++){if(q[l].nodeType==1&&q[l].nodeName.toLowerCase()=="param"){p.setAttribute(q[l].getAttribute("name"),q[l].getAttribute("value"))}}}m.parentNode.replaceChild(p,m)}}function F(i){if(a.ie&&a.win&&O("8.0.0")){G.attachEvent("onunload",function(){var k=c(i);if(k){for(var j in k){if(typeof k[j]=="function"){k[j]=function(){}}}k.parentNode.removeChild(k)}})}}function D(j){C=true;var o=c(j.id);if(o){if(j.altContentId){var l=c(j.altContentId);if(l){L=l;T=j.altContentId}}else{L=b(o)}if(!(/%$/.test(j.width))&&parseInt(j.width,10)<310){j.width="310"}if(!(/%$/.test(j.height))&&parseInt(j.height,10)<137){j.height="137"}g.title=g.title.slice(0,47)+" - Flash Player Installation";var n=a.ie&&a.win?"ActiveX":"PlugIn",k=g.title,m="MMredirectURL="+G.location+"&MMplayerType="+n+"&MMdoctitle="+k,p=j.id;if(a.ie&&a.win&&o.readyState!=4){var i=Y("div");p+="SWFObjectNew";i.setAttribute("id",p);o.parentNode.insertBefore(i,o);o.style.display="none";G.attachEvent("onload",function(){o.parentNode.removeChild(o)})}R({data:j.expressInstall,id:K,width:j.width,height:j.height},{flashvars:m},p)}}function d(j){if(a.ie&&a.win&&j.readyState!=4){var i=Y("div");j.parentNode.insertBefore(i,j);i.parentNode.replaceChild(b(j),i);j.style.display="none";G.attachEvent("onload",function(){j.parentNode.removeChild(j)})}else{j.parentNode.replaceChild(b(j),j)}}function b(n){var m=Y("div");if(a.win&&a.ie){m.innerHTML=n.innerHTML}else{var k=n.getElementsByTagName(P)[0];if(k){var o=k.childNodes;if(o){var j=o.length;for(var l=0;l<j;l++){if(!(o[l].nodeType==1&&o[l].nodeName.toLowerCase()=="param")&&!(o[l].nodeType==8)){m.appendChild(o[l].cloneNode(true))}}}}}return m}function R(AE,AC,q){var p,t=c(q);if(typeof AE.id==Z){AE.id=q}if(a.ie&&a.win){var AD="";for(var z in AE){if(AE[z]!=Object.prototype[z]){if(z=="data"){AC.movie=AE[z]}else{if(z.toLowerCase()=="styleclass"){AD+=' class="'+AE[z]+'"'}else{if(z!="classid"){AD+=" "+z+'="'+AE[z]+'"'}}}}}var AB="";for(var y in AC){if(AC[y]!=Object.prototype[y]){AB+='<param name="'+y+'" value="'+AC[y]+'" />'}}t.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'+AD+">"+AB+"</object>";F(AE.id);p=c(AE.id)}else{if(a.webkit&&a.webkit<312){var AA=Y("embed");AA.setAttribute("type",W);for(var x in AE){if(AE[x]!=Object.prototype[x]){if(x=="data"){AA.setAttribute("src",AE[x])}else{if(x.toLowerCase()=="styleclass"){AA.setAttribute("class",AE[x])}else{if(x!="classid"){AA.setAttribute(x,AE[x])}}}}}for(var w in AC){if(AC[w]!=Object.prototype[w]){if(w!="movie"){AA.setAttribute(w,AC[w])}}}t.parentNode.replaceChild(AA,t);p=AA}else{var s=Y(P);s.setAttribute("type",W);for(var v in AE){if(AE[v]!=Object.prototype[v]){if(v.toLowerCase()=="styleclass"){s.setAttribute("class",AE[v])}else{if(v!="classid"){s.setAttribute(v,AE[v])}}}}for(var u in AC){if(AC[u]!=Object.prototype[u]&&u!="movie"){E(s,u,AC[u])}}t.parentNode.replaceChild(s,t);p=s}}return p}function E(k,i,j){var l=Y("param");l.setAttribute("name",i);l.setAttribute("value",j);k.appendChild(l)}function c(i){return g.getElementById(i)}function Y(i){return g.createElement(i)}function O(k){var j=a.pv,i=k.split(".");i[0]=parseInt(i[0],10);i[1]=parseInt(i[1],10);i[2]=parseInt(i[2],10);return(j[0]>i[0]||(j[0]==i[0]&&j[1]>i[1])||(j[0]==i[0]&&j[1]==i[1]&&j[2]>=i[2]))?true:false}function A(m,j){if(a.ie&&a.mac){return }var l=g.getElementsByTagName("head")[0],k=Y("style");k.setAttribute("type","text/css");k.setAttribute("media","screen");if(!(a.ie&&a.win)&&typeof g.createTextNode!=Z){k.appendChild(g.createTextNode(m+" {"+j+"}"))}l.appendChild(k);if(a.ie&&a.win&&typeof g.styleSheets!=Z&&g.styleSheets.length>0){var i=g.styleSheets[g.styleSheets.length-1];if(typeof i.addRule==P){i.addRule(m,j)}}}function X(k,i){var j=i?"visible":"hidden";if(S){c(k).style.visibility=j}else{A("#"+k,"visibility:"+j)}}return{registerObject:function(l,i,k){if(!a.w3cdom||!l||!i){return }var j={};j.id=l;j.swfVersion=i;j.expressInstall=k?k:false;H[H.length]=j;X(l,false)},getObjectById:function(l){var i=null;if(a.w3cdom&&S){var j=c(l);if(j){var k=j.getElementsByTagName(P)[0];if(!k||(k&&typeof j.SetVariable!=Z)){i=j}else{if(typeof k.SetVariable!=Z){i=k}}}}return i},embedSWF:function(n,u,r,t,j,m,k,p,s){if(!a.w3cdom||!n||!u||!r||!t||!j){return }r+="";t+="";if(O(j)){X(u,false);var q=(typeof s==P)?s:{};q.data=n;q.width=r;q.height=t;var o=(typeof p==P)?p:{};if(typeof k==P){for(var l in k){if(k[l]!=Object.prototype[l]){if(typeof o.flashvars!=Z){o.flashvars+="&"+l+"="+k[l]}else{o.flashvars=l+"="+k[l]}}}}J(function(){R(q,o,u);if(q.id==u){X(u,true)}})}else{if(m&&!C&&O("6.0.65")&&(a.win||a.mac)){X(u,false);J(function(){var i={};i.id=i.altContentId=u;i.width=r;i.height=t;i.expressInstall=m;D(i)})}}},getFlashPlayerVersion:function(){return{major:a.pv[0],minor:a.pv[1],release:a.pv[2]}},hasFlashPlayerVersion:O,createSWF:function(k,j,i){if(a.w3cdom&&S){return R(k,j,i)}else{return undefined}},createCSS:function(j,i){if(a.w3cdom){A(j,i)}},addDomLoadEvent:J,addLoadEvent:M,getQueryParamValue:function(m){var l=g.location.search||g.location.hash;if(m==null){return l}if(l){var k=l.substring(1).split("&");for(var j=0;j<k.length;j++){if(k[j].substring(0,k[j].indexOf("="))==m){return k[j].substring((k[j].indexOf("=")+1))}}}return""},expressInstallCallback:function(){if(C&&L){var i=c(K);if(i){i.parentNode.replaceChild(L,i);if(T){X(T,true);if(a.ie&&a.win){L.style.display="block"}}L=null;T=null;C=false}}}}}();
|
data/bin/emergent
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'rubygems'
|
4
|
+
require 'rubigen'
|
5
|
+
|
6
|
+
if %w(-v --version).include? ARGV.first
|
7
|
+
require 'emergent_core/version'
|
8
|
+
puts "#{File.basename($0)} #{EmergentCore::VERSION}"
|
9
|
+
exit(0)
|
10
|
+
end
|
11
|
+
|
12
|
+
require 'rubigen/scripts/generate'
|
13
|
+
source = RubiGen::PathSource.new(:application,
|
14
|
+
File.join(File.dirname(__FILE__), "../app_generators"))
|
15
|
+
RubiGen::Base.reset_sources
|
16
|
+
RubiGen::Base.append_sources source
|
17
|
+
RubiGen::Scripts::Generate.new.run(ARGV, :generator => 'emergent_core')
|
@@ -0,0 +1,49 @@
|
|
1
|
+
|
2
|
+
module EmergentCore
|
3
|
+
|
4
|
+
# :stopdoc:
|
5
|
+
VERSION = '0.1.0'
|
6
|
+
LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR
|
7
|
+
PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR
|
8
|
+
# :startdoc:
|
9
|
+
|
10
|
+
# Returns the version string for the library.
|
11
|
+
#
|
12
|
+
def self.version
|
13
|
+
VERSION
|
14
|
+
end
|
15
|
+
|
16
|
+
# Returns the library path for the module. If any arguments are given,
|
17
|
+
# they will be joined to the end of the libray path using
|
18
|
+
# <tt>File.join</tt>.
|
19
|
+
#
|
20
|
+
def self.libpath( *args )
|
21
|
+
args.empty? ? LIBPATH : ::File.join(LIBPATH, args.flatten)
|
22
|
+
end
|
23
|
+
|
24
|
+
# Returns the lpath for the module. If any arguments are given,
|
25
|
+
# they will be joined to the end of the path using
|
26
|
+
# <tt>File.join</tt>.
|
27
|
+
#
|
28
|
+
def self.path( *args )
|
29
|
+
args.empty? ? PATH : ::File.join(PATH, args.flatten)
|
30
|
+
end
|
31
|
+
|
32
|
+
# Utility method used to require all files ending in .rb that lie in the
|
33
|
+
# directory below this file that has the same name as the filename passed
|
34
|
+
# in. Optionally, a specific _directory_ name can be passed in such that
|
35
|
+
# the _filename_ does not have to be equivalent to the directory.
|
36
|
+
#
|
37
|
+
def self.require_all_libs_relative_to( fname, dir = nil )
|
38
|
+
dir ||= ::File.basename(fname, '.*')
|
39
|
+
search_me = ::File.expand_path(
|
40
|
+
::File.join(::File.dirname(fname), dir, '**', '*.rb'))
|
41
|
+
|
42
|
+
Dir.glob(search_me).sort.each {|rb| require rb}
|
43
|
+
end
|
44
|
+
|
45
|
+
end # module EmergentCore
|
46
|
+
|
47
|
+
EmergentCore.require_all_libs_relative_to(__FILE__)
|
48
|
+
|
49
|
+
# EOF
|