vidibus-fileinfo 1.0.2 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -9,12 +9,6 @@ require "vidibus/fileinfo/version"
9
9
 
10
10
  Bundler::GemHelper.install_tasks
11
11
 
12
- RSpec::Core::RakeTask.new(:rcov) do |t|
13
- t.pattern = "spec/**/*_spec.rb"
14
- t.rcov = true
15
- t.rcov_opts = ["--exclude", "^spec,/gems/"]
16
- end
17
-
18
12
  Rake::RDocTask.new do |rdoc|
19
13
  rdoc.rdoc_dir = "rdoc"
20
14
  rdoc.title = "vidibus-fileinfo #{Vidibus::Fileinfo::VERSION}"
@@ -23,4 +17,3 @@ Rake::RDocTask.new do |rdoc|
23
17
  rdoc.options << "--charset=utf-8"
24
18
  end
25
19
 
26
- task :default => :rcov
@@ -54,11 +54,11 @@ module Vidibus
54
54
  size = $1.to_f
55
55
  unit = $2.strip.upcase if $2
56
56
  power = case unit
57
- when "B", "" : 0
58
- when "K", "KB": 1
59
- when "M", "MB": 2
60
- when "G", "GB": 3
61
- when "T", "TB": 4
57
+ when "B", "" then 0
58
+ when "K", "KB" then 1
59
+ when "M", "MB" then 2
60
+ when "G", "GB" then 3
61
+ when "T", "TB" then 4
62
62
  else raise UnitError
63
63
  end
64
64
  factor = 1024**power
@@ -1,5 +1,5 @@
1
1
  module Vidibus
2
2
  module Fileinfo
3
- VERSION = '1.0.2'
3
+ VERSION = '1.1.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,160 +1,122 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: vidibus-fileinfo
3
- version: !ruby/object:Gem::Version
4
- hash: 19
5
- prerelease: false
6
- segments:
7
- - 1
8
- - 0
9
- - 2
10
- version: 1.0.2
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.0
5
+ prerelease:
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Andre Pankratz
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-04-21 00:00:00 +02:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
12
+ date: 2012-06-19 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
22
15
  name: mime-types
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &2162763400 !ruby/object:Gem::Requirement
25
17
  none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 3
30
- segments:
31
- - 0
32
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
33
22
  type: :runtime
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: posix-spawn
37
23
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *2162763400
25
+ - !ruby/object:Gem::Dependency
26
+ name: posix-spawn
27
+ requirement: &2162768340 !ruby/object:Gem::Requirement
39
28
  none: false
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- hash: 3
44
- segments:
45
- - 0
46
- version: "0"
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
47
33
  type: :runtime
48
- version_requirements: *id002
49
- - !ruby/object:Gem::Dependency
50
- name: vidibus-core_extensions
51
34
  prerelease: false
52
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *2162768340
36
+ - !ruby/object:Gem::Dependency
37
+ name: vidibus-core_extensions
38
+ requirement: &2162672300 !ruby/object:Gem::Requirement
53
39
  none: false
54
- requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- hash: 3
58
- segments:
59
- - 0
60
- version: "0"
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
61
44
  type: :runtime
62
- version_requirements: *id003
63
- - !ruby/object:Gem::Dependency
64
- name: bundler
65
45
  prerelease: false
66
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *2162672300
47
+ - !ruby/object:Gem::Dependency
48
+ name: bundler
49
+ requirement: &2162542620 !ruby/object:Gem::Requirement
67
50
  none: false
68
- requirements:
69
- - - ">="
70
- - !ruby/object:Gem::Version
71
- hash: 23
72
- segments:
73
- - 1
74
- - 0
75
- - 0
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
76
54
  version: 1.0.0
77
55
  type: :development
78
- version_requirements: *id004
79
- - !ruby/object:Gem::Dependency
80
- name: rspec
81
56
  prerelease: false
82
- requirement: &id005 !ruby/object:Gem::Requirement
57
+ version_requirements: *2162542620
58
+ - !ruby/object:Gem::Dependency
59
+ name: rspec
60
+ requirement: &2162462080 !ruby/object:Gem::Requirement
83
61
  none: false
84
- requirements:
62
+ requirements:
85
63
  - - ~>
86
- - !ruby/object:Gem::Version
87
- hash: 7
88
- segments:
89
- - 2
90
- version: "2"
64
+ - !ruby/object:Gem::Version
65
+ version: '2'
91
66
  type: :development
92
- version_requirements: *id005
93
- - !ruby/object:Gem::Dependency
94
- name: rr
95
67
  prerelease: false
