image_size 1.0.3 → 1.0.4
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.
- data/.gitignore +12 -0
- data/image_size.gemspec +12 -60
- metadata +24 -46
- data/.tmignore +0 -1
- data/LICENSE.txt +0 -20
- data/Rakefile +0 -26
- data/VERSION +0 -1
data/.gitignore
ADDED
data/image_size.gemspec
CHANGED
|
@@ -1,66 +1,18 @@
|
|
|
1
|
-
#
|
|
2
|
-
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
|
-
# -*- encoding: utf-8 -*-
|
|
1
|
+
# encoding: UTF-8
|
|
5
2
|
|
|
6
3
|
Gem::Specification.new do |s|
|
|
7
|
-
s.name
|
|
8
|
-
s.version
|
|
9
|
-
|
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
|
-
s.authors = ["Keisuke Minami", "Ivan Kuchin"]
|
|
12
|
-
s.date = %q{2011-02-21}
|
|
4
|
+
s.name = 'image_size'
|
|
5
|
+
s.version = '1.0.4'
|
|
6
|
+
s.summary = %q{Measure image size using pure Ruby}
|
|
13
7
|
s.description = %q{Measure following file dimensions: PCX, PSD, XPM, TIFF, XBM, PGM, PBM, PPM, BMP, JPEG, PNG, GIF, SWF}
|
|
14
|
-
s.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
]
|
|
18
|
-
s.files = [
|
|
19
|
-
".tmignore",
|
|
20
|
-
"LICENSE.txt",
|
|
21
|
-
"README.markdown",
|
|
22
|
-
"Rakefile",
|
|
23
|
-
"VERSION",
|
|
24
|
-
"image_size.gemspec",
|
|
25
|
-
"lib/image_size.rb",
|
|
26
|
-
"test/2-4-7.png",
|
|
27
|
-
"test/4_1_2.gif",
|
|
28
|
-
"test/bmp.bmp",
|
|
29
|
-
"test/cursor.xbm",
|
|
30
|
-
"test/detect.swf",
|
|
31
|
-
"test/pbm.pbm",
|
|
32
|
-
"test/pcx.pcx",
|
|
33
|
-
"test/pgm.pgm",
|
|
34
|
-
"test/test.xpm",
|
|
35
|
-
"test/test_helper.rb",
|
|
36
|
-
"test/test_image_size.rb",
|
|
37
|
-
"test/tiff.tiff",
|
|
38
|
-
"test/tokyo_tower.jpg",
|
|
39
|
-
"test/tower_e.psd"
|
|
40
|
-
]
|
|
41
|
-
s.homepage = %q{http://github.com/toy/image_size}
|
|
42
|
-
s.licenses = ["MIT"]
|
|
43
|
-
s.require_paths = ["lib"]
|
|
44
|
-
s.rubygems_version = %q{1.5.0}
|
|
45
|
-
s.summary = %q{Measure image size using pure Ruby}
|
|
46
|
-
s.test_files = [
|
|
47
|
-
"test/test_helper.rb",
|
|
48
|
-
"test/test_image_size.rb"
|
|
49
|
-
]
|
|
8
|
+
s.homepage = "http://github.com/toy/#{s.name}"
|
|
9
|
+
s.authors = ['Keisuke Minami', 'Ivan Kuchin']
|
|
10
|
+
s.license = 'MIT'
|
|
50
11
|
|
|
51
|
-
|
|
52
|
-
s.specification_version = 3
|
|
12
|
+
s.rubyforge_project = s.name
|
|
53
13
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
|
|
59
|
-
s.add_dependency(%q<rake-gem-ghost>, [">= 0"])
|
|
60
|
-
end
|
|
61
|
-
else
|
|
62
|
-
s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
|
|
63
|
-
s.add_dependency(%q<rake-gem-ghost>, [">= 0"])
|
|
64
|
-
end
|
|
14
|
+
s.files = `git ls-files`.split("\n")
|
|
15
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
|
16
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
|
17
|
+
s.require_paths = %w[lib]
|
|
65
18
|
end
|
|
66
|
-
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: image_size
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 31
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 1.0.
|
|
9
|
+
- 4
|
|
10
|
+
version: 1.0.4
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Keisuke Minami
|
|
@@ -16,54 +16,20 @@ autorequire:
|
|
|
16
16
|
bindir: bin
|
|
17
17
|
cert_chain: []
|
|
18
18
|
|
|
19
|
-
date: 2011-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
- !ruby/object:Gem::Dependency
|
|
23
|
-
name: jeweler
|
|
24
|
-
prerelease: false
|
|
25
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
|
26
|
-
none: false
|
|
27
|
-
requirements:
|
|
28
|
-
- - ~>
|
|
29
|
-
- !ruby/object:Gem::Version
|
|
30
|
-
hash: 1
|
|
31
|
-
segments:
|
|
32
|
-
- 1
|
|
33
|
-
- 5
|
|
34
|
-
- 1
|
|
35
|
-
version: 1.5.1
|
|
36
|
-
type: :development
|
|
37
|
-
version_requirements: *id001
|
|
38
|
-
- !ruby/object:Gem::Dependency
|
|
39
|
-
name: rake-gem-ghost
|
|
40
|
-
prerelease: false
|
|
41
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
|
42
|
-
none: false
|
|
43
|
-
requirements:
|
|
44
|
-
- - ">="
|
|
45
|
-
- !ruby/object:Gem::Version
|
|
46
|
-
hash: 3
|
|
47
|
-
segments:
|
|
48
|
-
- 0
|
|
49
|
-
version: "0"
|
|
50
|
-
type: :development
|
|
51
|
-
version_requirements: *id002
|
|
19
|
+
date: 2011-12-16 00:00:00 Z
|
|
20
|
+
dependencies: []
|
|
21
|
+
|
|
52
22
|
description: "Measure following file dimensions: PCX, PSD, XPM, TIFF, XBM, PGM, PBM, PPM, BMP, JPEG, PNG, GIF, SWF"
|
|
53
23
|
email:
|
|
54
24
|
executables: []
|
|
55
25
|
|
|
56
26
|
extensions: []
|
|
57
27
|
|
|
58
|
-
extra_rdoc_files:
|
|
59
|
-
|
|
60
|
-
- README.markdown
|
|
28
|
+
extra_rdoc_files: []
|
|
29
|
+
|
|
61
30
|
files:
|
|
62
|
-
- .
|
|
63
|
-
- LICENSE.txt
|
|
31
|
+
- .gitignore
|
|
64
32
|
- README.markdown
|
|
65
|
-
- Rakefile
|
|
66
|
-
- VERSION
|
|
67
33
|
- image_size.gemspec
|
|
68
34
|
- lib/image_size.rb
|
|
69
35
|
- test/2-4-7.png
|
|
@@ -80,7 +46,6 @@ files:
|
|
|
80
46
|
- test/tiff.tiff
|
|
81
47
|
- test/tokyo_tower.jpg
|
|
82
48
|
- test/tower_e.psd
|
|
83
|
-
has_rdoc: true
|
|
84
49
|
homepage: http://github.com/toy/image_size
|
|
85
50
|
licenses:
|
|
86
51
|
- MIT
|
|
@@ -109,11 +74,24 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
109
74
|
version: "0"
|
|
110
75
|
requirements: []
|
|
111
76
|
|
|
112
|
-
rubyforge_project:
|
|
113
|
-
rubygems_version: 1.
|
|
77
|
+
rubyforge_project: image_size
|
|
78
|
+
rubygems_version: 1.8.12
|
|
114
79
|
signing_key:
|
|
115
80
|
specification_version: 3
|
|
116
81
|
summary: Measure image size using pure Ruby
|
|
117
82
|
test_files:
|
|
83
|
+
- test/2-4-7.png
|
|
84
|
+
- test/4_1_2.gif
|
|
85
|
+
- test/bmp.bmp
|
|
86
|
+
- test/cursor.xbm
|
|
87
|
+
- test/detect.swf
|
|
88
|
+
- test/pbm.pbm
|
|
89
|
+
- test/pcx.pcx
|
|
90
|
+
- test/pgm.pgm
|
|
91
|
+
- test/test.xpm
|
|
118
92
|
- test/test_helper.rb
|
|
119
93
|
- test/test_image_size.rb
|
|
94
|
+
- test/tiff.tiff
|
|
95
|
+
- test/tokyo_tower.jpg
|
|
96
|
+
- test/tower_e.psd
|
|
97
|
+
has_rdoc:
|
data/.tmignore
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*.gemspec
|
data/LICENSE.txt
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
Copyright (c) 2010 Ivan Kuchin
|
|
2
|
-
|
|
3
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
|
-
a copy of this software and associated documentation files (the
|
|
5
|
-
"Software"), to deal in the Software without restriction, including
|
|
6
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
|
7
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
|
8
|
-
permit persons to whom the Software is furnished to do so, subject to
|
|
9
|
-
the following conditions:
|
|
10
|
-
|
|
11
|
-
The above copyright notice and this permission notice shall be
|
|
12
|
-
included in all copies or substantial portions of the Software.
|
|
13
|
-
|
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
15
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
17
|
-
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
18
|
-
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
19
|
-
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
20
|
-
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/Rakefile
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
require 'rake'
|
|
2
|
-
require 'jeweler'
|
|
3
|
-
require 'rake/gem_ghost_task'
|
|
4
|
-
|
|
5
|
-
name = 'image_size'
|
|
6
|
-
|
|
7
|
-
Jeweler::Tasks.new do |gem|
|
|
8
|
-
gem.name = name
|
|
9
|
-
gem.summary = %Q{Measure image size using pure Ruby}
|
|
10
|
-
gem.description = %Q{Measure following file dimensions: PCX, PSD, XPM, TIFF, XBM, PGM, PBM, PPM, BMP, JPEG, PNG, GIF, SWF}
|
|
11
|
-
gem.homepage = "http://github.com/toy/#{name}"
|
|
12
|
-
gem.license = 'MIT'
|
|
13
|
-
gem.authors = ['Keisuke Minami', 'Ivan Kuchin']
|
|
14
|
-
gem.add_development_dependency 'jeweler', '~> 1.5.1'
|
|
15
|
-
gem.add_development_dependency 'rake-gem-ghost'
|
|
16
|
-
end
|
|
17
|
-
Jeweler::RubygemsDotOrgTasks.new
|
|
18
|
-
Rake::GemGhostTask.new
|
|
19
|
-
|
|
20
|
-
require 'rake/testtask'
|
|
21
|
-
Rake::TestTask.new(:test) do |test|
|
|
22
|
-
test.libs << 'lib' << 'test'
|
|
23
|
-
test.pattern = 'test/**/test_*.rb'
|
|
24
|
-
test.verbose = true
|
|
25
|
-
end
|
|
26
|
-
task :default => :test
|
data/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.0.3
|