stones 1.3.3 → 1.4.2

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: 4b556a2be73fe7cd36f17611c98938f15328b169eabc5bc74687fc36d26f0e5c
4
- data.tar.gz: 3676b1d95411092f31be95090ef9c5c6abfc7cc302acc0c6eac1f02aeb90cf1c
3
+ metadata.gz: c4cb553c72a1ac7473e60f6504eb886204030c8b79e71250fa12c392246a5d1d
4
+ data.tar.gz: 73a82333a7cc0bb09db3f6c20d1f63707de47b753e1b4798f815c8418c30ee9b
5
5
  SHA512:
6
- metadata.gz: 7831bc752e0af6f72b899e428669a1dd3b803c362c5b0b6d9b6429a5be54dd846a56e3152da41f05b9ebf747dcdeb1ec0197cf9c2a40fcdc96615346015b9737
7
- data.tar.gz: 66148f006b3b8701b7833ec6a8351dab0d4948e16ac1951cc65ac05b9d24f151efa0de9e4a1d9cca3cd1580d8c17c6410fec0696203fcf25c45a6e7318dacd29
6
+ metadata.gz: a189325cc09e74168613284fd804f4e2f58d1035cb5ec507db6340e7062703745190706ea4244ae87eccecd8a5ee8438d1c1207aede61f27a92aad06d6d5ce41
7
+ data.tar.gz: 6c6d372d685862de84e62715ce2047199631f19e5ffa2e1d7ec86ea81c5760a64c308960c3fe081e396ef741ccdfc404ab5873398b026231017081f8634a8025
data/README.md CHANGED
@@ -31,7 +31,7 @@ Files:
31
31
  app/views/layouts/_html_head.slim
32
32
  app/views/root/about.slim
33
33
  app/views/shared/_error_explanation.html.erb
34
- config/initializers/concerns.rb
34
+ # config/initializers/concerns.rb # OBSOLETE & removed
35
35
 
36
36
  ## Installation
37
37
 
@@ -27,7 +27,8 @@ footer
27
27
  div
28
28
  = link_to t('button.terms'), "#{base}?page=gtc"
29
29
  = separator
30
- = link_to t('button.privacy'), "#{base}?page=privacy_policy"
30
+ /= link_to t('button.privacy'), "#{base}?page=privacy_policy"
31
+ = link_to t('button.privacy'), "#{base}?page=privacy_notices"
31
32
  = separator
32
33
  = link_to t('button.impressum'), "#{base}?page=about"
33
34
  div = info_dev
@@ -0,0 +1,33 @@
1
+ ruby:
2
+ # just a footer
3
+ # feel free to modify to your needs
4
+ # several constants and helpers are required
5
+
6
+ separator = ' | '
7
+ app = "#{APP.upcase} #{APP_VERSION || VERSION}"
8
+ year = Time.now.year
9
+
10
+ if Rails.env.production?
11
+ info_dev = "started at #{STARTED_AT}"
12
+ else
13
+ ruby = "Ruby #{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}"
14
+ rails = "Rails #{Rails.version} (#{Rails.env})"
15
+ info_dev = "#{rails} | #{ruby} | #{STARTED_AT}"
16
+ end
17
+
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
+
22
+ footer
23
+ div
24
+ a href='http://matiq.com' © #{year} matiq UG (haftungsbeschränkt)
25
+ = separator
26
+ = link_to app.html_safe, about_path
27
+ div
28
+ = link_to t('button.terms'), "#{base}?page=gtc"
29
+ = separator
30
+ = link_to t('button.privacy'), "#{base}?page=privacy_policy"
31
+ = separator
32
+ = link_to t('button.impressum'), "#{base}?page=about"
33
+ div = info_dev
@@ -1,24 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stones
4
- VERSION = "1.3.3" # 2025-10-30
4
+ VERSION = "1.4.2" # 2025-12-13
5
+ # VERSION = "1.4.0" # 2025-11-03
6
+ # VERSION = "1.3.3" # 2025-10-30
5
7
  # VERSION = "1.3.2" # 2025-06-20
6
8
  # VERSION = "1.3.1" # 2024-10-21
