stones 1.4.2 → 1.4.3

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: c4cb553c72a1ac7473e60f6504eb886204030c8b79e71250fa12c392246a5d1d
4
- data.tar.gz: 73a82333a7cc0bb09db3f6c20d1f63707de47b753e1b4798f815c8418c30ee9b
3
+ metadata.gz: e634a3c080a59df498f2dc30c55184102209d04a3160c8a4827fcae2bea1d09a
4
+ data.tar.gz: 55d131c6ab2cf07f719e8cd28b4b35b22453b61944deeb7ed7e7958b32ccfbee
5
5
  SHA512:
6
- metadata.gz: a189325cc09e74168613284fd804f4e2f58d1035cb5ec507db6340e7062703745190706ea4244ae87eccecd8a5ee8438d1c1207aede61f27a92aad06d6d5ce41
7
- data.tar.gz: 6c6d372d685862de84e62715ce2047199631f19e5ffa2e1d7ec86ea81c5760a64c308960c3fe081e396ef741ccdfc404ab5873398b026231017081f8634a8025
6
+ metadata.gz: b1a3b9d75e85f211c0a4c25e3c27d7b198d8925d8fdecc2a79e69b3eb0cc3548b378ae2829409b688202004cf3aedd70b9eb15f13341e3279663dc53af8fc8bb
7
+ data.tar.gz: 70ce1beb31903c10b71dcc6ded3220997a44d68fda8cfca79527ab0baff20b181a75f9c3149635086d1f4dd2e383057338c134394be736fd5dd602828e38347e
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 # OBSOLETE & removed
34
+ config/initializers/concerns.rb
35
35
 
36
36
  ## Installation
37
37
 
@@ -0,0 +1,15 @@
1
+ class << ActiveRecord::Base
2
+ def my_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 my_concerned_with(*concerns)
11
+ concerns.each do |concern|
12
+ require_dependency "#{name.underscore}/#{concern}"
13
+ end
14
+ end
15
+ end
@@ -1,7 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stones
4
- VERSION = "1.4.2" # 2025-12-13
4
+ VERSION = "1.4.3" # 2025-12-21
5
+ # VERSION = "1.4.2" # 2025-12-13
5
6
  # VERSION = "1.4.0" # 2025-11-03
6
7
  # VERSION = "1.3.3" # 2025-10-30
7
8
  # VERSION = "1.3.2" # 2025-06-20
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.4.2
4
+ version: 1.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dittmar Krall
@@ -74,16 +74,15 @@ 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
78
77
  - app/views/layouts/_header.slim
79
78
  - app/views/layouts/_html_head.slim
80
79
  - app/views/layouts/application.html.erb
81
80
  - app/views/root/about.slim
82
81
  - 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
86
- - lib/stones/version.rb.bak
87
86
  homepage: https://github.com/matique/stones
88
87
  licenses:
89
88
  - MIT
@@ -1,33 +0,0 @@
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' &copy; #{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,13 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Stones
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
8
- # VERSION = "1.3.1" # 2024-10-21
9
- # VERSION = "1.3.0" # 2024-04-20
10
-
11
- # VERSION = "1.0.4" # 2018-08-06
12
- # VERSION = "1.0.3"
13
- end