cloudflare-rails 5.0.0 → 5.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop_todo.yml +9 -1
- data/CHANGELOG.md +3 -0
- data/cloudflare-rails.gemspec +1 -1
- data/lib/cloudflare-rails.rb +3 -0
- data/lib/cloudflare_rails/version.rb +1 -1
- data/lib/cloudflare_rails.rb +3 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed43686018b88e4c778fe84f84cd9ddc61f0ba24cd2dcb9b7075fb1217ec0602
|
4
|
+
data.tar.gz: 0f134178498fd491d3faeaf95ac166fd8f824d4c185699b475075c45590e0eda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7a0b78c93f5b3c07e6b5d8a6778324a9a660146aed5032c228af4854944cccbc985c9144e085a960cdb1c9395cc1a765260fe0ce6daca61286bb7f7a0b9c911
|
7
|
+
data.tar.gz: effcce1fa68e76f0e21be537cf05bccb83d98f16cbfccfe5e9c49f773f9f803354059dd8a7b9dd150953746142b1256aa1f98a3936c41829f2eeea25f2a92db7
|
data/.rubocop_todo.yml
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config`
|
3
|
-
# on 2023-12-
|
3
|
+
# on 2023-12-16 21:20:23 UTC using RuboCop version 1.59.0.
|
4
4
|
# The point is for the user to remove these configuration records
|
5
5
|
# one by one as the offenses are removed from the code base.
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
@@ -37,6 +37,14 @@ Metrics/AbcSize:
|
|
37
37
|
Metrics/MethodLength:
|
38
38
|
Max: 11
|
39
39
|
|
40
|
+
# Offense count: 1
|
41
|
+
# Configuration parameters: ExpectMatchingDefinition, CheckDefinitionPathHierarchy, CheckDefinitionPathHierarchyRoots, Regex, IgnoreExecutableScripts, AllowedAcronyms.
|
42
|
+
# CheckDefinitionPathHierarchyRoots: lib, spec, test, src
|
43
|
+
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
|
44
|
+
Naming/FileName:
|
45
|
+
Exclude:
|
46
|
+
- 'lib/cloudflare-rails.rb'
|
47
|
+
|
40
48
|
# Offense count: 2
|
41
49
|
# Configuration parameters: ForbiddenDelimiters.
|
42
50
|
# ForbiddenDelimiters: (?i-mx:(^|\s)(EO[A-Z]{1}|END)(\s|$))
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
+
## [5.0.1] - 2023-12-16
|
8
|
+
- Fix `zeitwerk` loading issue (https://github.com/modosc/cloudflare-rails/pull/105)
|
9
|
+
|
7
10
|
## [5.0.0] - 2023-12-15
|
8
11
|
### Breaking Changes
|
9
12
|
- Change namespace from `Cloudflare::Rails` to `CloudflareRails`. This avoids issues with the [cloudflare](https://github.com/socketry/cloudflare) gem as well as the global `Rails` namespace.
|
data/cloudflare-rails.gemspec
CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.add_development_dependency 'rspec', '~> 3.12.0'
|
26
26
|
spec.add_development_dependency 'rspec_junit_formatter', '~> 0.6.0'
|
27
27
|
spec.add_development_dependency 'rspec-rails', '~> 6.1.0'
|
28
|
-
spec.add_development_dependency 'rubocop', '~> 1.
|
28
|
+
spec.add_development_dependency 'rubocop', '~> 1.59.0'
|
29
29
|
spec.add_development_dependency 'rubocop-performance', '~> 1.19.1'
|
30
30
|
spec.add_development_dependency 'rubocop-rails', '~> 2.22.2'
|
31
31
|
spec.add_development_dependency 'rubocop-rspec', '~> 2.25.0'
|
data/lib/cloudflare_rails.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudflare-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.
|
4
|
+
version: 5.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jonathan schatz
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-12-
|
11
|
+
date: 2023-12-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: appraisal
|
@@ -128,14 +128,14 @@ dependencies:
|
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 1.
|
131
|
+
version: 1.59.0
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 1.
|
138
|
+
version: 1.59.0
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: rubocop-performance
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -293,6 +293,7 @@ files:
|
|
293
293
|
- gemfiles/rails_6.1.gemfile
|
294
294
|
- gemfiles/rails_7.0.gemfile
|
295
295
|
- gemfiles/rails_7.1.gemfile
|
296
|
+
- lib/cloudflare-rails.rb
|
296
297
|
- lib/cloudflare_rails.rb
|
297
298
|
- lib/cloudflare_rails/check_trusted_proxies.rb
|
298
299
|
- lib/cloudflare_rails/fallback_ips.rb
|