phraseapp-in-context-editor-ruby 2.0.0 → 2.1.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/.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 +5 -2
- data/.gitignore +1 -0
- data/CHANGELOG.md +9 -105
- data/CODEOWNERS +1 -1
- data/Gemfile.lock +4 -1
- data/RELEASING.md +2 -9
- 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/phraseapp-in-context-editor-ruby/config.rb +2 -1
- data/lib/phraseapp-in-context-editor-ruby/version.rb +3 -0
- data/lib/phraseapp-in-context-editor-ruby/view_helpers.rb +2 -1
- data/lib/phraseapp-in-context-editor-ruby.rb +4 -0
- data/package-lock.json +6576 -0
- data/package.json +13 -0
- data/phraseapp-in-context-editor-ruby.gemspec +4 -2
- data/release.config.js +10 -0
- metadata +97 -7
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
|
@@ -2,11 +2,14 @@ name: Test
|
|
|
2
2
|
on: [ push ]
|
|
3
3
|
jobs:
|
|
4
4
|
test:
|
|
5
|
+
strategy:
|
|
6
|
+
matrix:
|
|
7
|
+
ruby: [ 3.1, 3.2 ]
|
|
5
8
|
runs-on: ubuntu-latest
|
|
6
9
|
steps:
|
|
7
|
-
- uses: actions/checkout@
|
|
10
|
+
- uses: actions/checkout@v4
|
|
8
11
|
- uses: ruby/setup-ruby@319066216501fbd5e2d568f14b7d68c19fb67a5d
|
|
9
12
|
with:
|
|
10
|
-
ruby-version:
|
|
13
|
+
ruby-version: ${{ matrix.ruby }}
|
|
11
14
|
- run: bundle install
|
|
12
15
|
- run: bundle exec rspec spec
|
data/.gitignore
CHANGED
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
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
* @
|
|
1
|
+
* @phrase/strings-editor
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
phraseapp-in-context-editor-ruby (2.
|
|
4
|
+
phraseapp-in-context-editor-ruby (2.1.0)
|
|
5
5
|
i18n (~> 1.0)
|
|
6
6
|
json (~> 2.0)
|
|
7
7
|
request_store (~> 1.2)
|
|
@@ -153,6 +153,8 @@ GEM
|
|
|
153
153
|
nio4r (2.5.9)
|
|
154
154
|
nokogiri (1.15.4-arm64-darwin)
|
|
155
155
|
racc (~> 1.4)
|
|
156
|
+
nokogiri (1.15.4-x86_64-linux)
|
|
157
|
+
racc (~> 1.4)
|
|
156
158
|
octokit (4.25.1)
|
|
157
159
|
faraday (>= 1, < 3)
|
|
158
160
|
sawyer (~> 0.9)
|
|
@@ -230,6 +232,7 @@ GEM
|
|
|
230
232
|
|
|
231
233
|
PLATFORMS
|
|
232
234
|
arm64-darwin-22
|
|
235
|
+
x86_64-linux
|
|
233
236
|
|
|
234
237
|
DEPENDENCIES
|
|
235
238
|
github_changelog_generator (~> 1.16)
|
data/RELEASING.md
CHANGED
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
#
|
|
1
|
+
# :package: Releasing
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
2. Run `bundle` and commit Gemfile.lock including the new version of the gem
|
|
5
|
-
3. Make sure the tests pass
|
|
6
|
-
4. Tag the new version on GitHub
|
|
7
|
-
5. Update the CHANGELOG by running `$ github_changelog_generator` and commit the new `CHANGELOG`
|
|
8
|
-
6. Build the gem by running `gem build phraseapp-in-context-editor-ruby.gemspec`
|
|
9
|
-
7. Push the gem to Rubygems by running `gem push phraseapp-in-context-editor-ruby-<VERSION>.gem`
|
|
10
|
-
8. Done!
|
|
3
|
+
Package is being released automatically with the use of [Semantic Release Action](https://github.com/marketplace/actions/action-for-semantic-release). Just push a commit to the main and a new version will be released right away!
|
data/docs/CHANGELOG.md
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [v1.4.0](https://github.com/phrase/phraseapp-in-context-editor-ruby/tree/v1.4.0) (2021-02-16)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/phrase/phraseapp-in-context-editor-ruby/compare/v1.3.1...v1.4.0)
|
|
6
|
+
|
|
7
|
+
**Closed issues:**
|
|
8
|
+
|
|
9
|
+
- phraseapp-ruby locked to ~\> 1.2.7, current is 1.3.3 [\#19](https://github.com/phrase/phraseapp-in-context-editor-ruby/issues/19)
|
|
10
|
+
|
|
11
|
+
**Merged pull requests:**
|
|
12
|
+
|
|
13
|
+
- Ruby 3.0 support [\#49](https://github.com/phrase/phraseapp-in-context-editor-ruby/pull/49) ([sbruhns](https://github.com/sbruhns))
|
|
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))
|
|
23
|
+
|
|
24
|
+
## [v1.3.1](https://github.com/phrase/phraseapp-in-context-editor-ruby/tree/v1.3.1) (2019-08-29)
|
|
25
|
+
|
|
26
|
+
[Full Changelog](https://github.com/phrase/phraseapp-in-context-editor-ruby/compare/v1.3.0...v1.3.1)
|
|
27
|
+
|
|
28
|
+
**Merged pull requests:**
|
|
29
|
+
|
|
30
|
+
- Update docs [\#38](https://github.com/phrase/phraseapp-in-context-editor-ruby/pull/38) ([timleers](https://github.com/timleers))
|
|
31
|
+
- Update documentation URLs [\#37](https://github.com/phrase/phraseapp-in-context-editor-ruby/pull/37) ([docstun](https://github.com/docstun))
|
|
32
|
+
|
|
33
|
+
## [v1.3.0](https://github.com/phrase/phraseapp-in-context-editor-ruby/tree/v1.3.0) (2018-04-19)
|
|
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)*
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
|
|
2
|
+
#
|
|
3
|
+
# If you find yourself ignoring temporary files generated by your text editor
|
|
4
|
+
# or operating system, you probably want to add a global ignore instead:
|
|
5
|
+
# git config --global core.excludesfile '~/.gitignore_global'
|
|
6
|
+
|
|
7
|
+
# Ignore bundler config.
|
|
8
|
+
/.bundle
|
|
9
|
+
|
|
10
|
+
# Ignore the default SQLite database.
|
|
11
|
+
/db/*.sqlite3
|
|
12
|
+
/db/*.sqlite3-*
|
|
13
|
+
|
|
14
|
+
# Ignore all logfiles and tempfiles.
|
|
15
|
+
/log/*
|
|
16
|
+
/tmp/*
|
|
17
|
+
!/log/.keep
|
|
18
|
+
!/tmp/.keep
|
|
19
|
+
|
|
20
|
+
# Ignore pidfiles, but keep the directory.
|
|
21
|
+
/tmp/pids/*
|
|
22
|
+
!/tmp/pids/
|
|
23
|
+
!/tmp/pids/.keep
|
|
24
|
+
|
|
25
|
+
# Ignore uploaded files in development.
|
|
26
|
+
/storage/*
|
|
27
|
+
!/storage/.keep
|
|
28
|
+
/tmp/storage/*
|
|
29
|
+
!/tmp/storage/
|
|
30
|
+
!/tmp/storage/.keep
|
|
31
|
+
|
|
32
|
+
/public/assets
|
|
33
|
+
|
|
34
|
+
# Ignore master key for decrypting credentials and more.
|
|
35
|
+
/config/master.key
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
source "https://rubygems.org"
|
|
2
|
+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
|
3
|
+
|
|
4
|
+
ruby "3.2.1"
|
|
5
|
+
|
|
6
|
+
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
|
|
7
|
+
gem "rails", "~> 7.0.7", ">= 7.0.7.2"
|
|
8
|
+
|
|
9
|
+
# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
|
|
10
|
+
gem "sprockets-rails"
|
|
11
|
+
|
|
12
|
+
# Use sqlite3 as the database for Active Record
|
|
13
|
+
gem "sqlite3", "~> 1.4"
|
|
14
|
+
|
|
15
|
+
# Use the Puma web server [https://github.com/puma/puma]
|
|
16
|
+
gem "puma", "~> 5.0"
|
|
17
|
+
|
|
18
|
+
# Use JavaScript with ESM import maps [https://github.com/rails/importmap-rails]
|
|
19
|
+
gem "importmap-rails"
|
|
20
|
+
|
|
21
|
+
# Hotwire's SPA-like page accelerator [https://turbo.hotwired.dev]
|
|
22
|
+
gem "turbo-rails"
|
|
23
|
+
|
|
24
|
+
# Hotwire's modest JavaScript framework [https://stimulus.hotwired.dev]
|
|
25
|
+
gem "stimulus-rails"
|
|
26
|
+
|
|
27
|
+
# Build JSON APIs with ease [https://github.com/rails/jbuilder]
|
|
28
|
+
gem "jbuilder"
|
|
29
|
+
|
|
30
|
+
# Use Redis adapter to run Action Cable in production
|
|
31
|
+
# gem "redis", "~> 4.0"
|
|
32
|
+
|
|
33
|
+
# Use Kredis to get higher-level data types in Redis [https://github.com/rails/kredis]
|
|
34
|
+
# gem "kredis"
|
|
35
|
+
|
|
36
|
+
# Use Active Model has_secure_password [https://guides.rubyonrails.org/active_model_basics.html#securepassword]
|
|
37
|
+
# gem "bcrypt", "~> 3.1.7"
|
|
38
|
+
|
|
39
|
+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
|
40
|
+
gem "tzinfo-data", platforms: %i[ mingw mswin x64_mingw jruby ]
|
|
41
|
+
|
|
42
|
+
# Reduces boot times through caching; required in config/boot.rb
|
|
43
|
+
gem "bootsnap", require: false
|
|
44
|
+
|
|
45
|
+
# Use Sass to process CSS
|
|
46
|
+
# gem "sassc-rails"
|
|
47
|
+
|
|
48
|
+
# Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images]
|
|
49
|
+
# gem "image_processing", "~> 1.2"
|
|
50
|
+
|
|
51
|
+
group :development, :test do
|
|
52
|
+
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
|
|
53
|
+
gem "debug", platforms: %i[ mri mingw x64_mingw ]
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
group :development do
|
|
57
|
+
# Use console on exceptions pages [https://github.com/rails/web-console]
|
|
58
|
+
gem "web-console"
|
|
59
|
+
|
|
60
|
+
# Add speed badges [https://github.com/MiniProfiler/rack-mini-profiler]
|
|
61
|
+
# gem "rack-mini-profiler"
|
|
62
|
+
|
|
63
|
+
# Speed up commands on slow machines / big apps [https://github.com/rails/spring]
|
|
64
|
+
# gem "spring"
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
group :test do
|
|
68
|
+
# Use system testing [https://guides.rubyonrails.org/testing.html#system-testing]
|
|
69
|
+
gem "capybara"
|
|
70
|
+
gem "selenium-webdriver"
|
|
71
|
+
gem "webdrivers"
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
gem "phraseapp-in-context-editor-ruby", path: "../.." # Note this is using local version of the gem
|