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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d1e4038850bfbf0972c64d50c2de0ef854c1165cbef4f6fba5c63cc963d5e39
4
- data.tar.gz: 47a78650b8de3d17aa463157c78c1242789389e4b0df03b56eeef9057efe9fbd
3
+ metadata.gz: a3e70fbae47b9cfd6742a06eb54721f5f1f182afd4ab044b19d796d3a36a08b0
4
+ data.tar.gz: 468e981b06f99a821b3a58bdd8bb02f6c7fc51abdb97ea73ead08e6f93ed5f66
5
5
  SHA512:
6
- metadata.gz: d33940e9f7a07bc38a4dcdcdb867396b137e5a2bb265207fb46e45c1b65a3593f30127bd63f23ed12c5aa5d01dde3aa924a83049178f3be71d34108b5aca67c7
7
- data.tar.gz: 3a7a176184cf0b5d87b0a4727187e5ee89ee46e11fbf7a2a13d66a05efcb9a759f72f973c243bab36b962514e94303f1ecc00b3058fcde5a1dbdbf4893faa25d
6
+ metadata.gz: 14f2cfa35628c1837d58828ba17ca68eefe82a6b1294e13532352000735f9ed0586cac0e55f61ca29a27f52d9ae043261dab742a04b186b7478e53b1af5170ee
7
+ data.tar.gz: 3637971df5425a6dd75e9f8ccd6ceeafca2d86dffb131f29eb57788cc698460b5d3edc5aadaba69f1923640ce38d319fd8915643b506f674349f4aa8b9c1ccdc
data/README.md CHANGED
@@ -1,6 +1,5 @@
1
- [![Gem Version](https://badge.fury.io/rb/dunkelziffer.svg)](https://rubygems.org/gems/dunkelziffer)
1
+ [![Gem Version](https://badge.fury.io/rb/frozen_rails.svg)](https://rubygems.org/gems/frozen_rails)
2
2
  [![Build](https://github.com/dunkelziffer/frozen_rails/workflows/Build/badge.svg)](https://github.com/dunkelziffer/frozen_rails/actions)
3
- [![JRuby Build](https://github.com/dunkelziffer/frozen_rails/workflows/JRuby%20Build/badge.svg)](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.7.0
37
- - JRuby >= 9.3.0
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 `.gitlab-ci.yml` and tweaks parklife config.
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
@@ -0,0 +1,11 @@
1
+ # How to release this gem
2
+
3
+ Have `gem-release` installed:
4
+ ```bash
5
+ gem install gem-release
6
+ ```
7
+
8
+ 1. Don't forget to update the `CHANGELOG.md`!
9
+ 2. Bump version with `gem bump`
10
+ 3. Push and wait for CI to pass
11
+ 4. Relase with `gem release`
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]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FrozenRails # :nodoc:
4
- VERSION = "0.0.4"
4
+ VERSION = "0.0.5"
5
5
  end
@@ -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
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Klaus Weidinger
8
- bindir: bin
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: '7.2'
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: '7.2'
25
+ version: '8.1'
26
26
  description: Generators for turning Rails into an SSG
27
27
  email:
28
- - Klaus Weidinger
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
- source_code_uri: https://github.com/dunkelziffer/frozen_rails
91
- custom_attribute: a, b, c
94
+ rubygems_mfa_required: 'true'
92
95
  rdoc_options: []
93
96
  require_paths:
94
97
  - lib