cloudflare-rails 2.3.0 → 2.4.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: de21d6707867ee11c0af5dae9a254f95fc03e2071d07a86db0406a2c1c400fd2
4
- data.tar.gz: 50ed388a769ce657b4b9b79d3244d6551aead94d74969bd8b1d4e0af6cc5b4cf
3
+ metadata.gz: 11110e82a65bdac6452690a323d9f7b834ec61d224dce3584d59244ae5150240
4
+ data.tar.gz: cbbd90760e1966e42d0ae0e59526228686222a0b2381deb3d41680d4e05d227e
5
5
  SHA512:
6
- metadata.gz: 908b5340a7335a2e26e32290a41017c512cc67fa4124eee4ec9e92b0eb525c8221c532c27e90b12ddd2ec1e994c6af0877d5b727eb0c986d130b94fd20be6bf6
7
- data.tar.gz: 95f000b7ed2033010d400d51ad4834d025286308a887da61bb315cd7e7665452f59852b92918c702fe10dbe57281cd773041c3988b2e6c856f04a2c1ad323538
6
+ metadata.gz: 55dad9534a826670be89601a3404d420535b92e42639e44a001e2f869711c3e7347b2d810ef00967d5f51f680e0517d0c856aa26c1caff8531988722fef00910
7
+ data.tar.gz: 45000db30d0f95515c7d69a4295a4f69d68b2285c638a24b4f1d30b79c53aa5940beb861b7dcc9c2cc75183ab039baaedc34f84510c5455abf7b68d46cc76379
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
+ ## [2.4.0] - 2022-02-22
8
+ - Add trailing slashes to reflect Cloudflare API URLs (https://github.com/modosc/cloudflare-rails/pull/53)
9
+
7
10
  ## [2.3.0] - 2021-10-22
8
11
  - Better handling of malformed IP addresses (https://github.com/modosc/cloudflare-rails/pull/49)
9
12
 
data/Gemfile CHANGED
@@ -2,7 +2,3 @@ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in cloudflare-rails.gemspec
4
4
  gemspec
5
-
6
- group :development do
7
- gem "rspec-isolation", git: "https://github.com/modosc/rspec-isolation"
8
- end
@@ -4,8 +4,4 @@ source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "~> 5.2.0"
6
6
 
7
- group :development do
8
- gem "rspec-isolation", git: "https://github.com/modosc/rspec-isolation"
9
- end
10
-
11
7
  gemspec path: "../"
@@ -4,8 +4,4 @@ source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "~> 6.0.0"
6
6
 
7
- group :development do
8
- gem "rspec-isolation", git: "https://github.com/modosc/rspec-isolation"
9
- end
10
-
11
7
  gemspec path: "../"
@@ -4,8 +4,4 @@ source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "~> 6.1.0"
6
6
 
7
- group :development do
8
- gem "rspec-isolation", git: "https://github.com/modosc/rspec-isolation"
9
- end
10
-
11
7
  gemspec path: "../"
@@ -4,8 +4,4 @@ source "https://rubygems.org"
4
4
 
5
5
  gem "rails", git: "https://github.com/rails/rails", branch: "main"
6
6
 
7
- group :development do
8
- gem "rspec-isolation", git: "https://github.com/modosc/rspec-isolation"
9
- end
10
-
11
7
  gemspec path: "../"
@@ -43,8 +43,8 @@ module Cloudflare
43
43
  end
44
44
 
45
45
  BASE_URL = 'https://www.cloudflare.com'.freeze
46
- IPS_V4_URL = '/ips-v4'.freeze
47
- IPS_V6_URL = '/ips-v6'.freeze
46
+ IPS_V4_URL = '/ips-v4/'.freeze
47
+ IPS_V6_URL = '/ips-v6/'.freeze
48
48
 
49
49
  class << self
50
50
  def ips_v6
@@ -1,5 +1,5 @@
1
1
  module Cloudflare
2
2
  module Rails
3
- VERSION = "2.3.0".freeze
3
+ VERSION = "2.4.0".freeze
4
4
  end
5
5
  end
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: 2.3.0
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - jonathan schatz
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-10-22 00:00:00.000000000 Z
11
+ date: 2022-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -260,7 +260,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
260
260
  - !ruby/object:Gem::Version
261
261
  version: '0'
262
262
  requirements: []
263
- rubygems_version: 3.2.18
263
+ rubygems_version: 3.2.22
264
264
  signing_key:
265
265
  specification_version: 4
266
266
  summary: This gem configures Rails for CloudFlare so that request.ip and request.remote_ip