vericite_api 1.2.0 → 1.3.0

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: 995805ff08a61e63a1d02b6262b71b76e0ca623d
4
- data.tar.gz: bde782bf92801a2978883369e4589aa1b04988ad
3
+ metadata.gz: 2d0c9b1c5ca9d61046f597bf661b7c8901c4a038
4
+ data.tar.gz: 6df8598f77f6a38fb4c4ca840d4d5b296a894a17
5
5
  SHA512:
6
- metadata.gz: f0c44a0a4bf32e8c524e3ec48486c2d043900a4a6c5d11ca1482f9c8e03d6b6535205cd9c8b1c227e305f417f04d89e5e21d4712b5d7f2c760a5a6507d374e07
7
- data.tar.gz: 9cce8c24d6c0b40caf88f8e789b8a318d785a0fc6b04831015f4b2a88301179e7c1f19e5a8e53f5d24d279ce49565d06bff92cad9a46a0b270bcc28e4bb2fd78
6
+ metadata.gz: 48ba096718b3237facf966b740d404b43b8b0ca8526699cb2d7252875112a33dff57db6de442071e9babf86b7322fa6a9600a0610f2c8d656532b291677ad232
7
+ data.tar.gz: 9280435e8bdb9502515b1a0c7a74ec53c101390cd3aed65a8e0e56dcbe772122d3f75068bba76f60fe398a1151dff8bd8727e1a76643af1a94d7508ffc12bf90
@@ -21,6 +21,9 @@ module VeriCiteClient
21
21
  # store in index
22
22
  attr_accessor :assignment_store_in_index
23
23
 
24
+ # enable student preview:
25
+ attr_accessor :assignment_enable_student_preview
26
+
24
27
  # Assignment due date. Pass in 0 to delete.
25
28
  attr_accessor :assignment_due_date
26
29
 
@@ -43,6 +46,8 @@ module VeriCiteClient
43
46
 
44
47
  :'assignment_store_in_index' => :'assignmentStoreInIndex',
45
48
 
49
+ :'assignment_enable_student_preview' => :'assignmentEnableStudentPreview',
50
+
46
51
  :'assignment_due_date' => :'assignmentDueDate',
47
52
 
48
53
  :'assignment_grade' => :'assignmentGrade',
@@ -60,6 +65,7 @@ module VeriCiteClient
60
65
  :'assignment_exclude_quotes' => :'BOOLEAN',
61
66
  :'assignment_exclude_self_plag' => :'BOOLEAN',
62
67
  :'assignment_store_in_index' => :'BOOLEAN',
68
+ :'assignment_enable_student_preview' => :'BOOLEAN',
63
69
  :'assignment_due_date' => :'Integer',
64
70
  :'assignment_grade' => :'Integer',
65
71
  :'assignment_attachment_external_content' => :'Array<ExternalContentData>'
@@ -94,6 +100,10 @@ module VeriCiteClient
94
100
  self.assignment_store_in_index = attributes[:'assignmentStoreInIndex']
95
101
  end
96
102
 
103
+ if attributes[:'assignmentEnableStudentPreview']
104
+ self.assignment_enable_student_preview = attributes[:'assignmentEnableStudentPreview']
105
+ end
106
+
97
107
  if attributes[:'assignmentDueDate']
98
108
  self.assignment_due_date = attributes[:'assignmentDueDate']
99
109
  end
@@ -119,6 +129,7 @@ module VeriCiteClient
119
129
  assignment_exclude_quotes == o.assignment_exclude_quotes &&
120
130
  assignment_exclude_self_plag == o.assignment_exclude_self_plag &&
121
131
  assignment_store_in_index == o.assignment_store_in_index &&
132
+ assignment_enable_student_preview == o.assignment_enable_student_preview &&
122
133
  assignment_due_date == o.assignment_due_date &&
123
134
  assignment_grade == o.assignment_grade &&
124
135
  assignment_attachment_external_content == o.assignment_attachment_external_content
@@ -71,6 +71,16 @@ describe 'AssignmentData' do
71
71
  end
72
72
  end
73
73
 
74
+ describe 'test attribute "assignment_enable_student_preview"' do
75
+ it 'should work' do
76
+ # assertion here
77
+ # should be_a()
78
+ # should be_nil
79
+ # should ==
80
+ # should_not ==
81
+ end
82
+ end
83
+
74
84
  describe 'test attribute "assignment_due_date"' do
75
85
  it 'should work' do
76
86
  # assertion here
data/vericite_api.gemspec CHANGED
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "vericite_api"
7
7
  s.description = "VeriCite API GEM"
8
- s.version = "1.2.0"
8
+ s.version = "1.3.0"
9
9
  s.platform = Gem::Platform::RUBY
10
10
  s.authors = ["Bryan Holladay"]
11
11
  s.email = ["bryan@vericite.com"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vericite_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bryan Holladay
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-12 00:00:00.000000000 Z
11
+ date: 2017-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -198,7 +198,6 @@ files:
198
198
  - spec/models/report_meta_data_spec.rb
199
199
  - spec/models/report_score_reponse_spec.rb
200
200
  - spec/models/report_url_link_reponse_spec.rb
201
- - vericite_api-1.1.0.gem
202
201
  - vericite_api.gemspec
203
202
  homepage: http://www.vericite.com
204
203
  licenses:
@@ -220,7 +219,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
220
219
  version: '0'
221
220
  requirements: []
222
221
  rubyforge_project:
223
- rubygems_version: 2.6.6
222
+ rubygems_version: 2.6.10
224
223
  signing_key:
225
224
  specification_version: 4
226
225
  summary: VeriCite Api
@@ -235,4 +234,3 @@ test_files:
235
234
  - spec/models/report_meta_data_spec.rb
236
235
  - spec/models/report_score_reponse_spec.rb
237
236
  - spec/models/report_url_link_reponse_spec.rb
238
- has_rdoc:
Binary file