entypo-rails 2.2.3 → 3.0.0.pre.rc.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 +4 -4
- data/README.md +14 -4
- data/app/assets/stylesheets/{entypo-fonts.css.scss → entypo-fonts.scss} +0 -0
- data/app/assets/stylesheets/{entypo.css.scss.erb → entypo.scss.erb} +0 -0
- data/entypo-rails.gemspec +1 -1
- data/lib/entypo-rails.rb +3 -0
- data/lib/entypo/charmap.rb +2 -2
- data/lib/entypo/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1408c1329517aacbc2f8553ee44b120b39d3cfc
|
4
|
+
data.tar.gz: d7f559dd7e6413f7e58db09ffabfe3c400df501c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed8e32c4d00a16e1d1967ce03f96c6f503ab888becfb3eb7fda8f6284bcebc86ab24b726e5d531addfded5be5a5f87305ab551f50e0bfdc6406a21aa0b8d6edc
|
7
|
+
data.tar.gz: 229541ae56a657f35e244b01088e93d87d01c5ff167bdc266fcc5c969a13ede76ec7ce5f0029a580f9dd18af03e195d791c5e026a53b9c2605b379d091b6439e
|
data/README.md
CHANGED
@@ -29,7 +29,7 @@ Then start your server and open
|
|
29
29
|
Either use the provided mappings, based on `icons-...` and the `:before`:
|
30
30
|
|
31
31
|
```scss
|
32
|
-
// application.css
|
32
|
+
// application.css
|
33
33
|
//= require entypo
|
34
34
|
@charset "UTF-8";
|
35
35
|
```
|
@@ -43,15 +43,15 @@ Fork it on <i class="icon-social-github"></i>.
|
|
43
43
|
or just include the entypo font face and do the mappings yourself, go to
|
44
44
|
http://localhost:3000/entypo/charmap in your browser for a list of all
|
45
45
|
unicode codepoints and CSS classes. This is only available in development
|
46
|
-
mode. Alternatively check out [entypo.
|
46
|
+
mode. Alternatively check out [entypo.scss](https://github.com/lwe/entypo-rails/blob/master/app/assets/stylesheets/entypo.scss),
|
47
47
|
the social font is prefixed with `.icon-social-`.
|
48
48
|
|
49
49
|
```scss
|
50
|
-
// application.css
|
50
|
+
// application.css
|
51
51
|
//= require entypo-fonts
|
52
52
|
@charset "UTF-8";
|
53
53
|
|
54
|
-
// icons.
|
54
|
+
// icons.scss (or wherever)
|
55
55
|
i.cool { font-family: 'entypo' }
|
56
56
|
i.cool:before { content: "\1F44D"; }
|
57
57
|
```
|
@@ -135,6 +135,16 @@ RAILS_ENV=production rake assets:precompile
|
|
135
135
|
|
136
136
|
## Changes
|
137
137
|
|
138
|
+
_3.0.0_
|
139
|
+
|
140
|
+
- Set minimum requirement to Rails 4.1+
|
141
|
+
- Fixed deprecation warnings [#15](https://github.com/lwe/entypo-rails/issues/15)
|
142
|
+
- Fixed entypo font previews at `/entypo/charmap`
|
143
|
+
|
144
|
+
_2.2.3_
|
145
|
+
|
146
|
+
- Fixed `google-plus` icon names, [#16](https://github.com/lwe/entypo-rails/pull/16) by @medinarodel
|
147
|
+
|
138
148
|
_2.2.1_
|
139
149
|
|
140
150
|
- Ensure .erb files are included within packaged gem
|
File without changes
|
File without changes
|
data/entypo-rails.gemspec
CHANGED
data/lib/entypo-rails.rb
CHANGED
@@ -23,5 +23,8 @@ module Entypo
|
|
23
23
|
# Dummy engine so that lib/assets/stylesheets and vendor/assets/fonts
|
24
24
|
# are picked up by Rails asset pipeline.
|
25
25
|
class Engine < ::Rails::Engine
|
26
|
+
initializer :assets do |config|
|
27
|
+
Rails.application.config.assets.precompile += %w{ entypo.css } if Entypo.charmap?
|
28
|
+
end
|
26
29
|
end
|
27
30
|
end
|
data/lib/entypo/charmap.rb
CHANGED
@@ -12,11 +12,11 @@ module Entypo
|
|
12
12
|
end
|
13
13
|
end
|
14
14
|
|
15
|
-
# Public: Access the shared instance based on our default entypo.
|
15
|
+
# Public: Access the shared instance based on our default entypo.scss file.
|
16
16
|
#
|
17
17
|
# Returns Charmap instance.
|
18
18
|
def self.instance
|
19
|
-
@@instance ||= self.new File.expand_path('../../../app/assets/stylesheets/entypo.
|
19
|
+
@@instance ||= self.new File.expand_path('../../../app/assets/stylesheets/entypo.scss.erb', __FILE__)
|
20
20
|
end
|
21
21
|
|
22
22
|
# Public: Returns Array of icons.
|
data/lib/entypo/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: entypo-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.0.0.pre.rc.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lukas Westermann
|
@@ -17,7 +17,7 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '
|
20
|
+
version: '4.1'
|
21
21
|
- - "<="
|
22
22
|
- !ruby/object:Gem::Version
|
23
23
|
version: '5'
|
@@ -27,7 +27,7 @@ dependencies:
|
|
27
27
|
requirements:
|
28
28
|
- - ">="
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
version: '
|
30
|
+
version: '4.1'
|
31
31
|
- - "<="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '5'
|
@@ -50,8 +50,8 @@ files:
|
|
50
50
|
- app/assets/fonts/entypo.svg
|
51
51
|
- app/assets/fonts/entypo.ttf
|
52
52
|
- app/assets/fonts/entypo.woff
|
53
|
-
- app/assets/stylesheets/entypo-fonts.
|
54
|
-
- app/assets/stylesheets/entypo.
|
53
|
+
- app/assets/stylesheets/entypo-fonts.scss
|
54
|
+
- app/assets/stylesheets/entypo.scss.erb
|
55
55
|
- app/controllers/entypo/charmap_controller.rb
|
56
56
|
- app/views/entypo/charmap/index.html.erb
|
57
57
|
- config/routes.rb
|
@@ -75,9 +75,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
75
75
|
version: '1.9'
|
76
76
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
|
-
- - "
|
78
|
+
- - ">"
|
79
79
|
- !ruby/object:Gem::Version
|
80
|
-
version:
|
80
|
+
version: 1.3.1
|
81
81
|
requirements: []
|
82
82
|
rubyforge_project:
|
83
83
|
rubygems_version: 2.2.2
|