cloudflare-tunnel 0.1.0 → 0.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c80792cd4e7e48be6c97df5edf07c554d6285394607f70926e4e2a0d019572c7
4
- data.tar.gz: b0bd9ffc636ec2029a83234d8172d5c8fba76ac20ba8b4e53b42e56c5df4b831
3
+ metadata.gz: 6c0e553c14b7cbf33ad5a7cbb3113d91febbbe31aa9eddc863c043ec8f4647e9
4
+ data.tar.gz: 54cc1c0b31a12732bdbc1609ee93762663e179546e815bfc7c43f83d2be88b3b
5
5
  SHA512:
6
- metadata.gz: d91a8ac77dd2452910e816080413197b61c4d4b1a6353aa7a75dc9f2e2270ed4f24c14e17163aa00b11b999555ea2df0a535de36891d9b3004bf52c0dfb46c40
7
- data.tar.gz: 6150c30d7d44ab48f3ecfe78fc2e9d192ebd4e41da51b4c31f7c77622a2f5465849923753d110c39fdcca0bee337e6a6722f218c4431e3c6be97e0be8832ca8b
6
+ metadata.gz: c3512ed97b99cf94bb9121dbd13eefc68a5ce23aaf360d16ce4ef557f49384490d2213dfdf9121e7ff243d55db9ec718dce03273036a3dd0e9cb1847a210b0dc
7
+ data.tar.gz: 49163003de782a91d3b031f735bce2f1a16932dff592b066f1b5782c972c80f658de1f5522d9edaffcaa9491554af92645f833a736824657fa9c8297d231e1a4
data/CHANGELOG.md CHANGED
@@ -1,3 +1,56 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [0.1.2] - 2026-11-04
9
+
10
+
11
+ ### Documentation
12
+
13
+ - explain publisher setup and authentication retries
14
+
15
+ - adopt Gemkit 0.2 and shorten shared guidance
16
+
17
+
18
+
19
+ ## [0.1.1] - 2026-11-04
20
+
21
+
22
+ ### Added
23
+
24
+ - migrate Cloudflare Tunnel to Ethos Gemkit
25
+
26
+
27
+
28
+
29
+ ### Changed
30
+
31
+ - remove the verified legacy implementation
32
+
33
+ - pin verified release artifact and tag safeguards
34
+
35
+ - reduce the gem to shared workflow callers
36
+
37
+ - publish reviewed release PRs through gemkit
38
+
39
+ - pin the toolkit cache verification fix
40
+
41
+ - adopt the published Gemkit 0.1.0 release
42
+
43
+
44
+
45
+
46
+ ### Fixed
47
+
48
+ - activate the bundle before loading gemkit tasks
49
+
50
+ - ignore Bundler's CI dependency cache
51
+
52
+
53
+
1
54
  ## [0.1.0] - 2026-11-04
2
55
 
3
56
  ### Added
data/README.md CHANGED
@@ -5,7 +5,8 @@ Offline startup and connection loss stay quiet and do not stop the server or
5
5
  jobs. The gem supervises an existing `cloudflared` executable; it never installs,
6
6
  downloads or updates it, creates a tunnel, or changes DNS.
7
7
 
