product_tours 1.3.0 → 1.3.1
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/AGENTS.md +2 -2
- data/CHANGELOG.md +3 -0
- data/README.md +1 -1
- data/config/locales/product_tours.sl.yml +12 -0
- data/lib/product_tours/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 959aea9a7666f5df3928deae610e3a6e68c69c05962b223ebbf63fbb1802f78b
|
|
4
|
+
data.tar.gz: 2b01492e67044318a817799c7fd0e382281ed888f9897fc41fb1a35c84ac5048
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 37f95ab0eb49e5f0acf12302fa3e4c831e6e0c481f2e9ce06c4a0f47bb9dc434ad3cce608cdc6347c6e034f6e501a4258cd21e30a5a3841c5ce86d36028d5764
|
|
7
|
+
data.tar.gz: 014dadc671b7baeaa05400cef406bec3b1c512f62dd29434c28c4f1fb5d0e86c7c934cf01973ef542790d3b88832db6d1f425de61a4b04f087ee891d58bcc693
|
data/AGENTS.md
CHANGED
|
@@ -128,7 +128,7 @@ There are seven options. That is the whole surface.
|
|
|
128
128
|
| `mount_path` | `"/product_tours"` | Keep in sync with `mount_product_tours at:` |
|
|
129
129
|
| `storage_service` | app default | Active Storage service for uploaded video (a `storage.yml` key) |
|
|
130
130
|
|
|
131
|
-
|
|
131
|
+
27 locales ship with the gem, RTL included.
|
|
132
132
|
|
|
133
133
|
### Common failure modes
|
|
134
134
|
|
|
@@ -164,7 +164,7 @@ bundle exec rubocop # must be clean
|
|
|
164
164
|
BUNDLE_GEMFILE=gemfiles/rails_7.1.gemfile bundle exec rake test # 7.1, 7.2, 8.0, 8.1 in gemfiles/
|
|
165
165
|
```
|
|
166
166
|
|
|
167
|
-
Layout: `app/` controllers, `Tour`, dashboard views · `lib/product_tours/` config, widget JS, seeds, engine, CSP patch · `lib/generators/product_tours/` the install generator and the idempotent upgrade generator · `config/locales/`
|
|
167
|
+
Layout: `app/` controllers, `Tour`, dashboard views · `lib/product_tours/` config, widget JS, seeds, engine, CSP patch · `lib/generators/product_tours/` the install generator and the idempotent upgrade generator · `config/locales/` 27 locales · `test/` minitest with `test/dummy` as the host app.
|
|
168
168
|
|
|
169
169
|
Conventions this codebase holds to — follow them rather than the first thing that works:
|
|
170
170
|
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -72,7 +72,7 @@ the things it should not do. It ships inside the gem, so
|
|
|
72
72
|
| **Events** | `viewed`, `dismissed`, `completed` through `ActiveSupport::Notifications` |
|
|
73
73
|
| **Deps** | Rails only. Plain JS — no Tailwind, Stimulus, importmap, npm, CDN, or build step |
|
|
74
74
|
| **Auth** | Lambdas over the raw request — Devise, Rails 8 auth, anything |
|
|
75
|
-
| **i18n** |
|
|
75
|
+
| **i18n** | 27 bundled languages, including RTL |
|
|
76
76
|
| **Turbo/CSP** | Turbo Drive, nonce-based CSP, and supported iframe origins out of the box |
|
|
77
77
|
|
|
78
78
|
## The whole flow
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
sl:
|
|
2
|
+
product_tours:
|
|
3
|
+
close: "Zapri"
|
|
4
|
+
back: "Nazaj"
|
|
5
|
+
next: "Naprej"
|
|
6
|
+
done: "Končaj"
|
|
7
|
+
dialog: "Predstavitev funkcij"
|
|
8
|
+
video: "Video z navodili"
|
|
9
|
+
captions_label: "Slovenščina"
|
|
10
|
+
unavailable: "Ta predstavitev ni na voljo."
|
|
11
|
+
dashboard:
|
|
12
|
+
title: "Predstavitve funkcij"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: product_tours
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yaroslav Shmarov
|
|
@@ -85,6 +85,7 @@ files:
|
|
|
85
85
|
- config/locales/product_tours.pt.yml
|
|
86
86
|
- config/locales/product_tours.ro.yml
|
|
87
87
|
- config/locales/product_tours.ru.yml
|
|
88
|
+
- config/locales/product_tours.sl.yml
|
|
88
89
|
- config/locales/product_tours.th.yml
|
|
89
90
|
- config/locales/product_tours.tr.yml
|
|
90
91
|
- config/locales/product_tours.uk.yml
|