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
data/README.md
CHANGED
@@ -1,92 +1,122 @@
|
|
1
|
-
#
|
1
|
+
# phraseapp-in-context-editor-ruby
|
2
2
|
|
3
|
-
|
3
|
+
![Build status](https://github.com/phrase/phraseapp-in-context-editor-ruby/workflows/Test/badge.svg)
|
4
4
|
|
5
|
-
|
5
|
+
**phraseapp-in-context-editor-ruby** is the official library for integrating [Phrase Strings In-Context Editor](https://support.phrase.com/hc/en-us/articles/5784095916188-In-Context-Editor-Strings) with [i18n](https://github.com/ruby-i18n/i18n) in your Ruby application.
|
6
6
|
|
7
|
-
|
7
|
+
## :scroll: Documentation
|
8
8
|
|
9
|
-
|
9
|
+
### Prerequisites
|
10
10
|
|
11
|
-
|
11
|
+
To use phraseapp-in-context-editor-ruby with your application you have to:
|
12
12
|
|
13
|
-
|
13
|
+
* Sign up for a Phrase account: [https://app.phrase.com/signup](https://app.phrase.com/signup)
|
14
|
+
* Use the excellent [i18n](https://github.com/ruby-i18n/i18n) gem also used by [Rails](https://guides.rubyonrails.org/i18n.html)
|
14
15
|
|
15
|
-
|
16
|
+
### Demo
|
16
17
|
|
17
|
-
|
18
|
+
You can find a demo project in the `examples/demo` folder, just run `bundle && rails s` and head to `http://127.0.0.1:3000`
|
19
|
+
Login via the demo credentials `demo@phrase.com` / `phrase`
|
18
20
|
|
19
|
-
###
|
21
|
+
### Installation
|
20
22
|
|
21
|
-
|
23
|
+
#### NOTE: You can not use the old version of the ICE with integration versions of >2.0.0, you have to instead use 1.x.x versions as before
|
24
|
+
#### via Gem
|
22
25
|
|
23
|
-
|
26
|
+
```bash
|
27
|
+
gem install phraseapp-in-context-editor-ruby
|
28
|
+
```
|
29
|
+
#### via Bundler
|
24
30
|
|
25
|
-
|
31
|
+
Add it to your `Gemfile`
|
26
32
|
|
27
|
-
|
33
|
+
```
|
34
|
+
gem 'phraseapp-in-context-editor-ruby
|
35
|
+
```
|
28
36
|
|
29
|
-
|
37
|
+
#### Build from source
|
30
38
|
|
31
|
-
|
39
|
+
You can also build it directly from source to get the latest and greatest:
|
32
40
|
|
33
|
-
|
41
|
+
```bash
|
42
|
+
bundle && gem build
|
43
|
+
```
|
34
44
|
|
35
|
-
|
45
|
+
#### Initialized config file
|
36
46
|
|
37
|
-
|
47
|
+
Create the initializer file by executing the Rails generator:
|
38
48
|
|
39
|
-
|
49
|
+
```bash
|
50
|
+
rails generate phraseapp_in_context_editor:install --account_id=<YOUR_ACCOUNT_ID> --project-id=<YOUR_PROJECT_ID>
|
51
|
+
```
|
40
52
|
|
41
|
-
|
53
|
+
### Development
|
42
54
|
|
43
|
-
|
55
|
+
```bash
|
56
|
+
# install deps
|
57
|
+
bundle
|
58
|
+
```
|
44
59
|
|
45
|
-
|
60
|
+
#### Configure
|
46
61
|
|
47
|
-
|
62
|
+
Add the following Ruby snippet to your rails `app/views//layouts/application.html.erb`
|
48
63
|
|
49
|
-
|
64
|
+
```
|
65
|
+
<%= load_in_context_editor %>
|
66
|
+
```
|
50
67
|
|
51
|
-
|
68
|
+
And the following config to your `/config/initializers/phraseapp_in_context_editor.rb`
|
52
69
|
|
53
|
-
|
70
|
+
```ruby
|
71
|
+
config.enabled = true
|
72
|
+
config.project_id = "YOUR_PROJECT_ID"
|
73
|
+
config.account_id = "YOUR_ACCOUNT_ID"
|
74
|
+
config.datacenter = "eu"
|
75
|
+
```
|
54
76
|
|
55
|
-
|
77
|
+
You can find the Project-ID in the Project overview in the PhraseApp Translation Center.
|
78
|
+
You can find the Account-ID in the Organization page in the PhraseApp Translation Center.
|
56
79
|
|
57
|
-
|
80
|
+
If this does not work for you, you can also integrate the [JavaScript snippet manually](https://help.phrase.com/help/integrate-in-context-editor-into-any-web-framework).
|
58
81
|
|
59
|
-
|
82
|
+
Old version of the ICE is not available since version 2.0.0. If you still would rather use the old version, please go back to 1.x.x versions.
|
60
83
|
|
61
|
-
|
84
|
+
#### Using the US Datacenter with ICE
|
62
85
|
|
63
|
-
|
64
|
-
|
65
|
-
|
86
|
+
In addition to the settings in your `config/initializers/phraseapp_in_context_editor.rb`, set the US datacenter to enable the ICE to work with the US endpoints.
|
87
|
+
```ruby
|
88
|
+
config.enabled = true
|
89
|
+
config.project_id = "YOUR_PROJECT_ID"
|
90
|
+
config.account_id = "YOUR_ACCOUNT_ID"
|
91
|
+
config.datacenter = "us"
|
66
92
|
```
|
67
93
|
|
68
|
-
|
94
|
+
### Browser support
|
69
95
|
|
70
|
-
|
71
|
-
$ rvm osx-ssl-certs status all
|
72
|
-
$ rvm osx-ssl-certs update all
|
73
|
-
````
|
96
|
+
This library might not work out of the box for some older browser or IE11. We recommend to add [Babel](https://github.com/babel/babel) to the build pipeline if those browser need to be supported.
|
74
97
|
|
75
|
-
|
98
|
+
### How does it work
|
76
99
|
|
77
|
-
|
78
|
-
|
100
|
+
The library adds custom functionality to the `i18n` package. When `config.enabled = true` this gem modifies the outcoming values from translation functions to present a format which the ICE can read.
|
101
|
+
|
102
|
+
### Test
|
103
|
+
|
104
|
+
Run unit tests using jest:
|
105
|
+
|
106
|
+
```bash
|
107
|
+
rspec
|
79
108
|
```
|
80
109
|
|
81
|
-
|
110
|
+
## :white_check_mark: Commits & Pull Requests
|
111
|
+
|
112
|
+
We welcome anyone who wants to contribute to our codebase, so if you notice something, feel free to open a Pull Request! However, we ask that you please use the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) specification for your commit messages and titles when opening a Pull Request.
|
113
|
+
|
114
|
+
Example: `chore: Update README`
|
115
|
+
|
116
|
+
## :question: Issues, Questions, Support
|
82
117
|
|
118
|
+
Please use [GitHub issues](https://github.com/phrase/phraseapp-in-context-editor-ruby/issues) to share your problem, and we will do our best to answer any questions or to support you in finding a solution.
|
83
119
|
|
84
|
-
##
|
85
|
-
* [Phrase Help Center](https://help.phrase.com/)
|
86
|
-
* [Software Translation Management with Phrase](https://phrase.com/features)
|
87
|
-
* [Contact us](https://phrase.com/contact)
|
120
|
+
## :memo: Changelog
|
88
121
|
|
89
|
-
|
90
|
-
* [Phrase API Documentation](https://developers.phrase.com/api/)
|
91
|
-
* [In-Context-Editor Demo](https://phrase.com/demo)
|
92
|
-
* [Localization Guides and Software Translation Best Practices](https://phrase.com/blog/)
|
122
|
+
Detailed changes for each release are documented in the [changelog](https://github.com/phrase/phraseapp-in-context-editor-ruby/releases).
|
data/RELEASING.md
ADDED
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
|