texture_packer 1.6.2 → 1.6.3
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 +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/texture_packer/version.rb +1 -1
- data/lib/texture_packer.rb +4 -3
- 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: 443372b8d9b00fe3ab7b14e2f54316ed5ffbb0c0e9700cf1f263fa885e141c46
|
|
4
|
+
data.tar.gz: 3b3ff06f3c6de8e5538fcf049393f2a5aa622647f4aa411763a8ca852a14ed43
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dd6246ba5907057e3843b8e9196cfef248300b9ae2e9b5eb4f0b61d971ba180aed5ec1ad9a4025c2e4a5a4f61703788e47ab334b7e7f71e9ede3c3ea8198bd22
|
|
7
|
+
data.tar.gz: eabd0cbe6b460bea4ab892cbab33fb179b4ed2b500ae7f8b62c6c21f3626281c4eab1a33d304d2338f6cb237af406c6db63f8ae0342df6f374639b9c2d9dba5d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
## Change Log
|
|
2
2
|
|
|
3
|
+
### [v1.6.2](https://github.com/khiav223577/texture_packer/compare/v1.6.1...v1.6.2) 2020/04/14
|
|
4
|
+
- [#18](https://github.com/khiav223577/texture_packer/pull/18) Fix: it needs global mixins when split type is by i18n + mobile (@khiav223577)
|
|
5
|
+
|
|
3
6
|
### [v1.6.1](https://github.com/khiav223577/texture_packer/compare/v1.6.0...v1.6.1) 2020/04/13
|
|
4
7
|
- [#17](https://github.com/khiav223577/texture_packer/pull/17) auto correct coding style by rubocop (@khiav223577)
|
|
5
8
|
|
data/lib/texture_packer.rb
CHANGED
|
@@ -42,9 +42,10 @@ class TexturePacker
|
|
|
42
42
|
prefixs = string_prefix.scan(/\[\w+\]|\:\w+/) # [m]:disabled => ['[m]', ':disabled']
|
|
43
43
|
prefixs.map! do |prefix|
|
|
44
44
|
case prefix
|
|
45
|
-
when '[active]'
|
|
46
|
-
when '[hover]'
|
|
47
|
-
|
|
45
|
+
when '[active]' then ':active' # 因為 TexturePacker 會把 xxx-active-hover 轉成 xxx-active:hover 而不是 xxx:active:hover
|
|
46
|
+
when '[hover]' then ':hover'
|
|
47
|
+
when '[disabled]' then ':disabled'
|
|
48
|
+
else prefix
|
|
48
49
|
end
|
|
49
50
|
end
|
|
50
51
|
# p [selector, prefix, css]
|
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.6.
|
|
4
|
+
version: 1.6.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- khiav reoy
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: executables
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-04-
|
|
11
|
+
date: 2020-04-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|