7
9
  # VERSION = "1.3.0" # 2024-04-20
8
- # VERSION = "1.2.4" # 2023-12-13
9
- # VERSION = "1.2.3" # 2023-07-19
10
- # VERSION = "1.2.2" # 2023-04-15
11
- # VERSION = "1.2.1" # 2022-09-29
12
- # VERSION = "1.2.0" # 2022-02-12
13
- # VERSION = "1.1.3" # 2021-06-23
14
- # VERSION = "1.1.2" # 2020-04-27
15
- # VERSION = "1.1.1" # 2020-03-22
16
- # VERSION = "1.1.0" # 2020-03-02
17
- # VERSION = "1.0.10"# 2019-09-27
18
- # VERSION = "1.0.9" # 2018-11-11
19
- # VERSION = "1.0.7" # 2018-11-10
20
- # VERSION = "1.0.6" # 2018-10-29
21
- # VERSION = "1.0.5" # 2018-09-09
10
+
22
11
  # VERSION = "1.0.4" # 2018-08-06
23
12
  # VERSION = "1.0.3"
24
13
  end
@@ -1,23 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stones
4
- VERSION = "1.3.2" # 2025-06-20
4
+ VERSION = "1.4.1" # 2025-12-13
5
+ # VERSION = "1.4.0" # 2025-11-03
6
+ # VERSION = "1.3.3" # 2025-10-30
7
+ # VERSION = "1.3.2" # 2025-06-20
5
8
  # VERSION = "1.3.1" # 2024-10-21
6
9
  # VERSION = "1.3.0" # 2024-04-20
7
- # VERSION = "1.2.4" # 2023-12-13
8
- # VERSION = "1.2.3" # 2023-07-19
9
- # VERSION = "1.2.2" # 2023-04-15
10
- # VERSION = "1.2.1" # 2022-09-29
11
- # VERSION = "1.2.0" # 2022-02-12
12
- # VERSION = "1.1.3" # 2021-06-23
13
- # VERSION = "1.1.2" # 2020-04-27
14
- # VERSION = "1.1.1" # 2020-03-22
15
- # VERSION = "1.1.0" # 2020-03-02
16
- # VERSION = "1.0.10"# 2019-09-27
17
- # VERSION = "1.0.9" # 2018-11-11
18
- # VERSION = "1.0.7" # 2018-11-10
19
- # VERSION = "1.0.6" # 2018-10-29
20
- # VERSION = "1.0.5" # 2018-09-09
10
+
21
11
  # VERSION = "1.0.4" # 2018-08-06
22
12
  # VERSION = "1.0.3"
23
13
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stones
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.3
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dittmar Krall
@@ -74,12 +74,12 @@ files:
74
74
  - app/views/layouts/_body.slim
75
75
  - app/views/layouts/_flash.slim
76
76
  - app/views/layouts/_footer.slim
77
+ - app/views/layouts/_footer.slim.bak
77
78
  - app/views/layouts/_header.slim
78
79
  - app/views/layouts/_html_head.slim
79
80
  - app/views/layouts/application.html.erb
80
81
  - app/views/root/about.slim
81
82
  - app/views/shared/_error_explanation.html.erb
82
- - config/initializers/concerns.rb
83
83
  - lib/stones.rb
84
84
  - lib/stones/engine.rb
85
85
  - lib/stones/version.rb
@@ -93,7 +93,7 @@ require_paths:
93
93
  - lib
94
94
  required_ruby_version: !ruby/object:Gem::Requirement
95
95
  requirements:
96
- - - "~>"
96
+ - - ">"
97
97
  - !ruby/object:Gem::Version
98
98
  version: '3'
99
99
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -1,15 +0,0 @@
1
- class << ActiveRecord::Base
2
- def concerned_with(*concerns)
3
- concerns.each do |concern|
4
- require_dependency "#{name.underscore}/#{concern}"
5
- end
6
- end
7
- end
8
-
9
- class << ActionController::Base
10
- def concerned_with(*concerns)
11
- concerns.each do |concern|
12
- require_dependency "#{name.underscore}/#{concern}"
13
- end
14
- end
15
- end