puffy 1.1.0.pre.rc1 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +4 -0
- data/CHANGELOG.md +20 -1
- data/Rakefile +1 -0
- data/lib/puffy/resolver.rb +1 -1
- data/lib/puffy/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ad14a652a7c8cf8f5b58ce75a4a6e94a053ef1649d6cfc66201b6b42b6846b07
|
|
4
|
+
data.tar.gz: ffef84868c12b8d1f5064673763bf0c3a1de845ba655c5c54a866c56bb30dc36
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bd9ea1b6db3a038e3e0b3004a7ec1bb70c8b54b3068d0849da10c76b6e30d9fee0335b5fe9a8f95269e6a4026e62bda5f306d6ea094d358500147dc4c90f3d96
|
|
7
|
+
data.tar.gz: 4560deae913cb6835fed5bdad4c697566b0d196d60f616b56346307682d036aaf3cf8c183b0091ad12bce8f40819efd6dcaef15511e686db4aa482c71186e0ce
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [v1.
|
|
3
|
+
## [v1.1.0](https://github.com/opus-codium/puffy/tree/v1.1.0) (2026-06-10)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/opus-codium/puffy/compare/v1.0.0...v1.1.0)
|
|
6
|
+
|
|
7
|
+
**Implemented enhancements:**
|
|
8
|
+
|
|
9
|
+
- Drop invalid traffic in iptables [\#47](https://github.com/opus-codium/puffy/pull/47) ([smortex](https://github.com/smortex))
|
|
10
|
+
- Add an `azure-ip-range()` function [\#42](https://github.com/opus-codium/puffy/pull/42) ([smortex](https://github.com/smortex))
|
|
11
|
+
- Add support for variables in host/port lists [\#41](https://github.com/opus-codium/puffy/pull/41) ([smortex](https://github.com/smortex))
|
|
12
|
+
|
|
13
|
+
**Fixed bugs:**
|
|
14
|
+
|
|
15
|
+
- Fix `srv()` when multiple SRV records are found [\#50](https://github.com/opus-codium/puffy/pull/50) ([smortex](https://github.com/smortex))
|
|
16
|
+
- Dynamically construct Azure ServiceTags URI [\#43](https://github.com/opus-codium/puffy/pull/43) ([smortex](https://github.com/smortex))
|
|
17
|
+
|
|
18
|
+
**Merged pull requests:**
|
|
19
|
+
|
|
20
|
+
- Improve support for policies [\#49](https://github.com/opus-codium/puffy/pull/49) ([smortex](https://github.com/smortex))
|
|
21
|
+
|
|
22
|
+
## [v1.0.0](https://github.com/opus-codium/puffy/tree/v1.0.0) (2024-04-11)
|
|
4
23
|
|
|
5
24
|
[Full Changelog](https://github.com/opus-codium/puffy/compare/v0.3.1...v1.0.0)
|
|
6
25
|
|
data/Rakefile
CHANGED
|
@@ -16,6 +16,7 @@ GitHubChangelogGenerator::RakeTask.new :changelog do |config|
|
|
|
16
16
|
config.project = 'puffy'
|
|
17
17
|
config.exclude_labels = %w[dependencies skip-changelog]
|
|
18
18
|
config.future_release = "v#{Puffy::VERSION}"
|
|
19
|
+
config.exclude_tags_regex = '\.pre\.'
|
|
19
20
|
end
|
|
20
21
|
|
|
21
22
|
task test: %i[spec features]
|
data/lib/puffy/resolver.rb
CHANGED
|
@@ -40,7 +40,7 @@ module Puffy
|
|
|
40
40
|
# @return [Array<Hash>]
|
|
41
41
|
def resolv_srv(service)
|
|
42
42
|
proto = service.split('.')[1][1..-1].to_sym
|
|
43
|
-
@dns.getresources(service, Resolv::DNS::Resource::IN::SRV).collect { |r| { host: r.target.to_s, port: r.port, proto_hint: proto } }.sort
|
|
43
|
+
@dns.getresources(service, Resolv::DNS::Resource::IN::SRV).collect { |r| { host: r.target.to_s, port: r.port, proto_hint: proto } }.sort { |a, b| [a[:host], a[:port]] <=> [b[:host], b[:port]] }
|
|
44
44
|
end
|
|
45
45
|
|
|
46
46
|
def resolv_apt_mirror(url)
|
data/lib/puffy/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: puffy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.0
|
|
4
|
+
version: 1.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Romain Tartière
|
|
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
94
94
|
- !ruby/object:Gem::Version
|
|
95
95
|
version: '0'
|
|
96
96
|
requirements: []
|
|
97
|
-
rubygems_version:
|
|
97
|
+
rubygems_version: 4.0.12
|
|
98
98
|
specification_version: 4
|
|
99
99
|
summary: Network firewall rules made easy!
|
|
100
100
|
test_files: []
|