pruim 0.1.0 → 0.1.1
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/Rakefile +2 -2
- data/lib/pruim/codec.rb +1 -1
- metadata +1 -1
data/Rakefile
CHANGED
@@ -4,7 +4,7 @@ require 'rake/clean'
|
|
4
4
|
CLEAN.include("pkg/*.gem")
|
5
5
|
|
6
6
|
|
7
|
-
PRUIM_VERSION = "0.1.
|
7
|
+
PRUIM_VERSION = "0.1.1"
|
8
8
|
|
9
9
|
def apply_spec_defaults(s)
|
10
10
|
end
|
@@ -14,7 +14,7 @@ end
|
|
14
14
|
s.platform = Gem::Platform::RUBY
|
15
15
|
s.summary = "Pure Ruby Image Library."
|
16
16
|
s.name = 'pruim'
|
17
|
-
s.version =
|
17
|
+
s.version = PRUIM_VERSION
|
18
18
|
s.add_dependency('bindata', '>= 1.0.0')
|
19
19
|
s.add_development_dependency('atto', '>= 0.9.2')
|
20
20
|
s.require_path = 'lib'
|
data/lib/pruim/codec.rb
CHANGED
@@ -13,7 +13,7 @@ module Pruim
|
|
13
13
|
|
14
14
|
# Returns the codec to use for the given filename, based on the extension
|
15
15
|
def self.for_filename(filename)
|
16
|
-
ext = File.extname(
|
16
|
+
ext = File.extname(filename) # get filename extension
|
17
17
|
return self.codec_for(name)
|
18
18
|
end
|
19
19
|
|