mil-ims-lti 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/ims/lti/outcome_response.rb +4 -0
  2. metadata +1 -1
@@ -105,6 +105,10 @@ module IMS::LTI
105
105
 
106
106
  # Parse Outcome Response data from XML
107
107
  def process_xml(xml)
108
+ if xml.include?('#<UUID:0x') # Blackboard bug!
109
+ m_id = xml.match('#<UUID:(\w+)>')[1].hex.to_i
110
+ xml = xml.sub(/#<UUID:\w+>/, m_id.to_s)
111
+ end
108
112
  doc = REXML::Document.new xml
109
113
  @message_identifier = doc.text('//imsx_statusInfo/imsx_messageIdentifier')
110
114
  @message_identifier = doc.text('//imsx_messageIdentifier') if @message_identifier.nil?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mil-ims-lti
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: