CFPropertyList 2.3.4 → 2.3.5

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
  SHA1:
3
- metadata.gz: fed36ec005093ba1f807a74c18663aeb8856db98
4
- data.tar.gz: db6fd0816a55bea5e25a8c93da368a4efacfe44d
3
+ metadata.gz: 74e0407ecce8171dfa845b93f5f55e1cd7d386a3
4
+ data.tar.gz: d3d8e956ad24476ee83293c9f4d25fa23b7f2947
5
5
  SHA512:
6
- metadata.gz: 1a47b50c40fa6479a49492a0a8f398b51635024901993b906a371fb581d8fcf6ab632eb79791022fb04c7807f9f72f5b0d0a37baa3cfa5b4309e6db6d9cd3bec
7
- data.tar.gz: 722031d4937bb475092fbaca27575c2071b3fc4d22c71d42394b290810a06396d7a63a4b959b141835d0b39a66a439a59f50d2b08178bc582825485f0341b293
6
+ metadata.gz: 96bc102584b4a4745bcfaa403667644fff60e8be9b2ad9224c454f6b977b236f16156863cc48d20b8aa4cffc0f9f0e4bbea5c05fc7f06450afb49cb37f4aaede
7
+ data.tar.gz: 9f36e44475f5b7a48d957e54b35ed99a821c3df6ead60598c4fd8a7637bbbb1b9bfa8d5a7a438456ae814696ed52a438dbf94151cf2b29974995716c78a7189a
@@ -130,7 +130,7 @@ module CFPropertyList
130
130
  # cftypes = CFPropertyList.guess(x,:convert_unknown_to_string => true,:converter_method => :to_hash, :converter_with_opts => true)
131
131
  def guess(object, options = {})
132
132
  case object
133
- when Fixnum, Integer then CFInteger.new(object)
133
+ when Integer then CFInteger.new(object)
134
134
  when UidFixnum then CFUid.new(object)
135
135
  when Float then CFReal.new(object)
136
136
  when TrueClass, FalseClass then CFBoolean.new(object)
@@ -18,10 +18,10 @@ module CFPropertyList
18
18
  end
19
19
 
20
20
  ##
21
- # UidFixnum is intended to distinguish between a Ruby Fixnum
21
+ # UidFixnum is intended to distinguish between a Ruby Integer
22
22
  # instance that should be converted to a CFInteger/CFReal type and a
23
- # Ruby Fixnum instance that should be converted to a CFUid type.
24
- class UidFixnum < Fixnum
23
+ # Ruby Integer instance that should be converted to a CFUid type.
24
+ class UidFixnum < Integer
25
25
  end
26
26
 
27
27
  # This class defines the base class for all CFType classes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: CFPropertyList
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.4
4
+ version: 2.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Kruse
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-25 00:00:00.000000000 Z
11
+ date: 2017-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake