Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Leen-Meyer:puppet
rubygem-facter
facter-Bignum-Fixnum-removed.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File facter-Bignum-Fixnum-removed.patch of Package rubygem-facter
diff -ru .a/lib/facter/util/plist/generator.rb .b/lib/facter/util/plist/generator.rb --- .a/lib/facter/util/plist/generator.rb 1970-01-01 01:00:00.000000000 +0100 +++ .b/lib/facter/util/plist/generator.rb 2023-03-24 11:03:57.050101567 +0100 @@ -15,7 +15,7 @@ # * This requires that you mixin the <tt>Plist::Emit</tt> module, which is already done for +Array+ and +Hash+. # # The following Ruby classes are converted into native plist types: - # Array, Bignum, Date, DateTime, Fixnum, Float, Hash, Integer, String, Symbol, Time, true, false + # Array, Date, DateTime, Float, Hash, Integer, String, Symbol, Time, true, false # * +Array+ and +Hash+ are both recursive; their elements will be converted into plist nodes inside the <array> and <dict> containers (respectively). # * +IO+ (and its descendants) and +StringIO+ objects are read from and their contents placed in a <data> element. # * User classes may implement +to_plist_node+ to dictate how they should be serialized; otherwise the object will be passed to <tt>Marshal.dump</tt> and the result placed in a <data> element. @@ -33,7 +33,7 @@ end # The following Ruby classes are converted into native plist types: - # Array, Bignum, Date, DateTime, Fixnum, Float, Hash, Integer, String, Symbol, Time + # Array, Date, DateTime, Float, Hash, Integer, String, Symbol, Time # # Write us (via RubyForge) if you think another class can be coerced safely into one of the expected plist classes. # @@ -93,7 +93,7 @@ output << tag('date', element.utc.strftime('%Y-%m-%dT%H:%M:%SZ')) when Date # also catches DateTime output << tag('date', element.strftime('%Y-%m-%dT%H:%M:%SZ')) - when String, Symbol, Fixnum, Bignum, Integer, Float + when String, Symbol, Integer, Float output << tag(element_type(element), CGI::escapeHTML(element.to_s)) when IO, StringIO element.rewind @@ -155,8 +155,8 @@ def self.element_type(item) return case item - when String, Symbol; 'string' - when Fixnum, Bignum, Integer; 'integer' + when String, Symbol; 'string' + when Integer; 'integer' when Float; 'real' else raise "Don't know about this data type... something must be wrong!" diff -ru .a/lib/facter/util/solaris_zones.rb .b/lib/facter/util/solaris_zones.rb --- .a/lib/facter/util/solaris_zones.rb 1970-01-01 01:00:00.000000000 +0100 +++ .b/lib/facter/util/solaris_zones.rb 2023-03-24 11:04:41.867259643 +0100 @@ -126,7 +126,7 @@ # # @api private # - # @return [Fixnum, nil] the number of running zones or nil if the number + # @return [Integer, nil] the number of running zones or nil if the number # could not be determined. def count if @zone_hash
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor