synonymous 0.2.0 → 0.3.0

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: f031c3ee949b55d4f7e9832ecfb5b30869eb9a31e328b02608ac85be9c5fbe23
4
- data.tar.gz: 06ff2efc5b85e8591e3c4c080eabf4ffce5ab3d0cebd499c2c906ebc3d138523
3
+ metadata.gz: 01e4b7d1e3163206aa1f8c94d28672be1eac9ff8199923bebab244648ad97902
4
+ data.tar.gz: 6b39ef45c54165d3fd33581b708303c7dabc2389dff3821c6dc04f0092b85e6c
5
5
  SHA512:
6
- metadata.gz: d6ab7373fdb3a3513ec42c7ff95c408bbd055b8f5be0bd9ce4e8535b2bb7b08670b47170b01a13d92373b137a459d4468de7367b0246f97494cdfce27c25fc55
7
- data.tar.gz: 00dc21993887e93f610a591c50e7769cca764d3fae26ff4e6d336c0d9c614b359b00e5ade75f361f3f93c4eb8afa13b5a999c0617d07a3f8cd585964ba1b7873
6
+ metadata.gz: 15307c7cf0399ca24ebc36a650ea461206fe37bf6e4e5433a6f564297c6ed072f8cc5597c91470333e9be834f783cd34d3ea0dd1fecd595c9c4b58620db65821
7
+ data.tar.gz: adb56c03089b226666190406debd93727212113cf96be44716cf57beb898476c27c55b3c17344783d4682769356f058d2956f3cf0ee870aa936f7f5f286a2f5a
data/Gemfile.lock CHANGED
@@ -1,35 +1,30 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- synonymous (0.2.0)
4
+ synonymous (0.3.0)
5
5
  faraday
6
- faraday-raise-errors
7
6
 
8
7
  GEM
9
8
  remote: https://rubygems.org/
10
9
  specs:
11
- addressable (2.7.0)
10
+ addressable (2.8.0)
12
11
  public_suffix (>= 2.0.2, < 5.0)
13
12
  crack (0.4.5)
14
13
  rexml
15
- faraday (1.3.0)
16
- faraday-net_http (~> 1.0)
17
- multipart-post (>= 1.2, < 3)
18
- ruby2_keywords
19
- faraday-net_http (1.0.1)
20
- faraday-raise-errors (0.3.0)
21
- faraday
14
+ faraday (2.2.0)
15
+ faraday-net_http (~> 2.0)
16
+ ruby2_keywords (>= 0.0.4)
17
+ faraday-net_http (2.0.2)
22
18
  hashdiff (1.0.1)
23
- minitest (5.14.4)
24
- multipart-post (2.1.1)
25
- public_suffix (4.0.6)
26
- rake (13.0.3)
27
- rexml (3.2.4)
28
- ruby2_keywords (0.0.4)
19
+ minitest (5.15.0)
20
+ public_suffix (4.0.7)
21
+ rake (13.0.6)
22
+ rexml (3.2.5)
23
+ ruby2_keywords (0.0.5)
29
24
  shoulda-context (2.0.0)
30
- vcr (6.0.0)
31
- webmock (3.12.1)
32
- addressable (>= 2.3.6)
25
+ vcr (6.1.0)
26
+ webmock (3.14.0)
27
+ addressable (>= 2.8.0)
33
28
  crack (>= 0.3.2)
34
29
  hashdiff (>= 0.4.0, < 2.0.0)
35
30
 
@@ -37,13 +32,13 @@ PLATFORMS
37
32
  ruby
38
33
 
39
34
  DEPENDENCIES
40
- bundler (~> 1.17)
41
- minitest (~> 5.0)
42
- rake (~> 13.0)
35
+ bundler
36
+ minitest
37
+ rake
43
38
  shoulda-context
44
39
  synonymous!
45
40
  vcr
46
41
  webmock
47
42
 
48
43
  BUNDLED WITH
49
- 1.17.2
44
+ 2.2.32
@@ -1,5 +1,4 @@
1
1
  require "faraday"
2
- require "faraday/raise_errors"
3
2
  require "json"
4
3
 
5
4
  require "synonymous/response"
@@ -17,11 +16,10 @@ module Synonymous
17
16
  end
18
17
 
19
18
  private
20
- attr_reader :client
21
19
 
22
20
  def client
23
21
  @client ||= Faraday.new("https://www.dictionaryapi.com/api/v3/references/thesaurus/json") do |client|
24
- client.use Faraday::RaiseErrors
22
+ client.response :raise_error
25
23
  client.adapter Faraday.default_adapter
26
24
  end
27
25
  end
@@ -1,3 +1,3 @@
1
1
  module Synonymous
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
data/synonymous.gemspec CHANGED
@@ -24,11 +24,10 @@ Gem::Specification.new do |spec|
24
24
  spec.require_paths = ["lib"]
25
25
 
26
26
  spec.add_dependency "faraday"
27
- spec.add_dependency "faraday-raise-errors"
28
27
 
29
- spec.add_development_dependency "bundler", "~> 1.17"
30
- spec.add_development_dependency "rake", "~> 13.0"
31
- spec.add_development_dependency "minitest", "~> 5.0"
28
+ spec.add_development_dependency "bundler"
29
+ spec.add_development_dependency "rake"
30
+ spec.add_development_dependency "minitest"
32
31
  spec.add_development_dependency "shoulda-context"
33
32
  spec.add_development_dependency "vcr"
34
33
  spec.add_development_dependency "webmock"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: synonymous
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Lail
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-03-17 00:00:00.000000000 Z
11
+ date: 2022-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -25,61 +25,47 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: faraday-raise-errors
28
+ name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
- type: :runtime
34
+ type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: bundler
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '1.17'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '1.17'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: rake
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
- - - "~>"
45
+ - - ">="
60
46
  - !ruby/object:Gem::Version
61
- version: '13.0'
47
+ version: '0'
62
48
  type: :development
63
49
  prerelease: false
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
- - - "~>"
52
+ - - ">="
67
53
  - !ruby/object:Gem::Version
68
- version: '13.0'
54
+ version: '0'
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: minitest
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
- - - "~>"
59
+ - - ">="
74
60
  - !ruby/object:Gem::Version
75
- version: '5.0'
61
+ version: '0'
76
62
  type: :development
77
63
  prerelease: false
78
64
  version_requirements: !ruby/object:Gem::Requirement
79
65
  requirements:
80
- - - "~>"
66
+ - - ">="
81
67
  - !ruby/object:Gem::Version
82
- version: '5.0'
68
+ version: '0'
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: shoulda-context
85
71
  requirement: !ruby/object:Gem::Requirement