首页 开发技术 其它     /    mobylette:RubyonRails的移动请求处理-源码

mobylette:RubyonRails的移动请求处理-源码

上传者: weixin_42168230 | 上传时间:2018/1/8 4:30:26 | 文件大小:53KB | 文件类型:ZIP
mobylette:RubyonRails的移动请求处理-源码
Mobylette2.0+deprecatedtherespond_to_mobile_requestsmethod.Nowyoumustuse`includeMobylette::RespondToMobileRequests`instead.toconfigureit,seetheconfiguration.Alsostylesheetandjavascripthelperswereremoved.Mobylette1.6+onlysupportsRuby1.9.2+ForRuby1.8.7support,pleaseuseversion<1.6Mobylette这个gem通过将“mobile”格式添加到您的rails使用程序中来工作。
每当来自移动设备的请求发出时,如果您启用了控制器移动设备,则

文件下载

资源详情

[{"title":"(94个子文件53KB)mobylette:RubyonRails的移动请求处理-源码","children":[{"title":"mobylette-master","children":[{"title":".gitignore <span style='color:#111;'>139B</span>","children":null,"spread":false},{"title":".rspec <span style='color:#111;'>31B</span>","children":null,"spread":false},{"title":".travis.yml <span style='color:#111;'>122B</span>","children":null,"spread":false},{"title":"CHANGELOG.rdoc <span style='color:#111;'>3.16KB</span>","children":null,"spread":false},{"title":"mobylette.gemspec <span style='color:#111;'>790B</span>","children":null,"spread":false},{"title":"TODO.rdoc <span style='color:#111;'>9B</span>","children":null,"spread":false},{"title":"spec","children":[{"title":"dummy","children":[{"title":"app","children":[{"title":"mailers","children":[{"title":".gitkeep <span style='color:#111;'>0B</span>","children":null,"spread":false}],"spread":true},{"title":"assets","children":[{"title":"javascripts","children":[{"title":"force_fallback.js <span style='color:#111;'>147B</span>","children":null,"spread":false},{"title":"default_fallback.js <span style='color:#111;'>147B</span>","children":null,"spread":false},{"title":"skip_xhr_request.js <span style='color:#111;'>147B</span>","children":null,"spread":false},{"title":"application_mobile.js <span style='color:#111;'>426B</span>","children":null,"spread":false},{"title":"ignore_mobile_path.js <span style='color:#111;'>147B</span>","children":null,"spread":false},{"title":"view_path.js <span style='color:#111;'>147B</span>","children":null,"spread":false},{"title":"application.js <span style='color:#111;'>424B</span>","children":null,"spread":false},{"title":"fallbacks.js <span style='color:#111;'>147B</span>","children":null,"spread":false},{"title":"home.js <span style='color:#111;'>147B</span>","children":null,"spread":false},{"title":"desktop_only.js <span style='color:#111;'>147B</span>","children":null,"spread":false},{"title":"testing.js <span style='color:#111;'>147B</span>","children":null,"spread":false},{"title":"no_fallback.js <span style='color:#111;'>147B</span>","children":null,"spread":false}],"spread":false},{"title":"stylesheets","children":[{"title":"force_fallback.css <span style='color:#111;'>128B</span>","children":null,"spread":false},{"title":"application.css <span style='color:#111;'>368B</span>","children":null,"spread":false},{"title":"fallbacks.css <span style='color:#111;'>128B</span>","children":null,"spread":false},{"title":"home.css <span style='color:#111;'>128B</span>","children":null,"spread":false},{"title":"view_path.css <span style='color:#111;'>128B</span>","children":null,"spread":false},{"title":"default_fallback.css <span style='color:#111;'>128B</span>","children":null,"spread":false},{"title":"application_mobile.css <span style='color:#111;'>108B</span>","children":null,"spread":false},{"title":"ignore_mobile_path.css <span style='color:#111;'>128B</span>","children":null,"spread":false},{"title":"skip_xhr_request.css <span style='color:#111;'>128B</span>","children":null,"spread":false},{"title":"desktop_only.css <span style='color:#111;'>128B</span>","children":null,"spread":false},{"title":"testing.css <span style='color:#111;'>128B</span>","children":null,"spread":false},{"title":"no_fallback.css <span style='color:#111;'>128B</span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"models","children":[{"title":".gitkeep <span style='color:#111;'>0B</span>","children":null,"spread":false}],"spread":true},{"title":"helpers","children":[{"title":"testing_helper.rb <span style='color:#111;'>25B</span>","children":null,"spread":false},{"title":"skip_xhr_request_helper.rb <span style='color:#111;'>32B</span>","children":null,"spread":false},{"title":"no_fallback_helper.rb <span style='color:#111;'>28B</span>","children":null,"spread":false},{"title":"desktop_only_helper.rb <span style='color:#111;'>29B</span>","children":null,"spread":false},{"title":"fallbacks_helper.rb <span style='color:#111;'>27B</span>","children":null,"spread":false},{"title":"force_fallback_helper.rb <span style='color:#111;'>31B</span>","children":null,"spread":false},{"title":"default_fallback_helper.rb <span style='color:#111;'>33B</span>","children":null,"spread":false},{"title":"home_helper.rb <span style='color:#111;'>22B</span>","children":null,"spread":false},{"title":"application_helper.rb <span style='color:#111;'>29B</span>","children":null,"spread":false}],"spread":true},{"title":"views","children":[{"title":"layouts","children":[{"title":"application.html.erb <span style='color:#111;'>259B</span>","children":null,"spread":false},{"title":"application.mobile.erb <span style='color:#111;'>259B</span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"controllers","children":[{"title":"application_controller.rb <span style='color:#111;'>58B</span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"config.ru <span style='color:#111;'>155B</span>","children":null,"spread":false},{"title":"log","children":[{"title":".gitkeep <span style='color:#111;'>0B</span>","children":null,"spread":false}],"spread":true},{"title":"db","children":[{"title":"schema.rb <span style='color:#111;'>786B</span>","children":null,"spread":false}],"spread":true},{"title":"public","children":[{"title":"422.html <span style='color:#111;'>711B</span>","children":null,"spread":false},{"title":"favicon.ico <span style='color:#111;'>0B</span>","children":null,"spread":false},{"title":"500.html <span style='color:#111;'>728B</span>","children":null,"spread":false},{"title":"404.html <span style='color:#111;'>728B</span>","children":null,"spread":false}],"spread":true},{"title":"spec <span style='color:#111;'>10B</span>","children":null,"spread":false},{"title":"config","children":[{"title":"boot.rb <span style='color:#111;'>235B</span>","children":null,"spread":false},{"title":"database.yml <span style='color:#111;'>576B</span>","children":null,"spread":false},{"title":"routes.rb <span style='color:#111;'>839B</span>","children":null,"spread":false},{"title":"environments","children":[{"title":"production.rb <span style='color:#111;'>1.85KB</span>","children":null,"spread":false},{"title":"development.rb <span style='color:#111;'>1.17KB</span>","children":null,"spread":false},{"title":"test.rb <span style='color:#111;'>1.77KB</span>","children":null,"spread":false}],"spread":false},{"title":"environment.rb <span style='color:#111;'>149B</span>","children":null,"spread":false},{"title":"application.rb <span style='color:#111;'>1.76KB</span>","children":null,"spread":false},{"title":"locales","children":[{"title":"en.yml <span style='color:#111;'>214B</span>","children":null,"spread":false}],"spread":false},{"title":"initializers","children":[{"title":"backtrace_silencers.rb <span style='color:#111;'>404B</span>","children":null,"spread":false},{"title":"session_store.rb <span style='color:#111;'>410B</span>","children":null,"spread":false},{"title":"secret_token.rb <span style='color:#111;'>496B</span>","children":null,"spread":false},{"title":"wrap_parameters.rb <span style='color:#111;'>468B</span>","children":null,"spread":false},{"title":"mime_types.rb <span style='color:#111;'>205B</span>","children":null,"spread":false},{"title":"inflections.rb <span style='color:#111;'>376B</span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"script","children":[{"title":"rails <span style='color:#111;'>295B</span>","children":null,"spread":false}],"spread":false},{"title":"lib","children":[{"title":"assets","children":[{"title":".gitkeep <span style='color:#111;'>0B</span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"Rakefile <span style='color:#111;'>270B</span>","children":null,"spread":false}],"spread":true},{"title":"integration","children":[{"title":"navigation_spec.rb <span style='color:#111;'>167B</span>","children":null,"spread":false}],"spread":true},{"title":"mobylette_spec.rb <span style='color:#111;'>115B</span>","children":null,"spread":false},{"title":"spec_helper.rb <span style='color:#111;'>1.06KB</span>","children":null,"spread":false},{"title":"lib","children":[{"title":"resolvers","children":[{"title":"chained_fallback_resolver_spec.rb <span style='color:#111;'>2.17KB</span>","children":null,"spread":false}],"spread":true},{"title":"respond_to_mobile_requests","children":[{"title":"configuration_spec.rb <span style='color:#111;'>2.59KB</span>","children":null,"spread":false}],"spread":false},{"title":"respond_to_mobile_requests_spec.rb <span style='color:#111;'>10.37KB</span>","children":null,"spread":false},{"title":"devices_spec.rb <span style='color:#111;'>997B</span>","children":null,"spread":false}],"spread":true},{"title":"controllers","children":[{"title":"application_controller_spec.rb <span style='color:#111;'>1.03KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"config","children":[{"title":"initializers","children":[{"title":"responders.rb <span style='color:#111;'>73B</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.rdoc <span style='color:#111;'>8.05KB</span>","children":null,"spread":false},{"title":"lib","children":[{"title":"mobylette","children":[{"title":"helmet.rb <span style='color:#111;'>1.60KB</span>","children":null,"spread":false},{"title":"mobile_user_agents.rb <span style='color:#111;'>1.23KB</span>","children":null,"spread":false},{"title":"resolvers","children":[{"title":"chained_fallback_resolver.rb <span style='color:#111;'>2.20KB</span>","children":null,"spread":false}],"spread":false},{"title":"respond_to_mobile_requests.rb <span style='color:#111;'>8.32KB</span>","children":null,"spread":false},{"title":"devices.rb <span style='color:#111;'>1.09KB</span>","children":null,"spread":false},{"title":"version.rb <span style='color:#111;'>39B</span>","children":null,"spread":false},{"title":"railtie.rb <span style='color:#111;'>277B</span>","children":null,"spread":false}],"spread":true},{"title":"mobylette.rb <span style='color:#111;'>433B</span>","children":null,"spread":false},{"title":"tasks","children":[{"title":"mobylette_tasks.rake <span style='color:#111;'>87B</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".rvmrc <span style='color:#111;'>2.00KB</span>","children":null,"spread":false},{"title":"Gemfile <span style='color:#111;'>643B</span>","children":null,"spread":false},{"title":"MIT-LICENSE <span style='color:#111;'>1.03KB</span>","children":null,"spread":false},{"title":"Rakefile <span style='color:#111;'>611B</span>","children":null,"spread":false},{"title":"Gemfile.lock <span style='color:#111;'>2.41KB</span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明