openstax_api 9.3.0 → 9.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/openstax/api/params.rb +3 -1
- data/lib/openstax/api/version.rb +1 -1
- metadata +19 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0123d440a662f7a4d147465c86fcf59d446a933dcdaa62e6f40b93c76d552297
|
4
|
+
data.tar.gz: 2591a952d00cf27d7369d513a5090009e6681055e3c0c8887035b9736cadeb7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19f2e12774276689e255a3d5fd525625cf9ffbfa5f32cec156a979425b3f4025d87be13b38725b9a732ef4381d695db2c825e388d3c5179bbc7c0b3a2ea437ee
|
7
|
+
data.tar.gz: 255b1b2158142611ed55bcb709d44b0db8e137b18893545a5e20458e481e3b1771660e6765eb2eb61aeb06b5a982200297c6068c45ef263b905cd28c63041c43
|
data/lib/openstax/api/params.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'addressable/uri'
|
2
|
+
|
1
3
|
module OpenStax
|
2
4
|
module Api
|
3
5
|
module Params
|
@@ -44,7 +46,7 @@ module OpenStax
|
|
44
46
|
end
|
45
47
|
|
46
48
|
def _escape(string)
|
47
|
-
URI.
|
49
|
+
Addressable::URI.escape_component(string, RESERVED_CHARACTERS)
|
48
50
|
end
|
49
51
|
|
50
52
|
# Normalize a +Hash+ of parameter values. Parameters are sorted by name, using lexicographical
|
data/lib/openstax/api/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openstax_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.3.
|
4
|
+
version: 9.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dante Soares
|
8
8
|
- JP Slavinsky
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-11-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -25,6 +25,20 @@ dependencies:
|
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '5.2'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: addressable
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
28
42
|
- !ruby/object:Gem::Dependency
|
29
43
|
name: representable
|
30
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -267,7 +281,7 @@ homepage: https://github.com/openstax/openstax_api
|
|
267
281
|
licenses:
|
268
282
|
- MIT
|
269
283
|
metadata: {}
|
270
|
-
post_install_message:
|
284
|
+
post_install_message:
|
271
285
|
rdoc_options: []
|
272
286
|
require_paths:
|
273
287
|
- lib
|
@@ -283,7 +297,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
283
297
|
version: '0'
|
284
298
|
requirements: []
|
285
299
|
rubygems_version: 3.1.4
|
286
|
-
signing_key:
|
300
|
+
signing_key:
|
287
301
|
specification_version: 4
|
288
302
|
summary: API utilities for OpenStax products and tools.
|
289
303
|
test_files: []
|