phraseapp-in-context-editor-ruby 1.4.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/ISSUE_TEMPLATE/bug_report.md +18 -0
- data/.github/workflows/close_inactive_issues.yml +18 -0
- data/.github/workflows/release.yml +28 -0
- data/.github/workflows/test.yml +8 -9
- data/.gitignore +1 -1
- data/.tool-versions +1 -1
- data/CHANGELOG.md +9 -105
- data/CODEOWNERS +1 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +244 -0
- data/Guardfile +13 -13
- data/README.md +81 -51
- data/RELEASING.md +3 -0
- data/docs/CHANGELOG.md +116 -0
- data/examples/demo/.gitattributes +7 -0
- data/examples/demo/.gitignore +35 -0
- data/examples/demo/Gemfile +74 -0
- data/examples/demo/Gemfile.lock +268 -0
- data/examples/demo/README.md +5 -0
- data/examples/demo/Rakefile +6 -0
- data/examples/demo/app/assets/config/manifest.js +4 -0
- data/examples/demo/app/assets/images/.keep +0 -0
- data/examples/demo/app/assets/stylesheets/application.css +15 -0
- data/examples/demo/app/channels/application_cable/channel.rb +4 -0
- data/examples/demo/app/channels/application_cable/connection.rb +4 -0
- data/examples/demo/app/controllers/application_controller.rb +2 -0
- data/examples/demo/app/controllers/concerns/.keep +0 -0
- data/examples/demo/app/controllers/main_controller.rb +4 -0
- data/examples/demo/app/helpers/application_helper.rb +2 -0
- data/examples/demo/app/helpers/main_helper.rb +2 -0
- data/examples/demo/app/javascript/application.js +3 -0
- data/examples/demo/app/javascript/controllers/application.js +9 -0
- data/examples/demo/app/javascript/controllers/hello_controller.js +7 -0
- data/examples/demo/app/javascript/controllers/index.js +11 -0
- data/examples/demo/app/jobs/application_job.rb +7 -0
- data/examples/demo/app/mailers/application_mailer.rb +4 -0
- data/examples/demo/app/models/application_record.rb +3 -0
- data/examples/demo/app/models/concerns/.keep +0 -0
- data/examples/demo/app/views/layouts/application.html.erb +17 -0
- data/examples/demo/app/views/layouts/mailer.html.erb +13 -0
- data/examples/demo/app/views/layouts/mailer.text.erb +1 -0
- data/examples/demo/app/views/main/index.html.erb +8 -0
- data/examples/demo/bin/bundle +109 -0
- data/examples/demo/bin/importmap +4 -0
- data/examples/demo/bin/rails +4 -0
- data/examples/demo/bin/rake +4 -0
- data/examples/demo/bin/setup +33 -0
- data/examples/demo/config/application.rb +22 -0
- data/examples/demo/config/boot.rb +4 -0
- data/examples/demo/config/cable.yml +10 -0
- data/examples/demo/config/credentials.yml.enc +1 -0
- data/examples/demo/config/database.yml +25 -0
- data/examples/demo/config/environment.rb +5 -0
- data/examples/demo/config/environments/development.rb +70 -0
- data/examples/demo/config/environments/production.rb +93 -0
- data/examples/demo/config/environments/test.rb +60 -0
- data/examples/demo/config/importmap.rb +7 -0
- data/examples/demo/config/initializers/assets.rb +12 -0
- data/examples/demo/config/initializers/content_security_policy.rb +25 -0
- data/examples/demo/config/initializers/filter_parameter_logging.rb +8 -0
- data/examples/demo/config/initializers/inflections.rb +16 -0
- data/examples/demo/config/initializers/permissions_policy.rb +11 -0
- data/examples/demo/config/initializers/phraseapp_in_context_editor.rb +20 -0
- data/examples/demo/config/locales/en.yml +38 -0
- data/examples/demo/config/puma.rb +43 -0
- data/examples/demo/config/routes.rb +6 -0
- data/examples/demo/config/storage.yml +34 -0
- data/examples/demo/config.ru +6 -0
- data/examples/demo/db/seeds.rb +7 -0
- data/examples/demo/lib/assets/.keep +0 -0
- data/examples/demo/lib/tasks/.keep +0 -0
- data/examples/demo/log/.keep +0 -0
- data/examples/demo/public/404.html +67 -0
- data/examples/demo/public/422.html +67 -0
- data/examples/demo/public/500.html +66 -0
- data/examples/demo/public/apple-touch-icon-precomposed.png +0 -0
- data/examples/demo/public/apple-touch-icon.png +0 -0
- data/examples/demo/public/favicon.ico +0 -0
- data/examples/demo/public/robots.txt +1 -0
- data/examples/demo/storage/.keep +0 -0
- data/examples/demo/test/application_system_test_case.rb +5 -0
- data/examples/demo/test/channels/application_cable/connection_test.rb +11 -0
- data/examples/demo/test/controllers/.keep +0 -0
- data/examples/demo/test/controllers/main_controller_test.rb +8 -0
- data/examples/demo/test/fixtures/files/.keep +0 -0
- data/examples/demo/test/helpers/.keep +0 -0
- data/examples/demo/test/integration/.keep +0 -0
- data/examples/demo/test/mailers/.keep +0 -0
- data/examples/demo/test/models/.keep +0 -0
- data/examples/demo/test/system/.keep +0 -0
- data/examples/demo/test/test_helper.rb +13 -0
- data/examples/demo/tmp/.keep +0 -0
- data/examples/demo/tmp/pids/.keep +0 -0
- data/examples/demo/tmp/storage/.keep +0 -0
- data/examples/demo/vendor/.keep +0 -0
- data/examples/demo/vendor/javascript/.keep +0 -0
- data/lib/generators/phraseapp_in_context_editor/install_generator.rb +3 -9
- data/lib/generators/phraseapp_in_context_editor/templates/phraseapp_in_context_editor.rb +9 -17
- data/lib/phraseapp-in-context-editor-ruby/adapters/fast_gettext.rb +20 -20
- data/lib/phraseapp-in-context-editor-ruby/adapters/i18n.rb +10 -10
- data/lib/phraseapp-in-context-editor-ruby/backend_service.rb +12 -99
- data/lib/phraseapp-in-context-editor-ruby/config.rb +13 -49
- data/lib/phraseapp-in-context-editor-ruby/delegate/fast_gettext.rb +13 -15
- data/lib/phraseapp-in-context-editor-ruby/delegate/i18n_delegate.rb +4 -50
- data/lib/phraseapp-in-context-editor-ruby/delegate.rb +13 -14
- data/lib/phraseapp-in-context-editor-ruby/engine.rb +5 -6
- data/lib/phraseapp-in-context-editor-ruby/version.rb +1 -3
- data/lib/phraseapp-in-context-editor-ruby/view_helpers.rb +26 -19
- data/lib/phraseapp-in-context-editor-ruby.rb +17 -52
- data/package-lock.json +6576 -0
- data/package.json +13 -0
- data/phraseapp-in-context-editor-ruby.gemspec +19 -32
- data/release.config.js +10 -0
- metadata +113 -97
- data/lib/generators/phraseapp_in_context_editor/templates/README +0 -10
- data/lib/phraseapp-in-context-editor-ruby/api_collection.rb +0 -41
- data/lib/phraseapp-in-context-editor-ruby/api_wrapper.rb +0 -59
- data/lib/phraseapp-in-context-editor-ruby/cache.rb +0 -37
- data/lib/phraseapp-in-context-editor-ruby/displayable_key_identifier.rb +0 -46
- data/lib/phraseapp-in-context-editor-ruby/fallback_keys_fetcher.rb +0 -44
- data/lib/phraseapp-in-context-editor-ruby/hash_flattener.rb +0 -53
- data/lib/phraseapp-in-context-editor-ruby/key_names_cache.rb +0 -53
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1928034119cb6375765fd9dd82f1d66c859d070482da61e647abc72ddb06d6d9
|
4
|
+
data.tar.gz: 96ad3d6b6a686e1dbd5104cb1f8b6663072b3879142e308978ccf89d4cbe547d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd71b31c0f1f454af7367d0d4d194c5889613bb83d9ea166199f8634e45edd01c76677dad2911205e1bdf2b8fd95994e7ea7f5fadcb29a68e4088f77ceee9825
|
7
|
+
data.tar.gz: 19189182859a08240b7cfddab04b63f35c96be6c64cd2e71f6af47010b437ec44b62206fb45ef7e55a8718cd16722b8cffb8f8b249075803f6f2f82dc5fd96a3
|
@@ -0,0 +1,18 @@
|
|
1
|
+
---
|
2
|
+
name: Bug report
|
3
|
+
about: Create a report to help us improve
|
4
|
+
title: ''
|
5
|
+
labels: ''
|
6
|
+
assignees: ''
|
7
|
+
|
8
|
+
---
|
9
|
+
|
10
|
+
**Expected behavior**
|
11
|
+
|
12
|
+
**Actual behavior**
|
13
|
+
|
14
|
+
**Your environment**
|
15
|
+
version, browser, and operating system
|
16
|
+
|
17
|
+
**Steps to reproduce the problem**
|
18
|
+
Ideally, provide a minimally reproducible example
|
@@ -0,0 +1,18 @@
|
|
1
|
+
name: Close inactive issues
|
2
|
+
on:
|
3
|
+
schedule:
|
4
|
+
- cron: "30 1 * * *"
|
5
|
+
|
6
|
+
jobs:
|
7
|
+
close-issues:
|
8
|
+
runs-on: ubuntu-latest
|
9
|
+
permissions:
|
10
|
+
issues: write
|
11
|
+
steps:
|
12
|
+
- uses: actions/stale@v5
|
13
|
+
with:
|
14
|
+
days-before-issue-stale: 30
|
15
|
+
days-before-issue-close: 7
|
16
|
+
stale-issue-label: "stale"
|
17
|
+
stale-issue-message: "Hey! This issue is still open, but there hasn't been any activity for a month now, so we will be marking this issue as stale and closing it in a week if it's still inactive."
|
18
|
+
close-issue-message: "This issue was closed because it has been inactive for one week since being marked as stale."
|
@@ -0,0 +1,28 @@
|
|
1
|
+
name: Gem release
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
branches:
|
5
|
+
- master
|
6
|
+
jobs:
|
7
|
+
release:
|
8
|
+
runs-on: ubuntu-latest
|
9
|
+
steps:
|
10
|
+
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
|
11
|
+
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
|
12
|
+
with:
|
13
|
+
node-version: 20
|
14
|
+
- uses: ruby/setup-ruby@250fcd6a742febb1123a77a841497ccaa8b9e939
|
15
|
+
with:
|
16
|
+
ruby-version: '3.2' # Not needed with a .ruby-version file
|
17
|
+
|
18
|
+
- name: Install dependencies
|
19
|
+
run: npm install && bundle install
|
20
|
+
|
21
|
+
- name: Build and validate gem
|
22
|
+
run: gem build
|
23
|
+
|
24
|
+
- name: Semantic Release
|
25
|
+
uses: cycjimmy/semantic-release-action@61680d0e9b02ff86f5648ade99e01be17f0260a4
|
26
|
+
env:
|
27
|
+
GEM_HOST_API_KEY: ${{ secrets.GEM_HOST_API_KEY }}
|
28
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
data/.github/workflows/test.yml
CHANGED
@@ -1,16 +1,15 @@
|
|
1
1
|
name: Test
|
2
|
-
on: [push]
|
2
|
+
on: [ push ]
|
3
3
|
jobs:
|
4
4
|
test:
|
5
5
|
strategy:
|
6
|
-
fail-fast: false
|
7
6
|
matrix:
|
8
|
-
ruby: [
|
7
|
+
ruby: [ 3.1, 3.2 ]
|
9
8
|
runs-on: ubuntu-latest
|
10
9
|
steps:
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
10
|
+
- uses: actions/checkout@v4
|
11
|
+
- uses: ruby/setup-ruby@319066216501fbd5e2d568f14b7d68c19fb67a5d
|
12
|
+
with:
|
13
|
+
ruby-version: ${{ matrix.ruby }}
|
14
|
+
- run: bundle install
|
15
|
+
- run: bundle exec rspec spec
|
data/.gitignore
CHANGED
data/.tool-versions
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby 3.
|
1
|
+
ruby 3.2.1
|
data/CHANGELOG.md
CHANGED
@@ -1,116 +1,20 @@
|
|
1
|
-
|
1
|
+
## [2.1.1](https://github.com/phrase/phraseapp-in-context-editor-ruby/compare/v2.1.0...v2.1.1) (2024-04-23)
|
2
2
|
|
3
|
-
## [v1.4.0](https://github.com/phrase/phraseapp-in-context-editor-ruby/tree/v1.4.0) (2021-02-16)
|
4
3
|
|
5
|
-
|
4
|
+
### Bug Fixes
|
6
5
|
|
7
|
-
|
6
|
+
* Fix semantic release ([#77](https://github.com/phrase/phraseapp-in-context-editor-ruby/issues/77)) ([e7b14e4](https://github.com/phrase/phraseapp-in-context-editor-ruby/commit/e7b14e4da17b24f182d7dda227c5a4f2f135cff9))
|
8
7
|
|
9
|
-
|
8
|
+
# [2.1.0](https://github.com/phrase/phraseapp-in-context-editor-ruby/compare/v2.0.1...v2.1.0) (2024-04-23)
|
10
9
|
|
11
|
-
**Merged pull requests:**
|
12
10
|
|
13
|
-
|
14
|
-
- remove all dynport.de references [\#47](https://github.com/phrase/phraseapp-in-context-editor-ruby/pull/47) ([tobstarr](https://github.com/tobstarr))
|
15
|
-
- Update license decisions [\#46](https://github.com/phrase/phraseapp-in-context-editor-ruby/pull/46) ([forelabs](https://github.com/forelabs))
|
16
|
-
- Tests: Upgrade to modern RSpec syntax [\#45](https://github.com/phrase/phraseapp-in-context-editor-ruby/pull/45) ([docstun](https://github.com/docstun))
|
17
|
-
- GitHub actions [\#44](https://github.com/phrase/phraseapp-in-context-editor-ruby/pull/44) ([docstun](https://github.com/docstun))
|
18
|
-
- Licenses: fix project name [\#43](https://github.com/phrase/phraseapp-in-context-editor-ruby/pull/43) ([forelabs](https://github.com/forelabs))
|
19
|
-
- Licenses: Ignore dev&test dependencies [\#42](https://github.com/phrase/phraseapp-in-context-editor-ruby/pull/42) ([forelabs](https://github.com/forelabs))
|
20
|
-
- Introduce LicenseFinder config [\#41](https://github.com/phrase/phraseapp-in-context-editor-ruby/pull/41) ([forelabs](https://github.com/forelabs))
|
21
|
-
- fix pa licenses [\#40](https://github.com/phrase/phraseapp-in-context-editor-ruby/pull/40) ([forelabs](https://github.com/forelabs))
|
22
|
-
- Add pa licenses yml [\#39](https://github.com/phrase/phraseapp-in-context-editor-ruby/pull/39) ([forelabs](https://github.com/forelabs))
|
11
|
+
### Features
|
23
12
|
|
24
|
-
|
13
|
+
* Add support for Ruby 3.1 ([#74](https://github.com/phrase/phraseapp-in-context-editor-ruby/issues/74)) ([ffa8b5c](https://github.com/phrase/phraseapp-in-context-editor-ruby/commit/ffa8b5c1ab565a2905d97975fe1d7bde617ce2ec))
|
25
14
|
|
26
|
-
[
|
15
|
+
## [2.0.1](https://github.com/phrase/phraseapp-in-context-editor-ruby/compare/v2.0.0...v2.0.1) (2023-12-01)
|
27
16
|
|
28
|
-
**Merged pull requests:**
|
29
17
|
|
30
|
-
|
31
|
-
- Update documentation URLs [\#37](https://github.com/phrase/phraseapp-in-context-editor-ruby/pull/37) ([docstun](https://github.com/docstun))
|
18
|
+
### Bug Fixes
|
32
19
|
|
33
|
-
|
34
|
-
|
35
|
-
[Full Changelog](https://github.com/phrase/phraseapp-in-context-editor-ruby/compare/v1.2.1...v1.3.0)
|
36
|
-
|
37
|
-
**Closed issues:**
|
38
|
-
|
39
|
-
- Using translation in data-x attributes replaces entire string. [\#33](https://github.com/phrase/phraseapp-in-context-editor-ruby/issues/33)
|
40
|
-
|
41
|
-
**Merged pull requests:**
|
42
|
-
|
43
|
-
- Set ruby 2.1 as minimum version [\#36](https://github.com/phrase/phraseapp-in-context-editor-ruby/pull/36) ([theSoenke](https://github.com/theSoenke))
|
44
|
-
- use RequestStore instead of Thread\[:current\] [\#32](https://github.com/phrase/phraseapp-in-context-editor-ruby/pull/32) ([zuchmanski](https://github.com/zuchmanski))
|
45
|
-
|
46
|
-
## [v1.2.1](https://github.com/phrase/phraseapp-in-context-editor-ruby/tree/v1.2.1) (2017-03-13)
|
47
|
-
|
48
|
-
[Full Changelog](https://github.com/phrase/phraseapp-in-context-editor-ruby/compare/v1.2.0...v1.2.1)
|
49
|
-
|
50
|
-
**Closed issues:**
|
51
|
-
|
52
|
-
- Implicit Translations [\#17](https://github.com/phrase/phraseapp-in-context-editor-ruby/issues/17)
|
53
|
-
|
54
|
-
**Merged pull requests:**
|
55
|
-
|
56
|
-
- Fix simple form exception [\#22](https://github.com/phrase/phraseapp-in-context-editor-ruby/pull/22) ([docstun](https://github.com/docstun))
|
57
|
-
- Version update, Ruby 2.4.0 support because of json-dependency change [\#20](https://github.com/phrase/phraseapp-in-context-editor-ruby/pull/20) ([fredv](https://github.com/fredv))
|
58
|
-
|
59
|
-
## [v1.2.0](https://github.com/phrase/phraseapp-in-context-editor-ruby/tree/v1.2.0) (2017-02-24)
|
60
|
-
|
61
|
-
[Full Changelog](https://github.com/phrase/phraseapp-in-context-editor-ruby/compare/v1.1.0...v1.2.0)
|
62
|
-
|
63
|
-
**Merged pull requests:**
|
64
|
-
|
65
|
-
- Changes json dependency to json \>= 1.8 [\#18](https://github.com/phrase/phraseapp-in-context-editor-ruby/pull/18) ([fredv](https://github.com/fredv))
|
66
|
-
|
67
|
-
## [v1.1.0](https://github.com/phrase/phraseapp-in-context-editor-ruby/tree/v1.1.0) (2016-10-04)
|
68
|
-
|
69
|
-
[Full Changelog](https://github.com/phrase/phraseapp-in-context-editor-ruby/compare/v1.0.2...v1.1.0)
|
70
|
-
|
71
|
-
**Closed issues:**
|
72
|
-
|
73
|
-
- rails\_admin json issue with phraseapp and rails\_admin-i18n [\#16](https://github.com/phrase/phraseapp-in-context-editor-ruby/issues/16)
|
74
|
-
- Per thread config [\#14](https://github.com/phrase/phraseapp-in-context-editor-ruby/issues/14)
|
75
|
-
- RuntimeError: not found? [\#12](https://github.com/phrase/phraseapp-in-context-editor-ruby/issues/12)
|
76
|
-
- Editor conflicts the angular router [\#9](https://github.com/phrase/phraseapp-in-context-editor-ruby/issues/9)
|
77
|
-
- Edit icons missing if the enabled false by default [\#8](https://github.com/phrase/phraseapp-in-context-editor-ruby/issues/8)
|
78
|
-
- Introduce a changelog [\#7](https://github.com/phrase/phraseapp-in-context-editor-ruby/issues/7)
|
79
|
-
|
80
|
-
**Merged pull requests:**
|
81
|
-
|
82
|
-
- Proper storage of config on Thread.current [\#15](https://github.com/phrase/phraseapp-in-context-editor-ruby/pull/15) ([docstun](https://github.com/docstun))
|
83
|
-
- disable dependency loading on before as fix for rails5 [\#13](https://github.com/phrase/phraseapp-in-context-editor-ruby/pull/13) ([koljaa](https://github.com/koljaa))
|
84
|
-
- Update LICENSE [\#11](https://github.com/phrase/phraseapp-in-context-editor-ruby/pull/11) ([sbruhns](https://github.com/sbruhns))
|
85
|
-
- i18n set to \>= 0.6 [\#10](https://github.com/phrase/phraseapp-in-context-editor-ruby/pull/10) ([jethroo](https://github.com/jethroo))
|
86
|
-
|
87
|
-
## [v1.0.2](https://github.com/phrase/phraseapp-in-context-editor-ruby/tree/v1.0.2) (2015-10-12)
|
88
|
-
|
89
|
-
[Full Changelog](https://github.com/phrase/phraseapp-in-context-editor-ruby/compare/v1.0.1...v1.0.2)
|
90
|
-
|
91
|
-
**Closed issues:**
|
92
|
-
|
93
|
-
- Method missing error [\#5](https://github.com/phrase/phraseapp-in-context-editor-ruby/issues/5)
|
94
|
-
|
95
|
-
**Merged pull requests:**
|
96
|
-
|
97
|
-
- 18n delegate refactoring [\#6](https://github.com/phrase/phraseapp-in-context-editor-ruby/pull/6) ([koljaa](https://github.com/koljaa))
|
98
|
-
|
99
|
-
## [v1.0.1](https://github.com/phrase/phraseapp-in-context-editor-ruby/tree/v1.0.1) (2015-10-07)
|
100
|
-
|
101
|
-
[Full Changelog](https://github.com/phrase/phraseapp-in-context-editor-ruby/compare/v1.0.0...v1.0.1)
|
102
|
-
|
103
|
-
**Closed issues:**
|
104
|
-
|
105
|
-
- Two translations in one HTML element [\#4](https://github.com/phrase/phraseapp-in-context-editor-ruby/issues/4)
|
106
|
-
- Why PhraseApp In-Context Editor can be enabled/disabled only for entire application? [\#3](https://github.com/phrase/phraseapp-in-context-editor-ruby/issues/3)
|
107
|
-
- Why Access Token is mandatory in configuration for In-Context Editor? [\#2](https://github.com/phrase/phraseapp-in-context-editor-ruby/issues/2)
|
108
|
-
- Problems chaneging suffix and prefix [\#1](https://github.com/phrase/phraseapp-in-context-editor-ruby/issues/1)
|
109
|
-
|
110
|
-
## [v1.0.0](https://github.com/phrase/phraseapp-in-context-editor-ruby/tree/v1.0.0) (2015-08-21)
|
111
|
-
|
112
|
-
[Full Changelog](https://github.com/phrase/phraseapp-in-context-editor-ruby/compare/4a0e284a7acad8529eef882863b226858384b757...v1.0.0)
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
20
|
+
* Add origin to track different integration usage for metrics ([#62](https://github.com/phrase/phraseapp-in-context-editor-ruby/issues/62)) ([660eebc](https://github.com/phrase/phraseapp-in-context-editor-ruby/commit/660eebc72a6b787343a0f69fbda9f6d5f71bc778))
|
data/CODEOWNERS
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
* @phrase/strings-editor
|
data/Gemfile
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,244 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
phraseapp-in-context-editor-ruby (2.1.0)
|
5
|
+
i18n (~> 1.0)
|
6
|
+
json (~> 2.0)
|
7
|
+
request_store (~> 1.2)
|
8
|
+
|
9
|
+
GEM
|
10
|
+
remote: https://rubygems.org/
|
11
|
+
specs:
|
12
|
+
actioncable (7.0.7.2)
|
13
|
+
actionpack (= 7.0.7.2)
|
14
|
+
activesupport (= 7.0.7.2)
|
15
|
+
nio4r (~> 2.0)
|
16
|
+
websocket-driver (>= 0.6.1)
|
17
|
+
actionmailbox (7.0.7.2)
|
18
|
+
actionpack (= 7.0.7.2)
|
19
|
+
activejob (= 7.0.7.2)
|
20
|
+
activerecord (= 7.0.7.2)
|
21
|
+
activestorage (= 7.0.7.2)
|
22
|
+
activesupport (= 7.0.7.2)
|
23
|
+
mail (>= 2.7.1)
|
24
|
+
net-imap
|
25
|
+
net-pop
|
26
|
+
net-smtp
|
27
|
+
actionmailer (7.0.7.2)
|
28
|
+
actionpack (= 7.0.7.2)
|
29
|
+
actionview (= 7.0.7.2)
|
30
|
+
activejob (= 7.0.7.2)
|
31
|
+
activesupport (= 7.0.7.2)
|
32
|
+
mail (~> 2.5, >= 2.5.4)
|
33
|
+
net-imap
|
34
|
+
net-pop
|
35
|
+
net-smtp
|
36
|
+
rails-dom-testing (~> 2.0)
|
37
|
+
actionpack (7.0.7.2)
|
38
|
+
actionview (= 7.0.7.2)
|
39
|
+
activesupport (= 7.0.7.2)
|
40
|
+
rack (~> 2.0, >= 2.2.4)
|
41
|
+
rack-test (>= 0.6.3)
|
42
|
+
rails-dom-testing (~> 2.0)
|
43
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
44
|
+
actiontext (7.0.7.2)
|
45
|
+
actionpack (= 7.0.7.2)
|
46
|
+
activerecord (= 7.0.7.2)
|
47
|
+
activestorage (= 7.0.7.2)
|
48
|
+
activesupport (= 7.0.7.2)
|
49
|
+
globalid (>= 0.6.0)
|
50
|
+
nokogiri (>= 1.8.5)
|
51
|
+
actionview (7.0.7.2)
|
52
|
+
activesupport (= 7.0.7.2)
|
53
|
+
builder (~> 3.1)
|
54
|
+
erubi (~> 1.4)
|
55
|
+
rails-dom-testing (~> 2.0)
|
56
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
57
|
+
activejob (7.0.7.2)
|
58
|
+
activesupport (= 7.0.7.2)
|
59
|
+
globalid (>= 0.3.6)
|
60
|
+
activemodel (7.0.7.2)
|
61
|
+
activesupport (= 7.0.7.2)
|
62
|
+
activerecord (7.0.7.2)
|
63
|
+
activemodel (= 7.0.7.2)
|
64
|
+
activesupport (= 7.0.7.2)
|
65
|
+
activestorage (7.0.7.2)
|
66
|
+
actionpack (= 7.0.7.2)
|
67
|
+
activejob (= 7.0.7.2)
|
68
|
+
activerecord (= 7.0.7.2)
|
69
|
+
activesupport (= 7.0.7.2)
|
70
|
+
marcel (~> 1.0)
|
71
|
+
mini_mime (>= 1.1.0)
|
72
|
+
activesupport (7.0.7.2)
|
73
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
74
|
+
i18n (>= 1.6, < 2)
|
75
|
+
minitest (>= 5.1)
|
76
|
+
tzinfo (~> 2.0)
|
77
|
+
addressable (2.8.5)
|
78
|
+
public_suffix (>= 2.0.2, < 6.0)
|
79
|
+
async (2.6.4)
|
80
|
+
console (~> 1.10)
|
81
|
+
fiber-annotation
|
82
|
+
io-event (~> 1.1)
|
83
|
+
timers (~> 4.1)
|
84
|
+
async-http (0.60.2)
|
85
|
+
async (>= 1.25)
|
86
|
+
async-io (>= 1.28)
|
87
|
+
async-pool (>= 0.2)
|
88
|
+
protocol-http (~> 0.24.0)
|
89
|
+
protocol-http1 (~> 0.15.0)
|
90
|
+
protocol-http2 (~> 0.15.0)
|
91
|
+
traces (>= 0.10.0)
|
92
|
+
async-http-faraday (0.12.0)
|
93
|
+
async-http (~> 0.42)
|
94
|
+
faraday
|
95
|
+
async-io (1.35.0)
|
96
|
+
async
|
97
|
+
async-pool (0.4.0)
|
98
|
+
async (>= 1.25)
|
99
|
+
builder (3.2.4)
|
100
|
+
concurrent-ruby (1.2.2)
|
101
|
+
console (1.23.2)
|
102
|
+
fiber-annotation
|
103
|
+
fiber-local
|
104
|
+
crass (1.0.6)
|
105
|
+
date (3.3.3)
|
106
|
+
diff-lcs (1.5.0)
|
107
|
+
erubi (1.12.0)
|
108
|
+
faraday (2.7.10)
|
109
|
+
faraday-net_http (>= 2.0, < 3.1)
|
110
|
+
ruby2_keywords (>= 0.0.4)
|
111
|
+
faraday-http-cache (2.5.0)
|
112
|
+
faraday (>= 0.8)
|
113
|
+
faraday-net_http (3.0.2)
|
114
|
+
fiber-annotation (0.2.0)
|
115
|
+
fiber-local (1.0.0)
|
116
|
+
github_changelog_generator (1.16.4)
|
117
|
+
activesupport
|
118
|
+
async (>= 1.25.0)
|
119
|
+
async-http-faraday
|
120
|
+
faraday-http-cache
|
121
|
+
multi_json
|
122
|
+
octokit (~> 4.6)
|
123
|
+
rainbow (>= 2.2.1)
|
124
|
+
rake (>= 10.0)
|
125
|
+
globalid (1.2.0)
|
126
|
+
activesupport (>= 6.1)
|
127
|
+
i18n (1.14.1)
|
128
|
+
concurrent-ruby (~> 1.0)
|
129
|
+
io-event (1.3.2)
|
130
|
+
json (2.6.3)
|
131
|
+
loofah (2.21.3)
|
132
|
+
crass (~> 1.0.2)
|
133
|
+
nokogiri (>= 1.12.0)
|
134
|
+
mail (2.8.1)
|
135
|
+
mini_mime (>= 0.1.1)
|
136
|
+
net-imap
|
137
|
+
net-pop
|
138
|
+
net-smtp
|
139
|
+
marcel (1.0.2)
|
140
|
+
method_source (1.0.0)
|
141
|
+
mini_mime (1.1.5)
|
142
|
+
minitest (5.19.0)
|
143
|
+
multi_json (1.15.0)
|
144
|
+
net-imap (0.3.7)
|
145
|
+
date
|
146
|
+
net-protocol
|
147
|
+
net-pop (0.1.2)
|
148
|
+
net-protocol
|
149
|
+
net-protocol (0.2.1)
|
150
|
+
timeout
|
151
|
+
net-smtp (0.3.3)
|
152
|
+
net-protocol
|
153
|
+
nio4r (2.5.9)
|
154
|
+
nokogiri (1.15.4-arm64-darwin)
|
155
|
+
racc (~> 1.4)
|
156
|
+
nokogiri (1.15.4-x86_64-linux)
|
157
|
+
racc (~> 1.4)
|
158
|
+
octokit (4.25.1)
|
159
|
+
faraday (>= 1, < 3)
|
160
|
+
sawyer (~> 0.9)
|
161
|
+
protocol-hpack (1.4.2)
|
162
|
+
protocol-http (0.24.7)
|
163
|
+
protocol-http1 (0.15.1)
|
164
|
+
protocol-http (~> 0.22)
|
165
|
+
protocol-http2 (0.15.1)
|
166
|
+
protocol-hpack (~> 1.4)
|
167
|
+
protocol-http (~> 0.18)
|
168
|
+
public_suffix (5.0.3)
|
169
|
+
racc (1.7.1)
|
170
|
+
rack (2.2.8)
|
171
|
+
rack-test (2.1.0)
|
172
|
+
rack (>= 1.3)
|
173
|
+
rails (7.0.7.2)
|
174
|
+
actioncable (= 7.0.7.2)
|
175
|
+
actionmailbox (= 7.0.7.2)
|
176
|
+
actionmailer (= 7.0.7.2)
|
177
|
+
actionpack (= 7.0.7.2)
|
178
|
+
actiontext (= 7.0.7.2)
|
179
|
+
actionview (= 7.0.7.2)
|
180
|
+
activejob (= 7.0.7.2)
|
181
|
+
activemodel (= 7.0.7.2)
|
182
|
+
activerecord (= 7.0.7.2)
|
183
|
+
activestorage (= 7.0.7.2)
|
184
|
+
activesupport (= 7.0.7.2)
|
185
|
+
bundler (>= 1.15.0)
|
186
|
+
railties (= 7.0.7.2)
|
187
|
+
rails-dom-testing (2.2.0)
|
188
|
+
activesupport (>= 5.0.0)
|
189
|
+
minitest
|
190
|
+
nokogiri (>= 1.6)
|
191
|
+
rails-html-sanitizer (1.6.0)
|
192
|
+
loofah (~> 2.21)
|
193
|
+
nokogiri (~> 1.14)
|
194
|
+
railties (7.0.7.2)
|
195
|
+
actionpack (= 7.0.7.2)
|
196
|
+
activesupport (= 7.0.7.2)
|
197
|
+
method_source
|
198
|
+
rake (>= 12.2)
|
199
|
+
thor (~> 1.0)
|
200
|
+
zeitwerk (~> 2.5)
|
201
|
+
rainbow (3.1.1)
|
202
|
+
rake (13.0.6)
|
203
|
+
request_store (1.5.1)
|
204
|
+
rack (>= 1.4)
|
205
|
+
rspec (3.12.0)
|
206
|
+
rspec-core (~> 3.12.0)
|
207
|
+
rspec-expectations (~> 3.12.0)
|
208
|
+
rspec-mocks (~> 3.12.0)
|
209
|
+
rspec-core (3.12.2)
|
210
|
+
rspec-support (~> 3.12.0)
|
211
|
+
rspec-expectations (3.12.3)
|
212
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
213
|
+
rspec-support (~> 3.12.0)
|
214
|
+
rspec-mocks (3.12.6)
|
215
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
216
|
+
rspec-support (~> 3.12.0)
|
217
|
+
rspec-support (3.12.1)
|
218
|
+
ruby2_keywords (0.0.5)
|
219
|
+
sawyer (0.9.2)
|
220
|
+
addressable (>= 2.3.5)
|
221
|
+
faraday (>= 0.17.3, < 3)
|
222
|
+
thor (1.2.2)
|
223
|
+
timeout (0.4.0)
|
224
|
+
timers (4.3.5)
|
225
|
+
traces (0.11.1)
|
226
|
+
tzinfo (2.0.6)
|
227
|
+
concurrent-ruby (~> 1.0)
|
228
|
+
websocket-driver (0.7.6)
|
229
|
+
websocket-extensions (>= 0.1.0)
|
230
|
+
websocket-extensions (0.1.5)
|
231
|
+
zeitwerk (2.6.11)
|
232
|
+
|
233
|
+
PLATFORMS
|
234
|
+
arm64-darwin-22
|
235
|
+
x86_64-linux
|
236
|
+
|
237
|
+
DEPENDENCIES
|
238
|
+
github_changelog_generator (~> 1.16)
|
239
|
+
phraseapp-in-context-editor-ruby!
|
240
|
+
rails (~> 7.0)
|
241
|
+
rspec (~> 3.0)
|
242
|
+
|
243
|
+
BUNDLED WITH
|
244
|
+
2.4.19
|
data/Guardfile
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
# A sample Guardfile
|
2
2
|
# More info at https://github.com/guard/guard#readme
|
3
3
|
|
4
|
-
guard
|
5
|
-
watch(
|
4
|
+
guard "bundler" do
|
5
|
+
watch("Gemfile")
|
6
6
|
# Uncomment next line if Gemfile contain `gemspec' command
|
7
7
|
# watch(/^.+\.gemspec/)
|
8
8
|
end
|
9
9
|
|
10
|
-
guard
|
10
|
+
guard "rspec" do
|
11
11
|
watch(%r{^spec/.+_spec\.rb$})
|
12
|
-
watch(%r{^lib/(.+)\.rb$})
|
13
|
-
watch(
|
12
|
+
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
|
13
|
+
watch("spec/spec_helper.rb") { "spec" }
|
14
14
|
|
15
15
|
# Rails example
|
16
|
-
watch(%r{^app/(.+)\.rb$})
|
17
|
-
watch(%r{^app/(.*)(\.erb|\.haml)$})
|
18
|
-
watch(%r{^app/controllers/(.+)_(controller)\.rb$})
|
19
|
-
watch(%r{^spec/support/(.+)\.rb$})
|
20
|
-
watch(
|
21
|
-
watch(
|
16
|
+
watch(%r{^app/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
|
17
|
+
watch(%r{^app/(.*)(\.erb|\.haml)$}) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
|
18
|
+
watch(%r{^app/controllers/(.+)_(controller)\.rb$}) { |m| ["spec/routing/#{m[1]}_routing_spec.rb", "spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb", "spec/acceptance/#{m[1]}_spec.rb"] }
|
19
|
+
watch(%r{^spec/support/(.+)\.rb$}) { "spec" }
|
20
|
+
watch("config/routes.rb") { "spec/routing" }
|
21
|
+
watch("app/controllers/application_controller.rb") { "spec/controllers" }
|
22
22
|
|
23
23
|
# Capybara features specs
|
24
|
-
watch(%r{^app/views/(.+)/.*\.(erb|haml)$})
|
24
|
+
watch(%r{^app/views/(.+)/.*\.(erb|haml)$}) { |m| "spec/features/#{m[1]}_spec.rb" }
|
25
25
|
|
26
26
|
# Turnip features and steps
|
27
27
|
watch(%r{^spec/acceptance/(.+)\.feature$})
|
28
|
-
watch(%r{^spec/acceptance/steps/(.+)_steps\.rb$})
|
28
|
+
watch(%r{^spec/acceptance/steps/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || "spec/acceptance" }
|
29
29
|
end
|