icomoon2sass 1.0.6 → 1.0.7

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: 28b5779443bf8b78845cb86a3540bfc88c9d797a
4
- data.tar.gz: 50ba432e8b5b68303de79b90d57cdd5dc68f45e7
3
+ metadata.gz: b50afaff92c8de9e2fb1944d856af11f121e7cfd
4
+ data.tar.gz: 0b83b407df5c112b955d6591dedbd91b101c9ea7
5
5
  SHA512:
6
- metadata.gz: b37c75203b2ea76f1d0b77a7548de232c0c52955dc3c257f8177cc982ae2cfd02ab6d3baf7aabbcdd69e6c07bb5627427071151c644656d33e864ad41506cdd8
7
- data.tar.gz: a63c452a2c4c14db45fda68a035d806e2c5333517859642541565a1319370db756db738049450e5e0f7f38e5e1047dfbb4faad4554d33d18f253f597b70d3bc2
6
+ metadata.gz: 07c6b978977503c2fa993e1a5554b15185a99da735e130d7e24a10a8460acea7c99eca08b987c030526e0db319d5b4ad680c9b970ec2f5c88819f8e7fdc80944
7
+ data.tar.gz: bd354a53b8c71791bce1e2db53063b025e11276c13138ae1c7a38e2d6abdd64997d4bf613f5d5d661736b75496cc65de9f006bd77d76c126278c88383f78f5e0
@@ -11,7 +11,7 @@ class Icomoon2Sass::Font
11
11
  @font_family = json['preferences']['fontPref']['metadata']['fontFamily']
12
12
 
13
13
  json['icons'].each do |icon|
14
- @icons[icon['properties']['name']] = {
14
+ @icons[icon['properties']['name'].gsub(/[[:punct:]\s]/, '-')] = {
15
15
  character: [icon['properties']['code']].pack('U'),
16
16
  codepoint: '\%0x' % icon['properties']['code'].ord
17
17
  }
@@ -1,4 +1,4 @@
1
1
  module Icomoon2Sass
2
- VERSION = '1.0.6'
2
+ VERSION = '1.0.7'
3
3
  end
4
4
 
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: icomoon2sass
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jed Foster
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-11 00:00:00.000000000 Z
11
+ date: 2015-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0.19'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0.19'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubyzip
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: '1.1'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.1'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: sass
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: 3.2.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: 3.2.0
55
55
  description: Utility for using Icomoon icon sets in Sass projects
@@ -60,9 +60,7 @@ executables:
60
60
  extensions: []
61
61
  extra_rdoc_files: []
62
62
  files:
63
- - bin/icomoon2sass
64
63
  - lib/hash.rb
65
- - lib/icomoon2sass.rb
66
64
  - lib/icomoon2sass/archive.rb
67
65
  - lib/icomoon2sass/cli.rb
68
66
  - lib/icomoon2sass/dir.rb
@@ -75,7 +73,9 @@ files:
75
73
  - lib/icomoon2sass/utilities.rb
76
74
  - lib/icomoon2sass/version.rb
77
75
  - lib/icomoon2sass/zip.rb
76
+ - lib/icomoon2sass.rb
78
77
  - lib/run.rb
78
+ - bin/icomoon2sass
79
79
  homepage: https://github.com/jedfoster/icomoon2sass
80
80
  licenses:
81
81
  - MIT
@@ -86,17 +86,17 @@ require_paths:
86
86
  - lib
87
87
  required_ruby_version: !ruby/object:Gem::Requirement
88
88
  requirements:
89
- - - ">="
89
+ - - '>='
90
90
  - !ruby/object:Gem::Version
91
91
  version: '0'
92
92
  required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  requirements: []
98
98
  rubyforge_project:
99
- rubygems_version: 2.2.2
99
+ rubygems_version: 2.0.14
100
100
  signing_key:
101
101
  specification_version: 4
102
102
  summary: Command line utility that extracts fonts and codepoints from an Icomoon .zip