iftoc 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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bba9eecc7939ecf40d5a6b0b9efabbe93a7f0f54
4
- data.tar.gz: 4d62e1bddeab74bfa76b29fe36d732bd2d1f02c9
3
+ metadata.gz: 72f6986d73c2b35f5c378c7701be68b32d8d31dd
4
+ data.tar.gz: 3ae566d33d60c1fd71d1c3b7061697af95d39461
5
5
  SHA512:
6
- metadata.gz: 5b04523d5f69df76da54eeedbf34324f5279dcf1529306c83bab1c7b0943c289d77022300858f60580944cc81a335a4dabd0927d96496aadd921bf6e562c6725
7
- data.tar.gz: 057a022a942c2da2eeb45d253bb8ec24f026fd77e2c88334be1a2c1fa55694f9f4b1f156b576b915cb19f2a1eaffcf88f37b37e5249ceb4d5fd4b1a5346f765d
6
+ metadata.gz: 782dd0daa0fe2a6ff4dd4cb2644708b889394f721655b500e06838538200caa40d50d5cf40a50592cebae20ab454a87e62efb865446abce424515d3875bb9944
7
+ data.tar.gz: 558afeda187ecb38e46f3501edf2e4d20224157ea67d4f25dd198a57bbe457bdf5f2d9aabacd97b3465845b44b05481418cf0c3750e91db796826834b799a9fa
data/README.md CHANGED
@@ -27,6 +27,20 @@ Usage: iftoc \<cssfile> [--out \<outpath>]
27
27
  or
28
28
 
29
29
  $ iftoc iconfont.css --out /iconfont
30
+
31
+ ## iconfont.css
32
+
33
+ Iconfont.css can be created automatically from web [http://www.iconfont.cn](http://www.iconfont.cn/)
34
+
35
+ .
36
+
37
+ ├── **iconfont.css**
38
+
39
+ ├── iconfont.svg
40
+
41
+ ├── iconfont.ttf
42
+
43
+ └── iconfont.woff
30
44
 
31
45
  ## Development
32
46
 
data/iconfont/Iconfont.h CHANGED
@@ -2,7 +2,7 @@
2
2
  // IconFont.h
3
3
  // AutoCoding
4
4
  //
5
- // Created by AutoCoding on 2017/01/04.
5
+ // Created by AutoCoding on 2017/01/05.
6
6
  // Copyright © 2017年 olinone. All rights reserved.
7
7
  //
8
8
 
data/iconfont/Iconfont.m CHANGED
@@ -2,7 +2,7 @@
2
2
  // IconFont.m
3
3
  // AutoCoding
4
4
  //
5
- // Created by AutoCoding on 2017/01/04.
5
+ // Created by AutoCoding on 2017/01/05.
6
6
  // Copyright © 2017年 olinone. All rights reserved.
7
7
  //
8
8
 
@@ -24,11 +24,11 @@
24
24
  }
25
25
 
26
26
  - (NSString *)icongouwuche {
27
- return @"U0000e604";
27
+ return @"\U0000e604";
28
28
  }
29
29
 
30
30
  - (NSString *)iconqiqiu {
31
- return @"U0000e605";
31
+ return @"\U0000e605";
32
32
  }
33
33
 
34
34
  @end
data/lib/iftoc/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Iftoc
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
data/lib/iftoc.rb CHANGED
@@ -98,7 +98,7 @@ module Iftoc
98
98
 
99
99
  iconfontMap.each { |key, value|
100
100
  mString = mString + "- (NSString *)icon" + key + " {\n";
101
- mString = mString + " return @\"\U0000" + value + "\";" + "\n}\n\n"
101
+ mString = mString + " return @\"\\U0000" + value + "\";" + "\n}\n\n"
102
102
  }
103
103
 
104
104
  mString = mString + "@end"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iftoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - 庞海礁