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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aec2631a5eebf6c105ae15fa8462c06577027583db6b2cbaa952aea4acf52280
4
- data.tar.gz: 3d0ee92a6bdaa1e01f9040dd62fb8b65be37c30262f678aeda4e9ec6a8324f88
3
+ metadata.gz: 0123d440a662f7a4d147465c86fcf59d446a933dcdaa62e6f40b93c76d552297
4
+ data.tar.gz: 2591a952d00cf27d7369d513a5090009e6681055e3c0c8887035b9736cadeb7c
5
5
  SHA512:
6
- metadata.gz: 9d01d88bad42186d009a46dc9030399c9c36542a170a3d8f711ea03dedc4f09548da45ecf6f75c39bb22f3553efb4f4f7a050335e5290cf475dcaa37f7b9a326
7
- data.tar.gz: c796fbdfde096f09fea43bb50091e6df8137d5d82064d3357c661506a73cc312c15c044aceec6b66ebc6616f7d57f4d11c189c4fd20282af9c84c03ddcbd5bce
6
+ metadata.gz: 19f2e12774276689e255a3d5fd525625cf9ffbfa5f32cec156a979425b3f4025d87be13b38725b9a732ef4381d695db2c825e388d3c5179bbc7c0b3a2ea437ee
7
+ data.tar.gz: 255b1b2158142611ed55bcb709d44b0db8e137b18893545a5e20458e481e3b1771660e6765eb2eb61aeb06b5a982200297c6068c45ef263b905cd28c63041c43
@@ -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.escape(string, RESERVED_CHARACTERS)
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
@@ -1,5 +1,5 @@
1
1
  module OpenStax
2
2
  module Api
3
- VERSION = '9.3.0'
3
+ VERSION = '9.3.1'
4
4
  end
5
5
  end
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.0
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: 2020-09-10 00:00:00.000000000 Z
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: []