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 +4 -4
- data/README.md +1 -1
- data/config/initializers/concerns.rb +15 -0
- data/lib/stones/version.rb +2 -1
- metadata +2 -3
- data/app/views/layouts/_footer.slim.bak +0 -33
- data/lib/stones/version.rb.bak +0 -13
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e634a3c080a59df498f2dc30c55184102209d04a3160c8a4827fcae2bea1d09a
|
|
4
|
+
data.tar.gz: 55d131c6ab2cf07f719e8cd28b4b35b22453b61944deeb7ed7e7958b32ccfbee
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b1a3b9d75e85f211c0a4c25e3c27d7b198d8925d8fdecc2a79e69b3eb0cc3548b378ae2829409b688202004cf3aedd70b9eb15f13341e3279663dc53af8fc8bb
|
|
7
|
+
data.tar.gz: 70ce1beb31903c10b71dcc6ded3220997a44d68fda8cfca79527ab0baff20b181a75f9c3149635086d1f4dd2e383057338c134394be736fd5dd602828e38347e
|
data/README.md
CHANGED
|
@@ -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
|
data/lib/stones/version.rb
CHANGED
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.
|
|
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' © #{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
|
data/lib/stones/version.rb.bak
DELETED
|
@@ -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
|