bridge_cache 0.3.8 → 0.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/bridge_cache/domain.rb +4 -0
- data/app/models/bridge_cache/enrollment.rb +4 -0
- data/app/models/bridge_cache/group_enrollment.rb +4 -0
- data/app/models/bridge_cache/host.rb +4 -0
- data/app/models/bridge_cache/learner_custom_field_value.rb +4 -0
- data/app/models/bridge_cache/live_course_enrollment.rb +4 -0
- data/app/models/bridge_cache/live_course_session_registration.rb +4 -0
- data/app/models/bridge_cache/membership.rb +4 -0
- data/app/models/bridge_cache/program.rb +4 -0
- data/app/models/bridge_cache/program_enrollment.rb +4 -0
- data/app/models/bridge_cache/program_group_enrollment.rb +4 -0
- data/app/models/bridge_cache/program_item.rb +4 -0
- data/app/models/bridge_cache/tag.rb +4 -0
- data/app/models/bridge_cache/tagging.rb +4 -0
- data/lib/bridge_cache/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c72bca5257f6a4eebe2e1c1d507d382101e4aa3
|
4
|
+
data.tar.gz: 72213c5b29bb59dd3c56afb8de76c4c91b3fd817
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a490a4acd6aeae5602a40c89787345bd6d44b967d8d0f992ae7c8e42fc142b7f541aac9b6bacccfcdd69f3e0437d444cdbb223e7c5a961daea1fa5554afad80d
|
7
|
+
data.tar.gz: 9b1d72ddcff0e3040de42dc97bf11f2aeb95517feee7fab02da9291a010656b6304a5e46d10f64a0f8483be7c234384aae58964056cd299d8ac61a7bb82d44f5
|
@@ -8,5 +8,9 @@ module BridgeCache
|
|
8
8
|
|
9
9
|
belongs_to :user, foreign_key: :user_id, primary_key: BridgeCache.primary_key, class_name: BridgeCache::User.name, optional: true
|
10
10
|
belongs_to :course_template, foreign_key: :course_template_id, primary_key: BridgeCache.primary_key, class_name: BridgeCache::CourseTemplate.name, optional: true
|
11
|
+
|
12
|
+
def self.unique_column_names
|
13
|
+
%w[bridge_id]
|
14
|
+
end
|
11
15
|
end
|
12
16
|
end
|
@@ -8,5 +8,9 @@ module BridgeCache
|
|
8
8
|
|
9
9
|
belongs_to :group, foreign_key: :group_id, primary_key: BridgeCache.primary_key, class_name: BridgeCache::Group.name, optional: true
|
10
10
|
belongs_to :course_template, foreign_key: :course_template_id, primary_key: BridgeCache.primary_key, class_name: BridgeCache::CourseTemplate.name, optional: true
|
11
|
+
|
12
|
+
def self.unique_column_names
|
13
|
+
%w[bridge_id]
|
14
|
+
end
|
11
15
|
end
|
12
16
|
end
|
@@ -2,5 +2,9 @@ module BridgeCache
|
|
2
2
|
class Host < BridgeBaseModel
|
3
3
|
extend BridgeCache::Data::BridgeModel
|
4
4
|
belongs_to :domain, foreign_key: :domain_id, primary_key: BridgeCache.primary_key, class_name: 'BridgeCache::Domain', optional: true
|
5
|
+
|
6
|
+
def self.unique_column_names
|
7
|
+
%w[bridge_id]
|
8
|
+
end
|
5
9
|
end
|
6
10
|
end
|
@@ -8,5 +8,9 @@ module BridgeCache
|
|
8
8
|
|
9
9
|
belongs_to :user, foreign_key: :user_id, primary_key: BridgeCache.primary_key, class_name: BridgeCache::User.name, optional: true
|
10
10
|
belongs_to :custom_field, foreign_key: :custom_field_id, primary_key: BridgeCache.primary_key, class_name: BridgeCache::CustomField.name, optional: true
|
11
|
+
|
12
|
+
def self.unique_column_names
|
13
|
+
%w[bridge_id]
|
14
|
+
end
|
11
15
|
end
|
12
16
|
end
|
@@ -9,5 +9,9 @@ module BridgeCache
|
|
9
9
|
belongs_to :user, foreign_key: :user_id, primary_key: BridgeCache.primary_key, class_name: BridgeCache::User.name, optional: true
|
10
10
|
belongs_to :live_course, foreign_key: :live_course_id, primary_key: BridgeCache.primary_key, class_name: BridgeCache::LiveCourse.name, optional: true
|
11
11
|
has_many :live_course_session_registrations, foreign_key: :live_course_enrollment_id, primary_key: BridgeCache.primary_key, class_name: BridgeCache::LiveCourseSessionRegistration.name
|
12
|
+
|
13
|
+
def self.unique_column_names
|
14
|
+
%w[bridge_id]
|
15
|
+
end
|
12
16
|
end
|
13
17
|
end
|
@@ -10,5 +10,9 @@ module BridgeCache
|
|
10
10
|
belongs_to :domain, foreign_key: :domain_id, primary_key: BridgeCache.primary_key, class_name: BridgeCache::Domain.name, optional: true
|
11
11
|
belongs_to :live_course_enrollment, primary_key: BridgeCache.primary_key, class_name: BridgeCache::LiveCourseEnrollment.name, optional: true
|
12
12
|
belongs_to :live_course_session, primary_key: BridgeCache.primary_key, class_name: BridgeCache::LiveCourseSession.name, optional: true
|
13
|
+
|
14
|
+
def self.unique_column_names
|
15
|
+
%w[bridge_id]
|
16
|
+
end
|
13
17
|
end
|
14
18
|
end
|
@@ -4,5 +4,9 @@ module BridgeCache
|
|
4
4
|
|
5
5
|
belongs_to :group, foreign_key: :group_id, primary_key: BridgeCache.primary_key, class_name: BridgeCache::Group.name, optional: true
|
6
6
|
belongs_to :program, foreign_key: :program_id, primary_key: BridgeCache.primary_key, class_name: BridgeCache::Program.name, optional: true
|
7
|
+
|
8
|
+
def self.unique_column_names
|
9
|
+
%w[bridge_id]
|
10
|
+
end
|
7
11
|
end
|
8
12
|
end
|
data/lib/bridge_cache/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bridge_cache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jshaffer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord-import
|