stones 1.0.10 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +62 -0
- data/.ruby-version +1 -1
- data/Gemfile +0 -1
- data/README.md +2 -4
- data/app/views/layouts/_footer.slim +7 -3
- data/config/initializers/concerns.rb +0 -7
- data/lib/stones/version.rb +10 -7
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6daf6c52ce70ee278c7e4b5173920e7dc1624861fe6c3f81e480f32b4d6c2fa8
|
4
|
+
data.tar.gz: 180a703cb9d826af0a7028e9acc057dc974a2c197aea9bb2ae5898ae3a3a9486
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1bbf0c36fee09760653a8ad68b2ac68cd75f2d931034453024ad8799d878797cb2d73a5ebbe96934088f28247ff39527e2f264b99f8a36ad54782a1b248c5bd
|
7
|
+
data.tar.gz: 7f18832f0f6c8d47f2a247d215aae23e4928c3c6273c4eeb17e3e1a64d894ffa7e35df6abf2409231af13909f0db3659cb5436a504574d7a2b3507c370533b15
|
data/.rubocop.yml
ADDED
@@ -0,0 +1,62 @@
|
|
1
|
+
# rubocop --auto-gen-config
|
2
|
+
# rubocop
|
3
|
+
# rubocop:disable all
|
4
|
+
|
5
|
+
#inherit_from: .rubocop_todo.yml
|
6
|
+
|
7
|
+
AllCops:
|
8
|
+
Include:
|
9
|
+
- 'lib/**/*.rb'
|
10
|
+
- 'config/**/*.rb'
|
11
|
+
- '**/*.gemfile'
|
12
|
+
|
13
|
+
Exclude:
|
14
|
+
- 'gemfiles/*'
|
15
|
+
- 'test/**/*'
|
16
|
+
# - !ruby/regexp /old_and_unused\.rb$/
|
17
|
+
|
18
|
+
Bundler/OrderedGems:
|
19
|
+
Exclude:
|
20
|
+
- 'Gemfile'
|
21
|
+
|
22
|
+
Layout/AccessModifierIndentation:
|
23
|
+
Enabled: false
|
24
|
+
Layout/CommentIndentation:
|
25
|
+
Enabled: false
|
26
|
+
Layout/EmptyLines:
|
27
|
+
Enabled: false
|
28
|
+
Layout/EmptyLinesAroundAccessModifier:
|
29
|
+
Enabled: false
|
30
|
+
Layout/EmptyLinesAroundModuleBody:
|
31
|
+
Enabled: false
|
32
|
+
Layout/ExtraSpacing:
|
33
|
+
Enabled: false
|
34
|
+
Layout/LineLength:
|
35
|
+
Enabled: false
|
36
|
+
|
37
|
+
Naming/AccessorMethodName:
|
38
|
+
Enabled: false
|
39
|
+
Naming/MemoizedInstanceVariableName:
|
40
|
+
Enabled: false
|
41
|
+
Naming/MethodParameterName:
|
42
|
+
Enabled: false
|
43
|
+
|
44
|
+
Security/YAMLLoad:
|
45
|
+
Enabled: false
|
46
|
+
Style/HashEachMethods:
|
47
|
+
Enabled: false
|
48
|
+
Style/HashTransformKeys:
|
49
|
+
Enabled: false
|
50
|
+
Style/HashTransformValues:
|
51
|
+
Enabled: false
|
52
|
+
Style/BlockDelimiters:
|
53
|
+
Enabled: false
|
54
|
+
Style/ClassAndModuleChildren:
|
55
|
+
Enabled: false
|
56
|
+
Style/Documentation:
|
57
|
+
Enabled: false
|
58
|
+
Style/FrozenStringLiteralComment:
|
59
|
+
Enabled: false
|
60
|
+
Style/WhenThen:
|
61
|
+
Exclude:
|
62
|
+
- '.watchr'
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby-2.6.
|
1
|
+
ruby-2.6.5
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -5,9 +5,7 @@ Each time I created a new Rails project these files are required.
|
|
5
5
|
I got tired of it and collected them in a gem.
|
6
6
|
|
7
7
|
Some files (e.g. reset.css) can be overwritten by a
|
8
|
-
corresponding
|
9
|
-
Some files (e.g. .watchr) may be copied to your project.
|
10
|
-
|
8
|
+
corresponding one from your project.
|
11
9
|
|
12
10
|
Files:
|
13
11
|
|
@@ -41,7 +39,7 @@ Recommended
|
|
41
39
|
-----------
|
42
40
|
|
43
41
|
- rvm
|
44
|
-
- ruby 2.6.
|
42
|
+
- ruby 2.6.5
|
45
43
|
- rails 6.0
|
46
44
|
|
47
45
|
Dropped/cleaned files (still available in version 0.2.5):
|
@@ -15,15 +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'
|
21
|
+
|
18
22
|
footer
|
19
23
|
div
|
20
24
|
a href='http://matique.de' © #{year} matique UG
|
21
25
|
= separator
|
22
26
|
= link_to app.html_safe, about_path
|
23
27
|
div
|
24
|
-
= link_to ts(:terms, :button),
|
28
|
+
= link_to ts(:terms, :button), "#{base}?page=gtc"
|
25
29
|
= separator
|
26
|
-
= link_to ts(:privacy, :button),
|
30
|
+
= link_to ts(:privacy, :button), "#{base}?page=privacy-policy"
|
27
31
|
= separator
|
28
|
-
= link_to ts(:impressum, :button),
|
32
|
+
= link_to ts(:impressum, :button), "#{base}?page=about"
|
29
33
|
div = info_dev
|
@@ -1,22 +1,15 @@
|
|
1
1
|
class << ActiveRecord::Base
|
2
|
-
|
3
2
|
def concerned_with(*concerns)
|
4
3
|
concerns.each do |concern|
|
5
4
|
require_dependency "#{name.underscore}/#{concern}"
|
6
5
|
end
|
7
6
|
end
|
8
|
-
|
9
7
|
end
|
10
8
|
|
11
|
-
|
12
9
|
class << ActionController::Base
|
13
|
-
|
14
10
|
def concerned_with(*concerns)
|
15
11
|
concerns.each do |concern|
|
16
12
|
require_dependency "#{name.underscore}/#{concern}"
|
17
13
|
end
|
18
14
|
end
|
19
|
-
|
20
15
|
end
|
21
|
-
|
22
|
-
|
data/lib/stones/version.rb
CHANGED
@@ -1,9 +1,12 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module Stones
|
2
|
-
VERSION = '1.0
|
3
|
-
#
|
4
|
-
#
|
5
|
-
#
|
6
|
-
#
|
7
|
-
#
|
8
|
-
#
|
4
|
+
VERSION = '1.1.0' # 2020-03-02
|
5
|
+
# VERSION = '1.0.10' # 2019-09-27
|
6
|
+
# VERSION = '1.0.9' # 2018-11-11
|
7
|
+
# VERSION = '1.0.7' # 2018-11-10
|
8
|
+
# VERSION = '1.0.6' # 2018-10-29
|
9
|
+
# VERSION = '1.0.5' # 2018-09-09
|
10
|
+
# VERSION = '1.0.4' # 2018-08-06
|
11
|
+
# VERSION = '1.0.3'
|
9
12
|
end
|
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.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dittmar Krall
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -46,6 +46,7 @@ extensions: []
|
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
48
|
- ".gitignore"
|
49
|
+
- ".rubocop.yml"
|
49
50
|
- ".ruby-gemset"
|
50
51
|
- ".ruby-version"
|
51
52
|
- Gemfile
|
@@ -91,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
92
|
- !ruby/object:Gem::Version
|
92
93
|
version: '0'
|
93
94
|
requirements: []
|
94
|
-
rubygems_version: 3.0.
|
95
|
+
rubygems_version: 3.0.8
|
95
96
|
signing_key:
|
96
97
|
specification_version: 4
|
97
98
|
summary: Stones contains some basic files.
|