lib/actv/asset.rb in actv-1.3.10 vs lib/actv/asset.rb in actv-1.3.11

- old
+ new

@@ -243,10 +243,14 @@ def activenet? self.sourceSystem[:legacyGuid].upcase == "FB27C928-54DB-4ECD-B42F-482FC3C8681F" rescue false end + def researched? + self.sourceSystem[:legacyGuid].upcase == "B47B0828-23ED-4D85-BDF0-B22819F53332" rescue false + end + def kids? kids_friendly_source_system? && kids_interest? end def registration_status @@ -397,10 +401,10 @@ interests = meta_interests.to_a.map(&:downcase) ['kids', 'family'].any? { |tag| interests.include? tag } end def kids_friendly_source_system? - activenet? || awcamps30? || articles_source? + activenet? || awcamps30? || articles_source? || researched? end def articles_source? # this guid is equal to the Active.com Articles self.sourceSystem.fetch(:legacyGuid, "").upcase == "CA4EA0B1-7377-470D-B20D-BF6BEA23F040"