ims-lti 1.1.11 → 1.1.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 177c4ea5b3055097e90d1084a5baec191b757e33
4
- data.tar.gz: d1ccb4b705907d5dae36483790c6dde11b69f10e
3
+ metadata.gz: 3519a3ee6fb782c4ed97fcb89652c2011a3bb602
4
+ data.tar.gz: 495e959fd7bcddd71da5ead3ec88745109aae5c6
5
5
  SHA512:
6
- metadata.gz: 402474475e84e6275246ef66a07909d55ef082d5f6e72e73d192be0867253ca3816fac8d76ca15ee493a6cb5c4a46428e6f99091bf9b65534ec81645a0efe0dd
7
- data.tar.gz: dc6df9a3ef8aaa63cdc4514096169d67977dd45e754b77ac8857cfb042850a711dd27438f80edcb94187bdbdb7fffea2213e7b2fb859fadfb9638b7bdaf58687
6
+ metadata.gz: a046a0db9890831af84705ca31d11d409ee3095b58e56e1bfd1eb458163a9856fbbff51bd7738d87a776d97bc7a88fc74b62980a64a8553437bb66592178499f
7
+ data.tar.gz: ac7793788cb184c463f10e977dfac0f448c840f99ca4f9a11cc9bd1af6142d6896b9d1a1fa8419afd404b16c4ca6967315e38429cf0c17ccfb719e0273998371
data/Changelog CHANGED
@@ -1,3 +1,6 @@
1
+ 2016-06-16 Version 1.1.12
2
+ * Add support for detecting observer role
3
+
1
4
  2015-02-20 Version 1.1.8
2
5
  * Replace usage of the 'uuid' gem with SecureRandom
3
6
  * Update the outcome extension doc example
@@ -24,13 +27,13 @@
24
27
  * Fix tests reliant on random ordering
25
28
  * Add rails 3 note to readme install docs
26
29
  * Create Changelog
27
-
30
+
28
31
 
29
32
  2012-03-14 Version 1.0.2
30
33
 
31
34
  * Refactor OAuth validation into its own module
32
-
33
-
35
+
36
+
34
37
  2012-03-13 Version 1.0.1
35
38
 
36
39
  * Add gem dependencies to gemspec
@@ -92,5 +92,10 @@ module IMS::LTI
92
92
  def context_ta?
93
93
  has_exact_role?('TeachingAssistant') || has_exact_role?('urn:lti:role:ims/lis/TeachingAssistant')
94
94
  end
95
+
96
+ # Convenience method for checking if the user has 'Observer' role in the current launch context
97
+ def context_observer?
98
+ has_exact_role?('Observer') || has_exact_role?('urn:lti:instrole:ims/lis/Observer')
99
+ end
95
100
  end
96
101
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ims-lti
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.11
4
+ version: 1.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Instructure
@@ -112,8 +112,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
112
112
  version: '0'
113
113
  requirements: []
114
114
  rubyforge_project:
115
- rubygems_version: 2.4.5.1
115
+ rubygems_version: 2.5.1
116
116
  signing_key:
117
117
  specification_version: 4
118
118
  summary: Ruby library for creating IMS LTI tool providers and consumers
119
119
  test_files: []
120
+ has_rdoc: