ims-lti 2.0.0.beta.24 → 2.0.0.beta.25

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a141b93c1db01859d53a90b291a16a30d3e4246b
4
- data.tar.gz: c4ee32017b85bb0515bb3e6c959f3a6ce71f83bc
3
+ metadata.gz: e7be661227a40bbc075f590754434ee998839ca4
4
+ data.tar.gz: b24c28383d110639a7c364c7f861511db14e37bc
5
5
  SHA512:
6
- metadata.gz: fdf42e04d1d73ea680d707836616074947a0029fcced366f9615aa5344eb9c4b4719ba67cca7810295cb68f6ec6b313b8b0188ded3d1a65317fc998c87b7d8b7
7
- data.tar.gz: 80305bf0f10e63501dbbf75c992951b533f3049230ada4db87193135e1b61270b80d9c65a615b08efe37a5b7282aa4183ab4b815560883ce4ecd89f3fc0fe7c4
6
+ metadata.gz: 21ebec8d362ed86887dcbb6d460a3eea9e3521e336ed4ed75bf840126472393347ee67d4373270f32ac1df42ce384bd5eb261a9eb4effa2f98bfbf8993407565
7
+ data.tar.gz: 1325212a19043fbeb5434ea2cfdfd3c92eb45ff44a505633f0d0e34b9be7c22ffbd99ebf98b195f9579ac49de340b7fa04539cfc026b4270e7db3eb288b3ad5a
@@ -30,6 +30,7 @@ module IMS::LTI::Models
30
30
 
31
31
  def self.inherited(subclass)
32
32
  subclass.inherit_attributes(self.attributes)
33
+ super
33
34
  end
34
35
 
35
36
  def self.from_json(json)
@@ -169,7 +170,11 @@ module IMS::LTI::Models
169
170
  end
170
171
 
171
172
  def self.attributes
172
- @attributes || []
173
+ if self == LTIModel
174
+ @attributes || []
175
+ else
176
+ superclass.send(:attributes) | (@attributes || [])
177
+ end
173
178
  end
174
179
 
175
180
  def self.attributes=(attribs)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ims-lti
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.beta.24
4
+ version: 2.0.0.beta.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-28 00:00:00.000000000 Z
11
+ date: 2015-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simple_oauth