sixarm_ruby_magic_number_type 2.0.1 → 2.0.2

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: e992d6cc9f33ea901187b3b8e72fc339b86133ab
4
- data.tar.gz: 78fd9286110c64644e6c46ddbd7e67a58a33fcd6
3
+ metadata.gz: f604e639f12e242afd8bc636bfff5316965ae191
4
+ data.tar.gz: 2649815d73848efd748a70b7d1e87ad343027913
5
5
  SHA512:
6
- metadata.gz: 1c3c12c650cc8be5213dd6646748fd909121e03c42ddd84c7d3e2704e0d941061549da16ba2abeb8c8e6f755e4bc783396db3057fc37e435e2dc3e8e2eae29c1
7
- data.tar.gz: 99813f14b89f75bfc2ce5184bbe72e5a9686d57dae87a7a29cecea4283b4099fbd22ef36da674c8de6ee1786941960202f54570f922f3b617880c3da53d5f65b
6
+ metadata.gz: a85f8bc28abbea05d568274d4f4cc4c9bcc2b9b2721f8c33916e773bcd90e99347efd78009f1062b0027edc6637d4886f8c6bdd279427f9a14d04bbdc7c8c285
7
+ data.tar.gz: ecfa34df4227e8e31e7e6de48d415f1f58c0d0c8c86a2ba59e1dbd6b6ac121e345306d14b85972efaed3b459ce80bf55154ae5f07ec3d3eecdb12f166465a221
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
@@ -1,3 +1,3 @@
1
- 5A0Sj8qf���g
2
- ��`)���tb��Ȇ\M\��� �z�g֨p���`�H�!钞<�;U:�m"�B�0uw�'���B���:�RI�̓�Fգ�R�޻�Q�V���~���(���9�Ob��;�Z�Ӏ�@�s���!��&D4f�ɘP:�ȸ�ͨs�N��ř�L�Rs9� ��ΛTI���8�/���5j���>������p r_�+,Z � Qa��N��^�%
3
- h5=�P_���������
1
+ 8u,Z ~m��愀rǒ����/�5�Ō�ǛBk�} uB D�\m� eI�?T���^��]������Tc�_���d��+�iZ�����W��>\��V~�� ��L
2
+ ~ Q\������ JMW0VX�ո
3
+ | ��h���~n:' ѷ',@>dsC �>̯"��{��(�Z�o�J- �ә��Eý���kg��f��U�Q
data/README.md CHANGED
@@ -27,7 +27,7 @@ Install:
27
27
 
28
28
  Gemfile:
29
29
 
30
- gem "sixarm_ruby_magic_number_type", "~>2.0", ">=2.0.1"
30
+ gem "sixarm_ruby_magic_number_type", "~>2.0", ">=2.0.2"
31
31
 
32
32
  Require:
33
33
 
@@ -69,7 +69,8 @@ Compare:
69
69
 
70
70
  ## Changes
71
71
 
72
- * 2015-01-05 2.0.1 Updates for Ruby 2.2: signing certificate, gemspec, tilde version
72
+ * 2015-01-05 2.0.2 Unify duplicate "MZ" to one value
73
+ * 2015-01-04 2.0.1 Updates for Ruby 2.2: signing certificate, gemspec, tilde version
73
74
  * 2012-09-08 2.0.0 Upgrade with more formats, samples, classes, and hex packing
74
75
  * 2012-04-20 1.2.0 Upgrade to much faster algorithm
75
76
  * 2012-03-14 1.1.0 Update docs, tests
@@ -33,7 +33,6 @@ class String
33
33
  "BC" => :bitcode,
34
34
  "BM" => :bitmap,
35
35
  "BZ" => :bzip,
36
- "MZ" => :exe,
37
36
  "SIMPLE"=> :fits,
38
37
  "GIF8" => :gif,
39
38
  "GKSM" => :gks,
@@ -44,10 +43,10 @@ class String
44
43
  "MThd" => :midi,
45
44
  "%PDF" => :pdf,
46
45
  "VIEW" => :pm,
47
- ["89504E470D0A1A0A"].pack('H*') => :png,
46
+ ["89504E470D0A1A0A"].pack('H*') => :png,
48
47
  "Y" + ["A6"].pack('H*') + "j" + ["95"].pack('H*') => :sun_rasterfile,
49
- "II" + ["2A00"].pack('H*') => :tiff, # II means Intel format, then 42 little-endian
50
- "MM" + ["002A"].pack('H*') => :tiff, # MM means Motorola format, then 42 big-endian
48
+ "II" + ["2A00"].pack('H*') => :tiff, # II means Intel format, then 42 little-endian
49
+ "MM" + ["002A"].pack('H*') => :tiff, # MM means Motorola format, then 42 big-endian
51
50
  "gimp xcf" => :gimp_xcf,
52
51
  "#FIG" => :xfig,
53
52
  "/* XPM */" => :xpm,
@@ -132,5 +131,3 @@ class String
132
131
  protected
133
132
 
134
133
  end
135
-
136
-
@@ -1,9 +1,9 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  require 'minitest/autorun'
3
+ Minitest::Test ||= MiniTest::Unit::TestCase
3
4
  require 'simplecov'
4
5
  SimpleCov.start
5
6
 
6
7
  ['file','io','string'].map{|x|
7
8
  require "sixarm_ruby_magic_number_type_test/#{x}_test.rb"
8
9
  }
9
-
@@ -16,7 +16,6 @@ describe String do
16
16
  "BC" => :bitcode,
17
17
  "BM" => :bitmap,
18
18
  "BZ" => :bzip,
19
- "MZ" => :exe,
20
19
  "SIMPLE"=> :fits,
21
20
  "GIF8" => :gif,
22
21
  "GKSM" => :gks,
@@ -27,7 +26,7 @@ describe String do
27
26
  "MThd" => :midi,
28
27
  "%PDF" => :pdf,
29
28
  "VIEW" => :pm,
30
- ["89504E470D0A1A0A"].pack('H*') => :png,
29
+ ["89504E470D0A1A0A"].pack('H*') => :png,
31
30
  "Y" + ["A6"].pack('H*') + "j" + ["95"].pack('H*') => :sun_rasterfile,
32
31
  "II" + ["2A00"].pack('H*') => :tiff, # II means Intel format, then 42 little-endian
33
32
  "MM" + ["002A"].pack('H*') => :tiff, # MM means Motorola format, then 42 big-endian
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sixarm_ruby_magic_number_type
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - SixArm
metadata.gz.sig CHANGED
Binary file