openapply 1.0.3.7 → 1.0.3.8

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
  SHA256:
3
- metadata.gz: baeb574c2b8b4f3929b9e375f0a25781cfc85591787f1a07939c41e89d83bf36
4
- data.tar.gz: 3b504d28b79caa20ed63db7d1918537e0720304356b551f1f81d4339e6dd8877
3
+ metadata.gz: 733a884d68b4bed5fd8950edb54b6bc5e25097d62f956bbf98dd0d60e7cf2fc5
4
+ data.tar.gz: '062497cf8075c4104a274b0d0baa30f6b0f427682f57103922f40689eff47b28'
5
5
  SHA512:
6
- metadata.gz: ff039ff3ec1a40da9cf2f50fd3cdfb0af5b8dfafe155d292c5b8ad585b5e2ab2565f3cabf8761da8e98d177a2537626d0c19a0e6101ba5dd5f1169e4dfdb7d17
7
- data.tar.gz: 2803fde506d4b389b1c3316466b4449f4b74fb2121ea9f41e380f10ec1e9903753f036682c0b17fc4f1e7e0bb6870784e1c229a2dae83be04202f75b8471ec5b
6
+ metadata.gz: f32fe9493fb8e194cdce35d1d627acf5ce001c2a6a2f0dc91fc30b0e14f84fcf3f1f0b9176334cac7c4e34a42f36965f6110f16b447968af628c06d617d3745b
7
+ data.tar.gz: d9964c4b90f671da46ee4be127dd8eba5f2b04f71f16ef030fa58732f59e42c9be5c057fe75a25d088e40f53d08abab9ba35f55620e84a25f93c3a393a12648b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- openapply (1.0.3.6)
4
+ openapply (1.0.3.7)
5
5
  httparty (~> 0.20)
6
6
  json (~> 2.6)
7
7
  oauth2 (~> 2.0)
@@ -18,59 +18,58 @@ GEM
18
18
  rexml
19
19
  diff-lcs (1.5.0)
20
20
  docile (1.4.0)
21
- faraday (2.5.2)
21
+ faraday (2.7.4)
22
22
  faraday-net_http (>= 2.0, < 3.1)
23
23
  ruby2_keywords (>= 0.0.4)
24
- faraday-net_http (3.0.0)
24
+ faraday-net_http (3.0.2)
25
25
  hashdiff (1.0.1)
26
26
  hashie (5.0.0)
27
- httparty (0.20.0)
28
- mime-types (~> 3.0)
27
+ httparty (0.21.0)
28
+ mini_mime (>= 1.0.0)
29
29
  multi_xml (>= 0.5.2)
30
- json (2.6.2)
31
- jwt (2.4.1)
30
+ json (2.6.3)
31
+ jwt (2.7.0)
32
32
  method_source (1.0.0)
33
- mime-types (3.4.1)
34
- mime-types-data (~> 3.2015)
35
- mime-types-data (3.2022.0105)
33
+ mini_mime (1.1.2)
36
34
  multi_xml (0.6.0)
37
- oauth2 (2.0.7)
35
+ oauth2 (2.0.9)
38
36
  faraday (>= 0.17.3, < 3.0)
39
37
  jwt (>= 1.0, < 3.0)
40
38
  multi_xml (~> 0.5)
41
- rack (>= 1.2, < 3)
42
- rash_alt (>= 0.4, < 1)
39
+ rack (>= 1.2, < 4)
40
+ snaky_hash (~> 2.0)
43
41
  version_gem (~> 1.1)
44
- pry (0.14.1)
42
+ pry (0.14.2)
45
43
  coderay (~> 1.1)
46
44
  method_source (~> 1.0)
47
- public_suffix (5.0.0)
48
- rack (2.2.4)
45
+ public_suffix (5.0.1)
46
+ rack (3.0.4.1)
49
47
  rake (13.0.6)
50
- rash_alt (0.4.12)
51
- hashie (>= 3.4)
52
48
  rexml (3.2.5)
