texture_packer 1.1.0 → 1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c1b3743303122b6cd9693297b5701fac67078c0caa62577b6e0842cdddd61c25
4
- data.tar.gz: a540f0a1079addab63f844d4032028ae802a38a25665478623ea0dd66357cae1
3
+ metadata.gz: 34dcd25f73e3d69be8c8fab1b52c5797c9184ec5c67b635854a169a47a8a0c5e
4
+ data.tar.gz: 0eb49cb9b875082b947048b933694991a368b9b2dfe132af429a2f46c20d5dda
5
5
  SHA512:
6
- metadata.gz: af892d1dabe7d0688f0bec7695d863ca33c5e31e146422830c461283d78e727550d93dc54b27ffbf6f5118f596f9616d0d046e5a06c36956feea892569c087a8
7
- data.tar.gz: fc8448ec50144df52cfdecb15e3bb9aa02536bf409ca909866f9df8038e427390b75fe19bf1d0cc37b61c1bcddc17511a716e49d5fe793f97a69c5f8163fac27
6
+ metadata.gz: 63ccaf74d26e848d8756e19944e4b72c327a2c6ced6e21213840adacbeae4e9c4f8f816c4f3256303a6a7b0ba2f11e8c4092d0a73926be7bd6a29f04d43fb392
7
+ data.tar.gz: f4343866d5d7e411fa0b769918a6cc0c9411d8c81b7b5382a9210c0dfbe2e133c8936321f8eb6e738c4122198893f2301cc08042bcfc5966e30340c433b26476
@@ -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
- output2 += " @include #{base_dir_name}_sprite();\n"
92
- output2 += " &.split_mobile{ @include mobile{ @include #{base_dir_name}_sprite_m(); }}\n" if $has_mobile
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 = {}
@@ -1,3 +1,3 @@
1
1
  module TexturePacker
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
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.0
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-02-27 00:00:00.000000000 Z
11
+ date: 2018-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler