New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

activityutils

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

activityutils

  • 0.1.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

activityutils

activityutils gems - activity (timeline) utilities

  • home :: github.com/rubycoco/activityutils
  • bugs :: github.com/rubycoco/activityutils/issues
  • gem :: rubygems.org/gems/activityutils
  • rdoc :: rubydoc.info/gems/activityutils

Usage

TBD

Alternatives

Database Schemas

create_table :activity_engine_activities do |t|
  t.integer :user_id
  t.string  :subject_type,  index: true, null: false
  t.string  :subject_id,    index: true, null: false
  t.string  :activity_type, index: true, null: false
  t.text    :message
  t.timestamps
end

(source: ndlib/activity_engine)

create_table :activities do |t|
  t.integer  :user_id, :limit => 10
  t.string   :action,  :limit => 50
  t.integer  :item_id, :limit => 10
  t.string   :item_type
  t.datetime :created_at
end

(source: bborn/communityengine)

create_table :activities do |t|
  t.references :user # who performed the activity
  t.boolean    :public,   :default => true
  t.integer    :item_id   # which item was the activity performed on
  t.string     :item_type # what type of item was it (photo, user, blog_post, etc)
  t.string     :action    # what action was performed on the item (create, destroy, update, etc)
  t.timestamps
end

(source: timothyf/EngineY)

create_table :activities do |t|
  t.integer :person_id
  t.boolean :public
  t.integer :item_id
  t.string  :item_type
  t.timestamps
end

(source: insoshi/insoshi)

create_table :activities do |t|
  t.belongs_to :trackable, :polymorphic => true
  t.belongs_to :owner,     :polymorphic => true
  t.string     :key
  t.text       :parameters
  t.belongs_to :recipient, :polymorphic => true
  t.timestamps
end

(source: pokonski/public_activity)

create_table :activity_logs do |t|
  t.integer :user_id
  t.integer :loggable_id
  t.string :loggable_type
  t.string :action
  t.integer :parent_activity_id
  t.string :action_type
  t.text :data
  t.timestamps
end

(source: JonErikDSuero/activitylog)

TBD

License

The activityutils scripts are dedicated to the public domain. Use it as you please with no restrictions whatsoever.

FAQs

Package last updated on 01 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc