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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 212bbb0b9badf3e5595984f60e85f1739c907434fa65b6498279803111499fd7
4
- data.tar.gz: 148f4d57788cc7db0fdee92a6758be60c698a8d59f76e89804875f5424ab52e2
3
+ metadata.gz: ad14a652a7c8cf8f5b58ce75a4a6e94a053ef1649d6cfc66201b6b42b6846b07
4
+ data.tar.gz: ffef84868c12b8d1f5064673763bf0c3a1de845ba655c5c54a866c56bb30dc36
5
5
  SHA512:
6
- metadata.gz: 96a3238a90ebb5625ad18279b9b72ec1f122cde54463a6377238091a5e4a5ac8ebb6488fd0de0d176b2b73589e41991eecb53c824c26d5d62f8e7f5c17300d07
7
- data.tar.gz: 97a3e613aa975b7e0828bc467f5d485b81eb24eef6771cc90927f3fa6dfdedfa3a142de61ac22c3952c8a042b41788b18270100df0639102de2fd4441a157c36
6
+ metadata.gz: bd9ea1b6db3a038e3e0b3004a7ec1bb70c8b54b3068d0849da10c76b6e30d9fee0335b5fe9a8f95269e6a4026e62bda5f306d6ea094d358500147dc4c90f3d96
7
+ data.tar.gz: 4560deae913cb6835fed5bdad4c697566b0d196d60f616b56346307682d036aaf3cf8c183b0091ad12bce8f40819efd6dcaef15511e686db4aa482c71186e0ce
data/.rubocop.yml CHANGED
@@ -45,6 +45,10 @@ Style/Documentation:
45
45
  - features/support/env.rb
46
46
  - spec/**/*.rb
47
47
 
48
+ Style/OneClassPerFile:
49
+ Exclude:
50
+ - lib/core_ext.rb
51
+
48
52
  Style/TrailingCommaInArrayLiteral:
49
53
  EnforcedStyleForMultiline: comma
50
54
 
data/CHANGELOG.md CHANGED
@@ -1,6 +1,25 @@
1
1
  # Changelog
2
2
 
3
- ## [v1.0.0](https://github.com/opus-codium/puffy/tree/v1.0.0) (2024-04-09)
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]
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Puffy # :nodoc:
4
- VERSION = '1.1.0-rc1'
4
+ VERSION = '1.1.0'
5
5
  end
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.pre.rc1
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: 3.7.2
97
+ rubygems_version: 4.0.12
98
98
  specification_version: 4
99
99
  summary: Network firewall rules made easy!
100
100
  test_files: []