swagalicious 0.5.0 → 0.5.2

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: 9390b8f1cc7a642960bf7034d19cfced2473bcc8fae6c7c8d2f496f90a3021d8
4
- data.tar.gz: 5a2fcf532d9a334ee083998d0df6477c0c106bc651447a88df9c0a649c569bf1
3
+ metadata.gz: 89c4466d6c9ea1d244b293d16b86edf9f1611b3c9fd0f6057cd3dcf63a8328ed
4
+ data.tar.gz: 0e879d017afc95a8a4f0f27a02e0dad9650eb2eefb07c468d8b732c2149ef70f
5
5
  SHA512:
6
- metadata.gz: 913d388442cb821df24ed4cba9624f3196b4503ba07b6b1a071ca7de44ad98495f3fcfe6356250d011a4da131d7a780e664f8932223f901a520c6c203c099c9a
7
- data.tar.gz: 69a467ca5f92f3ec1794121b1caca3a0a82eff0d953f7eec082776999f754579ab4033144589b252c6867130001de611ab40bc50152b762afc599493eb193c80
6
+ metadata.gz: 2de2c29b4bb1dd5a19fed86010160a445b5f4add5a05a01608761704101f502173dc537c863d7cff8577cac0b8047d7c74a8d4018bfaed1ec61bb63af0918e07
7
+ data.tar.gz: ec3740df707edf4485ed2d50294f6a696bec691541f102c4b63094e9218d5973a8406299570eb642d10721867073858e41919e40e1a96fb8f5674ea318021b84
data/Gemfile.lock CHANGED
@@ -1,11 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- swagalicious (0.4.7)
4
+ swagalicious (0.5.0)
5
5
  faraday (~> 2.0)
6
6
  faraday-rack
7
7
  json-schema
8
8
  oj (~> 3.11.0)
9
+ rack-test (~> 2.0.2)
9
10
  rspec (~> 3)
10
11
 
11
12
  GEM
@@ -17,18 +18,18 @@ GEM
17
18
  minitest (>= 5.1)
18
19
  tzinfo (~> 2.0)
19
20
  zeitwerk (~> 2.3)
20
- addressable (2.8.0)
21
- public_suffix (>= 2.0.2, < 5.0)
21
+ addressable (2.8.1)
22
+ public_suffix (>= 2.0.2, < 6.0)
22
23
  byebug (11.1.3)
23
24
  coderay (1.1.3)
24
25
  concurrent-ruby (1.1.10)
25
26
  diff-lcs (1.5.0)
26
27
  factory_bot (6.1.0)
27
28
  activesupport (>= 5.0.0)
28
- faraday (2.4.0)
29
- faraday-net_http (~> 2.0)
29
+ faraday (2.5.2)
30
+ faraday-net_http (>= 2.0, < 3.1)
30
31
  ruby2_keywords (>= 0.0.4)
31
- faraday-net_http (2.1.0)
32
+ faraday-net_http (3.0.0)
32
33
  faraday-rack (2.0.0)
33
34
  faraday (~> 2.0)
34
35
  i18n (1.10.0)
@@ -44,10 +45,10 @@ GEM
44
45
  pry-byebug (3.9.0)
45
46
  byebug (~> 11.0)
46
47
  pry (~> 0.13.0)
47
- public_suffix (4.0.7)
48
- rack (2.2.3.1)
49
- rack-test (1.1.0)
50
- rack (>= 1.0, < 3)
48
+ public_suffix (5.0.0)
49
+ rack (3.0.0)
50
+ rack-test (2.0.2)
51
+ rack (>= 1.3)
51
52
  rake (12.3.3)
52
53
  rspec (3.11.0)
53
54
  rspec-core (~> 3.11.0)
@@ -73,10 +74,9 @@ PLATFORMS
73
74
  DEPENDENCIES
74
75
  factory_bot (~> 6.1.0)
75
76
  pry-byebug (~> 3.9.0)
76
- rack-test (~> 1.1.0)
77
77
  rake (~> 12.0)
78
78
  rspec (~> 3.0)
79
79
  swagalicious!
80
80
 
81
81
  BUNDLED WITH
82
- 2.2.31
82
+ 2.3.20
@@ -20,7 +20,13 @@ class Swagalicious
20
20
  end
21
21
 
22
22
  def app
23
- @app ||= defined?(Rails) ? Rails.application : Rack::Builder.parse_file("config.ru").first
23
+ @app ||= if defined?(Rails)
24
+ Rails.application
25
+ elsif Rack::RELEASE >= "3.0.0"
26
+ Rack::Builder.parse_file("config.ru")
27
+ else
28
+ Rack::Builder.parse_file("config.ru").first
29
+ end
24
30
  end
25
31
 
26
32
  def client
@@ -1,3 +1,3 @@
1
1
  class Swagalicious
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.2"
3
3
  end
data/swagalicious.gemspec CHANGED
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
28
28
  spec.add_dependency "faraday-rack"
29
29
  spec.add_dependency "json-schema"
30
30
  spec.add_dependency "oj", "~> 3.11.0"
31
- spec.add_dependency "rack-test", "~> 1.1.0"
31
+ spec.add_dependency "rack-test", "~> 2.0.2"
32
32
  spec.add_dependency "rspec", "~> 3"
33
33
 
34
34
  spec.add_development_dependency "factory_bot", "~> 6.1.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swagalicious
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eugene Howe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-27 00:00:00.000000000 Z
11
+ date: 2022-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 1.1.0
75
+ version: 2.0.2
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 1.1.0
82
+ version: 2.0.2
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rspec
85
85
  requirement: !ruby/object:Gem::Requirement