frozen_rails 0.0.4 → 0.0.5
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 +5 -9
- data/RELEASING.md +11 -0
- data/Rakefile +20 -0
- data/lib/frozen_rails/version.rb +1 -1
- data/lib/generators/frozen/templates/ssg/.gitlab-ci.yml +34 -0
- metadata +10 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a3e70fbae47b9cfd6742a06eb54721f5f1f182afd4ab044b19d796d3a36a08b0
|
|
4
|
+
data.tar.gz: 468e981b06f99a821b3a58bdd8bb02f6c7fc51abdb97ea73ead08e6f93ed5f66
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 14f2cfa35628c1837d58828ba17ca68eefe82a6b1294e13532352000735f9ed0586cac0e55f61ca29a27f52d9ae043261dab742a04b186b7478e53b1af5170ee
|
|
7
|
+
data.tar.gz: 3637971df5425a6dd75e9f8ccd6ceeafca2d86dffb131f29eb57788cc698460b5d3edc5aadaba69f1923640ce38d319fd8915643b506f674349f4aa8b9c1ccdc
|
data/README.md
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
[](https://rubygems.org/gems/frozen_rails)
|
|
2
2
|
[](https://github.com/dunkelziffer/frozen_rails/actions)
|
|
3
|
-
[](https://github.com/dunkelziffer/frozen_rails/actions)
|
|
4
3
|
|
|
5
4
|
# Frozen Rails
|
|
6
5
|
|
|
@@ -33,8 +32,8 @@ gem "frozen_rails"
|
|
|
33
32
|
|
|
34
33
|
### Supported Ruby versions
|
|
35
34
|
|
|
36
|
-
- Ruby (MRI) >= 2.
|
|
37
|
-
-
|
|
35
|
+
- Ruby (MRI) >= 3.2.0
|
|
36
|
+
- Rails >= 8.1
|
|
38
37
|
|
|
39
38
|
## Usage
|
|
40
39
|
|
|
@@ -54,8 +53,8 @@ bin/rails g frozen:md
|
|
|
54
53
|
```bash
|
|
55
54
|
# ✅ passes, ✅ works correctly, ❌ has test suite
|
|
56
55
|
|
|
57
|
-
# - Adds `parklife`
|
|
58
|
-
# - Adds
|
|
56
|
+
# - Adds `parklife` and configures ActiveStorage support
|
|
57
|
+
# - Adds support for GitLab CI
|
|
59
58
|
|
|
60
59
|
bin/rails g frozen:ssg
|
|
61
60
|
```
|
|
@@ -116,9 +115,6 @@ bin/rails g frozen:rails
|
|
|
116
115
|
|
|
117
116
|
Bug reports and pull requests are welcome on GitHub at [https://github.com/dunkelziffer/frozen_rails](https://github.com/dunkelziffer/frozen_rails).
|
|
118
117
|
|
|
119
|
-
## Credits
|
|
120
|
-
|
|
121
|
-
This gem is generated via [`newgem` template](https://github.com/palkan/newgem) by [@palkan](https://github.com/palkan).
|
|
122
118
|
|
|
123
119
|
## License
|
|
124
120
|
|
data/RELEASING.md
ADDED
data/Rakefile
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require "bundler/gem_tasks"
|
|
4
|
+
require "rspec/core/rake_task"
|
|
5
|
+
|
|
6
|
+
RSpec::Core::RakeTask.new(:spec)
|
|
7
|
+
|
|
8
|
+
begin
|
|
9
|
+
require "rubocop/rake_task"
|
|
10
|
+
RuboCop::RakeTask.new
|
|
11
|
+
|
|
12
|
+
RuboCop::RakeTask.new("rubocop:md") do |task|
|
|
13
|
+
task.options << %w[-c .rubocop-md.yml]
|
|
14
|
+
end
|
|
15
|
+
rescue LoadError
|
|
16
|
+
task(:rubocop) { }
|
|
17
|
+
task("rubocop:md") { }
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
task default: %w[rubocop rubocop:md spec]
|
data/lib/frozen_rails/version.rb
CHANGED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
image: ruby:3.4
|
|
2
|
+
|
|
3
|
+
cache:
|
|
4
|
+
paths:
|
|
5
|
+
- vendor
|
|
6
|
+
|
|
7
|
+
stages:
|
|
8
|
+
- build
|
|
9
|
+
- deploy
|
|
10
|
+
|
|
11
|
+
build:
|
|
12
|
+
stage: build
|
|
13
|
+
script:
|
|
14
|
+
- apt-get update -yqqq
|
|
15
|
+
- apt-get install -y nodejs
|
|
16
|
+
- bundle config set path 'vendor'
|
|
17
|
+
- bundle install
|
|
18
|
+
- bin/static-build
|
|
19
|
+
artifacts:
|
|
20
|
+
paths:
|
|
21
|
+
- build
|
|
22
|
+
expire_in: 1 hour
|
|
23
|
+
|
|
24
|
+
pages:
|
|
25
|
+
stage: deploy
|
|
26
|
+
script:
|
|
27
|
+
- rm -rf public/*
|
|
28
|
+
- cp -R build/* public
|
|
29
|
+
- echo "Deploying to GitLab Pages"
|
|
30
|
+
artifacts:
|
|
31
|
+
paths:
|
|
32
|
+
- public
|
|
33
|
+
rules:
|
|
34
|
+
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
|
metadata
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: frozen_rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Klaus Weidinger
|
|
8
|
-
bindir:
|
|
8
|
+
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
@@ -15,17 +15,17 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - ">="
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: '
|
|
18
|
+
version: '8.1'
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - ">="
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: '
|
|
25
|
+
version: '8.1'
|
|
26
26
|
description: Generators for turning Rails into an SSG
|
|
27
27
|
email:
|
|
28
|
-
-
|
|
28
|
+
- weidkl@gmx.de
|
|
29
29
|
executables: []
|
|
30
30
|
extensions: []
|
|
31
31
|
extra_rdoc_files: []
|
|
@@ -33,6 +33,8 @@ files:
|
|
|
33
33
|
- CHANGELOG.md
|
|
34
34
|
- LICENSE.txt
|
|
35
35
|
- README.md
|
|
36
|
+
- RELEASING.md
|
|
37
|
+
- Rakefile
|
|
36
38
|
- lib/frozen_rails.rb
|
|
37
39
|
- lib/frozen_rails/appendable.rb
|
|
38
40
|
- lib/frozen_rails/bundleable.rb
|
|
@@ -75,6 +77,7 @@ files:
|
|
|
75
77
|
- lib/generators/frozen/templates/seo/robots_generatable.rb
|
|
76
78
|
- lib/generators/frozen/templates/seo/sitemap.rb
|
|
77
79
|
- lib/generators/frozen/templates/seo/sitemap_entry.rb
|
|
80
|
+
- lib/generators/frozen/templates/ssg/.gitlab-ci.yml
|
|
78
81
|
- lib/generators/frozen/templates/ssg/storage.yml
|
|
79
82
|
- lib/generators/frozen/templates/ui/cable.yml
|
|
80
83
|
- lib/generators/frozen/templates/ui/hotkey_controller.js
|
|
@@ -83,12 +86,12 @@ homepage: https://github.com/dunkelziffer/frozen_rails
|
|
|
83
86
|
licenses:
|
|
84
87
|
- MIT
|
|
85
88
|
metadata:
|
|
89
|
+
source_code_uri: https://github.com/dunkelziffer/frozen_rails
|
|
86
90
|
homepage_uri: https://github.com/dunkelziffer/frozen_rails
|
|
87
91
|
changelog_uri: https://github.com/dunkelziffer/frozen_rails/blob/main/CHANGELOG.md
|
|
88
92
|
bug_tracker_uri: https://github.com/dunkelziffer/frozen_rails/issues
|
|
89
93
|
documentation_uri: https://github.com/dunkelziffer/frozen_rails/blob/main/README.md
|
|
90
|
-
|
|
91
|
-
custom_attribute: a, b, c
|
|
94
|
+
rubygems_mfa_required: 'true'
|
|
92
95
|
rdoc_options: []
|
|
93
96
|
require_paths:
|
|
94
97
|
- lib
|