96
- requirement: &id006 !ruby/object:Gem::Requirement
68
+ version_requirements: *2162462080
69
+ - !ruby/object:Gem::Dependency
70
+ name: rr
71
+ requirement: &2162391560 !ruby/object:Gem::Requirement
97
72
  none: false
98
- requirements:
99
- - - ">="
100
- - !ruby/object:Gem::Version
101
- hash: 3
102
- segments:
103
- - 0
104
- version: "0"
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
105
77
  type: :development
106
- version_requirements: *id006
107
- - !ruby/object:Gem::Dependency
108
- name: rake
109
78
  prerelease: false
110
- requirement: &id007 !ruby/object:Gem::Requirement
79
+ version_requirements: *2162391560
80
+ - !ruby/object:Gem::Dependency
81
+ name: rake
82
+ requirement: &2162258760 !ruby/object:Gem::Requirement
111
83
  none: false
112
- requirements:
113
- - - ">="
114
- - !ruby/object:Gem::Version
115
- hash: 3
116
- segments:
117
- - 0
118
- version: "0"
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
119
88
  type: :development
120
- version_requirements: *id007
121
- - !ruby/object:Gem::Dependency
122
- name: rcov
123
89
  prerelease: false
124
- requirement: &id008 !ruby/object:Gem::Requirement
90
+ version_requirements: *2162258760
91
+ - !ruby/object:Gem::Dependency
92
+ name: rdoc
93
+ requirement: &2162138320 !ruby/object:Gem::Requirement
125
94
  none: false
126
- requirements:
127
- - - ">="
128
- - !ruby/object:Gem::Version
129
- hash: 3
130
- segments:
131
- - 0
132
- version: "0"
95
+ requirements:
96
+ - - ! '>='
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
133
99
  type: :development
134
- version_requirements: *id008
135
- - !ruby/object:Gem::Dependency
136
- name: rdoc
137
100
  prerelease: false
138
- requirement: &id009 !ruby/object:Gem::Requirement
101
+ version_requirements: *2162138320
102
+ - !ruby/object:Gem::Dependency
103
+ name: simplecov
104
+ requirement: &2154177040 !ruby/object:Gem::Requirement
139
105
  none: false
140
- requirements:
141
- - - ">="
142
- - !ruby/object:Gem::Version
143
- hash: 3
144
- segments:
145
- - 0
146
- version: "0"
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
147
110
  type: :development
148
- version_requirements: *id009
149
- description: Returns information like the width, height and bits about an image or video file.
111
+ prerelease: false
112
+ version_requirements: *2154177040
113
+ description: Returns information like the width, height and bits about an image or
114
+ video file.
150
115
  email: andre@vidibus.com
151
116
  executables: []
152
-
153
117
  extensions: []
154
-
155
118
  extra_rdoc_files: []
156
-
157
- files:
119
+ files:
158
120
  - lib/vidibus/fileinfo/base.rb
159
121
  - lib/vidibus/fileinfo/processor/image.rb
160
122
  - lib/vidibus/fileinfo/processor/video.rb
@@ -164,41 +126,28 @@ files:
164
126
  - LICENSE
165
127
  - README.md
166
128
  - Rakefile
167
- has_rdoc: true
168
129
  homepage: https://github.com/vidibus/vidibus-fileinfo
169
130
  licenses: []
170
-
171
131
  post_install_message:
172
132
  rdoc_options: []
173
-
174
- require_paths:
133
+ require_paths:
175
134
  - lib
176
- required_ruby_version: !ruby/object:Gem::Requirement
135
+ required_ruby_version: !ruby/object:Gem::Requirement
177
136
  none: false
178
- requirements:
179
- - - ">="
180
- - !ruby/object:Gem::Version
181
- hash: 3
182
- segments:
183
- - 0
184
- version: "0"
185
- required_rubygems_version: !ruby/object:Gem::Requirement
137
+ requirements:
138
+ - - ! '>='
139
+ - !ruby/object:Gem::Version
140
+ version: '0'
141
+ required_rubygems_version: !ruby/object:Gem::Requirement
186
142
  none: false
187
- requirements:
188
- - - ">="
189
- - !ruby/object:Gem::Version
190
- hash: 23
191
- segments:
192
- - 1
193
- - 3
194
- - 6
143
+ requirements:
144
+ - - ! '>='
145
+ - !ruby/object:Gem::Version
195
146
  version: 1.3.6
196
147
  requirements: []
197
-
198
148
  rubyforge_project:
199
- rubygems_version: 1.3.7
149
+ rubygems_version: 1.8.11
200
150
  signing_key:
201
151
  specification_version: 3
202
152
  summary: Returns information about an image or video file.
203
153
  test_files: []
204
-