pix_scale 0.0.1 → 0.0.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cb50894f1af47cd67e9443fd3480faf5cb7fafa8
4
- data.tar.gz: 2d468a6b9889dff7e5b72534b0ee28009074fcbf
3
+ metadata.gz: 6d73a45dd39fc7155e6de8aa14e07b11da3cffb1
4
+ data.tar.gz: e7e4111dae8d43d96d7be3304e30b83e2f59c23d
5
5
  SHA512:
6
- metadata.gz: 313940b2db000059ea3d756091f896cf5585348c9b2c48bfc9b27f9f2cf1b97a8816bf09809b96f98e8f94562014ef77205136679c818d0e423f6e3cdde1cdc9
7
- data.tar.gz: ca656d6a33bc8dc425819fda854378b96a87e9ccdc9cdf7efeae395ecd7b44b24271d1afd5a946e8d39dc33a71da55dcdaceff11c6618fe1015df6d96c8d51b7
6
+ metadata.gz: 76292d7776f8a3b388758369f6b76706a04a83825ac24b1ca557e0b50291f2a29d23c2e06d039fa2298da46ade6d521c44ef02059d9f5b8987baa33c60d3c3b7
7
+ data.tar.gz: d3de833422624841bc88e3d69df3666f59ff7901de3fa95fa8dc420f34ccd81df15f20919aa123d9a70a1d0a0be4f8cd5d72ebb9a3fab9b993cd6d053552c08c
data/NEWS.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # NEWS
2
2
 
3
+ ## 0.0.2: 2013-06-27
4
+
5
+ Fix a typo release!
6
+
7
+ ### Changes
8
+
9
+ * Fixes
10
+ * Fixed a typo!
11
+
3
12
  ## 0.0.1: 2013-06-27
4
13
 
5
14
  Initial release!
@@ -25,7 +25,7 @@ Example: pix_scale foo.png 0.5
25
25
  pic = Gdk::Pixbuf.new(pic_path)
26
26
  scaled_pic = pic.scale(pic.width * scale, pic.height * scale)
27
27
 
28
- output_path = "#{dirname}/#{basename}-#{scale.to_s}#{extname}"
28
+ output_path = "#{dirname}/#{basename}-#{scale.to_s}.#{extname}"
29
29
  type = (/\Ajpg\z/ =~ extname) ? "jpeg" : extname
30
30
  scaled_pic.save(output_path, type)
31
31
  end
@@ -1,3 +1,3 @@
1
1
  module PixScale
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pix_scale
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masafumi Yokoyama