fontawesome5-rails 5.2.0.0 → 5.3.0.0

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
  SHA256:
3
- metadata.gz: 32f6934b09249f8051f08f328f858482dcd86f8e2c1012c158f68e2880597f38
4
- data.tar.gz: fea350b026a3cc275064757c24b7d8c7f02b2101feeb6f96b0542146212372c4
3
+ metadata.gz: 29f65711fa7645d557d2b55c22f93e936e13dcd8caa2c4b243c430b7975554a4
4
+ data.tar.gz: bd492bb91e5171d3909f71dc7bd21ac089c1ff37012da66e01f6a00c42ea0a29
5
5
  SHA512:
6
- metadata.gz: '0186b55f3b960980ea6d758f5a0d8b1730e48d8429dca798862aad9c1a0c0600de8ddf52a79caae6a6aa54dc17ba739110c52ede5ce5b2e6cd44045af7c30f9b'
7
- data.tar.gz: 9a6ebd3b94017b038fed464543307cfeb760d46bfdc196035a5595c1e557f120ad490bbcb6452f3dd0b5965e118c2ef5ce25017ae865e75b46e2266f49546c52
6
+ metadata.gz: c4fdb7fc48402c73ee2cd2a7302d9c7b7fdec22b9b27d46461a41ba248bc31ceee4b1cbe3232309674efadf37b336726043ba319fa18c52e98cf7076d22eb3c5
7
+ data.tar.gz: cc085506ad46e9fda12341b764a9c66a85c5e2ede1faca43235715175bc8e0f5fa728c7ec72280810957c429c5a8bbd41c1f822288b4a174103a335bef5b772e
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.5.1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fontawesome5-rails (5.2.0.0)
4
+ fontawesome5-rails (5.3.0.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -17,4 +17,4 @@ DEPENDENCIES
17
17
  rake (~> 10.0)
18
18
 
19
19
  BUNDLED WITH
20
- 1.16.1
20
+ 1.17.3
data/README.md CHANGED
@@ -86,6 +86,9 @@ And, out of box, you can use some useful helper methods as follows:
86
86
 
87
87
  ## Changelog
88
88
 
89
+ - v5.3.0.0
90
+ - added `class: 'mr-2'` opt hash option to fa_icon_text helper method
91
+
89
92
  - v5.2.0.0
90
93
  - updated with Fontawesome latest version 5.2.0
91
94
 
@@ -24,23 +24,23 @@ module Fontawesome5
24
24
  fa_icon(icon_name, opt)
25
25
  end
26
26
 
27
- def fa_icon_text(icon_name, text = '', opt = {})
28
- opt.reverse_merge!(style_prefix: 'far', text: text, icon_size: '1x', class: 'mr-1')
27
+ def fa_icon_text(icon_name, text = '', opt = {class: 'mr-2'})
28
+ opt.reverse_merge!(style_prefix: 'far', text: text, icon_size: '1x', class: opt[:class])
29
29
  fa_icon(icon_name, opt)
30
30
  end
31
31
 
32
- def far_icon_text(icon_name, text = '', opt = {})
33
- opt.reverse_merge!(style_prefix: 'far', text: text, icon_size: '1x', class: 'mr-1')
32
+ def far_icon_text(icon_name, text = '', opt = {class: 'mr-2'})
33
+ opt.reverse_merge!(style_prefix: 'far', text: text, icon_size: '1x', class: opt[:class])
34
34
  fa_icon(icon_name, opt)
35
35
  end
36
36
 
37
- def fas_icon_text(icon_name, text = '', opt = {})
38
- opt.reverse_merge!(style_prefix: 'fas', text: text, icon_size: '1x', class: 'mr-1')
37
+ def fas_icon_text(icon_name, text = '', opt = {class: 'mr-2'})
38
+ opt.reverse_merge!(style_prefix: 'fas', text: text, icon_size: '1x', class: opt[:class])
39
39
  fa_icon(icon_name, opt)
40
40
  end
41
41
 
42
- def fab_icon_text(icon_name, text = '', opt = {})
43
- opt.reverse_merge!(style_prefix: 'fab', text: text, icon_size: '1x', class: 'mr-1')
42
+ def fab_icon_text(icon_name, text = '', opt = {class: 'mr-2'})
43
+ opt.reverse_merge!(style_prefix: 'fab', text: text, icon_size: '1x', class: opt[:class])
44
44
  fa_icon(icon_name, opt)
45
45
  end
46
46
  end
@@ -1,5 +1,5 @@
1
1
  module Fontawesome5
2
2
  module Rails
3
- VERSION = "5.2.0.0"
3
+ VERSION = "5.3.0.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fontawesome5-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.0.0
4
+ version: 5.3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lucius Choi
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-08-21 00:00:00.000000000 Z
11
+ date: 2021-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -46,6 +46,7 @@ extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
48
  - ".gitignore"
49
+ - ".ruby-version"
49
50
  - Gemfile
50
51
  - Gemfile.lock
51
52
  - README.md
@@ -77,7 +78,7 @@ files:
77
78
  homepage: https://github.com/luciuschoi/fontawesome5-rails
78
79
  licenses: []
79
80
  metadata: {}
80
- post_install_message:
81
+ post_install_message:
81
82
  rdoc_options: []
82
83
  require_paths:
83
84
  - lib
@@ -92,9 +93,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
93
  - !ruby/object:Gem::Version
93
94
  version: '0'
94
95
  requirements: []
95
- rubyforge_project:
96
+ rubyforge_project:
96
97
  rubygems_version: 2.7.6
97
- signing_key:
98
+ signing_key:
98
99
  specification_version: 4
99
100
  summary: Gemify Fontawesome 5 version for Rails asset pipeline.
100
101
  test_files: []