phraseapp-in-context-editor-ruby 2.0.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +4 -4
  2. data/.github/ISSUE_TEMPLATE/bug_report.md +18 -0
  3. data/.github/workflows/close_inactive_issues.yml +18 -0
  4. data/.github/workflows/release.yml +28 -0
  5. data/.github/workflows/test.yml +5 -2
  6. data/.gitignore +1 -0
  7. data/CHANGELOG.md +9 -105
  8. data/CODEOWNERS +1 -1
  9. data/Gemfile.lock +4 -1
  10. data/RELEASING.md +2 -9
  11. data/docs/CHANGELOG.md +116 -0
  12. data/examples/demo/.gitattributes +7 -0
  13. data/examples/demo/.gitignore +35 -0
  14. data/examples/demo/Gemfile +74 -0
  15. data/examples/demo/Gemfile.lock +268 -0
  16. data/examples/demo/README.md +5 -0
  17. data/examples/demo/Rakefile +6 -0
  18. data/examples/demo/app/assets/config/manifest.js +4 -0
  19. data/examples/demo/app/assets/images/.keep +0 -0
  20. data/examples/demo/app/assets/stylesheets/application.css +15 -0
  21. data/examples/demo/app/channels/application_cable/channel.rb +4 -0
  22. data/examples/demo/app/channels/application_cable/connection.rb +4 -0
  23. data/examples/demo/app/controllers/application_controller.rb +2 -0
  24. data/examples/demo/app/controllers/concerns/.keep +0 -0
  25. data/examples/demo/app/controllers/main_controller.rb +4 -0
  26. data/examples/demo/app/helpers/application_helper.rb +2 -0
  27. data/examples/demo/app/helpers/main_helper.rb +2 -0
  28. data/examples/demo/app/javascript/application.js +3 -0
  29. data/examples/demo/app/javascript/controllers/application.js +9 -0
  30. data/examples/demo/app/javascript/controllers/hello_controller.js +7 -0
  31. data/examples/demo/app/javascript/controllers/index.js +11 -0
  32. data/examples/demo/app/jobs/application_job.rb +7 -0
  33. data/examples/demo/app/mailers/application_mailer.rb +4 -0
  34. data/examples/demo/app/models/application_record.rb +3 -0
  35. data/examples/demo/app/models/concerns/.keep +0 -0
  36. data/examples/demo/app/views/layouts/application.html.erb +17 -0
  37. data/examples/demo/app/views/layouts/mailer.html.erb +13 -0
  38. data/examples/demo/app/views/layouts/mailer.text.erb +1 -0
  39. data/examples/demo/app/views/main/index.html.erb +8 -0
  40. data/examples/demo/bin/bundle +109 -0
  41. data/examples/demo/bin/importmap +4 -0
  42. data/examples/demo/bin/rails +4 -0
  43. data/examples/demo/bin/rake +4 -0
  44. data/examples/demo/bin/setup +33 -0
  45. data/examples/demo/config/application.rb +22 -0
  46. data/examples/demo/config/boot.rb +4 -0
  47. data/examples/demo/config/cable.yml +10 -0
  48. data/examples/demo/config/credentials.yml.enc +1 -0
  49. data/examples/demo/config/database.yml +25 -0
  50. data/examples/demo/config/environment.rb +5 -0
  51. data/examples/demo/config/environments/development.rb +70 -0
  52. data/examples/demo/config/environments/production.rb +93 -0
  53. data/examples/demo/config/environments/test.rb +60 -0
  54. data/examples/demo/config/importmap.rb +7 -0
  55. data/examples/demo/config/initializers/assets.rb +12 -0
  56. data/examples/demo/config/initializers/content_security_policy.rb +25 -0
  57. data/examples/demo/config/initializers/filter_parameter_logging.rb +8 -0
  58. data/examples/demo/config/initializers/inflections.rb +16 -0
  59. data/examples/demo/config/initializers/permissions_policy.rb +11 -0
  60. data/examples/demo/config/initializers/phraseapp_in_context_editor.rb +20 -0
  61. data/examples/demo/config/locales/en.yml +38 -0
  62. data/examples/demo/config/puma.rb +43 -0
  63. data/examples/demo/config/routes.rb +6 -0
  64. data/examples/demo/config/storage.yml +34 -0
  65. data/examples/demo/config.ru +6 -0
  66. data/examples/demo/db/seeds.rb +7 -0
  67. data/examples/demo/lib/assets/.keep +0 -0
  68. data/examples/demo/lib/tasks/.keep +0 -0
  69. data/examples/demo/log/.keep +0 -0
  70. data/examples/demo/public/404.html +67 -0
  71. data/examples/demo/public/422.html +67 -0
  72. data/examples/demo/public/500.html +66 -0
  73. data/examples/demo/public/apple-touch-icon-precomposed.png +0 -0
  74. data/examples/demo/public/apple-touch-icon.png +0 -0
  75. data/examples/demo/public/favicon.ico +0 -0
  76. data/examples/demo/public/robots.txt +1 -0
  77. data/examples/demo/storage/.keep +0 -0
  78. data/examples/demo/test/application_system_test_case.rb +5 -0
  79. data/examples/demo/test/channels/application_cable/connection_test.rb +11 -0
  80. data/examples/demo/test/controllers/.keep +0 -0
  81. data/examples/demo/test/controllers/main_controller_test.rb +8 -0
  82. data/examples/demo/test/fixtures/files/.keep +0 -0
  83. data/examples/demo/test/helpers/.keep +0 -0
  84. data/examples/demo/test/integration/.keep +0 -0
  85. data/examples/demo/test/mailers/.keep +0 -0
  86. data/examples/demo/test/models/.keep +0 -0
  87. data/examples/demo/test/system/.keep +0 -0
  88. data/examples/demo/test/test_helper.rb +13 -0
  89. data/examples/demo/tmp/.keep +0 -0
  90. data/examples/demo/tmp/pids/.keep +0 -0
  91. data/examples/demo/tmp/storage/.keep +0 -0
  92. data/examples/demo/vendor/.keep +0 -0
  93. data/examples/demo/vendor/javascript/.keep +0 -0
  94. data/lib/phraseapp-in-context-editor-ruby/config.rb +2 -1
  95. data/lib/phraseapp-in-context-editor-ruby/version.rb +3 -0
  96. data/lib/phraseapp-in-context-editor-ruby/view_helpers.rb +2 -1
  97. data/lib/phraseapp-in-context-editor-ruby.rb +4 -0
  98. data/package-lock.json +6576 -0
  99. data/package.json +13 -0
  100. data/phraseapp-in-context-editor-ruby.gemspec +4 -2
  101. data/release.config.js +10 -0
  102. 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 = "2.0.0"
7
+ s.version = PhraseApp::VERSION
6
8
  s.platform = Gem::Platform::RUBY
7
- s.required_ruby_version = ">= 3.2.0"
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
@@ -0,0 +1,10 @@
1
+ module.exports = {
2
+ "plugins": [
3
+ "@semantic-release/commit-analyzer",
4
+ "@semantic-release/release-notes-generator",
5
+ "@semantic-release/changelog",
6
+ "@semantic-release/git",
7
+ "semantic-release-rubygem",
8
+ ],
9
+ "branches": 'master',
10
+ };
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: 2.0.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Phrase
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-11 00:00:00.000000000 Z
11
+ date: 2024-04-23 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.2.0
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.13
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: []