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

test_redmine_vz

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

test_redmine_vz

  • 0.0.24
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

RedmineCrm

Gem include next functional for Redmine plugins:

  • rcrm_acts_as_taggable
  • rcrm_acts_as_votable
  • rcrm_acts_as_viewable

Installation

Add this line to your application's Gemfile:

gem "redmine_crm"

And then execute:

$ bundle

Or install it yourself as:

$ gem install redmine_crm

Create migration with next code:

  require 'redmine_crm/rcrm_acts_as_taggable'

  def self.up
    ActiveRecord::Base.create_taggable_table
  end

  def self.down
    ActiveRecord::Base.drop_taggable_table
  end
end

For rcrm_acts_as_viewed You may add column for your model with help:


YourModel.add_viewings_columns

It will add two column to your table (views and total_views) and view_count will return two number: total view and unique views. Without this migration you will get only unique views.

Run migration for plugin:

rake redmine:plugins:migrate

Usage

Add to model

  rcrm_acts_as_taggable
  rcrm_acts_as_votable

Run test

  rake test

For test for mysql set enviroment variable DB to value 'mysql' and run test.

FAQs

Package last updated on 05 Jan 2017

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