├── .gitignore ├── .travis.yml ├── .yardopts ├── CHANGELOG.md ├── Gemfile ├── LICENSE ├── README.md ├── Rakefile ├── ext └── mimemagic │ └── Rakefile ├── lib ├── mimemagic.rb └── mimemagic │ ├── tables.rb │ └── version.rb ├── mimemagic.gemspec └── test ├── files ├── application.gzip ├── application.vnd.openxmlformats-officedocument.spreadsheetml{gdocs}.sheet ├── application.vnd.openxmlformats-officedocument.spreadsheetml{msoffice}.sheet ├── application.vnd.openxmlformats-officedocument.spreadsheetml{rubyxl}.sheet ├── application.x-bzip ├── application.x-ruby ├── application.x-tar ├── application.zip ├── image.jpeg ├── image.png └── text.x-tex └── mimemagic_test.rb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimemagicrb/mimemagic/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimemagicrb/mimemagic/HEAD/.travis.yml -------------------------------------------------------------------------------- /.yardopts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimemagicrb/mimemagic/HEAD/.yardopts -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimemagicrb/mimemagic/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimemagicrb/mimemagic/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimemagicrb/mimemagic/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimemagicrb/mimemagic/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimemagicrb/mimemagic/HEAD/Rakefile -------------------------------------------------------------------------------- /ext/mimemagic/Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimemagicrb/mimemagic/HEAD/ext/mimemagic/Rakefile -------------------------------------------------------------------------------- /lib/mimemagic.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimemagicrb/mimemagic/HEAD/lib/mimemagic.rb -------------------------------------------------------------------------------- /lib/mimemagic/tables.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimemagicrb/mimemagic/HEAD/lib/mimemagic/tables.rb -------------------------------------------------------------------------------- /lib/mimemagic/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimemagicrb/mimemagic/HEAD/lib/mimemagic/version.rb -------------------------------------------------------------------------------- /mimemagic.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimemagicrb/mimemagic/HEAD/mimemagic.gemspec -------------------------------------------------------------------------------- /test/files/application.gzip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimemagicrb/mimemagic/HEAD/test/files/application.gzip -------------------------------------------------------------------------------- /test/files/application.vnd.openxmlformats-officedocument.spreadsheetml{gdocs}.sheet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimemagicrb/mimemagic/HEAD/test/files/application.vnd.openxmlformats-officedocument.spreadsheetml{gdocs}.sheet -------------------------------------------------------------------------------- /test/files/application.vnd.openxmlformats-officedocument.spreadsheetml{msoffice}.sheet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimemagicrb/mimemagic/HEAD/test/files/application.vnd.openxmlformats-officedocument.spreadsheetml{msoffice}.sheet -------------------------------------------------------------------------------- /test/files/application.vnd.openxmlformats-officedocument.spreadsheetml{rubyxl}.sheet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimemagicrb/mimemagic/HEAD/test/files/application.vnd.openxmlformats-officedocument.spreadsheetml{rubyxl}.sheet -------------------------------------------------------------------------------- /test/files/application.x-bzip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimemagicrb/mimemagic/HEAD/test/files/application.x-bzip -------------------------------------------------------------------------------- /test/files/application.x-ruby: -------------------------------------------------------------------------------- 1 | #!/usr/bin/ruby 2 | print "Hello World" 3 | -------------------------------------------------------------------------------- /test/files/application.x-tar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimemagicrb/mimemagic/HEAD/test/files/application.x-tar -------------------------------------------------------------------------------- /test/files/application.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimemagicrb/mimemagic/HEAD/test/files/application.zip -------------------------------------------------------------------------------- /test/files/image.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimemagicrb/mimemagic/HEAD/test/files/image.jpeg -------------------------------------------------------------------------------- /test/files/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimemagicrb/mimemagic/HEAD/test/files/image.png -------------------------------------------------------------------------------- /test/files/text.x-tex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimemagicrb/mimemagic/HEAD/test/files/text.x-tex -------------------------------------------------------------------------------- /test/mimemagic_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mimemagicrb/mimemagic/HEAD/test/mimemagic_test.rb --------------------------------------------------------------------------------