stones 1.2.0 → 1.2.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b06bca36b491605d0f1517a4945586aa228d9d50d9eab809a4c38b4fc4936c27
4
- data.tar.gz: ffd59b0db7b8c95b091e62ad9a9c06e74d63365d72d5c2326283861b9b6d6527
3
+ metadata.gz: 0eba2b2f46cbe6e1d2afc38d54143133f9bdab7a89e92d1a0ee545a55e05e075
4
+ data.tar.gz: 56082d244461431fd26acdf8e503f237df08c8dcb5a258799fd6c942addf090c
5
5
  SHA512:
6
- metadata.gz: edb31fd337f037f4753d91cc27a9065ec5b4fe98aa643f3fcedda73b7b14848574abad7311156ae97647335c1b1377f538e8f28a127310d3f31b5d029f28a332
7
- data.tar.gz: dc4c937d3e4f96bebbbf0721851385266adadbef0b1ad3bb2e9e94e07eb72458d6d53c8d868731b15b9d22b79349320d0fdbc768392e96db26722cae9778fec0
6
+ metadata.gz: e539abb9dcb37807ba4033fb580fa43b41af5eba1d15b77c176b65e478ade69a5b5aedfc2d92379302a41781361badfeaf9a29242c9cf5df93f3d8c2f4b72a8d
7
+ data.tar.gz: 8ce7c505fd68ea6e16ad5740a7ceb5fc69eb2a04fde13a86b66246697600b488c01d89749a4a08651fecdc78c67680eb546b492eef0201d168845ec4ea303984
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-3.1.0
1
+ ruby-3.1.2
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012-2021 Dittmar Krall - www.matique.com
1
+ Copyright (c) 2012-2022 Dittmar Krall - www.matiq.com
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -51,4 +51,4 @@ Dropped/cleaned files (still available in version 0.2.5):
51
51
  Rails
52
52
  -----
53
53
 
54
- "stones" takes care of a "<head>" change introduced by Rails 7.x.
54
+ "stones" takes care of a tag-head change introduced by Rails 7.x.
@@ -1,5 +1,14 @@
1
+ / # Show complete flash
2
+ / # flash[:notice] are faded out after 5 seconds
3
+
4
+ css:
5
+ .flash_notice {
6
+ animation: animate_notice 5s linear 2s forwards;
7
+ }
8
+ @keyframes animate_notice {
9
+ from { opacity: 1; }
10
+ to { opacity: 0; }
11
+ }
12
+
1
13
  - (flash || {}).each do |key, value|
2
- p(class="flash_#{key}") #{sanitize(value)}
3
- - if key.to_s == 'notice'
4
- script(type="text/javascript")
5
- | $('.flash_notice').fadeOut(5000, function() { $(this).remove(); });
14
+ p class="flash_#{key}" = sanitize(value)
@@ -15,19 +15,19 @@ ruby:
15
15
  info_dev = "#{rails} | #{ruby} | #{STARTED_AT}"
16
16
  end
17
17
 
18
- # e.g. http://matique.de/de/privacy-policy before v1.1.0
19
- # e.g. https://matique.com/home/page?page=gtc
20
- base = 'http://matique.com/home/page'
18
+ # e.g. http://matiq.com/de/privacy-policy before v1.1.0
19
+ # e.g. https://matiq.com/home/page?page=gtc
20
+ base = 'http://matiq.com/home/page'
21
21
 
22
22
  footer
23
23
  div
24
- a href='http://matique.de' &copy; #{year} matique UG
24
+ a href='http://matiq.com' &copy; #{year} matiq UG (haftungsbeschränkt)
25
25
  = separator
26
26
  = link_to app.html_safe, about_path
27
27
  div
28
- = link_to ts(:terms, :button), "#{base}?page=gtc"
28
+ = link_to t("button.terms"), "#{base}?page=gtc"
29
29
  = separator
30
- = link_to ts(:privacy, :button), "#{base}?page=privacy_policy"
30
+ = link_to t("button.privacy"), "#{base}?page=privacy_policy"
31
31
  = separator
32
- = link_to ts(:impressum, :button), "#{base}?page=about"
32
+ = link_to t("button.impressum"), "#{base}?page=about"
33
33
  div = info_dev
@@ -14,5 +14,6 @@ meta name="viewport" content="width=device-width,initial-scale=1"
14
14
  = csrf_meta_tags
15
15
  = csp_meta_tag
16
16
 
17
- = stylesheet_link_tag "application", "data-turbo-track": "reload"
17
+ /= stylesheet_link_tag "application", "data-turbo-track": "reload"
18
+ = stylesheet_link_tag 'application', 'data-turbo-track': 'reload'
18
19
  = javascript_importmap_tags
@@ -2,7 +2,8 @@
2
2
  # rubocop: disable all
3
3
 
4
4
  module Stones
5
- VERSION = '1.2.0' # 2022-02-12
5
+ VERSION = '1.2.1' # 2022-09-29
6
+ # VERSION = '1.2.0' # 2022-02-12
6
7
  # VERSION = '1.1.3' # 2021-06-23
7
8
  # VERSION = '1.1.2' # 2020-04-27
8
9
  # VERSION = '1.1.1' # 2020-03-22
data/stones.gemspec CHANGED
@@ -9,15 +9,13 @@ Gem::Specification.new do |s|
9
9
  s.summary = "Stones contains some basic files."
10
10
  s.description = "A collection of, hopefully, useful files."
11
11
  s.authors = ["Dittmar Krall"]
12
- s.email = ["dittmar.krall@matique.com"]
13
- s.homepage = "http://matique.com"
12
+ s.email = ["dittmar.krall@matiq.com"]
13
+ s.homepage = "http://matiq.com"
14
14
  s.license = "MIT"
15
15
 
16
16
  s.metadata["source_code_uri"] = "https://github.com/matique/stones"
17
17
 
18
18
  s.files = `git ls-files`.split("\n")
19
- # s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
20
- # s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
21
19
  s.require_paths = ["lib"]
22
20
 
23
21
  s.add_development_dependency "bundler"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stones
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dittmar Krall
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-12 00:00:00.000000000 Z
11
+ date: 2022-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -40,7 +40,7 @@ dependencies:
40
40
  version: '0'
41
41
  description: A collection of, hopefully, useful files.
42
42
  email:
43
- - dittmar.krall@matique.com
43
+ - dittmar.krall@matiq.com
44
44
  executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
@@ -72,7 +72,7 @@ files:
72
72
  - lib/stones/engine.rb
73
73
  - lib/stones/version.rb
74
74
  - stones.gemspec
75
- homepage: http://matique.com
75
+ homepage: http://matiq.com
76
76
  licenses:
77
77
  - MIT
78
78
  metadata:
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
92
  - !ruby/object:Gem::Version
93
93
  version: '0'
94
94
  requirements: []
95
- rubygems_version: 3.3.3
95
+ rubygems_version: 3.3.7
96
96
  signing_key:
97
97
  specification_version: 4
98
98
  summary: Stones contains some basic files.