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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6edbd981e494d9f1063ba9d150596c629c7d0bf3908f87809664a6ce18befa2f
4
- data.tar.gz: 35a521253e0bc888a538e28aeaaccac1b5380fbb9529cd6a8a202b540d2ec48e
3
+ metadata.gz: 4d5d6224f04656ce0e18a4509f1607ab91b9cc85c3318b35f50c5ec35b77836c
4
+ data.tar.gz: '0763692f5e718a104134f64d1b048ce6ddbeca37627ae6f9d8556c9f5399292a'
5
5
  SHA512:
6
- metadata.gz: 14638e9706ece06c415252c5765fd334da5ac00e04ab6489c289bb606ed647adc48430bae0be3df93531c1c39e699e702207eeb7a3ee654a0460177cfb39e48c
7
- data.tar.gz: 37e430223b7aef6665c9cb4f9065cef1f41e90cf6dc67795dc29cc04fb49c354e23cb0c0105ddb751de472b26dc58b86378194d54b1594861542ba4879909270
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
  [![Gem Version](https://badge.fury.io/rb/openstax_api.svg)](http://badge.fury.io/rb/openstax_api)
4
- [![Build Status](https://travis-ci.org/openstax/openstax_api.svg?branch=master)](https://travis-ci.org/openstax/openstax_api)
4
+ [![Tests](https://github.com/openstax/openstax_api/workflows/Tests/badge.svg)](https://github.com/openstax/openstax_api/actions?query=workflow:Tests)
5
5
  [![Code Climate](https://codeclimate.com/github/openstax/openstax_api/badges/gpa.svg)](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
-
@@ -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, Lev::BetterActiveModelErrors
153
+ when ActiveModel::Errors
154
154
  hash[:errors] = errors.map do |error|
155
155
  attribute = error.attribute
156
156
  message = error.message
@@ -1,5 +1,5 @@
1
1
  module OpenStax
2
2
  module Api
3
- VERSION = '9.4.0'
3
+ VERSION = '9.4.1'
4
4
  end
5
5
  end
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.0
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-02-01 00:00:00.000000000 Z
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: '0'
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: '0'
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: '0'
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: '0'
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.7
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.