phraseapp-in-context-editor-ruby 2.0.0 → 3.1.0
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 +6 -3
- data/.gitignore +1 -0
- data/CHANGELOG.md +22 -87
- 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/generators/phraseapp_in_context_editor/templates/phraseapp_in_context_editor.rb +4 -0
- data/lib/phraseapp-in-context-editor-ruby/adapters/i18n.rb +2 -2
- data/lib/phraseapp-in-context-editor-ruby/backend_service.rb +16 -31
- data/lib/phraseapp-in-context-editor-ruby/config.rb +3 -1
- data/lib/phraseapp-in-context-editor-ruby/delegate/i18n_delegate.rb +2 -2
- 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 +8 -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
data/package.json
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
{
|
2
|
+
"scripts": {
|
3
|
+
"release": "semantic-release"
|
4
|
+
},
|
5
|
+
"devDependencies": {
|
6
|
+
"@semantic-release/commit-analyzer": "^8.0.1",
|
7
|
+
"@semantic-release/release-notes-generator": "^9.0.1",
|
8
|
+
"@semantic-release/changelog": "^5.0.1",
|
9
|
+
"@semantic-release/git": "^9.0.0",
|
10
|
+
"semantic-release": "^17.0.7",
|
11
|
+
"semantic-release-rubygem": "^1.2.0"
|
12
|
+
}
|
13
|
+
}
|
@@ -1,10 +1,12 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require "./lib/phraseapp-in-context-editor-ruby/version"
|
4
|
+
|
3
5
|
Gem::Specification.new do |s|
|
4
6
|
s.name = "phraseapp-in-context-editor-ruby"
|
5
|
-
s.version =
|
7
|
+
s.version = PhraseappInContextEditor::VERSION
|
6
8
|
s.platform = Gem::Platform::RUBY
|
7
|
-
s.required_ruby_version = ">= 3.
|
9
|
+
s.required_ruby_version = ">= 3.1.0"
|
8
10
|
s.authors = ["Phrase"]
|
9
11
|
s.email = ["info@phrase.com"]
|
10
12
|
s.homepage = "https://phrase.com"
|
data/release.config.js
ADDED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phraseapp-in-context-editor-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Phrase
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-06-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -102,6 +102,9 @@ executables: []
|
|
102
102
|
extensions: []
|
103
103
|
extra_rdoc_files: []
|
104
104
|
files:
|
105
|
+
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
106
|
+
- ".github/workflows/close_inactive_issues.yml"
|
107
|
+
- ".github/workflows/release.yml"
|
105
108
|
- ".github/workflows/test.yml"
|
106
109
|
- ".gitignore"
|
107
110
|
- ".package-licenses.yml"
|
@@ -117,6 +120,89 @@ files:
|
|
117
120
|
- cacert.pem
|
118
121
|
- config/license-decisions.yml
|
119
122
|
- config/license_finder.yml
|
123
|
+
- docs/CHANGELOG.md
|
124
|
+
- examples/demo/.gitattributes
|
125
|
+
- examples/demo/.gitignore
|
126
|
+
- examples/demo/Gemfile
|
127
|
+
- examples/demo/Gemfile.lock
|
128
|
+
- examples/demo/README.md
|
129
|
+
- examples/demo/Rakefile
|
130
|
+
- examples/demo/app/assets/config/manifest.js
|
131
|
+
- examples/demo/app/assets/images/.keep
|
132
|
+
- examples/demo/app/assets/stylesheets/application.css
|
133
|
+
- examples/demo/app/channels/application_cable/channel.rb
|
134
|
+
- examples/demo/app/channels/application_cable/connection.rb
|
135
|
+
- examples/demo/app/controllers/application_controller.rb
|
136
|
+
- examples/demo/app/controllers/concerns/.keep
|
137
|
+
- examples/demo/app/controllers/main_controller.rb
|
138
|
+
- examples/demo/app/helpers/application_helper.rb
|
139
|
+
- examples/demo/app/helpers/main_helper.rb
|
140
|
+
- examples/demo/app/javascript/application.js
|
141
|
+
- examples/demo/app/javascript/controllers/application.js
|
142
|
+
- examples/demo/app/javascript/controllers/hello_controller.js
|
143
|
+
- examples/demo/app/javascript/controllers/index.js
|
144
|
+
- examples/demo/app/jobs/application_job.rb
|
145
|
+
- examples/demo/app/mailers/application_mailer.rb
|
146
|
+
- examples/demo/app/models/application_record.rb
|
147
|
+
- examples/demo/app/models/concerns/.keep
|
148
|
+
- examples/demo/app/views/layouts/application.html.erb
|
149
|
+
- examples/demo/app/views/layouts/mailer.html.erb
|
150
|
+
- examples/demo/app/views/layouts/mailer.text.erb
|
151
|
+
- examples/demo/app/views/main/index.html.erb
|
152
|
+
- examples/demo/bin/bundle
|
153
|
+
- examples/demo/bin/importmap
|
154
|
+
- examples/demo/bin/rails
|
155
|
+
- examples/demo/bin/rake
|
156
|
+
- examples/demo/bin/setup
|
157
|
+
- examples/demo/config.ru
|
158
|
+
- examples/demo/config/application.rb
|
159
|
+
- examples/demo/config/boot.rb
|
160
|
+
- examples/demo/config/cable.yml
|
161
|
+
- examples/demo/config/credentials.yml.enc
|
162
|
+
- examples/demo/config/database.yml
|
163
|
+
- examples/demo/config/environment.rb
|
164
|
+
- examples/demo/config/environments/development.rb
|
165
|
+
- examples/demo/config/environments/production.rb
|
166
|
+
- examples/demo/config/environments/test.rb
|
167
|
+
- examples/demo/config/importmap.rb
|
168
|
+
- examples/demo/config/initializers/assets.rb
|
169
|
+
- examples/demo/config/initializers/content_security_policy.rb
|
170
|
+
- examples/demo/config/initializers/filter_parameter_logging.rb
|
171
|
+
- examples/demo/config/initializers/inflections.rb
|
172
|
+
- examples/demo/config/initializers/permissions_policy.rb
|
173
|
+
- examples/demo/config/initializers/phraseapp_in_context_editor.rb
|
174
|
+
- examples/demo/config/locales/en.yml
|
175
|
+
- examples/demo/config/puma.rb
|
176
|
+
- examples/demo/config/routes.rb
|
177
|
+
- examples/demo/config/storage.yml
|
178
|
+
- examples/demo/db/seeds.rb
|
179
|
+
- examples/demo/lib/assets/.keep
|
180
|
+
- examples/demo/lib/tasks/.keep
|
181
|
+
- examples/demo/log/.keep
|
182
|
+
- examples/demo/public/404.html
|
183
|
+
- examples/demo/public/422.html
|
184
|
+
- examples/demo/public/500.html
|
185
|
+
- examples/demo/public/apple-touch-icon-precomposed.png
|
186
|
+
- examples/demo/public/apple-touch-icon.png
|
187
|
+
- examples/demo/public/favicon.ico
|
188
|
+
- examples/demo/public/robots.txt
|
189
|
+
- examples/demo/storage/.keep
|
190
|
+
- examples/demo/test/application_system_test_case.rb
|
191
|
+
- examples/demo/test/channels/application_cable/connection_test.rb
|
192
|
+
- examples/demo/test/controllers/.keep
|
193
|
+
- examples/demo/test/controllers/main_controller_test.rb
|
194
|
+
- examples/demo/test/fixtures/files/.keep
|
195
|
+
- examples/demo/test/helpers/.keep
|
196
|
+
- examples/demo/test/integration/.keep
|
197
|
+
- examples/demo/test/mailers/.keep
|
198
|
+
- examples/demo/test/models/.keep
|
199
|
+
- examples/demo/test/system/.keep
|
200
|
+
- examples/demo/test/test_helper.rb
|
201
|
+
- examples/demo/tmp/.keep
|
202
|
+
- examples/demo/tmp/pids/.keep
|
203
|
+
- examples/demo/tmp/storage/.keep
|
204
|
+
- examples/demo/vendor/.keep
|
205
|
+
- examples/demo/vendor/javascript/.keep
|
120
206
|
- lib/generators/phraseapp_in_context_editor/install_generator.rb
|
121
207
|
- lib/generators/phraseapp_in_context_editor/templates/phraseapp_in_context_editor.rb
|
122
208
|
- lib/phraseapp-in-context-editor-ruby.rb
|
@@ -128,13 +214,17 @@ files:
|
|
128
214
|
- lib/phraseapp-in-context-editor-ruby/delegate/fast_gettext.rb
|
129
215
|
- lib/phraseapp-in-context-editor-ruby/delegate/i18n_delegate.rb
|
130
216
|
- lib/phraseapp-in-context-editor-ruby/engine.rb
|
217
|
+
- lib/phraseapp-in-context-editor-ruby/version.rb
|
131
218
|
- lib/phraseapp-in-context-editor-ruby/view_helpers.rb
|
219
|
+
- package-lock.json
|
220
|
+
- package.json
|
132
221
|
- phraseapp-in-context-editor-ruby.gemspec
|
222
|
+
- release.config.js
|
133
223
|
homepage: https://phrase.com
|
134
224
|
licenses:
|
135
225
|
- MIT
|
136
226
|
metadata: {}
|
137
|
-
post_install_message:
|
227
|
+
post_install_message:
|
138
228
|
rdoc_options: []
|
139
229
|
require_paths:
|
140
230
|
- lib
|
@@ -142,15 +232,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
142
232
|
requirements:
|
143
233
|
- - ">="
|
144
234
|
- !ruby/object:Gem::Version
|
145
|
-
version: 3.
|
235
|
+
version: 3.1.0
|
146
236
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
147
237
|
requirements:
|
148
238
|
- - ">="
|
149
239
|
- !ruby/object:Gem::Version
|
150
240
|
version: 1.3.6
|
151
241
|
requirements: []
|
152
|
-
rubygems_version: 3.4.
|
153
|
-
signing_key:
|
242
|
+
rubygems_version: 3.4.10
|
243
|
+
signing_key:
|
154
244
|
specification_version: 4
|
155
245
|
summary: Translation management solution for web and mobile applications
|
156
246
|
test_files: []
|