specinfra 2.94.0 → 2.94.1
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/lib/specinfra/ext/class.rb +9 -7
- data/lib/specinfra/version.rb +1 -1
- metadata +4 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca8a3fbef5b6ac5a7dc8eac3fef255b932f5352809870d8d1e314c2e9e8eca30
|
4
|
+
data.tar.gz: 637f4451ee3340f5ebc4ca6211d32fb0caa3d6818c0e78578f81bc992a6c87d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8cec42d4a9fa2b2edeafaa374a2c719ce23fb8527d90cb1bad61d60a461318c9928fca9ae60c85d74b71b90a2f3d3d9e8513395f1fa64f39b9eebc5d8439af59
|
7
|
+
data.tar.gz: 79ee89d04e8ab98cb107efa0cf3667bdc4cd65e3007e703a9b6181a54ea23abf639eb29f93b4fc00aa290c44f322d6d334199da4eecc9756bce24469df8fee91
|
data/lib/specinfra/ext/class.rb
CHANGED
@@ -1,11 +1,13 @@
|
|
1
1
|
class Class
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
2
|
+
if !self.method_defined?(:subclasses)
|
3
|
+
def subclasses
|
4
|
+
result = []
|
5
|
+
ObjectSpace.each_object(Class) do |k|
|
6
|
+
next unless k < self
|
7
|
+
next if k.respond_to?(:singleton_class?) && k.singleton_class?
|
8
|
+
result << k
|
9
|
+
end
|
10
|
+
result
|
8
11
|
end
|
9
|
-
result
|
10
12
|
end
|
11
13
|
end
|
data/lib/specinfra/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: specinfra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.94.
|
4
|
+
version: 2.94.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gosuke Miyashita
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: base64
|
@@ -668,7 +667,6 @@ homepage: https://github.com/mizzy/specinfra
|
|
668
667
|
licenses:
|
669
668
|
- MIT
|
670
669
|
metadata: {}
|
671
|
-
post_install_message:
|
672
670
|
rdoc_options: []
|
673
671
|
require_paths:
|
674
672
|
- lib
|
@@ -683,13 +681,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
683
681
|
- !ruby/object:Gem::Version
|
684
682
|
version: '0'
|
685
683
|
requirements: []
|
686
|
-
rubygems_version: 3.
|
687
|
-
signing_key:
|
684
|
+
rubygems_version: 3.6.7
|
688
685
|
specification_version: 4
|
689
686
|
summary: Common layer for serverspec and itamae
|
690
687
|
test_files:
|
691
688
|
- Gemfile
|
692
|
-
- specinfra.gemspec
|
693
689
|
- Rakefile
|
694
690
|
- spec/backend/dockercli/build_command_spec.rb
|
695
691
|
- spec/backend/exec/build_command_spec.rb
|
@@ -817,3 +813,4 @@ test_files:
|
|
817
813
|
- spec/host_inventory/solaris/virtualization_spec.rb
|
818
814
|
- spec/processor_spec.rb
|
819
815
|
- spec/spec_helper.rb
|
816
|
+
- specinfra.gemspec
|