8
- Requires Ruby 4.0+, Rails 8.1 and a POSIX host (Linux or macOS).
8
+ Requires Ruby 4.0+ and a POSIX host (Linux or macOS). Rails integration
9
+ requires host-installed Rails 8.1+. Runner and probe classes can load without Rails.
9
10
  MIT licensed; maintained by [Ethos Link](https://www.ethos-link.com).
10
11
  This is an independent integration.
11
12
 
@@ -131,30 +132,31 @@ management API token is required.
131
132
  References: [run parameters](https://developers.cloudflare.com/tunnel/reference/run-parameters/)
132
133
  and [readiness example](https://developers.cloudflare.com/tunnel/guides/kubernetes/).
133
134
 
134
- ## Development
135
+ ## Development and releases
135
136
 
136
- Run `bin/setup` to install development dependencies, then `bin/ci` to run
137
- Minitest, Standard Ruby, the gem build and changelog generation. Tests control
138
- connector executables and HTTP boundaries; they need no Cloudflare account or
139
- internet once dependencies are installed.
137
+ Use published [Ethos Gemkit](https://github.com/ethos-link/ethos-gemkit) for shared
138
+ tooling. Keep the exact Gemfile version and workflow commit pins on the same release.
140
139
 
141
- Use `bundle exec rake -T` to list available tasks. See the
142
- [changelog](CHANGELOG.md) for version history.
140
+ ```sh
141
+ bundle install
142
+ bundle exec lefthook install
143
+ bundle exec rake verify
144
+ ```
143
145
 
144
- ## More from Ethos Link
146
+ Tests use controlled local fixtures and need no service account. From clean,
147
+ current main, run `bundle exec rake 'release:prepare[patch]'`; review and merge
148
+ the generated PR to publish through Actions. Shared prerequisites, publisher
149
+ settings and failed-job recovery are in the [Gemkit guide](https://github.com/ethos-link/ethos-gemkit#releasing-a-gem).
145
150
 
146
- Cloudflare Tunnel is maintained by [Ethos Link](https://www.ethos-link.com),
147
- the software company behind Reviato and Nuntio. We build business products and
148
- share open-source software.
151
+ ## Built by Ethos Link
149
152
 
150
- - [Reviato — customer feedback and review analytics](https://www.reviato.com):
151
- Collect private guest feedback and explore recurring themes in public reviews.
152
- Hotels, restaurants and other local businesses can read the original customer
153
- comments, track feedback and decide what needs attention.
154
- - [Nuntio — social media scheduling and publishing](https://www.nuntiohq.com):
155
- Prepare social posts ahead of time, adapt captions and media for each channel,
156
- and bring drafts, team review, scheduling and publishing outcomes into one
157
- workspace.
153
+ [Ethos Link](https://www.ethos-link.com) builds business software and integrations
154
+ that replace manual handoffs with connected workflows. We help teams automate
155
+ routine work, use their data and improve the processes their business runs on.
158
156
 
159
- Explore [Ethos Link's products](https://www.ethos-link.com/products) and
160
- [open-source projects](https://www.ethos-link.com/opensource).
157
+ - [Reviato](https://www.reviato.com): Read public review trends and collect
158
+ private customer feedback, so your team can decide what to improve.
159
+ - [EthosPlaces](https://www.ethos.place): Give customers the details they need to
160
+ choose and visit your business, from opening hours to directions.
161
+ - [Nuntio](https://www.nuntiohq.com): Draft, review and schedule social posts in
162
+ one workspace, then track each publishing result.
data/UPGRADE.md ADDED
@@ -0,0 +1,20 @@
1
+ # Upgrade notes
2
+
3
+ ## 0.1.2
4
+
5
+ Development and release tooling uses Gemkit 0.2.0. Update the gem and workflow
6
+ pins together; see the [Gemkit upgrade guide](https://github.com/ethos-link/ethos-gemkit/blob/main/UPGRADE.md).
7
+ Runtime APIs are unchanged.
8
+
9
+ ## 0.1.1
10
+
11
+ Ruby 4.0 or newer is required. Rails integration requires host-installed Rails
12
+ 8.1 or newer within Rails 8. Railties is optional: core runner and probe entry
13
+ points work without it. Applications that load the core before Rails should
14
+ explicitly require `cloudflare/tunnel/rails` after installing compatible Rails.
15
+
16
+ Development uses a pinned ethos-gemkit dependency. Run `release:prepare` from
17
+ current main to create a verified release PR.
18
+ Merging that PR automatically tags and publishes its reviewed merge commit.
19
+ The shared RubyGems workflow requires the trusted-publisher registration described
20
+ in the toolkit README before its first live release.
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "rails"
4
+ require "rails/railtie"
5
+ require "cloudflare-tunnel"
6
+ require "cloudflare/tunnel/railtie"
@@ -1,5 +1,12 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "rails"
4
+ require "rails/railtie"
5
+
6
+ unless Gem::Requirement.new(">= 8.1", "< 9").satisfied_by?(Gem.loaded_specs.fetch("railties").version)
7
+ raise LoadError, "cloudflare-tunnel integration requires Rails 8.1 or newer within Rails 8"
8
+ end
9
+
3
10
  module Cloudflare
4
11
  module Tunnel
5
12
  class Railtie < Rails::Railtie
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Cloudflare
4
4
  module Tunnel
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudflare-tunnel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paulo Fidalgo
@@ -11,25 +11,25 @@ cert_chain: []
11
11
  date: 1980-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: railties
14
+ name: rack
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '8.1'
19
+ version: '3.1'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '9'
22
+ version: '4'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '8.1'
29
+ version: '3.1'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '9'
32
+ version: '4'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: net-http
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -75,12 +75,14 @@ files:
75
75
  - CHANGELOG.md
76
76
  - LICENSE.txt
77
77
  - README.md
78
+ - UPGRADE.md
78
79
  - lib/cloudflare-tunnel.rb
79
80
  - lib/cloudflare/tasks/tunnel.rake
80
81
  - lib/cloudflare/tunnel.rb
81
82
  - lib/cloudflare/tunnel/check.rb
82
83
  - lib/cloudflare/tunnel/configuration.rb
83
84
  - lib/cloudflare/tunnel/probe.rb
85
+ - lib/cloudflare/tunnel/rails.rb
84
86
  - lib/cloudflare/tunnel/railtie.rb
85
87
  - lib/cloudflare/tunnel/runner.rb
86
88
  - lib/cloudflare/tunnel/version.rb
@@ -104,7 +106,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
104
106
  requirements:
105
107
  - - ">="
106
108
  - !ruby/object:Gem::Version
107
- version: 4.0.0
109
+ version: '4.0'
108
110
  required_rubygems_version: !ruby/object:Gem::Requirement
109
111
  requirements:
110
112
  - - ">="