texture_packer 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/executables/pack_scss +7 -2
- data/lib/texture_packer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34dcd25f73e3d69be8c8fab1b52c5797c9184ec5c67b635854a169a47a8a0c5e
|
4
|
+
data.tar.gz: 0eb49cb9b875082b947048b933694991a368b9b2dfe132af429a2f46c20d5dda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63ccaf74d26e848d8756e19944e4b72c327a2c6ced6e21213840adacbeae4e9c4f8f816c4f3256303a6a7b0ba2f11e8c4092d0a73926be7bd6a29f04d43fb392
|
7
|
+
data.tar.gz: f4343866d5d7e411fa0b769918a6cc0c9411d8c81b7b5382a9210c0dfbe2e133c8936321f8eb6e738c4122198893f2301cc08042bcfc5966e30340c433b26476
|
data/executables/pack_scss
CHANGED
@@ -88,8 +88,13 @@ output1 += get_mixin("#{base_dir_name}_sprite_m", "background-image: image-url('
|
|
88
88
|
output2 = "" #scss的output
|
89
89
|
output2 += "body[theme='#{theme}']{\n"
|
90
90
|
output2 += " .#{dir_without_theme}_sprite{\n"
|
91
|
-
|
92
|
-
output2 += "
|
91
|
+
if $has_mobile
|
92
|
+
output2 += " @include desktop{ @include #{base_dir_name}_sprite(); }\n"
|
93
|
+
output2 += " @include mobile{ @include #{base_dir_name}_sprite_m(); }\n"
|
94
|
+
else
|
95
|
+
output2 += " @include #{base_dir_name}_sprite();\n"
|
96
|
+
end
|
97
|
+
# output2 += " &.split_mobile{ @include mobile{ @include #{base_dir_name}_sprite_m(); }}\n" if $has_mobile
|
93
98
|
class CssRule
|
94
99
|
def initialize
|
95
100
|
@hash = {}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: texture_packer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- khiav reoy
|
8
8
|
autorequire:
|
9
9
|
bindir: executables
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|