image_size 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +1 -1
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/image_size.gemspec +2 -2
- metadata +4 -3
data/README.markdown
CHANGED
@@ -13,9 +13,9 @@ The latest version of image\_size can be found at http://github.com/toy/image_si
|
|
13
13
|
|
14
14
|
## Simple Example
|
15
15
|
|
16
|
-
ruby "rubygems" # you use rubygems
|
17
16
|
ruby "image_size"
|
18
17
|
ruby "open-uri"
|
18
|
+
|
19
19
|
open("http://www.rubycgi.org/image/ruby_gtk_book_title.jpg", "rb") do |fh|
|
20
20
|
p ImageSize.new(fh.read).size
|
21
21
|
end
|
data/Rakefile
CHANGED
@@ -10,7 +10,7 @@ Jeweler::Tasks.new do |gem|
|
|
10
10
|
gem.description = %Q{Measure following file dimensions: PCX, PSD, XPM, TIFF, XBM, PGM, PBM, PPM, BMP, JPEG, PNG, GIF, SWF}
|
11
11
|
gem.homepage = "http://github.com/toy/#{name}"
|
12
12
|
gem.license = 'MIT'
|
13
|
-
gem.authors = ['Ivan Kuchin']
|
13
|
+
gem.authors = ['Keisuke Minami', 'Ivan Kuchin']
|
14
14
|
gem.add_development_dependency 'jeweler', '~> 1.5.1'
|
15
15
|
gem.add_development_dependency 'rake-gem-ghost'
|
16
16
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.2
|
data/image_size.gemspec
CHANGED
@@ -5,10 +5,10 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{image_size}
|
8
|
-
s.version = "1.0.
|
8
|
+
s.version = "1.0.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["Ivan Kuchin"]
|
11
|
+
s.authors = ["Keisuke Minami", "Ivan Kuchin"]
|
12
12
|
s.date = %q{2010-12-15}
|
13
13
|
s.description = %q{Measure following file dimensions: PCX, PSD, XPM, TIFF, XBM, PGM, PBM, PPM, BMP, JPEG, PNG, GIF, SWF}
|
14
14
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,15 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: image_size
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 2
|
10
|
+
version: 1.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
|
+
- Keisuke Minami
|
13
14
|
- Ivan Kuchin
|
14
15
|
autorequire:
|
15
16
|
bindir: bin
|