magic 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/magic.rb +1 -2
  2. data/lib/magic/version.rb +3 -0
  3. metadata +16 -6
data/lib/magic.rb CHANGED
@@ -6,10 +6,9 @@ require "magic/errors"
6
6
  require "magic/api"
7
7
  require "magic/constants"
8
8
  require "magic/database"
9
+ require "magic/version"
9
10
 
10
11
  module Magic
11
- VERSION = "0.2.5"
12
-
13
12
  class << self
14
13
  # Guesses mime of given file
15
14
  #
@@ -0,0 +1,3 @@
1
+ module Magic
2
+ VERSION = "0.2.6"
3
+ end
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magic
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 27
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 2
8
- - 5
9
- version: 0.2.5
9
+ - 6
10
+ version: 0.2.6
10
11
  platform: ruby
11
12
  authors:
12
13
  - "Jakub Ku\xC5\xBAma"
@@ -14,16 +15,18 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-04-20 00:00:00 +02:00
18
+ date: 2010-06-13 00:00:00 +02:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: ffi
22
23
  prerelease: false
23
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
24
26
  requirements:
25
27
  - - ">="
26
28
  - !ruby/object:Gem::Version
29
+ hash: 1
27
30
  segments:
28
31
  - 0
29
32
  - 6
@@ -35,9 +38,11 @@ dependencies:
35
38
  name: test-unit
36
39
  prerelease: false
37
40
  requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
38
42
  requirements:
39
43
  - - ">="
40
44
  - !ruby/object:Gem::Version
45
+ hash: 3
41
46
  segments:
42
47
  - 2
43
48
  - 0
@@ -54,10 +59,11 @@ extra_rdoc_files: []
54
59
 
55
60
  files:
56
61
  - lib/magic.rb
57
- - lib/magic/database.rb
58
- - lib/magic/errors.rb
59
62
  - lib/magic/api.rb
63
+ - lib/magic/database.rb
60
64
  - lib/magic/constants.rb
65
+ - lib/magic/version.rb
66
+ - lib/magic/errors.rb
61
67
  - LICENSE
62
68
  - README.rdoc
63
69
  has_rdoc: true
@@ -96,16 +102,20 @@ rdoc_options: []
96
102
  require_paths:
97
103
  - lib
98
104
  required_ruby_version: !ruby/object:Gem::Requirement
105
+ none: false
99
106
  requirements:
100
107
  - - ">="
101
108
  - !ruby/object:Gem::Version
109
+ hash: 3
102
110
  segments:
103
111
  - 0
104
112
  version: "0"
105
113
  required_rubygems_version: !ruby/object:Gem::Requirement
114
+ none: false
106
115
  requirements:
107
116
  - - ">="
108
117
  - !ruby/object:Gem::Version
118
+ hash: 23
109
119
  segments:
110
120
  - 1
111
121
  - 3
@@ -114,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
124
  requirements: []
115
125
 
116
126
  rubyforge_project:
117
- rubygems_version: 1.3.6
127
+ rubygems_version: 1.3.7
118
128
  signing_key:
119
129
  specification_version: 3
120
130
  summary: Determine file type and encoding using "magic" numbers