dedalus 0.2.8 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/dedalus +2 -2
- data/lib/dedalus/elements/image.rb +4 -8
- data/lib/dedalus/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32f5205692e5560aaa3a6c83428136ede6e28a30
|
4
|
+
data.tar.gz: c30df25a551b3ea79c64a9a4f9d5c65218bf7cfd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63566983415d655bbc117edeb33128cff044bb60cef0c626d400eb37f8b76bc167588dbd418fd8d6df4df26ee6c4401506bee658125c2dabdf00935cc798a6f0
|
7
|
+
data.tar.gz: cbb4ebfff7e5bf804c1bfa8bd95895c876db1e8484c1b9b6eb45affe00fbd4da5ef4f2656c2ac2503417d97c215a036fbde72f4fedee401865d57653c7994500
|
data/bin/dedalus
CHANGED
@@ -9,8 +9,8 @@ if File.directory?(File.join(root,'.git'))
|
|
9
9
|
Dedalus::PatternLibrary::Application.kickstart!({
|
10
10
|
setup: {
|
11
11
|
library_name: "Dedalus",
|
12
|
-
module_to_search: Dedalus::PatternLibrary
|
13
|
-
|
12
|
+
module_to_search: # Dedalus::PatternLibrary
|
13
|
+
Dedalus::Elements
|
14
14
|
}
|
15
15
|
})
|
16
16
|
rescue LoadError => e
|
@@ -24,13 +24,9 @@ module Dedalus
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def offset
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
[ 0, height ]
|
31
|
-
else
|
32
|
-
[ 0, 0 ]
|
33
|
-
end
|
27
|
+
ox = invert_x ? width : 0
|
28
|
+
oy = invert_y ? height : 0
|
29
|
+
[ ox, oy ]
|
34
30
|
end
|
35
31
|
|
36
32
|
def z_order
|
@@ -58,7 +54,7 @@ module Dedalus
|
|
58
54
|
end
|
59
55
|
|
60
56
|
def self.example_data
|
61
|
-
{ path: "media/images/cosmos.jpg", scale: 0.2, invert_y: true }
|
57
|
+
{ path: "media/images/cosmos.jpg", scale: 0.2, invert_y: true, invert_x: true }
|
62
58
|
end
|
63
59
|
|
64
60
|
def self.description
|
data/lib/dedalus/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dedalus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joseph Weissman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: joyce
|