rails_real_favicon 0.0.8 → 0.0.9
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/lib/generators/favicon_generator.rb +4 -4
- data/lib/rails_real_favicon/version.rb +1 -1
- data/test/dummy/Gemfile +52 -0
- data/test/dummy/Gemfile.lock +194 -0
- data/test/dummy/{README.rdoc → README.md} +1 -5
- data/test/dummy/Rakefile +1 -1
- data/test/dummy/app/assets/config/manifest.js +3 -0
- data/test/dummy/app/assets/javascripts/application.js +5 -3
- data/test/dummy/app/assets/javascripts/cable.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +5 -5
- data/test/dummy/app/channels/application_cable/channel.rb +4 -0
- data/test/dummy/app/channels/application_cable/connection.rb +4 -0
- data/test/dummy/app/controllers/application_controller.rb +0 -2
- data/test/dummy/app/jobs/application_job.rb +2 -0
- data/test/dummy/app/mailers/application_mailer.rb +4 -0
- data/test/dummy/app/views/layouts/application.html.erb +9 -9
- data/test/dummy/app/views/layouts/mailer.html.erb +13 -0
- data/test/dummy/app/views/layouts/mailer.text.erb +1 -0
- data/test/dummy/bin/rails +6 -1
- data/test/dummy/bin/rake +5 -0
- data/test/dummy/bin/setup +16 -15
- data/test/dummy/bin/spring +17 -0
- data/test/dummy/bin/update +26 -0
- data/test/dummy/bin/yarn +11 -0
- data/test/dummy/config.ru +2 -1
- data/test/dummy/config/application.rb +17 -13
- data/test/dummy/config/boot.rb +2 -4
- data/test/dummy/config/cable.yml +10 -0
- data/test/dummy/config/environment.rb +1 -1
- data/test/dummy/config/environments/development.rb +24 -14
- data/test/dummy/config/environments/production.rb +27 -18
- data/test/dummy/config/environments/test.rb +10 -7
- data/test/dummy/config/initializers/application_controller_renderer.rb +8 -0
- data/test/dummy/config/initializers/assets.rb +6 -3
- data/test/dummy/config/initializers/cookies_serializer.rb +2 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +1 -6
- data/test/dummy/config/locales/en.yml +10 -0
- data/test/dummy/config/puma.rb +56 -0
- data/test/dummy/config/routes.rb +1 -54
- data/test/dummy/config/secrets.yml +15 -5
- data/test/dummy/config/spring.rb +6 -0
- data/test/dummy/log/test.log +17 -167
- data/test/dummy/package.json +5 -0
- data/test/dummy/public/404.html +6 -6
- data/test/dummy/public/422.html +6 -6
- data/test/dummy/public/500.html +6 -6
- data/test/dummy/{db/test.sqlite3 → public/apple-touch-icon-precomposed.png} +0 -0
- data/test/dummy/public/apple-touch-icon.png +0 -0
- data/test/dummy/public/robots.txt +1 -0
- data/test/dummy/test/application_system_test_case.rb +5 -0
- data/test/dummy/test/test_helper.rb +7 -0
- data/test/lib/generators/favicon_generator_test.rb +12 -12
- metadata +49 -9
- data/test/dummy/config/database.yml +0 -25
- data/test/dummy/config/initializers/session_store.rb +0 -3
File without changes
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
|
@@ -12,10 +12,10 @@ class FaviconGeneratorTest < Rails::Generators::TestCase
|
|
12
12
|
<browserconfig>
|
13
13
|
<msapplication>
|
14
14
|
<tile>
|
15
|
-
<square70x70logo src="Dfv87ZbNh2/mstile-70x70.png"/>
|
16
|
-
<square150x150logo src="Dfv87ZbNh2/mstile-150x150.png"/>
|
17
|
-
<square310x310logo src="Dfv87ZbNh2/mstile-310x310.png"/>
|
18
|
-
<wide310x150logo src="Dfv87ZbNh2/mstile-310x150.png"/>
|
15
|
+
<square70x70logo src="/Dfv87ZbNh2/mstile-70x70.png"/>
|
16
|
+
<square150x150logo src="/Dfv87ZbNh2/mstile-150x150.png"/>
|
17
|
+
<square310x310logo src="/Dfv87ZbNh2/mstile-310x310.png"/>
|
18
|
+
<wide310x150logo src="/Dfv87ZbNh2/mstile-310x150.png"/>
|
19
19
|
<TileColor>#da532c</TileColor>
|
20
20
|
</tile>
|
21
21
|
</msapplication>
|
@@ -46,13 +46,13 @@ EOF
|
|
46
46
|
"name": "The app",
|
47
47
|
"icons": [
|
48
48
|
{
|
49
|
-
"src": "Dfv87ZbNh2\\/android-chrome-36x36.png",
|
49
|
+
"src": "/Dfv87ZbNh2\\/android-chrome-36x36.png",
|
50
50
|
"sizes": "36x36",
|
51
51
|
"type": "image\\/png",
|
52
52
|
"density": "0.75"
|
53
53
|
},
|
54
54
|
{
|
55
|
-
"src": "Dfv87ZbNh2\\/android-chrome-48x48.png",
|
55
|
+
"src": "/Dfv87ZbNh2\\/android-chrome-48x48.png",
|
56
56
|
"sizes": "48x48",
|
57
57
|
"type": "image\\/png",
|
58
58
|
"density": "1.0"
|
@@ -86,13 +86,13 @@ EOF
|
|
86
86
|
|
87
87
|
test "replace URLs by asset_path in HTML" do
|
88
88
|
original = <<EOF
|
89
|
-
<link rel="apple-touch-icon" sizes="180x180" href="Dfv87ZbNh2/apple-touch-icon-180x180.png">
|
90
|
-
<link rel="icon" type="image/png" href="Dfv87ZbNh2/favicon-16x16.png" sizes="16x16">
|
91
|
-
<link rel="manifest" href="Dfv87ZbNh2/manifest.json">
|
92
|
-
<link rel="shortcut icon" href="Dfv87ZbNh2/favicon.ico">
|
89
|
+
<link rel="apple-touch-icon" sizes="180x180" href="/Dfv87ZbNh2/apple-touch-icon-180x180.png">
|
90
|
+
<link rel="icon" type="image/png" href="/Dfv87ZbNh2/favicon-16x16.png" sizes="16x16">
|
91
|
+
<link rel="manifest" href="/Dfv87ZbNh2/manifest.json">
|
92
|
+
<link rel="shortcut icon" href="/Dfv87ZbNh2/favicon.ico">
|
93
93
|
<meta name="msapplication-TileColor" content="#da532c">
|
94
|
-
<meta name="msapplication-TileImage" content="Dfv87ZbNh2/mstile-144x144.png">
|
95
|
-
<meta name="msapplication-config" content="Dfv87ZbNh2/browserconfig.xml">
|
94
|
+
<meta name="msapplication-TileImage" content="/Dfv87ZbNh2/mstile-144x144.png">
|
95
|
+
<meta name="msapplication-config" content="/Dfv87ZbNh2/browserconfig.xml">
|
96
96
|
<meta name="theme-color" content="#ffffff">
|
97
97
|
EOF
|
98
98
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Philippe Bernard
|
@@ -85,42 +85,62 @@ files:
|
|
85
85
|
- lib/generators/favicon_generator.rb
|
86
86
|
- lib/rails_real_favicon.rb
|
87
87
|
- lib/rails_real_favicon/version.rb
|
88
|
-
- test/dummy/
|
88
|
+
- test/dummy/Gemfile
|
89
|
+
- test/dummy/Gemfile.lock
|
90
|
+
- test/dummy/README.md
|
89
91
|
- test/dummy/Rakefile
|
92
|
+
- test/dummy/app/assets/config/manifest.js
|
90
93
|
- test/dummy/app/assets/javascripts/application.js
|
94
|
+
- test/dummy/app/assets/javascripts/cable.js
|
91
95
|
- test/dummy/app/assets/stylesheets/application.css
|
96
|
+
- test/dummy/app/channels/application_cable/channel.rb
|
97
|
+
- test/dummy/app/channels/application_cable/connection.rb
|
92
98
|
- test/dummy/app/controllers/application_controller.rb
|
93
99
|
- test/dummy/app/helpers/application_helper.rb
|
100
|
+
- test/dummy/app/jobs/application_job.rb
|
101
|
+
- test/dummy/app/mailers/application_mailer.rb
|
94
102
|
- test/dummy/app/views/layouts/application.html.erb
|
103
|
+
- test/dummy/app/views/layouts/mailer.html.erb
|
104
|
+
- test/dummy/app/views/layouts/mailer.text.erb
|
95
105
|
- test/dummy/bin/bundle
|
96
106
|
- test/dummy/bin/rails
|
97
107
|
- test/dummy/bin/rake
|
98
108
|
- test/dummy/bin/setup
|
109
|
+
- test/dummy/bin/spring
|
110
|
+
- test/dummy/bin/update
|
111
|
+
- test/dummy/bin/yarn
|
99
112
|
- test/dummy/config.ru
|
100
113
|
- test/dummy/config/application.rb
|
101
114
|
- test/dummy/config/boot.rb
|
102
|
-
- test/dummy/config/
|
115
|
+
- test/dummy/config/cable.yml
|
103
116
|
- test/dummy/config/environment.rb
|
104
117
|
- test/dummy/config/environments/development.rb
|
105
118
|
- test/dummy/config/environments/production.rb
|
106
119
|
- test/dummy/config/environments/test.rb
|
120
|
+
- test/dummy/config/initializers/application_controller_renderer.rb
|
107
121
|
- test/dummy/config/initializers/assets.rb
|
108
122
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
109
123
|
- test/dummy/config/initializers/cookies_serializer.rb
|
110
124
|
- test/dummy/config/initializers/filter_parameter_logging.rb
|
111
125
|
- test/dummy/config/initializers/inflections.rb
|
112
126
|
- test/dummy/config/initializers/mime_types.rb
|
113
|
-
- test/dummy/config/initializers/session_store.rb
|
114
127
|
- test/dummy/config/initializers/wrap_parameters.rb
|
115
128
|
- test/dummy/config/locales/en.yml
|
129
|
+
- test/dummy/config/puma.rb
|
116
130
|
- test/dummy/config/routes.rb
|
117
131
|
- test/dummy/config/secrets.yml
|
118
|
-
- test/dummy/
|
132
|
+
- test/dummy/config/spring.rb
|
119
133
|
- test/dummy/log/test.log
|
134
|
+
- test/dummy/package.json
|
120
135
|
- test/dummy/public/404.html
|
121
136
|
- test/dummy/public/422.html
|
122
137
|
- test/dummy/public/500.html
|
138
|
+
- test/dummy/public/apple-touch-icon-precomposed.png
|
139
|
+
- test/dummy/public/apple-touch-icon.png
|
123
140
|
- test/dummy/public/favicon.ico
|
141
|
+
- test/dummy/public/robots.txt
|
142
|
+
- test/dummy/test/application_system_test_case.rb
|
143
|
+
- test/dummy/test/test_helper.rb
|
124
144
|
- test/lib/generators/favicon_generator_test.rb
|
125
145
|
- test/rails_real_favicon_test.rb
|
126
146
|
- test/test_helper.rb
|
@@ -149,42 +169,62 @@ signing_key:
|
|
149
169
|
specification_version: 4
|
150
170
|
summary: Manage the favicon of your RoR project with RealFaviconGenerator
|
151
171
|
test_files:
|
172
|
+
- test/dummy/app/assets/config/manifest.js
|
152
173
|
- test/dummy/app/assets/javascripts/application.js
|
174
|
+
- test/dummy/app/assets/javascripts/cable.js
|
153
175
|
- test/dummy/app/assets/stylesheets/application.css
|
176
|
+
- test/dummy/app/channels/application_cable/channel.rb
|
177
|
+
- test/dummy/app/channels/application_cable/connection.rb
|
154
178
|
- test/dummy/app/controllers/application_controller.rb
|
155
179
|
- test/dummy/app/helpers/application_helper.rb
|
180
|
+
- test/dummy/app/jobs/application_job.rb
|
181
|
+
- test/dummy/app/mailers/application_mailer.rb
|
156
182
|
- test/dummy/app/views/layouts/application.html.erb
|
183
|
+
- test/dummy/app/views/layouts/mailer.html.erb
|
184
|
+
- test/dummy/app/views/layouts/mailer.text.erb
|
157
185
|
- test/dummy/bin/bundle
|
158
186
|
- test/dummy/bin/rails
|
159
187
|
- test/dummy/bin/rake
|
160
188
|
- test/dummy/bin/setup
|
189
|
+
- test/dummy/bin/spring
|
190
|
+
- test/dummy/bin/update
|
191
|
+
- test/dummy/bin/yarn
|
161
192
|
- test/dummy/config/application.rb
|
162
193
|
- test/dummy/config/boot.rb
|
163
|
-
- test/dummy/config/
|
194
|
+
- test/dummy/config/cable.yml
|
164
195
|
- test/dummy/config/environment.rb
|
165
196
|
- test/dummy/config/environments/development.rb
|
166
197
|
- test/dummy/config/environments/production.rb
|
167
198
|
- test/dummy/config/environments/test.rb
|
199
|
+
- test/dummy/config/initializers/application_controller_renderer.rb
|
168
200
|
- test/dummy/config/initializers/assets.rb
|
169
201
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
170
202
|
- test/dummy/config/initializers/cookies_serializer.rb
|
171
203
|
- test/dummy/config/initializers/filter_parameter_logging.rb
|
172
204
|
- test/dummy/config/initializers/inflections.rb
|
173
205
|
- test/dummy/config/initializers/mime_types.rb
|
174
|
-
- test/dummy/config/initializers/session_store.rb
|
175
206
|
- test/dummy/config/initializers/wrap_parameters.rb
|
176
207
|
- test/dummy/config/locales/en.yml
|
208
|
+
- test/dummy/config/puma.rb
|
177
209
|
- test/dummy/config/routes.rb
|
178
210
|
- test/dummy/config/secrets.yml
|
211
|
+
- test/dummy/config/spring.rb
|
179
212
|
- test/dummy/config.ru
|
180
|
-
- test/dummy/
|
213
|
+
- test/dummy/Gemfile
|
214
|
+
- test/dummy/Gemfile.lock
|
181
215
|
- test/dummy/log/test.log
|
216
|
+
- test/dummy/package.json
|
182
217
|
- test/dummy/public/404.html
|
183
218
|
- test/dummy/public/422.html
|
184
219
|
- test/dummy/public/500.html
|
220
|
+
- test/dummy/public/apple-touch-icon-precomposed.png
|
221
|
+
- test/dummy/public/apple-touch-icon.png
|
185
222
|
- test/dummy/public/favicon.ico
|
223
|
+
- test/dummy/public/robots.txt
|
186
224
|
- test/dummy/Rakefile
|
187
|
-
- test/dummy/README.
|
225
|
+
- test/dummy/README.md
|
226
|
+
- test/dummy/test/application_system_test_case.rb
|
227
|
+
- test/dummy/test/test_helper.rb
|
188
228
|
- test/lib/generators/favicon_generator_test.rb
|
189
229
|
- test/rails_real_favicon_test.rb
|
190
230
|
- test/test_helper.rb
|
@@ -1,25 +0,0 @@
|
|
1
|
-
# SQLite version 3.x
|
2
|
-
# gem install sqlite3
|
3
|
-
#
|
4
|
-
# Ensure the SQLite 3 gem is defined in your Gemfile
|
5
|
-
# gem 'sqlite3'
|
6
|
-
#
|
7
|
-
default: &default
|
8
|
-
adapter: sqlite3
|
9
|
-
pool: 5
|
10
|
-
timeout: 5000
|
11
|
-
|
12
|
-
development:
|
13
|
-
<<: *default
|
14
|
-
database: db/development.sqlite3
|
15
|
-
|
16
|
-
# Warning: The database defined as "test" will be erased and
|
17
|
-
# re-generated from your development database when you run "rake".
|
18
|
-
# Do not set this db to the same as development or production.
|
19
|
-
test:
|
20
|
-
<<: *default
|
21
|
-
database: db/test.sqlite3
|
22
|
-
|
23
|
-
production:
|
24
|
-
<<: *default
|
25
|
-
database: db/production.sqlite3
|