activity_stream:无人维护-源码

上传者: 42148975 | 上传时间: 2021-06-07 20:03:28 | 文件大小: 109KB | 文件类型: ZIP
ActivityStream(早期 alpha) Activity Stream 提供了一个简单的 DSL 来定义、创建和检索用户活动。 安装 将其添加到您的 Gemfile 中: gem 'activity_stream' 运行生成器: script/generate activity_stream 并迁移数据库: rake db:migrate 用法 定义活动 在config/initializers/activity_stream.rb : Activity.define(:example_action) do metadata(:target, :default => :actor) metadata(:referrer) icon('example_activity_icon.png') end 扩展用户 在您的用户模型中: class User

文件下载

资源详情

[{"title":"( 79 个子文件 109KB ) activity_stream:无人维护-源码","children":[{"title":"activity_stream-master","children":[{"title":"generators","children":[{"title":"activity_stream","children":[{"title":"activity_stream_generator.rb <span style='color:#111;'> 949B </span>","children":null,"spread":false},{"title":"templates","children":[{"title":"user.rb <span style='color:#111;'> 73B </span>","children":null,"spread":false},{"title":"migration.rb <span style='color:#111;'> 560B </span>","children":null,"spread":false},{"title":"initializer.rb <span style='color:#111;'> 129B </span>","children":null,"spread":false}],"spread":true},{"title":"lib","children":[{"title":"insert_commands.rb <span style='color:#111;'> 890B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'> 109B </span>","children":null,"spread":false},{"title":"activity_stream.gemspec <span style='color:#111;'> 993B </span>","children":null,"spread":false},{"title":"rails","children":[{"title":"init.rb <span style='color:#111;'> 116B </span>","children":null,"spread":false}],"spread":true},{"title":"Gemfile <span style='color:#111;'> 158B </span>","children":null,"spread":false},{"title":".yardopts <span style='color:#111;'> 39B </span>","children":null,"spread":false},{"title":"Readme.md <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"Gemfile.lock <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"spec","children":[{"title":"integration","children":[{"title":"activity_model_spec.rb <span style='color:#111;'> 100B </span>","children":null,"spread":false}],"spread":true},{"title":"dummy","children":[{"title":"test","children":[{"title":"performance","children":[{"title":"browsing_test.rb <span style='color:#111;'> 225B </span>","children":null,"spread":false}],"spread":true},{"title":"test_helper.rb <span style='color:#111;'> 1.76KB </span>","children":null,"spread":false}],"spread":true},{"title":"public","children":[{"title":"500.html <span style='color:#111;'> 948B </span>","children":null,"spread":false},{"title":"robots.txt <span style='color:#111;'> 204B </span>","children":null,"spread":false},{"title":"javascripts","children":[{"title":"controls.js <span style='color:#111;'> 33.90KB </span>","children":null,"spread":false},{"title":"application.js <span style='color:#111;'> 148B </span>","children":null,"spread":false},{"title":"dragdrop.js <span style='color:#111;'> 30.37KB </span>","children":null,"spread":false},{"title":"effects.js <span style='color:#111;'> 37.77KB </span>","children":null,"spread":false},{"title":"prototype.js <span style='color:#111;'> 126.70KB </span>","children":null,"spread":false}],"spread":false},{"title":"422.html <span style='color:#111;'> 930B </span>","children":null,"spread":false},{"title":"images","children":[{"title":"rails.png <span style='color:#111;'> 6.49KB </span>","children":null,"spread":false}],"spread":false},{"title":"index.html <span style='color:#111;'> 7.29KB </span>","children":null,"spread":false},{"title":"404.html <span style='color:#111;'> 947B </span>","children":null,"spread":false},{"title":"favicon.ico <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"Gemfile <span style='color:#111;'> 124B </span>","children":null,"spread":false},{"title":"db","children":[{"title":"seeds.rb <span style='color:#111;'> 356B </span>","children":null,"spread":false},{"title":"migrate","children":[{"title":"20101101154941_create_activity_stream_tables.rb <span style='color:#111;'> 498B </span>","children":null,"spread":false}],"spread":false},{"title":"schema.rb <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false}],"spread":false},{"title":"app","children":[{"title":"models","children":[{"title":"user.rb <span style='color:#111;'> 73B </span>","children":null,"spread":false},{"title":"activities","children":[{"title":"example_activity.rb <span style='color:#111;'> 129B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"helpers","children":[{"title":"application_helper.rb <span style='color:#111;'> 115B </span>","children":null,"spread":false}],"spread":false},{"title":"controllers","children":[{"title":"application_controller.rb <span style='color:#111;'> 430B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"script","children":[{"title":"console <span style='color:#111;'> 104B </span>","children":null,"spread":false},{"title":"runner <span style='color:#111;'> 103B </span>","children":null,"spread":false},{"title":"about <span style='color:#111;'> 159B </span>","children":null,"spread":false},{"title":"performance","children":[{"title":"profiler <span style='color:#111;'> 120B </span>","children":null,"spread":false},{"title":"benchmarker <span style='color:#111;'> 123B </span>","children":null,"spread":false}],"spread":false},{"title":"server <span style='color:#111;'> 103B </span>","children":null,"spread":false},{"title":"generate <span style='color:#111;'> 105B </span>","children":null,"spread":false},{"title":"destroy <span style='color:#111;'> 104B </span>","children":null,"spread":false},{"title":"dbconsole <span style='color:#111;'> 106B </span>","children":null,"spread":false},{"title":"plugin <span style='color:#111;'> 103B </span>","children":null,"spread":false}],"spread":false},{"title":"Gemfile.lock <span style='color:#111;'> 703B </span>","children":null,"spread":false},{"title":"config","children":[{"title":"database.yml <span style='color:#111;'> 538B </span>","children":null,"spread":false},{"title":"environment.rb <span style='color:#111;'> 1.93KB </span>","children":null,"spread":false},{"title":"environments","children":[{"title":"test.rb <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"production.rb <span style='color:#111;'> 1011B </span>","children":null,"spread":false},{"title":"development.rb <span style='color:#111;'> 747B </span>","children":null,"spread":false}],"spread":false},{"title":"locales","children":[{"title":"en.yml <span style='color:#111;'> 212B </span>","children":null,"spread":false}],"spread":false},{"title":"boot.rb <span style='color:#111;'> 3.07KB </span>","children":null,"spread":false},{"title":"preinitializer.rb <span style='color:#111;'> 585B </span>","children":null,"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;'> 798B </span>","children":null,"spread":false},{"title":"mime_types.rb <span style='color:#111;'> 205B </span>","children":null,"spread":false},{"title":"new_rails_defaults.rb <span style='color:#111;'> 833B </span>","children":null,"spread":false},{"title":"cookie_verification_secret.rb <span style='color:#111;'> 505B </span>","children":null,"spread":false},{"title":"inflections.rb <span style='color:#111;'> 377B </span>","children":null,"spread":false}],"spread":false},{"title":"routes.rb <span style='color:#111;'> 1.87KB </span>","children":null,"spread":false}],"spread":false},{"title":"README <span style='color:#111;'> 9.78KB </span>","children":null,"spread":false},{"title":"Rakefile <span style='color:#111;'> 307B </span>","children":null,"spread":false}],"spread":true},{"title":"lib","children":[{"title":"metadata_spec.rb <span style='color:#111;'> 875B </span>","children":null,"spread":false},{"title":"stream_spec.rb <span style='color:#111;'> 130B </span>","children":null,"spread":false},{"title":"definition_spec.rb <span style='color:#111;'> 150B </span>","children":null,"spread":false},{"title":"actor_spec.rb <span style='color:#111;'> 63B </span>","children":null,"spread":false}],"spread":true},{"title":"spec_helper.rb <span style='color:#111;'> 773B </span>","children":null,"spread":false}],"spread":true},{"title":"lib","children":[{"title":"activity_stream.rb <span style='color:#111;'> 225B </span>","children":null,"spread":false},{"title":"activity_stream","children":[{"title":"activity.rb <span style='color:#111;'> 2.11KB </span>","children":null,"spread":false},{"title":"metadata.rb <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"activities_helper.rb <span style='color:#111;'> 395B </span>","children":null,"spread":false},{"title":"actor.rb <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false},{"title":"stream.rb <span style='color:#111;'> 997B </span>","children":null,"spread":false},{"title":"errors.rb <span style='color:#111;'> 446B </span>","children":null,"spread":false},{"title":"definition_proxy.rb <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"version.rb <span style='color:#111;'> 46B </span>","children":null,"spread":false},{"title":"definition.rb <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Rakefile <span style='color:#111;'> 212B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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