fanforce-plugin-factory 2.0.0.rc3 → 2.0.0.rc5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +5 -13
  2. data/.ruby-version +1 -1
  3. data/Gemfile +2 -0
  4. data/README.md +1 -1
  5. data/fanforce-plugin-factory.gemspec +16 -16
  6. data/lib/fanforce/plugin_factory/Rakefile +2 -0
  7. data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/_directives.scss +1 -0
  8. data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/directives/campaign-added/_campaign-added.coffee +21 -0
  9. data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/directives/campaign-added/_campaign-added.scss +15 -0
  10. data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/directives/initiative-added/_initiative-added.coffee +1 -1
  11. data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/directives/page/_page.scss +1 -1
  12. data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/vendors/cross-dresser.js +698 -0
  13. data/lib/fanforce/plugin_factory/core_config.rb +31 -14
  14. data/lib/fanforce/plugin_factory/directive_views/campaign-added.haml +13 -0
  15. data/lib/fanforce/plugin_factory/directive_views/initiative-added.haml +3 -3
  16. data/lib/fanforce/plugin_factory/scaffolding/._Gemfile.registry +2 -0
  17. data/lib/fanforce/plugin_factory/scaffolding/Gemfile +1 -1
  18. data/lib/fanforce/plugin_factory/scaffolding/assets/css/._fembedded.scss.registry +3 -0
  19. data/lib/fanforce/plugin_factory/scaffolding/assets/css/._fembedded_native.scss.registry +2 -0
  20. data/lib/fanforce/plugin_factory/scaffolding/assets/css/fembedded.scss +3 -4
  21. data/lib/fanforce/plugin_factory/scaffolding/assets/css/fembedded_native.scss +3 -3
  22. data/lib/fanforce/plugin_factory/scaffolding/assets/js/._app-fembedded.coffee.registry +2 -0
  23. data/lib/fanforce/plugin_factory/scaffolding/assets/js/._fembedded.js.registry +2 -0
  24. data/lib/fanforce/plugin_factory/scaffolding/assets/js/app-fembedded.coffee +11 -0
  25. data/lib/fanforce/plugin_factory/scaffolding/assets/js/lib/._cookie.coffee.registry +1 -0
  26. data/lib/fanforce/plugin_factory/scaffolding/assets/js/lib/cookie.coffee +1 -1
  27. data/lib/fanforce/plugin_factory/scaffolding/layouts/._fembedded.haml.registry +7 -0
  28. data/lib/fanforce/plugin_factory/scaffolding/layouts/._fembedded_native.haml.registry +2 -0
  29. data/lib/fanforce/plugin_factory/scaffolding/layouts/._promotional.haml.registry +2 -0
  30. data/lib/fanforce/plugin_factory/scaffolding/layouts/._visitor.haml.registry +1 -0
  31. data/lib/fanforce/plugin_factory/scaffolding/layouts/fembedded.haml +12 -9
  32. data/lib/fanforce/plugin_factory/scaffolding/layouts/fembedded_native.haml +3 -1
  33. data/lib/fanforce/plugin_factory/scaffolding/layouts/promotional.haml +5 -6
  34. data/lib/fanforce/plugin_factory/scaffolding/layouts/visitor.haml +22 -20
  35. data/lib/fanforce/plugin_factory/scaffolding/views/._cross-dresser.html.registry +2 -0
  36. data/lib/fanforce/plugin_factory/scaffolding/views/._index.haml.registry +1 -0
  37. data/lib/fanforce/plugin_factory/scaffolding/views/cross-dresser.html +26 -0
  38. data/lib/fanforce/plugin_factory/scaffolding/views/index.haml +3 -2
  39. data/lib/fanforce/plugin_factory/sinatra/_load.rb +25 -7
  40. data/lib/fanforce/plugin_factory/sinatra/helpers/fanforce.rb +2 -1
  41. data/lib/fanforce/plugin_factory/sinatra/route_helpers/base.rb +13 -0
  42. data/lib/fanforce/plugin_factory/sinatra/route_helpers/com_campaign.rb +7 -0
  43. data/lib/fanforce/plugin_factory/sinatra/route_helpers/com_database.rb +11 -0
  44. data/lib/fanforce/plugin_factory/sinatra/{helper_routes → route_helpers}/com_identifier.rb +0 -0
  45. data/lib/fanforce/plugin_factory/sinatra/{helper_routes → route_helpers}/com_initiative.rb +6 -3
  46. data/lib/fanforce/plugin_factory/sinatra/{helper_routes → route_helpers}/com_js_widget.rb +0 -0
  47. data/lib/fanforce/plugin_factory/sinatra/{helper_routes → route_helpers}/plugin.rb +1 -1
  48. data/lib/fanforce/plugin_factory/version.rb +1 -1
  49. metadata +131 -110
  50. data/lib/fanforce/plugin_factory/sinatra/helper_routes/com_campaign.rb +0 -11
  51. data/lib/fanforce/plugin_factory/sinatra/helper_routes/com_database.rb +0 -11
@@ -1,11 +0,0 @@
1
- class Fanforce::Plugin::Sinatra
2
-
3
- def route_add_campaign_ui
4
- page :add_campaign, :layout => :fembedded, com_dir: params[:com_campaign_shortid]
5
- end
6
-
7
- def route_view_campaign_ui
8
- page :view_campaign, :layout => :fembedded, com_dir: params[:com_campaign_shortid]
9
- end
10
-
11
- end
@@ -1,11 +0,0 @@
1
- class Fanforce::Plugin::Sinatra
2
-
3
- def route_add_database_ui
4
- page :add_database, :layout => :fembedded, com_dir: params[:com_initiative_shortid]
5
- end
6
-
7
- def route_view_profile_ui
8
- page :view_profile, :layout => :fembedded, com_dir: params[:com_initiative_shortid]
9
- end
10
-
11
- end