bearcat 1.3.5 → 1.3.6
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 +4 -4
- data/lib/bearcat/client/content_migrations.rb +4 -4
- data/lib/bearcat/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cc775dfa487694db27435067e262d2b9359713c1
|
|
4
|
+
data.tar.gz: a8737f4b71fef078a81c413eddcec18828d64dff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d3fb9fbfb98f847bca2b32aa216ed9385166f64b957cdf7fe75344b88d2d17f93b44cb5eeac3fca611d7cbe267c7349d13b66805f6f02cb0181ba524ef905069
|
|
7
|
+
data.tar.gz: 487c81bae17bf65dd3207cd4cd9d29c0de81052f990cde2bdb5e80a80ea9424b9aa7477fcc893c3fa05b3981fbdd7875e367b13d25521d5d596aade051e70947
|
|
@@ -29,20 +29,20 @@ module Bearcat
|
|
|
29
29
|
get_content_migration(user_id, migration_id, 'users', params = {})
|
|
30
30
|
end
|
|
31
31
|
|
|
32
|
-
def
|
|
32
|
+
def create_content_migration_with_type(id, type, params = {})
|
|
33
33
|
post("/api/v1/#{type}/#{id}/content_migrations", params)
|
|
34
34
|
end
|
|
35
35
|
|
|
36
36
|
def create_account_content_migration(account_id, params = {})
|
|
37
|
-
|
|
37
|
+
create_content_migration_with_type(account_id, 'accounts', params)
|
|
38
38
|
end
|
|
39
39
|
|
|
40
40
|
def create_course_content_migration(course_id, params = {})
|
|
41
|
-
|
|
41
|
+
create_content_migration_with_type(course_id, 'courses', params)
|
|
42
42
|
end
|
|
43
43
|
|
|
44
44
|
def create_group_content_migration(group_id, params = {})
|
|
45
|
-
|
|
45
|
+
create_content_migration_with_type(group_id, 'groups', params)
|
|
46
46
|
end
|
|
47
47
|
|
|
48
48
|
def create_user_content_migration(user_id, params = {})
|
data/lib/bearcat/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bearcat
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nathan Mills, Jake Sorce
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-01-
|
|
11
|
+
date: 2017-01-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|