bearcat 0.9.16 → 0.9.17

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: abda6bfd3fef7451bda229e4c2e7b64045a30cd6
4
+ data.tar.gz: e63dc8e882de0fd088a7f8a061def0744b5fb250
5
+ SHA512:
6
+ metadata.gz: 83375ded1b6ea34ad2f3d66be05123a040f27269ff73b699c54d60d11b1fdfa3dea07fbd1e01ca2e0675cd39f05e4fb97e133b6ec926c8a8aaf4fd0a59ce66cd
7
+ data.tar.gz: 14a2f31b355b5276dd827761d70b4992d5db96d11f9598d966ad38b294b7b7788879fbf96de323dda8f12b61dd117eab5329436dc51ec5b4c016bf09abea3272
@@ -2,8 +2,8 @@ module Bearcat
2
2
  class Client < Footrest::Client
3
3
  module Courses
4
4
 
5
- def course(course)
6
- get("/api/v1/courses/#{course}")
5
+ def course(course, params={})
6
+ get("/api/v1/courses/#{course}", params)
7
7
  end
8
8
 
9
9
  def create_course(account_id, params={})
@@ -1,3 +1,3 @@
1
1
  module Bearcat
2
- VERSION = '0.9.16' unless defined?(Bearcat::VERSION)
2
+ VERSION = '0.9.17' unless defined?(Bearcat::VERSION)
3
3
  end
metadata CHANGED
@@ -1,52 +1,46 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bearcat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.16
5
- prerelease:
4
+ version: 0.9.17
6
5
  platform: ruby
7
6
  authors:
8
7
  - Nathan Mills, Jake Sorce
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-07-31 00:00:00.000000000 Z
11
+ date: 2014-08-05 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rake
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: bundler
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: 1.0.0
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: 1.0.0
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rspec
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ~>
52
46
  - !ruby/object:Gem::Version
@@ -54,7 +48,6 @@ dependencies:
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - ~>
60
53
  - !ruby/object:Gem::Version
@@ -62,33 +55,29 @@ dependencies:
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: webmock
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - '>='
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - '>='
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: footrest
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - '>='
84
74
  - !ruby/object:Gem::Version
85
75
  version: 0.2.2
86
76
  type: :runtime
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - '>='
92
81
  - !ruby/object:Gem::Version
93
82
  version: 0.2.2
94
83
  description: Ruby interface for interacting with the canvas API
@@ -118,7 +107,6 @@ files:
118
107
  - lib/bearcat/client/outcomes.rb
119
108
  - lib/bearcat/client/reports.rb
120
109
  - lib/bearcat/client/sections.rb
121
- - lib/bearcat/client/sis_imports.rb
122
110
  - lib/bearcat/client/submissions.rb
123
111
  - lib/bearcat/client/users.rb
124
112
  - lib/bearcat/client.rb
@@ -204,27 +192,26 @@ files:
204
192
  - spec/helper.rb
205
193
  homepage:
206
194
  licenses: []
195
+ metadata: {}
207
196
  post_install_message:
208
197
  rdoc_options: []
209
198
  require_paths:
210
199
  - lib
211
200
  required_ruby_version: !ruby/object:Gem::Requirement
212
- none: false
213
201
  requirements:
214
- - - ! '>='
202
+ - - '>='
215
203
  - !ruby/object:Gem::Version
216
204
  version: '0'
217
205
  required_rubygems_version: !ruby/object:Gem::Requirement
218
- none: false
219
206
  requirements:
220
- - - ! '>='
207
+ - - '>='
221
208
  - !ruby/object:Gem::Version
222
209
  version: '0'
223
210
  requirements: []
224
211
  rubyforge_project:
225
- rubygems_version: 1.8.23
212
+ rubygems_version: 2.0.14
226
213
  signing_key:
227
- specification_version: 3
214
+ specification_version: 4
228
215
  summary: Canvas API
229
216
  test_files:
230
217
  - spec/bearcat/client/accounts_spec.rb
@@ -1,20 +0,0 @@
1
- module Bearcat
2
- class Client < Footrest::Client
3
- module SisImports
4
-
5
- def sis_imports(account, params = {})
6
- post("/api/v1/accounts/#{account}/sis_imports", params)
7
- end
8
-
9
- def get_sis_imports(account)
10
- binding.pry
11
- get("/api/v1/accounts/#{account}/sis_imports")
12
- end
13
-
14
- def import_status(account, import_id)
15
- get("/api/v1/accounts/#{account}/sis_imports/#{import_id}")
16
- end
17
-
18
- end
19
- end
20
- end