meducation_sdk 1.6.14 → 1.6.15
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 466581b1a7869e2e4830951c1f7c55ca92185453
|
4
|
+
data.tar.gz: 3166c4ca38fa32ea5549f5c554ef7d3ba3c17105
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 08ca2bd79360ef517bf0cde5524ad9cf3033d3552a87c68db46958b33c801d4783383a4b1adc1a9c7b8bc0ddb7ebddfac8e3cd51e89297741abe42996b56aaa5
|
7
|
+
data.tar.gz: cb87e23312e528e182ad7f866f0345eb5ca91b5c5d2e70242802266477461d31954f1478a9e07d6de5bb11c044da18982dd3265f254bbe2e16ad3c0894e8ba10
|
data/CHANGELOG.md
CHANGED
@@ -10,6 +10,7 @@ module MeducationSDK
|
|
10
10
|
MeducationSDK::Comment.expects(:where).with(id: [7, 8, 9])
|
11
11
|
topic.comments
|
12
12
|
end
|
13
|
+
|
13
14
|
def test_authors_calls_spi
|
14
15
|
authors = [
|
15
16
|
Author.new(user_id: 8),
|
@@ -21,6 +22,12 @@ module MeducationSDK
|
|
21
22
|
assert_equal authors, topic.instance_variable_get(:@authors)
|
22
23
|
end
|
23
24
|
|
25
|
+
def test_collection_calls_spi
|
26
|
+
topic = CollectionTopic.new(collection_id: 373)
|
27
|
+
MeducationSDK::Collection.expects(:find).with(373)
|
28
|
+
topic.collection
|
29
|
+
end
|
30
|
+
|
24
31
|
def test_users_calls_spi
|
25
32
|
authors = [
|
26
33
|
Author.new(user_id: 8),
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: meducation_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Walker
|
@@ -258,7 +258,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
258
258
|
version: '0'
|
259
259
|
requirements: []
|
260
260
|
rubyforge_project:
|
261
|
-
rubygems_version: 2.
|
261
|
+
rubygems_version: 2.1.9
|
262
262
|
signing_key:
|
263
263
|
specification_version: 4
|
264
264
|
summary: The SDK for Meducation
|
@@ -320,3 +320,4 @@ test_files:
|
|
320
320
|
- test/resources/vote_test.rb
|
321
321
|
- test/services/recommender_test.rb
|
322
322
|
- test/test_helper.rb
|
323
|
+
has_rdoc:
|