fat_free_crm 0.20.0 → 0.20.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of fat_free_crm might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a4b6418c618ec04984f8f8261e3121e915b57ce2b55c5787d3393a8acb47adb9
4
- data.tar.gz: 362ffdc71d5d01450d0475758f794972ec77dc79755f92196f4f72917e789798
3
+ metadata.gz: 26e241b45f779ee875eb701d10c70901d668019ef6da6651759db4bef10ba182
4
+ data.tar.gz: 0c951a98a80a1bd602da427bf594a00f416665a0c5951bf2a28ce35aafc2e404
5
5
  SHA512:
6
- metadata.gz: 3a467bdd68e941d5c426a69fd07260ec11631163a8306c2d1b524fdd2c0e0f7f2d48ee78e2ad89e773010e2b0b17f386f90fe67f9388330bb07e53aba02344d0
7
- data.tar.gz: 21943a700b302f3eb2f6544ebcba0ae6e70e50ecec337f94531f08ae16522c6d6d3cd49bf315f83963b597997ed7de38c11c17ace76495e346fed0b6a3f3f8a4
6
+ metadata.gz: 7c9f099f4bc93c7cc0f03a848d1696af6a11f5a342b240fbc5db9c2235807d23288598009dbfc194f659b5a755b40a04c3899faaef03bbdf4b323180a411d1ec
7
+ data.tar.gz: fc891f7bebe7f19738a708aa439f3aa48300f59b27d8a4707a76bde3733a8e87841d0773cb9674ff9f09d6200482cf389b5a4114e5afdf1543ac2b15ac8b9666
@@ -188,6 +188,7 @@ class Task < ActiveRecord::Base
188
188
  #----------------------------------------------------------------------------
189
189
  def self.bucket_empty?(bucket, user, view = "pending")
190
190
  return false if bucket.blank? || !ALLOWED_VIEWS.include?(view)
191
+ return false unless Setting.task_bucket.map(&:to_s).include?(bucket.to_s)
191
192
 
192
193
  if view == "assigned"
193
194
  assigned_by(user).send(bucket).pending.count
@@ -9,7 +9,7 @@ module FatFreeCRM
9
9
  module VERSION #:nodoc:
10
10
  MAJOR = 0
11
11
  MINOR = 20
12
- TINY = 0
12
+ TINY = 1
13
13
  PRE = nil
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fat_free_crm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.20.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Dvorkin
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2021-10-04 00:00:00.000000000 Z
13
+ date: 2022-10-07 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -1568,7 +1568,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1568
1568
  - !ruby/object:Gem::Version
1569
1569
  version: '0'
1570
1570
  requirements: []
1571
- rubygems_version: 3.1.2
1571
+ rubygems_version: 3.2.27
1572
1572
  signing_key:
1573
1573
  specification_version: 4
1574
1574
  summary: Fat Free CRM