source_monitor 0.1.2 → 0.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3831f3ec3fa841e1e15fb16fc7ab780177d35353fce96975338c2e7aa129bd9f
4
- data.tar.gz: ac970a0b226c1b8c1c9a266a892754941d92173b8753ac37d2a4cd89f1895fd9
3
+ metadata.gz: e458adf0859216249883d76b07cc0610f9f47f41f482ac1d480be3bc06ec26f1
4
+ data.tar.gz: 8db6aa2f83ee694c0425b411d55454508618a3bfd06859cd1809bd2eeb6e0ee6
5
5
  SHA512:
6
- metadata.gz: 46dc5a034c7b7c294877d124a59b632aec2cfbc420544835b06d0809a7e8d574930ffc86cd5bfbceb436516a0bc88b55ffdb34a38a0bb873ae3892bb3615b503
7
- data.tar.gz: 542c9c82713daadb6f0cfa4151ab99df55440a8e86a553ee46b2223806096f6d36d1e1987890f50aaad83132498c674793cae11c11752a897daca6c36efb1a94
6
+ metadata.gz: 02f03ed5c8bb35fd658d85fa61fc3b57c3b1cdea5e75a3bfaeb21305f5691dd1ceed8178fe56e1d3547d4d0da79840952d9c66b6770a722bf907f7e55444bd1a
7
+ data.tar.gz: d832c80021645849113163fe3ac91b606a6852572285dd473452a544da6f68718ec2ce61eb605b6b3206ad1343caac8606d9229cd930d434bd5bcdb8124fdb84
data/CHANGELOG.md CHANGED
@@ -15,6 +15,16 @@ All notable changes to this project are documented below. The format follows [Ke
15
15
 
16
16
  - No unreleased changes yet.
17
17
 
18
+ ## [0.1.3] - 2025-11-13
19
+
20
+ ### Added
21
+
22
+ - Clarified installation instructions for consumers: add `gem "source_monitor"` via RubyGems before running the guided workflow (README + docs/setup.md).
23
+
24
+ ### Testing
25
+
26
+ - Documentation-only update; no code changes.
27
+
18
28
  ## [0.1.2] - 2025-11-13
19
29
 
20
30
  ### Added
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- source_monitor (0.1.2)
4
+ source_monitor (0.1.3)
5
5
  cssbundling-rails (~> 1.4)
6
6
  faraday (~> 2.9)
7
7
  faraday-follow_redirects (~> 0.4)
data/README.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  SourceMonitor is a production-ready Rails 8 mountable engine for ingesting, normalising, scraping, and monitoring RSS/Atom/JSON feeds. It ships with a Tailwind-powered admin UI, Solid Queue job orchestration, Solid Cable realtime broadcasting, and an extensible configuration layer so host applications can offer full-stack feed operations without rebuilding infrastructure.
4
4
 
5
+ > **Note:** Application developers consume SourceMonitor via RubyGems—add the gem to your host application's Gemfile and follow the guided installer. Clone this repository only when contributing to the engine itself.
6
+
7
+ ## Installation (RubyGems)
8
+
9
+ In your host Rails app:
10
+
11
+ ```bash
12
+ bundle add source_monitor --version "~> 0.1.2"
13
+ # or add `gem "source_monitor", "~> 0.1.2"` manually, then run:
14
+ bundle install
15
+ ```
16
+
17
+ This exposes `bin/source_monitor` (via Bundler binstubs) so you can run the guided workflow described below.
18
+
5
19
  ## Highlights
6
20
  - Full-featured source and item administration backed by Turbo Streams and Tailwind UI components
7
21
  - Adaptive fetch pipeline (Feedjira + Faraday) with conditional GETs, retention pruning, and scrape orchestration
@@ -22,6 +36,16 @@ SourceMonitor is a production-ready Rails 8 mountable engine for ingesting, norm
22
36
 
23
37
  > **Command prefixes:** Examples below show bare `bundle`, `bin/rails`, and `bin/source_monitor`. If you use rbenv/asdf or containerized tooling, prefix/adjust commands accordingly so they run inside your Ruby environment.
24
38
 
39
+ ### Install the Gem
40
+
41
+ Before running any SourceMonitor commands inside your host app, add the gem and install dependencies:
42
+
43
+ ```bash
44
+ bundle add source_monitor --version "~> 0.1.2"
45
+ # or edit your Gemfile, then run
46
+ bundle install
47
+ ```
48
+
25
49
  ### Recommended: Guided Workflow
26
50
  1. **Optional prerequisite check:** `bin/rails source_monitor:setup:check`
27
51
  2. **Run the guided installer:** `bin/source_monitor install --yes`
@@ -30,7 +54,7 @@ SourceMonitor is a production-ready Rails 8 mountable engine for ingesting, norm
30
54
  4. **Verify anytime:** `bin/source_monitor verify` (also exposed as `bin/rails source_monitor:setup:verify`). The command prints a human summary plus JSON so CI can gate on Solid Queue and Action Cable health.
31
55
  5. **Visit the dashboard** at the chosen mount path and trigger “Fetch Now” on a source to confirm everything is wired.
32
56
 
33
- See [docs/setup.md](docs/setup.md) for the full workflow (prereq table, rollback steps, telemetry flag, Devise system test template).
57
+ See [docs/setup.md](docs/setup.md) for the full workflow (prereq table, gem installation, rollback steps, telemetry flag, Devise system test template).
34
58
 
35
59
  ### Manual Install (Advanced)
36
60
  Prefer explicit Rails generator steps or need to customize each phase? The same document covers a full **Manual Installation** section so you can copy/paste each command into bespoke pipelines.
data/docs/setup.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # SourceMonitor Setup Workflow
2
2
 
3
- This guide consolidates the new guided installer, verification commands, and rollback steps so teams can onboard the engine into either a fresh Rails host or an existing application without missing prerequisites.
3
+ This guide consolidates the new guided installer, verification commands, and rollback steps so teams can onboard the engine into either a fresh Rails host or an existing application without missing prerequisites. You never need to clone the SourceMonitor repository for installation—simply add the gem to your host application's Gemfile and run the steps below.
4
4
 
5
5
  ## Prerequisites
6
6
 
@@ -13,6 +13,18 @@ This guide consolidates the new guided installer, verification commands, and rol
13
13
  | Background jobs | Solid Queue (>= 0.3, < 3.0) | Add `solid_queue` to the host Gemfile if not present. |
14
14
  | Realtime | Solid Cable (>= 3.0) or Redis | Solid Cable is the default; Redis requires `config.realtime.adapter = :redis`. |
15
15
 
16
+ ## Install the Gem
17
+
18
+ Run these commands inside your host Rails application before invoking the guided workflow:
19
+
20
+ ```bash
21
+ bundle add source_monitor --version "~> 0.1.2"
22
+ # or add gem "source_monitor", "~> 0.1.2" to Gemfile manually
23
+ bundle install
24
+ ```
25
+
26
+ This ensures Bundler can load SourceMonitor so the commands below are available.
27
+
16
28
  ## Guided Setup (Recommended)
17
29
 
18
30
  1. **Check prerequisites** (optional but fast):
@@ -1,3 +1,3 @@
1
1
  module SourceMonitor
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: source_monitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - dchuk