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.
- checksums.yaml +5 -13
- data/.ruby-version +1 -1
- data/Gemfile +2 -0
- data/README.md +1 -1
- data/fanforce-plugin-factory.gemspec +16 -16
- data/lib/fanforce/plugin_factory/Rakefile +2 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/_directives.scss +1 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/directives/campaign-added/_campaign-added.coffee +21 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/directives/campaign-added/_campaign-added.scss +15 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/directives/initiative-added/_initiative-added.coffee +1 -1
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/directives/page/_page.scss +1 -1
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/vendors/cross-dresser.js +698 -0
- data/lib/fanforce/plugin_factory/core_config.rb +31 -14
- data/lib/fanforce/plugin_factory/directive_views/campaign-added.haml +13 -0
- data/lib/fanforce/plugin_factory/directive_views/initiative-added.haml +3 -3
- data/lib/fanforce/plugin_factory/scaffolding/._Gemfile.registry +2 -0
- data/lib/fanforce/plugin_factory/scaffolding/Gemfile +1 -1
- data/lib/fanforce/plugin_factory/scaffolding/assets/css/._fembedded.scss.registry +3 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/css/._fembedded_native.scss.registry +2 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/css/fembedded.scss +3 -4
- data/lib/fanforce/plugin_factory/scaffolding/assets/css/fembedded_native.scss +3 -3
- data/lib/fanforce/plugin_factory/scaffolding/assets/js/._app-fembedded.coffee.registry +2 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/js/._fembedded.js.registry +2 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/js/app-fembedded.coffee +11 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/js/lib/._cookie.coffee.registry +1 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/js/lib/cookie.coffee +1 -1
- data/lib/fanforce/plugin_factory/scaffolding/layouts/._fembedded.haml.registry +7 -0
- data/lib/fanforce/plugin_factory/scaffolding/layouts/._fembedded_native.haml.registry +2 -0
- data/lib/fanforce/plugin_factory/scaffolding/layouts/._promotional.haml.registry +2 -0
- data/lib/fanforce/plugin_factory/scaffolding/layouts/._visitor.haml.registry +1 -0
- data/lib/fanforce/plugin_factory/scaffolding/layouts/fembedded.haml +12 -9
- data/lib/fanforce/plugin_factory/scaffolding/layouts/fembedded_native.haml +3 -1
- data/lib/fanforce/plugin_factory/scaffolding/layouts/promotional.haml +5 -6
- data/lib/fanforce/plugin_factory/scaffolding/layouts/visitor.haml +22 -20
- data/lib/fanforce/plugin_factory/scaffolding/views/._cross-dresser.html.registry +2 -0
- data/lib/fanforce/plugin_factory/scaffolding/views/._index.haml.registry +1 -0
- data/lib/fanforce/plugin_factory/scaffolding/views/cross-dresser.html +26 -0
- data/lib/fanforce/plugin_factory/scaffolding/views/index.haml +3 -2
- data/lib/fanforce/plugin_factory/sinatra/_load.rb +25 -7
- data/lib/fanforce/plugin_factory/sinatra/helpers/fanforce.rb +2 -1
- data/lib/fanforce/plugin_factory/sinatra/route_helpers/base.rb +13 -0
- data/lib/fanforce/plugin_factory/sinatra/route_helpers/com_campaign.rb +7 -0
- data/lib/fanforce/plugin_factory/sinatra/route_helpers/com_database.rb +11 -0
- data/lib/fanforce/plugin_factory/sinatra/{helper_routes → route_helpers}/com_identifier.rb +0 -0
- data/lib/fanforce/plugin_factory/sinatra/{helper_routes → route_helpers}/com_initiative.rb +6 -3
- data/lib/fanforce/plugin_factory/sinatra/{helper_routes → route_helpers}/com_js_widget.rb +0 -0
- data/lib/fanforce/plugin_factory/sinatra/{helper_routes → route_helpers}/plugin.rb +1 -1
- data/lib/fanforce/plugin_factory/version.rb +1 -1
- metadata +131 -110
- data/lib/fanforce/plugin_factory/sinatra/helper_routes/com_campaign.rb +0 -11
- 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
|