clever-ruby 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +69 -0
- data/Makefile +2 -2
- data/doc_coverage.txt +2 -0
- data/lib/clever-ruby/models/districts_created.rb +1 -1
- data/lib/clever-ruby/models/districts_deleted.rb +1 -1
- data/lib/clever-ruby/models/districts_updated.rb +1 -1
- data/lib/clever-ruby/models/schooladmins_created.rb +1 -1
- data/lib/clever-ruby/models/schooladmins_deleted.rb +1 -1
- data/lib/clever-ruby/models/schooladmins_updated.rb +1 -1
- data/lib/clever-ruby/models/schools_created.rb +1 -1
- data/lib/clever-ruby/models/schools_deleted.rb +1 -1
- data/lib/clever-ruby/models/schools_updated.rb +1 -1
- data/lib/clever-ruby/models/sections_created.rb +1 -1
- data/lib/clever-ruby/models/sections_deleted.rb +1 -1
- data/lib/clever-ruby/models/sections_updated.rb +1 -1
- data/lib/clever-ruby/models/studentcontacts_created.rb +1 -1
- data/lib/clever-ruby/models/studentcontacts_deleted.rb +1 -1
- data/lib/clever-ruby/models/studentcontacts_updated.rb +1 -1
- data/lib/clever-ruby/models/students_created.rb +1 -1
- data/lib/clever-ruby/models/students_deleted.rb +1 -1
- data/lib/clever-ruby/models/students_updated.rb +1 -1
- data/lib/clever-ruby/models/teachers_created.rb +1 -1
- data/lib/clever-ruby/models/teachers_deleted.rb +1 -1
- data/lib/clever-ruby/models/teachers_updated.rb +1 -1
- data/lib/clever-ruby/version.rb +1 -1
- data/override/models/districts_created.rb +1 -1
- data/override/models/districts_deleted.rb +1 -1
- data/override/models/districts_updated.rb +1 -1
- data/override/models/schooladmins_created.rb +1 -1
- data/override/models/schooladmins_deleted.rb +1 -1
- data/override/models/schooladmins_updated.rb +1 -1
- data/override/models/schools_created.rb +1 -1
- data/override/models/schools_deleted.rb +1 -1
- data/override/models/schools_updated.rb +1 -1
- data/override/models/sections_created.rb +1 -1
- data/override/models/sections_deleted.rb +1 -1
- data/override/models/sections_updated.rb +1 -1
- data/override/models/studentcontacts_created.rb +1 -1
- data/override/models/studentcontacts_deleted.rb +1 -1
- data/override/models/studentcontacts_updated.rb +1 -1
- data/override/models/students_created.rb +1 -1
- data/override/models/students_deleted.rb +1 -1
- data/override/models/students_updated.rb +1 -1
- data/override/models/teachers_created.rb +1 -1
- data/override/models/teachers_deleted.rb +1 -1
- data/override/models/teachers_updated.rb +1 -1
- data/spec/events.json +230 -0
- data/spec/events_api_spec.rb +25 -0
- data/spec/spec_helper.rb +101 -0
- data/test.rb +8 -0
- metadata +14 -5
- data/clever-ruby-1.0.0.gem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d88c1c5ab9a6348806daf93d3ffcaa29172c46f1
|
4
|
+
data.tar.gz: 155909083b5eba42129c59ff3ca369cc4273a076
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e60b8516aadf101457395f7eb65b8325ce650214b15cde31a8bcaed36efff20c2701dc497573ee5621b573eb19228efe7ac76877d9b5d48dcca0f7e7689d8b12
|
7
|
+
data.tar.gz: 75c69a06497b48da2cae5247fd47679bb543c7942d842c3bc37ca7eeef00eb0ae958345fc9ee977f77a4e64484b8a97febc3ca0edc5a0bf6db4d110675ac167b
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
clever-ruby (1.2.1)
|
5
|
+
json (~> 1.8, >= 1.8.3)
|
6
|
+
typhoeus (~> 1.0, >= 1.0.1)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
ZenTest (4.11.1)
|
12
|
+
addressable (2.5.1)
|
13
|
+
public_suffix (~> 2.0, >= 2.0.2)
|
14
|
+
autotest (4.4.6)
|
15
|
+
ZenTest (>= 4.4.1)
|
16
|
+
autotest-fsevent (0.2.12)
|
17
|
+
sys-uname
|
18
|
+
autotest-growl (0.2.16)
|
19
|
+
autotest-rails-pure (4.1.2)
|
20
|
+
crack (0.4.3)
|
21
|
+
safe_yaml (~> 1.0.0)
|
22
|
+
diff-lcs (1.3)
|
23
|
+
ethon (0.10.1)
|
24
|
+
ffi (>= 1.3.0)
|
25
|
+
ffi (1.9.18)
|
26
|
+
hashdiff (0.3.4)
|
27
|
+
json (1.8.6)
|
28
|
+
public_suffix (2.0.5)
|
29
|
+
rake (12.0.0)
|
30
|
+
rspec (3.6.0)
|
31
|
+
rspec-core (~> 3.6.0)
|
32
|
+
rspec-expectations (~> 3.6.0)
|
33
|
+
rspec-mocks (~> 3.6.0)
|
34
|
+
rspec-core (3.6.0)
|
35
|
+
rspec-support (~> 3.6.0)
|
36
|
+
rspec-expectations (3.6.0)
|
37
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
38
|
+
rspec-support (~> 3.6.0)
|
39
|
+
rspec-mocks (3.6.0)
|
40
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
41
|
+
rspec-support (~> 3.6.0)
|
42
|
+
rspec-support (3.6.0)
|
43
|
+
safe_yaml (1.0.4)
|
44
|
+
sys-uname (1.0.3)
|
45
|
+
ffi (>= 1.0.0)
|
46
|
+
typhoeus (1.1.2)
|
47
|
+
ethon (>= 0.9.0)
|
48
|
+
vcr (3.0.3)
|
49
|
+
webmock (1.24.6)
|
50
|
+
addressable (>= 2.3.6)
|
51
|
+
crack (>= 0.3.2)
|
52
|
+
hashdiff
|
53
|
+
|
54
|
+
PLATFORMS
|
55
|
+
ruby
|
56
|
+
|
57
|
+
DEPENDENCIES
|
58
|
+
autotest (~> 4.4, >= 4.4.6)
|
59
|
+
autotest-fsevent (~> 0.2, >= 0.2.11)
|
60
|
+
autotest-growl (~> 0.2, >= 0.2.16)
|
61
|
+
autotest-rails-pure (~> 4.1, >= 4.1.2)
|
62
|
+
clever-ruby!
|
63
|
+
rake (~> 12.0.0)
|
64
|
+
rspec
|
65
|
+
vcr (~> 3.0, >= 3.0.1)
|
66
|
+
webmock (~> 1.24, >= 1.24.3)
|
67
|
+
|
68
|
+
BUNDLED WITH
|
69
|
+
1.13.6
|
data/Makefile
CHANGED
data/doc_coverage.txt
ADDED
data/lib/clever-ruby/version.rb
CHANGED
data/spec/events.json
ADDED
@@ -0,0 +1,230 @@
|
|
1
|
+
{
|
2
|
+
"data": [
|
3
|
+
{
|
4
|
+
"data": {
|
5
|
+
"created": "2017-06-15T21:54:10.025Z",
|
6
|
+
"data": {
|
7
|
+
"object": {
|
8
|
+
"district": "56e07f73944b620100000175",
|
9
|
+
"ell_status": "N",
|
10
|
+
"id": "58c81dcea3627927150003ed"
|
11
|
+
},
|
12
|
+
"previous_attributes": {
|
13
|
+
"created": "2017-03-14T16:43:58.151Z",
|
14
|
+
"credentials": {
|
15
|
+
"district_username": "stevez33"
|
16
|
+
},
|
17
|
+
"dob": "2/11/2007",
|
18
|
+
"email": "z.steve@example.net",
|
19
|
+
"gender": "M",
|
20
|
+
"grade": "Kindergarten",
|
21
|
+
"hispanic_ethnicity": "Y",
|
22
|
+
"location": {
|
23
|
+
"zip": "10459"
|
24
|
+
},
|
25
|
+
"name": {
|
26
|
+
"first": "Steve",
|
27
|
+
"last": "Ziemann",
|
28
|
+
"middle": "G"
|
29
|
+
},
|
30
|
+
"race": "Black or African American",
|
31
|
+
"school": "58c81db226d0809114000007",
|
32
|
+
"schools": [
|
33
|
+
"58c81db226d0809114000007"
|
34
|
+
],
|
35
|
+
"sis_id": "100095233",
|
36
|
+
"state_id": "231786324",
|
37
|
+
"student_number": "100095233"
|
38
|
+
}
|
39
|
+
},
|
40
|
+
"id": "594301ff7f264e3ca45e568b",
|
41
|
+
"type": "students.updated"
|
42
|
+
},
|
43
|
+
"uri": "/v1.2/events/594301ff7f264e3ca45e568b"
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"data": {
|
47
|
+
"created": "2017-06-15T21:54:10.026Z",
|
48
|
+
"data": {
|
49
|
+
"object": {
|
50
|
+
"district": "56e07f73944b620100000175",
|
51
|
+
"ell_status": "Y",
|
52
|
+
"id": "58c81dcea3627927150003ee"
|
53
|
+
},
|
54
|
+
"previous_attributes": {
|
55
|
+
"created": "2017-03-14T16:43:58.152Z",
|
56
|
+
"credentials": {
|
57
|
+
"district_username": "douglasw58"
|
58
|
+
},
|
59
|
+
"dob": "6/18/1998",
|
60
|
+
"email": "w_douglas@example.net",
|
61
|
+
"gender": "M",
|
62
|
+
"grade": "9",
|
63
|
+
"hispanic_ethnicity": "N",
|
64
|
+
"location": {
|
65
|
+
"zip": "11004"
|
66
|
+
},
|
67
|
+
"name": {
|
68
|
+
"first": "Douglas",
|
69
|
+
"last": "Wisoky",
|
70
|
+
"middle": "S"
|
71
|
+
},
|
72
|
+
"race": "Caucasian",
|
73
|
+
"school": "58c81db226d0809114000006",
|
74
|
+
"schools": [
|
75
|
+
"58c81db226d0809114000006",
|
76
|
+
"58c81db226d0809114000007"
|
77
|
+
],
|
78
|
+
"sis_id": "101565758",
|
79
|
+
"state_id": "498006597",
|
80
|
+
"student_number": "101565758"
|
81
|
+
}
|
82
|
+
},
|
83
|
+
"id": "594301ff7f264e3ca45e568c",
|
84
|
+
"type": "students.updated"
|
85
|
+
},
|
86
|
+
"uri": "/v1.2/events/594301ff7f264e3ca45e568c"
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"data": {
|
90
|
+
"created": "2017-06-15T21:54:10.028Z",
|
91
|
+
"data": {
|
92
|
+
"object": {
|
93
|
+
"district": "56e07f73944b620100000175",
|
94
|
+
"ell_status": "Y",
|
95
|
+
"id": "58c81dcea3627927150003ef"
|
96
|
+
},
|
97
|
+
"previous_attributes": {
|
98
|
+
"created": "2017-03-14T16:43:58.153Z",
|
99
|
+
"credentials": {
|
100
|
+
"district_username": "joel42"
|
101
|
+
},
|
102
|
+
"dob": "7/4/1997",
|
103
|
+
"email": "l.joe@example.net",
|
104
|
+
"gender": "M",
|
105
|
+
"grade": "10",
|
106
|
+
"hispanic_ethnicity": "N",
|
107
|
+
"location": {
|
108
|
+
"zip": "10473"
|
109
|
+
},
|
110
|
+
"name": {
|
111
|
+
"first": "Joe",
|
112
|
+
"last": "Lakin",
|
113
|
+
"middle": "S"
|
114
|
+
},
|
115
|
+
"race": "Black or African American",
|
116
|
+
"school": "58c81db226d0809114000006",
|
117
|
+
"schools": [
|
118
|
+
"58c81db226d0809114000006"
|
119
|
+
],
|
120
|
+
"sis_id": "106078142",
|
121
|
+
"state_id": "635493722",
|
122
|
+
"student_number": "106078142"
|
123
|
+
}
|
124
|
+
},
|
125
|
+
"id": "594301ff7f264e3ca45e568d",
|
126
|
+
"type": "students.updated"
|
127
|
+
},
|
128
|
+
"uri": "/v1.2/events/594301ff7f264e3ca45e568d"
|
129
|
+
},
|
130
|
+
{
|
131
|
+
"data": {
|
132
|
+
"created": "2017-06-15T21:54:10.030Z",
|
133
|
+
"data": {
|
134
|
+
"object": {
|
135
|
+
"district": "56e07f73944b620100000175",
|
136
|
+
"ell_status": "N",
|
137
|
+
"id": "58c81dcea3627927150003f0"
|
138
|
+
},
|
139
|
+
"previous_attributes": {
|
140
|
+
"created": "2017-03-14T16:43:58.153Z",
|
141
|
+
"credentials": {
|
142
|
+
"district_username": "evalynb40"
|
143
|
+
},
|
144
|
+
"dob": "8/10/2006",
|
145
|
+
"email": "b_evalyn@example.org",
|
146
|
+
"gender": "F",
|
147
|
+
"grade": "1",
|
148
|
+
"hispanic_ethnicity": "N",
|
149
|
+
"location": {
|
150
|
+
"zip": "10029"
|
151
|
+
},
|
152
|
+
"name": {
|
153
|
+
"first": "Evalyn",
|
154
|
+
"last": "Bradtke",
|
155
|
+
"middle": "J"
|
156
|
+
},
|
157
|
+
"race": "Black or African American",
|
158
|
+
"school": "58c81db226d0809114000007",
|
159
|
+
"schools": [
|
160
|
+
"58c81db226d0809114000007"
|
161
|
+
],
|
162
|
+
"sis_id": "106091540",
|
163
|
+
"state_id": "552729322",
|
164
|
+
"student_number": "106091540"
|
165
|
+
}
|
166
|
+
},
|
167
|
+
"id": "594301ff7f264e3ca45e568e",
|
168
|
+
"type": "students.updated"
|
169
|
+
},
|
170
|
+
"uri": "/v1.2/events/594301ff7f264e3ca45e568e"
|
171
|
+
},
|
172
|
+
{
|
173
|
+
"data": {
|
174
|
+
"created": "2017-06-15T21:54:10.031Z",
|
175
|
+
"data": {
|
176
|
+
"object": {
|
177
|
+
"district": "56e07f73944b620100000175",
|
178
|
+
"ell_status": "Y",
|
179
|
+
"id": "58c81dcea3627927150003f1"
|
180
|
+
},
|
181
|
+
"previous_attributes": {
|
182
|
+
"created": "2017-03-14T16:43:58.154Z",
|
183
|
+
"credentials": {
|
184
|
+
"district_username": "coryt00"
|
185
|
+
},
|
186
|
+
"dob": "7/21/1997",
|
187
|
+
"email": "cory_t@example.net",
|
188
|
+
"gender": "M",
|
189
|
+
"grade": "10",
|
190
|
+
"hispanic_ethnicity": "Y",
|
191
|
+
"location": {
|
192
|
+
"zip": "10038"
|
193
|
+
},
|
194
|
+
"name": {
|
195
|
+
"first": "Cory",
|
196
|
+
"last": "Thompson",
|
197
|
+
"middle": "V"
|
198
|
+
},
|
199
|
+
"race": "Black or African American",
|
200
|
+
"school": "58c81db226d0809114000006",
|
201
|
+
"schools": [
|
202
|
+
"58c81db226d0809114000006"
|
203
|
+
],
|
204
|
+
"sis_id": "106867300",
|
205
|
+
"state_id": "863433981",
|
206
|
+
"student_number": "106867300"
|
207
|
+
}
|
208
|
+
},
|
209
|
+
"id": "594301ff7f264e3ca45e568f",
|
210
|
+
"type": "students.updated"
|
211
|
+
},
|
212
|
+
"uri": "/v1.2/events/594301ff7f264e3ca45e568f"
|
213
|
+
}
|
214
|
+
],
|
215
|
+
"links": [
|
216
|
+
{
|
217
|
+
"rel": "self",
|
218
|
+
"uri": "/v1.2/events?limit=5"
|
219
|
+
},
|
220
|
+
{
|
221
|
+
"rel": "next",
|
222
|
+
"uri": "/v1.2/events?limit=5&starting_after=594301ff7f264e3ca45e568f"
|
223
|
+
}
|
224
|
+
],
|
225
|
+
"paging": {
|
226
|
+
"count": 12000,
|
227
|
+
"current": 1,
|
228
|
+
"total": 2400
|
229
|
+
}
|
230
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
require "clever-ruby"
|
2
|
+
require 'webmock/rspec'
|
3
|
+
WebMock.disable_net_connect!(allow_localhost: true)
|
4
|
+
|
5
|
+
|
6
|
+
describe Clever::EventsApi do
|
7
|
+
before(:each) do
|
8
|
+
@api_instance = Clever::EventsApi.new
|
9
|
+
Clever.configure do |config|
|
10
|
+
config.access_token = 'DEMO_TOKEN'
|
11
|
+
end
|
12
|
+
|
13
|
+
file = File.read('spec/events.json')
|
14
|
+
stub_request(:get, /api.clever.com/).
|
15
|
+
to_return(status: 200, body: file, headers: {})
|
16
|
+
end
|
17
|
+
|
18
|
+
describe ".get_events" do
|
19
|
+
context "given events exist" do
|
20
|
+
it "does not raise an error" do
|
21
|
+
expect{@api_instance.get_events}.to_not raise_error
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,101 @@
|
|
1
|
+
# This file was generated by the `rspec --init` command. Conventionally, all
|
2
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
3
|
+
# The generated `.rspec` file contains `--require spec_helper` which will cause
|
4
|
+
# this file to always be loaded, without a need to explicitly require it in any
|
5
|
+
# files.
|
6
|
+
#
|
7
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
8
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
9
|
+
# will add to the boot time of your test suite on EVERY test run, even for an
|
10
|
+
# individual file that may not need all of that loaded. Instead, consider making
|
11
|
+
# a separate helper file that requires the additional dependencies and performs
|
12
|
+
# the additional setup, and require it from the spec files that actually need
|
13
|
+
# it.
|
14
|
+
#
|
15
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
16
|
+
|
17
|
+
RSpec.configure do |config|
|
18
|
+
# rspec-expectations config goes here. You can use an alternate
|
19
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
20
|
+
# assertions if you prefer.
|
21
|
+
config.expect_with :rspec do |expectations|
|
22
|
+
# This option will default to `true` in RSpec 4. It makes the `description`
|
23
|
+
# and `failure_message` of custom matchers include text for helper methods
|
24
|
+
# defined using `chain`, e.g.:
|
25
|
+
# be_bigger_than(2).and_smaller_than(4).description
|
26
|
+
# # => "be bigger than 2 and smaller than 4"
|
27
|
+
# ...rather than:
|
28
|
+
# # => "be bigger than 2"
|
29
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
30
|
+
end
|
31
|
+
|
32
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
33
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
34
|
+
config.mock_with :rspec do |mocks|
|
35
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
36
|
+
# a real object. This is generally recommended, and will default to
|
37
|
+
# `true` in RSpec 4.
|
38
|
+
mocks.verify_partial_doubles = true
|
39
|
+
end
|
40
|
+
|
41
|
+
# This option will default to `:apply_to_host_groups` in RSpec 4 (and will
|
42
|
+
# have no way to turn it off -- the option exists only for backwards
|
43
|
+
# compatibility in RSpec 3). It causes shared context metadata to be
|
44
|
+
# inherited by the metadata hash of host groups and examples, rather than
|
45
|
+
# triggering implicit auto-inclusion in groups with matching metadata.
|
46
|
+
config.shared_context_metadata_behavior = :apply_to_host_groups
|
47
|
+
|
48
|
+
# The settings below are suggested to provide a good initial experience
|
49
|
+
# with RSpec, but feel free to customize to your heart's content.
|
50
|
+
=begin
|
51
|
+
# This allows you to limit a spec run to individual examples or groups
|
52
|
+
# you care about by tagging them with `:focus` metadata. When nothing
|
53
|
+
# is tagged with `:focus`, all examples get run. RSpec also provides
|
54
|
+
# aliases for `it`, `describe`, and `context` that include `:focus`
|
55
|
+
# metadata: `fit`, `fdescribe` and `fcontext`, respectively.
|
56
|
+
config.filter_run_when_matching :focus
|
57
|
+
|
58
|
+
# Allows RSpec to persist some state between runs in order to support
|
59
|
+
# the `--only-failures` and `--next-failure` CLI options. We recommend
|
60
|
+
# you configure your source control system to ignore this file.
|
61
|
+
config.example_status_persistence_file_path = "spec/examples.txt"
|
62
|
+
|
63
|
+
# Limits the available syntax to the non-monkey patched syntax that is
|
64
|
+
# recommended. For more details, see:
|
65
|
+
# - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
|
66
|
+
# - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
67
|
+
# - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
|
68
|
+
config.disable_monkey_patching!
|
69
|
+
|
70
|
+
# This setting enables warnings. It's recommended, but in some cases may
|
71
|
+
# be too noisy due to issues in dependencies.
|
72
|
+
config.warnings = true
|
73
|
+
|
74
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
75
|
+
# file, and it's useful to allow more verbose output when running an
|
76
|
+
# individual spec file.
|
77
|
+
if config.files_to_run.one?
|
78
|
+
# Use the documentation formatter for detailed output,
|
79
|
+
# unless a formatter has already been configured
|
80
|
+
# (e.g. via a command-line flag).
|
81
|
+
config.default_formatter = "doc"
|
82
|
+
end
|
83
|
+
|
84
|
+
# Print the 10 slowest examples and example groups at the
|
85
|
+
# end of the spec run, to help surface which specs are running
|
86
|
+
# particularly slow.
|
87
|
+
config.profile_examples = 10
|
88
|
+
|
89
|
+
# Run specs in random order to surface order dependencies. If you find an
|
90
|
+
# order dependency and want to debug it, you can fix the order by providing
|
91
|
+
# the seed, which is printed after each run.
|
92
|
+
# --seed 1234
|
93
|
+
config.order = :random
|
94
|
+
|
95
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
96
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
97
|
+
# test failures related to randomization by passing the same `--seed` value
|
98
|
+
# as the one that triggered the failure.
|
99
|
+
Kernel.srand config.seed
|
100
|
+
=end
|
101
|
+
end
|
data/test.rb
ADDED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clever-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Swagger-Codegen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -199,13 +199,14 @@ extra_rdoc_files: []
|
|
199
199
|
files:
|
200
200
|
- CHANGELOG.md
|
201
201
|
- Gemfile
|
202
|
+
- Gemfile.lock
|
202
203
|
- LICENSE
|
203
204
|
- Makefile
|
204
205
|
- README.md
|
205
206
|
- Rakefile
|
206
207
|
- circle.yml
|
207
|
-
- clever-ruby-1.0.0.gem
|
208
208
|
- clever-ruby.gemspec
|
209
|
+
- doc_coverage.txt
|
209
210
|
- docs/BadRequest.md
|
210
211
|
- docs/Credentials.md
|
211
212
|
- docs/DataApi.md
|
@@ -376,6 +377,10 @@ files:
|
|
376
377
|
- override/models/teachers_updated.rb
|
377
378
|
- override/override.sh
|
378
379
|
- sample/sample.rb
|
380
|
+
- spec/events.json
|
381
|
+
- spec/events_api_spec.rb
|
382
|
+
- spec/spec_helper.rb
|
383
|
+
- test.rb
|
379
384
|
homepage: https://github.com/swagger-api/swagger-codegen
|
380
385
|
licenses: []
|
381
386
|
metadata: {}
|
@@ -395,8 +400,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
395
400
|
version: '0'
|
396
401
|
requirements: []
|
397
402
|
rubyforge_project:
|
398
|
-
rubygems_version: 2.
|
403
|
+
rubygems_version: 2.4.8
|
399
404
|
signing_key:
|
400
405
|
specification_version: 4
|
401
406
|
summary: Clever API Ruby Gem
|
402
|
-
test_files:
|
407
|
+
test_files:
|
408
|
+
- spec/events.json
|
409
|
+
- spec/events_api_spec.rb
|
410
|
+
- spec/spec_helper.rb
|
411
|
+
has_rdoc:
|
data/clever-ruby-1.0.0.gem
DELETED
Binary file
|