53
- rspec (3.11.0)
54
- rspec-core (~> 3.11.0)
55
- rspec-expectations (~> 3.11.0)
56
- rspec-mocks (~> 3.11.0)
57
- rspec-core (3.11.0)
58
- rspec-support (~> 3.11.0)
59
- rspec-expectations (3.11.0)
49
+ rspec (3.12.0)
50
+ rspec-core (~> 3.12.0)
51
+ rspec-expectations (~> 3.12.0)
52
+ rspec-mocks (~> 3.12.0)
53
+ rspec-core (3.12.1)
54
+ rspec-support (~> 3.12.0)
55
+ rspec-expectations (3.12.2)
60
56
  diff-lcs (>= 1.2.0, < 2.0)
61
- rspec-support (~> 3.11.0)
62
- rspec-mocks (3.11.1)
57
+ rspec-support (~> 3.12.0)
58
+ rspec-mocks (3.12.3)
63
59
  diff-lcs (>= 1.2.0, < 2.0)
64
- rspec-support (~> 3.11.0)
65
- rspec-support (3.11.0)
60
+ rspec-support (~> 3.12.0)
61
+ rspec-support (3.12.0)
66
62
  ruby2_keywords (0.0.5)
67
- simplecov (0.21.2)
63
+ simplecov (0.22.0)
68
64
  docile (~> 1.1)
69
65
  simplecov-html (~> 0.11)
70
66
  simplecov_json_formatter (~> 0.1)
71
67
  simplecov-html (0.12.3)
72
68
  simplecov_json_formatter (0.1.4)
73
- version_gem (1.1.0)
69
+ snaky_hash (2.0.1)
70
+ hashie
71
+ version_gem (~> 1.1, >= 1.1.1)
72
+ version_gem (1.1.1)
74
73
  webmock (3.18.1)
75
74
  addressable (>= 2.8.0)
76
75
  crack (>= 0.3.2)
@@ -78,6 +77,7 @@ GEM
78
77
 
79
78
  PLATFORMS
80
79
  arm64-darwin-20
80
+ x86_64-darwin-21
81
81
 
82
82
  DEPENDENCIES
83
83
  bundler (~> 2.3)
@@ -89,4 +89,4 @@ DEPENDENCIES
89
89
  webmock (~> 3.18)
90
90
 
91
91
  BUNDLED WITH
92
- 2.3.20
92
+ 2.3.26
data/lib/openapply/put.rb CHANGED
@@ -16,6 +16,11 @@ module Openapply
16
16
  return oa_answer( url, {student: {student_id: student_id}})
17
17
  end
18
18
 
19
+ def update_student_email(oa_id, student_email)
20
+ # url = "#{api_path}#{oa_id}"
21
+ url = "#{api_path}/students/#{oa_id}"
22
+ return oa_answer( url, {student: {email: student_email}})
23
+ end
19
24
  # # @note Update one student's status
20
25
  # # @param oa_id - (Integer) - id of student to update
21
26
  # # @param status - (string) - status to update for student
@@ -1,5 +1,5 @@
1
1
  module Openapply
2
2
  module Version
3
- VERSION = "1.0.3.7"
3
+ VERSION = "1.0.3.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openapply
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3.7
4
+ version: 1.0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bill Tihen
8
8
  - Elliott Hébert
9
- autorequire:
9
+ autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2022-09-20 00:00:00.000000000 Z
12
+ date: 2023-03-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty
@@ -137,7 +137,7 @@ dependencies:
137
137
  - - "~>"
138
138
  - !ruby/object:Gem::Version
139
139
  version: '0.14'
140
- description:
140
+ description:
141
141
  email:
142
142
  - btihen@gmail.com
143
143
  - btihen@las.ch
@@ -172,7 +172,7 @@ homepage: https://github.com/las-it/openapply
172
172
  licenses:
173
173
  - MIT
174
174
  metadata: {}
175
- post_install_message:
175
+ post_install_message:
176
176
  rdoc_options: []
177
177
  require_paths:
178
178
  - lib
@@ -187,8 +187,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
187
187
  - !ruby/object:Gem::Version
188
188
  version: '0'
189
189
  requirements: []
190
- rubygems_version: 3.3.20
191
- signing_key:
190
+ rubygems_version: 3.0.3.1
191
+ signing_key:
192
192
  specification_version: 4
193
193
  summary: Access OpenApply's APIs with Ruby
194
194
  test_files: []