entypo-rails 2.2.3 → 3.0.0.pre.rc.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 36d28b2ddc6b5a087fee5b7f0f85a32a04db88e8
4
- data.tar.gz: 49acabfde93f3c5790f27661ff2b7fa3d670c654
3
+ metadata.gz: f1408c1329517aacbc2f8553ee44b120b39d3cfc
4
+ data.tar.gz: d7f559dd7e6413f7e58db09ffabfe3c400df501c
5
5
  SHA512:
6
- metadata.gz: 9b81995b638f9d5b3c3d9260c85dbec21446afc6abc4ed96e3b527beca0420753d2a6321f2e7390db9ebbc307a8c8ae6f9284de0c604d5e9c606e37ccd3fc15a
7
- data.tar.gz: adaa78caa238f916fd9b4100946d9009c1397a4cf887b85068421ef23d36592fc6dc8b595cc27c4c9913ff2a9691219dbf78b15480b79852da369a3789ba5659
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[.scss]
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.css.scss](https://github.com/lwe/entypo-rails/blob/master/app/assets/stylesheets/entypo.css.scss),
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[.scss]
50
+ // application.css
51
51
  //= require entypo-fonts
52
52
  @charset "UTF-8";
53
53
 
54
- // icons.css.scss (or wherever)
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
@@ -19,5 +19,5 @@ Gem::Specification.new do |gem|
19
19
  gem.version = Entypo::VERSION
20
20
 
21
21
  gem.required_ruby_version = '>= 1.9'
22
- gem.add_dependency "railties", ">= 3.1", "<= 5"
22
+ gem.add_dependency "railties", ">= 4.1", "<= 5"
23
23
  end
@@ -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
@@ -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.css.scss file.
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.css.scss.erb', __FILE__)
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.
@@ -1,7 +1,7 @@
1
1
  module Entypo
2
2
 
3
3
  # Gem version
4
- VERSION = "2.2.3"
4
+ VERSION = "3.0.0-rc.1"
5
5
 
6
6
  # Entypo font version
7
7
  FONT_VERSION = "2.0-20121031"
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: 2.2.3
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: '3.1'
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: '3.1'
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.css.scss
54
- - app/assets/stylesheets/entypo.css.scss.erb
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: '0'
80
+ version: 1.3.1
81
81
  requirements: []
82
82
  rubyforge_project:
83
83
  rubygems_version: 2.2.2