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 CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: c74357a7a3c9c78d6ace4c2b1ef86331e0e23a61
4
- data.tar.gz: 92150a75d70491e0d01da977eaf01821676a046c
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NjhhMWIwNzUxMGY5ZGZkYzdjODZlNGY3Y2IwMzM3YjVkMjJiOGI4Yg==
5
+ data.tar.gz: !binary |-
6
+ YjVhMGFhNmVhNzk1ZTkwZGFkNmU0OGFjNThiYWRkNzY1ZTU2MDhhMg==
5
7
  SHA512:
6
- metadata.gz: 432b143ced415cdb996a583b0fbb57e5b03a2398fd35499d55eb2a878cbd8854ee4392a87c5e5dddcc8ca649829d8ae21575ae10ceaea3e9dba0449b49c6f5ad
7
- data.tar.gz: 10e830928634423dbc835b6e2790ec151fc6186499f339ef9c47e32b63c1af5ccecca5f2457b2fe4fe338e3521f9497322ceb8c35628b1b180d430fa8e8b94e4
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,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- proactive_support (0.0.6)
4
+ proactive_support (0.0.8)
5
5
  activerecord (>= 3)
6
6
 
7
7
  GEM
@@ -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.find_or_initialize_by_customer_id_and_digest(customer_id, digest).tap do |f|
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
@@ -1,3 +1,3 @@
1
1
  module ProactiveSupport
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.8'
3
3
  end
@@ -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.6
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: 2016-05-03 00:00:00.000000000 Z
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
- - ".gitignore"
49
- - ".ruby-gemset"
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.4.8
142
+ rubygems_version: 2.6.11
143
143
  signing_key:
144
144
  specification_version: 4
145
145
  summary: Proactive Support module.