semantic_ui_views_generator 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/semantic/templates/layouts/application.html.erb.tt +9 -1
- data/lib/generators/semantic/templates/layouts/application.html.haml.tt +10 -2
- data/lib/generators/semantic/templates/layouts/application.html.slim.tt +9 -1
- data/lib/semantic_ui_views_generator/version.rb +1 -1
- data/semantic_ui_views_generator.gemspec +2 -3
- metadata +5 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83e07d8b9b838b05ca3d0569ffe6f590b91b39693b1bbf5c5a15dc383caf8519
|
4
|
+
data.tar.gz: e04f37d747b17d4466e816d30f73db3c648ea8b07071ed13758cf4787f37aba7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 670386000ee46f112d3c358d7ff586b1dc4abaf1f947898d2dd9356a4b7005205189317ed79d323d9eb0eba55a5ee8de52d76713e80ada0aa236f01b01413cf8
|
7
|
+
data.tar.gz: d3d2b69da8c237c4ff2cdac2dc90b5c40d4f7c4c5fd11cee82dd43231a2b3d40c55aba8b24cfa62351ee20f01da4fa2a1ce03f4caa11488ad68c0cd25f57c0d3
|
@@ -13,10 +13,18 @@
|
|
13
13
|
<%%= csp_meta_tag %>
|
14
14
|
<%- if options[:skip_turbolinks] -%>
|
15
15
|
<%%= stylesheet_link_tag 'application', media: 'all' %>
|
16
|
+
<%- if Gem::Version.new(Rails.version) < Gem::Version.new('6.0') %>
|
16
17
|
<%%= javascript_include_tag 'application' %>
|
18
|
+
<%- else %>
|
19
|
+
<%%= javascript_pack_tag 'application' %>
|
20
|
+
<%- end %>
|
17
21
|
<%- else -%>
|
18
22
|
<%%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
|
19
|
-
|
23
|
+
<%- if Gem::Version.new(Rails.version) < Gem::Version.new('6.0') %>
|
24
|
+
<%%= javascript_include_tag 'application', 'data-turbolinks-track': true %>
|
25
|
+
<%- else %>
|
26
|
+
<%%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>
|
27
|
+
<% end %>
|
20
28
|
<%- end -%>
|
21
29
|
<!--IE Polyfill for CSS Elements-->
|
22
30
|
<!--HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries-->
|
@@ -8,16 +8,24 @@
|
|
8
8
|
<%- if options[:metatags] %>
|
9
9
|
= display_meta_tags site: '<%= Rails.application.class.parent.to_s.titleize %>'
|
10
10
|
<% else %>
|
11
|
-
title Semantic UI template
|
11
|
+
%title Semantic UI template
|
12
12
|
<% end %>
|
13
13
|
= csrf_meta_tags
|
14
14
|
= csp_meta_tag
|
15
15
|
<%- if options[:skip_turbolinks] -%>
|
16
16
|
= stylesheet_link_tag 'application', media: 'all'
|
17
|
+
<%- if Gem::Version.new(Rails.version) < Gem::Version.new('6.0') %>
|
17
18
|
= javascript_include_tag 'application'
|
19
|
+
<%- else %>
|
20
|
+
= javascript_pack_tag 'application'
|
21
|
+
<% end %>
|
18
22
|
<%- else -%>
|
19
23
|
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload'
|
20
|
-
|
24
|
+
<%- if Gem::Version.new(Rails.version) < Gem::Version.new('6.0') %>
|
25
|
+
= javascript_include_tag 'application', 'data-turbolinks-track': true
|
26
|
+
<%- else %>
|
27
|
+
= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload'
|
28
|
+
<% end %>
|
21
29
|
<%- end -%>
|
22
30
|
/ IE Polyfill for CSS Elements
|
23
31
|
/ HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries
|
@@ -13,10 +13,18 @@ html
|
|
13
13
|
= csp_meta_tag
|
14
14
|
<%- if options[:skip_turbolinks] -%>
|
15
15
|
= stylesheet_link_tag 'application', media: 'all'
|
16
|
+
<%- if Gem::Version.new(Rails.version) < Gem::Version.new('6.0') %>
|
16
17
|
= javascript_include_tag 'application'
|
18
|
+
<%- else %>
|
19
|
+
= javascript_pack_tag 'application'
|
20
|
+
<%- end %>
|
17
21
|
<%- else -%>
|
18
22
|
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload'
|
19
|
-
|
23
|
+
<%- if Gem::Version.new(Rails.version) < Gem::Version.new('6.0') %>
|
24
|
+
= javascript_include_tag 'application', 'data-turbolinks-track': true
|
25
|
+
<%- else %>
|
26
|
+
= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload'
|
27
|
+
<% end %>
|
20
28
|
<%- end -%>
|
21
29
|
/! IE Polyfill for CSS Elements
|
22
30
|
/! HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries
|
@@ -1,7 +1,7 @@
|
|
1
1
|
|
2
2
|
lib = File.expand_path("../lib", __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require
|
4
|
+
require 'semantic_ui_views_generator/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = 'semantic_ui_views_generator'
|
@@ -33,8 +33,7 @@ Gem::Specification.new do |spec|
|
|
33
33
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
34
34
|
spec.require_paths = ['lib']
|
35
35
|
|
36
|
-
spec.add_runtime_dependency '
|
37
|
-
spec.add_runtime_dependency 'railties', '>= 5.0'
|
36
|
+
spec.add_runtime_dependency 'railties', '>= 4.0'
|
38
37
|
spec.add_development_dependency 'bundler', '>= 1.17'
|
39
38
|
spec.add_development_dependency 'rake', '>= 10.0'
|
40
39
|
end
|
metadata
CHANGED
@@ -1,43 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: semantic_ui_views_generator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Hicks
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: semantic-ui-sass
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 2.4.0.1
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: 2.4.0.1
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: railties
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
30
16
|
requirements:
|
31
17
|
- - ">="
|
32
18
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
19
|
+
version: '4.0'
|
34
20
|
type: :runtime
|
35
21
|
prerelease: false
|
36
22
|
version_requirements: !ruby/object:Gem::Requirement
|
37
23
|
requirements:
|
38
24
|
- - ">="
|
39
25
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
26
|
+
version: '4.0'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: bundler
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -198,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
198
184
|
- !ruby/object:Gem::Version
|
199
185
|
version: '0'
|
200
186
|
requirements: []
|
201
|
-
rubygems_version: 3.0.
|
187
|
+
rubygems_version: 3.0.6
|
202
188
|
signing_key:
|
203
189
|
specification_version: 4
|
204
190
|
summary: Semantic UI generators for overwriting the default Rails view generators
|