rails_real_favicon 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/generators/favicon_generator.rb +1 -1
- data/lib/rails_real_favicon/version.rb +1 -1
- data/test/dummy/log/test.log +36 -0
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 467ffac2b70a0f283a488211b48e16c124c7788b5eee7c15505f50264e9d5b74
|
4
|
+
data.tar.gz: acc54c3f7e2f68a373dc5c2c0ca0fd6c14d80e2804b540410838144f610e116e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f328627cf78a8cb70c0f444199d9ee8f861675d1b290fb4640d3c09abee1d1b99404e1fb147d4cf3cc6c65dca9c1ac99148097b3e86a5085d61a0ebf7ecfdb24
|
7
|
+
data.tar.gz: 0d8d642baba628ce2c027114a6d53be60d73dc04f294878f4a8ff2ee49e667d4a5edd051dd351a3760d84aa066895461cb3ce68e9f8443bf940e0d00ad4ccda9
|
@@ -29,7 +29,7 @@ class FaviconGenerator < Rails::Generators::Base
|
|
29
29
|
req['master_picture']['content'] = Base64.encode64(File.binread(master_pic))
|
30
30
|
|
31
31
|
uri = URI.parse("https://realfavicongenerator.net/api/favicon")
|
32
|
-
resp = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https") do |http|
|
32
|
+
resp = Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == "https", read_timeout: 20) do |http|
|
33
33
|
request = Net::HTTP::Post.new uri
|
34
34
|
request.body = { favicon_generation: req }.to_json
|
35
35
|
request["Content-Type"] = "application/json"
|
data/test/dummy/log/test.log
CHANGED
@@ -130,3 +130,39 @@ FaviconGeneratorTest: test_replace_URLs_by_asset_path_in_XML
|
|
130
130
|
--------------------------------
|
131
131
|
RailsRealFaviconTest: test_truth
|
132
132
|
--------------------------------
|
133
|
+
-------------------------------------------------------------
|
134
|
+
FaviconGeneratorTest: test_replace_URLs_by_asset_path_in_HTML
|
135
|
+
-------------------------------------------------------------
|
136
|
+
-------------------------------------------------------------
|
137
|
+
FaviconGeneratorTest: test_replace_URLs_by_asset_path_in_JSON
|
138
|
+
-------------------------------------------------------------
|
139
|
+
------------------------------------------------------------
|
140
|
+
FaviconGeneratorTest: test_replace_URLs_by_asset_path_in_XML
|
141
|
+
------------------------------------------------------------
|
142
|
+
--------------------------------
|
143
|
+
RailsRealFaviconTest: test_truth
|
144
|
+
--------------------------------
|
145
|
+
--------------------------------
|
146
|
+
RailsRealFaviconTest: test_truth
|
147
|
+
--------------------------------
|
148
|
+
-------------------------------------------------------------
|
149
|
+
FaviconGeneratorTest: test_replace_URLs_by_asset_path_in_HTML
|
150
|
+
-------------------------------------------------------------
|
151
|
+
------------------------------------------------------------
|
152
|
+
FaviconGeneratorTest: test_replace_URLs_by_asset_path_in_XML
|
153
|
+
------------------------------------------------------------
|
154
|
+
-------------------------------------------------------------
|
155
|
+
FaviconGeneratorTest: test_replace_URLs_by_asset_path_in_JSON
|
156
|
+
-------------------------------------------------------------
|
157
|
+
--------------------------------
|
158
|
+
RailsRealFaviconTest: test_truth
|
159
|
+
--------------------------------
|
160
|
+
-------------------------------------------------------------
|
161
|
+
FaviconGeneratorTest: test_replace_URLs_by_asset_path_in_HTML
|
162
|
+
-------------------------------------------------------------
|
163
|
+
------------------------------------------------------------
|
164
|
+
FaviconGeneratorTest: test_replace_URLs_by_asset_path_in_XML
|
165
|
+
------------------------------------------------------------
|
166
|
+
-------------------------------------------------------------
|
167
|
+
FaviconGeneratorTest: test_replace_URLs_by_asset_path_in_JSON
|
168
|
+
-------------------------------------------------------------
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_real_favicon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Philippe Bernard
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '0'
|
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
|
-
version: '
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: json
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -150,8 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
150
150
|
- !ruby/object:Gem::Version
|
151
151
|
version: '0'
|
152
152
|
requirements: []
|
153
|
-
|
154
|
-
rubygems_version: 2.4.5.1
|
153
|
+
rubygems_version: 3.0.3
|
155
154
|
signing_key:
|
156
155
|
specification_version: 4
|
157
156
|
summary: Manage the favicon of your RoR project with RealFaviconGenerator
|