openstax_api 9.4.0 → 9.4.1
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/README.md +1 -2
- data/lib/openstax/api/roar.rb +1 -1
- data/lib/openstax/api/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4d5d6224f04656ce0e18a4509f1607ab91b9cc85c3318b35f50c5ec35b77836c
|
|
4
|
+
data.tar.gz: '0763692f5e718a104134f64d1b048ce6ddbeca37627ae6f9d8556c9f5399292a'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e27275ee2d4fb35f17ee548c46fb488cf7121042145ba17328d5cf68a2fb1472ebbc8c16444efc5825e59db255b4335a62ca4d14549f0822bdcd1c3d482a0985
|
|
7
|
+
data.tar.gz: fda7d0523f84c2549859f80ad05bd326793608950874c851ce63c4c94b988a2f33cbd5225eb4ef543620e14f8dc77f503aa83439536fb8b5796238c444ea8675
|
data/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# openstax_api
|
|
2
2
|
|
|
3
3
|
[](http://badge.fury.io/rb/openstax_api)
|
|
4
|
-
[](https://github.com/openstax/openstax_api/actions?query=workflow:Tests)
|
|
5
5
|
[](https://codeclimate.com/github/openstax/openstax_api)
|
|
6
6
|
|
|
7
7
|
API utilities for OpenStax products and tools.
|
|
@@ -79,4 +79,3 @@ From the gem's main folder, run `bundle`, `rake db:migrate` and then `rake` to r
|
|
|
79
79
|
5. Commit your changes (`git commit -am 'Add some feature'`)
|
|
80
80
|
6. Push to the branch (`git push origin my-new-feature`)
|
|
81
81
|
7. Create new pull request
|
|
82
|
-
|
data/lib/openstax/api/roar.rb
CHANGED
|
@@ -150,7 +150,7 @@ module OpenStax
|
|
|
150
150
|
hash = { status: Rack::Utils.status_code(status) }
|
|
151
151
|
|
|
152
152
|
case errors
|
|
153
|
-
when ActiveModel::Errors
|
|
153
|
+
when ActiveModel::Errors
|
|
154
154
|
hash[:errors] = errors.map do |error|
|
|
155
155
|
attribute = error.attribute
|
|
156
156
|
message = error.message
|
data/lib/openstax/api/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: openstax_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 9.4.
|
|
4
|
+
version: 9.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dante Soares
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2021-
|
|
12
|
+
date: 2021-07-27 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|
|
@@ -65,14 +65,14 @@ dependencies:
|
|
|
65
65
|
requirements:
|
|
66
66
|
- - ">="
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: '
|
|
68
|
+
version: '1'
|
|
69
69
|
type: :runtime
|
|
70
70
|
prerelease: false
|
|
71
71
|
version_requirements: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
73
|
- - ">="
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: '
|
|
75
|
+
version: '1'
|
|
76
76
|
- !ruby/object:Gem::Dependency
|
|
77
77
|
name: uber
|
|
78
78
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -135,14 +135,14 @@ dependencies:
|
|
|
135
135
|
requirements:
|
|
136
136
|
- - ">="
|
|
137
137
|
- !ruby/object:Gem::Version
|
|
138
|
-
version: '
|
|
138
|
+
version: '11'
|
|
139
139
|
type: :runtime
|
|
140
140
|
prerelease: false
|
|
141
141
|
version_requirements: !ruby/object:Gem::Requirement
|
|
142
142
|
requirements:
|
|
143
143
|
- - ">="
|
|
144
144
|
- !ruby/object:Gem::Version
|
|
145
|
-
version: '
|
|
145
|
+
version: '11'
|
|
146
146
|
- !ruby/object:Gem::Dependency
|
|
147
147
|
name: responders
|
|
148
148
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -302,7 +302,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
302
302
|
- !ruby/object:Gem::Version
|
|
303
303
|
version: '0'
|
|
304
304
|
requirements: []
|
|
305
|
-
rubygems_version: 3.2.
|
|
305
|
+
rubygems_version: 3.2.19
|
|
306
306
|
signing_key:
|
|
307
307
|
specification_version: 4
|
|
308
308
|
summary: API utilities for OpenStax products and tools.
|