proactive_support 0.0.6 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/Gemfile.lock +1 -1
- data/app/models/proactive_support/flag.rb +3 -0
- data/app/models/proactive_support/note.rb +3 -0
- data/lib/proactive_support/mgmt/flags.rb +1 -1
- data/lib/proactive_support/version.rb +1 -1
- data/proactive_support.gemspec +0 -1
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
NjhhMWIwNzUxMGY5ZGZkYzdjODZlNGY3Y2IwMzM3YjVkMjJiOGI4Yg==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
YjVhMGFhNmVhNzk1ZTkwZGFkNmU0OGFjNThiYWRkNzY1ZTU2MDhhMg==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
YWNiM2RkN2JlYWMxYmYxODZhNzc0NmUwZjcyYjkwNWE3MzMxYThiNWJlNWRm
|
10
|
+
ZDEwOTVjOTFmNDkzMzlhNjUyYzAxZjRlOTI5MjkwZTQ1MTNlODY3MDBjYWU1
|
11
|
+
M2U1NjU2ZDM4MzdiZGQ2OWQ0M2MzZTY0YWE0MTE3ZmNhZTBhNDY=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
MmFhOGQ5NmM0NTQxMzYxZjI5MTQwZTRkY2MxZWJlZWUyOTlkNzhmNDA3MzQw
|
14
|
+
N2U4ODZlZWMxZWFkODIxY2NmNDUyNWQ4MzI1Yjg4ZGM1NDZkY2JmNTNlZjZh
|
15
|
+
NGRiZjlmMzI1NzVjYzJlNDY2NjM5YzIwODc4MGYxZmJmMjljMjc=
|
data/Gemfile.lock
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
module ProactiveSupport
|
2
2
|
class Flag < ::ActiveRecord::Base
|
3
|
+
# Remove this when all models are protected and protection is globally set
|
4
|
+
include ActiveModel::ForbiddenAttributesProtection
|
5
|
+
|
3
6
|
self.table_name = 'proactive_support_flags' # Needed for activerecord-jdbc-adapter
|
4
7
|
|
5
8
|
belongs_to :customer
|
@@ -1,5 +1,8 @@
|
|
1
1
|
module ProactiveSupport
|
2
2
|
class Note < ::ActiveRecord::Base
|
3
|
+
# Remove this when all models are protected and protection is globally set
|
4
|
+
include ActiveModel::ForbiddenAttributesProtection
|
5
|
+
|
3
6
|
self.table_name = 'proactive_support_notes' # Needed for activerecord-jdbc-adapter
|
4
7
|
|
5
8
|
belongs_to :customer
|
@@ -5,7 +5,7 @@ module ProactiveSupport
|
|
5
5
|
def set(customer_id, source, identifier, filter, message, options = {})
|
6
6
|
digest = to_digest source, identifier, filter
|
7
7
|
|
8
|
-
::ProactiveSupport::Flag.
|
8
|
+
::ProactiveSupport::Flag.where(customer_id: customer_id, digest: digest).first_or_initialize.tap do |f|
|
9
9
|
f.source = source
|
10
10
|
f.identifier = identifier
|
11
11
|
f.filter = clean_object filter
|
data/proactive_support.gemspec
CHANGED
@@ -4,7 +4,6 @@ require 'proactive_support/version'
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = 'proactive_support'
|
6
6
|
s.version = ProactiveSupport::VERSION
|
7
|
-
s.date = '2016-05-03'
|
8
7
|
s.authors = ['Steve Frank']
|
9
8
|
s.email = %w(steve@cloudhealthtech.com)
|
10
9
|
s.homepage = 'https://github.com/CloudHealth/proactive_support/wiki'
|
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: proactive_support
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Frank
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ! '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '3'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ! '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: sqlite3
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ! '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ! '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
description: Proactive Support module.
|
@@ -45,8 +45,8 @@ executables: []
|
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
-
-
|
49
|
-
-
|
48
|
+
- .gitignore
|
49
|
+
- .ruby-gemset
|
50
50
|
- Gemfile
|
51
51
|
- Gemfile.lock
|
52
52
|
- MIT-LICENSE
|
@@ -129,17 +129,17 @@ require_paths:
|
|
129
129
|
- lib
|
130
130
|
required_ruby_version: !ruby/object:Gem::Requirement
|
131
131
|
requirements:
|
132
|
-
- -
|
132
|
+
- - ! '>='
|
133
133
|
- !ruby/object:Gem::Version
|
134
134
|
version: '0'
|
135
135
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
136
136
|
requirements:
|
137
|
-
- -
|
137
|
+
- - ! '>='
|
138
138
|
- !ruby/object:Gem::Version
|
139
139
|
version: '0'
|
140
140
|
requirements: []
|
141
141
|
rubyforge_project:
|
142
|
-
rubygems_version: 2.
|
142
|
+
rubygems_version: 2.6.11
|
143
143
|
signing_key:
|
144
144
|
specification_version: 4
|
145
145
|
summary: Proactive Support module.
|