file_signature 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +7 -4
  2. data/VERSION +1 -1
  3. metadata +2 -2
data/README.md CHANGED
@@ -9,9 +9,7 @@ Magic numbers are the first bits of a file or data stream which uniquely identif
9
9
 
10
10
  For example when the first bits are "BM", this identifies the file as a bitmap image file.
11
11
 
12
- For docs go to <http://sixarm.com/sixarm_ruby_magic_number_type/doc>
13
-
14
- Want to help? We're happy to get pull requests.
12
+ Want to help? Feel free to fork it and submit a pull request.
15
13
 
16
14
 
17
15
  ## Install quickstart
@@ -30,7 +28,7 @@ Require:
30
28
 
31
29
  ## Details
32
30
 
33
- This gem infers based on widespread programming conventions for data file formats.
31
+ This gem infers based on widespread programming conventions for data file formats. It is tested on MRI 1.9.3. If you test it and find it working on other rubies please share your success.
34
32
 
35
33
  These magic numbers are by convention and we are using this guide: http://www.astro.keele.ac.uk/oldusers/rno/Computing/File_magic.html
36
34
 
@@ -46,6 +44,11 @@ Compare:
46
44
  * Unix magic() command for testing files on disk
47
45
  * http://shared-mime.rubyforge.org/
48
46
 
47
+ ##TODO
48
+
49
+ * This library currently contains some pathetic handful of bytestrings for type identification... see if we can import some /usr/share/file/magic or something to extend this so its actually useful for more people.
50
+ * I think it might be a good idea to return the full mime type somewhere.
51
+
49
52
 
50
53
  ## Changes
51
54
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.1.1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: file_signature
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -36,7 +36,7 @@ files:
36
36
  - test/file_signature_test/sample.tiff
37
37
  - test/file_signature_test/sample.xcf.bz2
38
38
  - test/file_signature_test/sample.xcf.gz
39
- homepage: http://robacarp.com
39
+ homepage: http://github.com/robacarp/file_signature
40
40
  licenses: []
41
41
  post_install_message:
42
42
  rdoc_options: []