rawfeed 1.0.1 → 1.0.2
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/Gemfile +4 -22
- data/README.md +7 -78
- data/_config.yml +5 -0
- data/lib/rawfeed/command/backup.rb +1 -1
- data/lib/rawfeed/core/version.rb +1 -1
- metadata +29 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 484129c1cd4dc793ad2743b495197f49c9afb9d2858bbfa113a2f4552d35779c
|
|
4
|
+
data.tar.gz: 29fd423326f3f9024d3c020f4b9b03dbbf23dba5247824d373ec8cde9b3fcd6b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 29f13cf24854977f427ec0469a760d52905380bf5e52cfbd4a3077973ca486f4ef9e50f349cb749155124ffc077575249c706f4e1d47d8547dae68da13747fc3
|
|
7
|
+
data.tar.gz: ce1155c12bba8166caf814617250296f970f46cc212c5d3e9db76c1d5d023966986ebf20d15ae6a2414095dca17b727772fbfe7d890e85201aea8e4391a32e88
|
data/Gemfile
CHANGED
|
@@ -2,34 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
source "https://rubygems.org"
|
|
4
4
|
|
|
5
|
+
# Utilities
|
|
6
|
+
gem "rubyzip", "~> 2.3"
|
|
7
|
+
|
|
5
8
|
## [ rawfeed ] Do not modify this block unless you know what you are doing.
|
|
6
9
|
if ENV["RAWFEED_DEV_PATH"] && File.directory?(ENV["RAWFEED_DEV_PATH"])
|
|
7
10
|
gem "rawfeed", path: ENV["RAWFEED_DEV_PATH"]
|
|
8
11
|
else
|
|
9
12
|
## --- To update rawfeed-jekyll, simply update the version here ---
|
|
10
|
-
gem "rawfeed", "~> 1.0.
|
|
11
|
-
end
|
|
12
|
-
|
|
13
|
-
# Core
|
|
14
|
-
gem "jekyll", ">= 4.0", "< 5.0"
|
|
15
|
-
gem "rake", "~> 13.0"
|
|
16
|
-
|
|
17
|
-
# Jekyll plugins
|
|
18
|
-
group :jekyll_plugins do
|
|
19
|
-
gem "jekyll-sitemap", "~> 1.4"
|
|
20
|
-
gem "jekyll-feed", "~> 0.17.0"
|
|
21
|
-
gem "jekyll-archives", "~> 2.3.0"
|
|
22
|
-
gem "jekyll-paginate-v2", "~> 3.0.0"
|
|
13
|
+
gem "rawfeed", "~> 1.0.2"
|
|
23
14
|
end
|
|
24
15
|
|
|
25
|
-
# Utilities
|
|
26
|
-
gem "colorize", "~> 1.1.0"
|
|
27
|
-
gem "logger", "~> 1.4"
|
|
28
|
-
gem "rubyzip", "~> 2.3"
|
|
29
|
-
|
|
30
|
-
# Build and minification
|
|
31
|
-
gem "uglifier", "~> 4.2.0"
|
|
32
|
-
|
|
33
16
|
# Windows and JRuby
|
|
34
17
|
platforms :windows, :jruby do
|
|
35
18
|
gem "tzinfo", "~> 1.2"
|
|
@@ -46,6 +29,5 @@ gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
|
|
|
46
29
|
# Development dependencies
|
|
47
30
|
group :development, :test do
|
|
48
31
|
gem "rspec", "~> 3.12"
|
|
49
|
-
gem "github_changelog_generator", "~> 1.8"
|
|
50
32
|
gem "faraday-retry", "~> 1.0"
|
|
51
33
|
end
|
data/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<br>
|
|
4
4
|
<small>rawfeed-jekyll — A batteries-included Jekyll framework and CLI</small>
|
|
5
5
|
<br><br>
|
|
6
|
-
<a href="https://badge.fury.io/rb/rawfeed"
|
|
6
|
+
<a href="https://badge.fury.io/rb/rawfeed"><img src="https://badge.fury.io/rb/rawfeed.svg?icon=si%3Arubygems" alt="Gem Version" height="18"></a>
|
|
7
7
|
<a href="https://github.com/rawfeed/rawfeed-jekyll/actions/workflows/ci.yml" target="_blank"><img src="https://github.com/rawfeed/rawfeed-jekyll/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
|
|
8
8
|
<a href="https://rubygems.org/gems/rawfeed" target="_blank"><img src="https://img.shields.io/gem/dt/rawfeed?label=downloads" alt="RubyGems Downloads"></a>
|
|
9
9
|
<a href="https://rubygems.org/gems/rawfeed" target="_blank"><img src="https://img.shields.io/badge/ruby-%3E%3D%203.0-ruby" alt="Ruby >= 3.0"></a>
|
|
@@ -42,85 +42,14 @@
|
|
|
42
42
|
|
|
43
43
|
See the full documentation at [https://rawfeed.github.io/rawfeed-jekyll/](https://rawfeed.github.io/rawfeed-jekyll/).
|
|
44
44
|
|
|
45
|
-
##
|
|
45
|
+
## Contributing
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
git clone https://github.com/rawfeed/rawfeed-jekyll.git
|
|
49
|
-
cd rawfeed-jekyll
|
|
50
|
-
export RAWFEED_DEV_PATH="$PWD"
|
|
51
|
-
bundle install
|
|
52
|
-
bundle exec rawfeed serve
|
|
53
|
-
```
|
|
47
|
+
Contributions are welcome. See [CONTRIBUTING.md](CONTRIBUTING.md) for the complete guide covering:
|
|
54
48
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
> ```bash
|
|
60
|
-
> echo "export RAWFEED_DEV_PATH=\"\$PWD\"" > .envrc
|
|
61
|
-
> direnv allow
|
|
62
|
-
> ```
|
|
63
|
-
|
|
64
|
-
## Contribution workflow
|
|
65
|
-
|
|
66
|
-
This repository includes GitHub templates for issues and pull requests.
|
|
67
|
-
|
|
68
|
-
- Bug reports: `.github/ISSUE_TEMPLATE/bug_report.md`
|
|
69
|
-
- Feature requests: `.github/ISSUE_TEMPLATE/feature_request.md`
|
|
70
|
-
- Pull requests: `.github/pull_request_template.md`
|
|
71
|
-
|
|
72
|
-
See [CONTRIBUTING.md](CONTRIBUTING.md) for the complete contributor workflow, release process, and code guidelines.
|
|
73
|
-
|
|
74
|
-
## Release process
|
|
75
|
-
|
|
76
|
-
The release workflow is documented in [RELEASE_CHECKLIST.md](RELEASE_CHECKLIST.md) and [CHANGELOG.md](CHANGELOG.md).
|
|
77
|
-
|
|
78
|
-
- Version is defined in `lib/rawfeed/core/version.rb`
|
|
79
|
-
- Package metadata is in `rawfeed.gemspec`
|
|
80
|
-
- CI is configured in `.github/workflows/ci.yml`
|
|
81
|
-
- Release notes are captured by `.github/release_template.md`
|
|
82
|
-
- Release branches should follow `release/<version>` and use `RELEASE_CHECKLIST.md` as the release branch base
|
|
83
|
-
- Changelog automation can be done with `github_changelog_generator` in development
|
|
84
|
-
|
|
85
|
-
## Continuous integration
|
|
86
|
-
|
|
87
|
-
This repository uses GitHub Actions to run the complete release workflow on pull requests to `main` and on pushes to `main` or `release/**` branches.
|
|
88
|
-
|
|
89
|
-
The CI job performs:
|
|
90
|
-
|
|
91
|
-
- `bundle install` with Bundler cache
|
|
92
|
-
- library loading validation via `bundle exec ruby -Ilib -e 'require "rawfeed"'
|
|
93
|
-
- `bundle exec rspec` for test coverage
|
|
94
|
-
- `bundle exec rawfeed build --destination .site_build` to ensure the theme builds cleanly
|
|
95
|
-
- `gem build rawfeed.gemspec` to verify package creation
|
|
96
|
-
|
|
97
|
-
## Changelog generation
|
|
98
|
-
|
|
99
|
-
This repository includes a development tool to help generate changelogs from GitHub issues and tags.
|
|
100
|
-
The project is configured in `.github_changelog_generator`, which uses `key=value` pairs (one per line) — **not** the CLI `--flag value` format.
|
|
101
|
-
By default, the tool generates or updates `CHANGELOG.md` in the repository root.
|
|
102
|
-
|
|
103
|
-
Use the following command after installing development dependencies:
|
|
104
|
-
|
|
105
|
-
```shell
|
|
106
|
-
bundle exec github_changelog_generator
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
If you prefer a manual approach, keep editing `CHANGELOG.md` by hand.
|
|
110
|
-
|
|
111
|
-
## Build and publish
|
|
112
|
-
|
|
113
|
-
Build the gem package:
|
|
114
|
-
|
|
115
|
-
```shell
|
|
116
|
-
bundle exec rake build
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
Publish the gem to RubyGems:
|
|
120
|
-
|
|
121
|
-
```shell
|
|
122
|
-
gem push rawfeed-<VERSION>.gem
|
|
123
|
-
```
|
|
49
|
+
- Development environment setup (Arch Linux, Fedora, VS Code)
|
|
50
|
+
- Contribution workflow and pull request rules
|
|
51
|
+
- Release process and versioning
|
|
52
|
+
- CI, changelog generation, and build instructions
|
|
124
53
|
|
|
125
54
|
## Changelog
|
|
126
55
|
|
data/_config.yml
CHANGED
|
@@ -62,12 +62,17 @@ sass:
|
|
|
62
62
|
exclude:
|
|
63
63
|
- .bundle-cache
|
|
64
64
|
- Gemfile
|
|
65
|
+
- Rakefile
|
|
65
66
|
- Gemfile.lock
|
|
66
67
|
- README.md
|
|
68
|
+
- RELEASE_CHECKLIST.md
|
|
69
|
+
- CHANGELOG.md
|
|
70
|
+
- CONTRIBUTING.md
|
|
67
71
|
|
|
68
72
|
# files below: developer mode
|
|
69
73
|
- node_modules
|
|
70
74
|
- docs
|
|
75
|
+
- spec
|
|
71
76
|
- exe
|
|
72
77
|
- rawfeed.gemspec
|
|
73
78
|
- CODE_OF_CONDUCT.md
|
|
@@ -112,7 +112,7 @@ module Rawfeed
|
|
|
112
112
|
Dir.glob(File.join(folder_path, "**/**")).each do |file|
|
|
113
113
|
next if File.directory?(file)
|
|
114
114
|
|
|
115
|
-
relative_path = File.join(zip_path, file.sub(
|
|
115
|
+
relative_path = File.join(zip_path, file.sub(folder_path, "").sub(/^\//, ""))
|
|
116
116
|
zipfile.add(relative_path, file)
|
|
117
117
|
end
|
|
118
118
|
end
|
data/lib/rawfeed/core/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rawfeed
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- William C. Canin
|
|
@@ -99,6 +99,34 @@ dependencies:
|
|
|
99
99
|
- - "~>"
|
|
100
100
|
- !ruby/object:Gem::Version
|
|
101
101
|
version: 3.0.0
|
|
102
|
+
- !ruby/object:Gem::Dependency
|
|
103
|
+
name: rake
|
|
104
|
+
requirement: !ruby/object:Gem::Requirement
|
|
105
|
+
requirements:
|
|
106
|
+
- - "~>"
|
|
107
|
+
- !ruby/object:Gem::Version
|
|
108
|
+
version: '13.0'
|
|
109
|
+
type: :runtime
|
|
110
|
+
prerelease: false
|
|
111
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
112
|
+
requirements:
|
|
113
|
+
- - "~>"
|
|
114
|
+
- !ruby/object:Gem::Version
|
|
115
|
+
version: '13.0'
|
|
116
|
+
- !ruby/object:Gem::Dependency
|
|
117
|
+
name: uglifier
|
|
118
|
+
requirement: !ruby/object:Gem::Requirement
|
|
119
|
+
requirements:
|
|
120
|
+
- - "~>"
|
|
121
|
+
- !ruby/object:Gem::Version
|
|
122
|
+
version: 4.2.0
|
|
123
|
+
type: :runtime
|
|
124
|
+
prerelease: false
|
|
125
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
126
|
+
requirements:
|
|
127
|
+
- - "~>"
|
|
128
|
+
- !ruby/object:Gem::Version
|
|
129
|
+
version: 4.2.0
|
|
102
130
|
- !ruby/object:Gem::Dependency
|
|
103
131
|
name: logger
|
|
104
132
|
requirement: !ruby/object:Gem::Requirement
|