compass-magick 0.1.3 → 0.1.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/lib/magick.rb +1 -1
- data/lib/magick/canvas.rb +1 -1
- metadata +6 -7
data/lib/magick.rb
CHANGED
|
@@ -32,7 +32,7 @@ module Compass::Magick
|
|
|
32
32
|
# The current version of Compass Magick. This value is updated manually on
|
|
33
33
|
# release. If you are using a Git clone, the version will always end with
|
|
34
34
|
# '.git'.
|
|
35
|
-
VERSION = '0.1.
|
|
35
|
+
VERSION = '0.1.4.git'
|
|
36
36
|
|
|
37
37
|
# The locations where plug-ins are located. These paths are scanned for
|
|
38
38
|
# *.rb files and loaded in order.
|
data/lib/magick/canvas.rb
CHANGED
|
@@ -80,7 +80,7 @@ module Compass::Magick
|
|
|
80
80
|
canvas = ChunkyPNG::Canvas.new(width, height)
|
|
81
81
|
for y in (0...height)
|
|
82
82
|
for x in (0...width)
|
|
83
|
-
canvas.set_pixel(x, y, @pixels[(x % @width) + (y % @height) * @
|
|
83
|
+
canvas.set_pixel(x, y, @pixels[(x % @width) + (y % @height) * @width])
|
|
84
84
|
end
|
|
85
85
|
end
|
|
86
86
|
canvas
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: compass-magick
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 19
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 4
|
|
10
|
+
version: 0.1.4
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Stan Angeloff
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-
|
|
18
|
+
date: 2011-05-12 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
name: compass
|
|
@@ -42,12 +42,11 @@ dependencies:
|
|
|
42
42
|
requirements:
|
|
43
43
|
- - ~>
|
|
44
44
|
- !ruby/object:Gem::Version
|
|
45
|
-
hash:
|
|
45
|
+
hash: 13
|
|
46
46
|
segments:
|
|
47
47
|
- 1
|
|
48
48
|
- 1
|
|
49
|
-
|
|
50
|
-
version: 1.1.0
|
|
49
|
+
version: "1.1"
|
|
51
50
|
type: :runtime
|
|
52
51
|
version_requirements: *id002
|
|
53
52
|
- !ruby/object:Gem::Dependency
|