phrasing 4.3.2 → 4.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +112 -43
  3. data/Gemfile +3 -3
  4. data/lib/phrasing/version.rb +1 -1
  5. metadata +6 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 83301b282dedbe937faf28eaf197cf9356c6beafff92f44d1f04847ab2a09ab7
4
- data.tar.gz: b95a0281ff86a4f96b6915c946752b671dbdf6c469a1f1ec430835757a9bcda7
3
+ metadata.gz: 68ab27186294351f99ee4791e5db6483370f1212b1a9deeeeed179dac6140131
4
+ data.tar.gz: 21a84f6c4b00e0830a1f095ae584b36665e3f80433068cd12299021b470eddbf
5
5
  SHA512:
6
- metadata.gz: d0ee9d2fdd94f71c7e6c48e2e50103f0687232a1e7a93b46b893b78a63a673aa4a1548ec6e81e010cd317970c3efbcc0053d429a172c4d88b19b328a2c262204
7
- data.tar.gz: 593e4c12e28556d1afa7a11cf5a5c7db2ea7550a716879c53bdcf539da5039650f8cacb2d52072617a8fb293844ad71a1f530d765a2b9f45fe4ecfe3b4a3bc4c
6
+ metadata.gz: f8663faf20ebd70d0b23039495df591020e8a6a1474f4ca8140fbc1a9302c1cd19bd471a16e9f71806095accbbe7c5f79cd1688c308b3777ea31d053ae1d95ff
7
+ data.tar.gz: b04b7dbcd065542d12ea6238d994a90ebf38dd78411e6953c4c4f521831e78acb8a2ca2b610f2ca2774d94972ef466f44b5dfee340d552348920adb09c17fc0a
data/CHANGELOG.md CHANGED
@@ -1,25 +1,55 @@
1
- # Phrasing Change Log
1
+ # Changelog
2
2
 
3
- ## 4.3.2 (Oct 30th, 2020)
3
+ ## [4.4.0](https://github.com/infinum/phrasing/tree/v4.4.0) (2021-12-23)
4
+ [Full Changelog](https://github.com/infinum/phrasing/compare/v4.3.2...v4.4.0)
5
+
6
+ ### Enhancements
7
+
8
+ - Bump nokogiri version from 1.10.4 to 1.12.5 due to CVEs
9
+
10
+ ## [4.3.1](https://github.com/infinum/phrasing/tree/v4.3.1) (2019-09-03)
11
+ [Full Changelog](https://github.com/infinum/phrasing/compare/v4.3.0...v4.3.1)
12
+
13
+ ### Enhancements
14
+
15
+ - Bump nokogiri version from 1.8.3 to 1.10.4 due to [security vulnerability](https://github.com/sparklemotion/nokogiri/issues/1915)
16
+
17
+ ## [4.3.2](https://github.com/infinum/phrasing/tree/v4.3.2) (2020-10-30)
18
+ [Full Changelog](https://github.com/infinum/phrasing/compare/v4.3.1...v4.3.2)
19
+
20
+ ### Bugfixes
4
21
 
5
22
  - Send `edit_mode_enabled` as parameter and reject phrasing update if not `true` - fixes issue [#90](https://github.com/infinum/phrasing/issues/90)
6
23
 
7
- ## 4.3.1 (Sep 3rd, 2019)
24
+ ## [4.3.1](https://github.com/infinum/phrasing/tree/v4.3.1) (2019-09-03)
25
+ [Full Changelog](https://github.com/infinum/phrasing/compare/v4.3.0...v4.3.1)
26
+
27
+ ### Enhancements
8
28
 
9
29
  - Bump nokogiri version from 1.8.3 to 1.10.4 due to [security vulnerability](https://github.com/sparklemotion/nokogiri/issues/1915)
10
30
 
11
- ## 4.3.0 (June 13th, 2019)
31
+ ## [4.3.0](https://github.com/infinum/phrasing/tree/v4.3.0) (2019-06-13)
32
+ [Full Changelog](https://github.com/infinum/phrasing/compare/v4.2.1...v4.3.0)
33
+
34
+ ### Enhancements
12
35
 
13
36
  - Add support for Rails 6
14
37
  - Remove jquery.turbolinks fix suggestion
15
38
 
16
- ## 4.2.1 (Nov 5th, 2018)
39
+ ## [4.2.1](https://github.com/infinum/phrasing/tree/v4.2.1) (2018-11-05)
40
+ [Full Changelog](https://github.com/infinum/phrasing/compare/v4.2.0...v4.2.1)
41
+
42
+ ### Enhancements
17
43
 
18
- Fix linear-gradient syntax to be W3C compliant.
44
+ - Fix linear-gradient syntax to be W3C compliant.
19
45
 
20
- ## 4.2.0 (Sep 7th, 2018)
46
+ ## [4.2.0](https://github.com/infinum/phrasing/tree/v4.2.0) (2018-09-07)
47
+ [Full Changelog](https://github.com/infinum/phrasing/compare/v4.1.0...v4.2.0)
48
+
49
+ ### Enhancements
50
+
51
+ - bundler-audit reported that there are DoS and RCE vulnerabilities in nokogiri:
21
52
 
22
- bundler-audit reported that there are DoS and RCE vulnerabilities in nokogiri:
23
53
  ```
24
54
  Name: nokogiri
25
55
  Version: 1.6.8.1
@@ -38,30 +68,38 @@ Title: Revert libxml2 behavior in Nokogiri gem that could cause XSS
38
68
  Solution: upgrade to >= 1.8.3
39
69
  ```
40
70
 
41
- Bumped nokogiri to 1.8.3.
71
+ - Bumped nokogiri to 1.8.3.
72
+
73
+ ## [4.1.0](https://github.com/infinum/phrasing/tree/v4.1.0) (2018-05-17)
74
+ [Full Changelog](https://github.com/infinum/phrasing/compare/v4.0.0...v4.1.0)
42
75
 
43
- ## 4.1.0 (May 17th, 2018)
76
+ ### Bugfixes
77
+
78
+ - Fix generated migration files for Rails 5
44
79
 
45
- Fix generated migration files for Rails 5
46
80
  ```
47
81
  Directly inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release the migration was written for.
48
82
  ```
49
83
 
50
- Fixed Rails 5.2 deprecation issue with `class_name`:
84
+ - Fixed Rails 5.2 deprecation issue with `class_name`:
85
+
51
86
  ```
52
87
  A class was passed to :class_name but we are expecting a string.
53
88
  ```
54
89
 
55
- ## 4.0.0 (February 27th, 2018)
90
+ ## [4.0.0](https://github.com/infinum/phrasing/tree/v4.0.0) (2018-02-27)
91
+ [Full Changelog](https://github.com/infinum/phrasing/compare/v3.2.10...v4.0.0)
56
92
 
57
- ### Separation of I18n and Phrasing:
93
+ ### Breaking changes
58
94
 
59
- Phrasing no longer does monkeypatching over the I18n gem, so the I18n and Phrasings behaviors are completely separate.
95
+ #### Separation of I18n and Phrasing:
96
+
97
+ Phrasing no longer does monkeypatching over the I18n gem, so the I18n and Phrasings behaviours are completely separate.
60
98
  When using the I18n.t() method, Phrasing will no longer copy the data from the translations file and continue to use translations from the database.
61
99
 
62
100
  However, when using the phrase(key) method, if the key doesn't currently exist in the PhrasingPhrase table, it will do a lookup in the translations file and copy the data from there to the database.
63
101
 
64
- ### Interpolation
102
+ #### Interpolation
65
103
 
66
104
  The interpolation option has been kicked out.
67
105
 
@@ -69,7 +107,7 @@ The problem with the interpolation option is that most clients won't understand
69
107
 
70
108
  If they try to erase parts of it, the developer also might end up being confused and the UI might get broken or at least ugly for some time until the developer fixes the issue.
71
109
 
72
- ### Loading asset dependencies
110
+ #### Loading asset dependencies
73
111
 
74
112
  From phrasing v4.0.0rc3, add your jquery files manually:
75
113
 
@@ -79,64 +117,95 @@ From phrasing v4.0.0rc3, add your jquery files manually:
79
117
  //= require phrasing
80
118
  ```
81
119
 
82
- ### Switching rake tasks with Rails generators
120
+ #### Switching rake tasks with Rails generators
83
121
 
84
122
  Since Rails comes with outofbox generators that enable easy existing file detection and similar behaviors, Phrasing 4 will use Rails generators instead of the old rake tasks.
85
123
 
86
124
  To run the initial setup generator, just do: `rails generate phrasing`
87
125
 
88
- ## 3.2.10 (October 2nd, 2015)
126
+ ## [3.2.10](https://github.com/infinum/phrasing/tree/v3.2.10) (2015-10-02)
127
+ [Full Changelog](https://github.com/infinum/phrasing/compare/v3.2.9...v3.2.10)
128
+
129
+ ### Enhancements
130
+
131
+ - Change order parameters in PhrasingPhrases#index to support SQLServer.
132
+
133
+ ## [3.2.9](https://github.com/infinum/phrasing/tree/v3.2.9) (2015-01-07)
134
+ [Full Changelog](https://github.com/infinum/phrasing/compare/v3.2.8...v3.2.9)
135
+
136
+ ### Enhancements
89
137
 
90
- Change order parameters in PhrasingPhrases#index to support SQLServer.
138
+ - Require only haml, not haml-rails.
91
139
 
92
- ## 3.2.9 (January 7th, 2015)
140
+ ## [3.2.8](https://github.com/infinum/phrasing/tree/v3.2.8) (2015-01-06)
141
+ [Full Changelog](https://github.com/infinum/phrasing/compare/v3.2.7...v3.2.8)
93
142
 
94
- Require only haml, not haml-rails.
143
+ ### Bugfixes
95
144
 
96
- ## 3.2.8 (January 6th, 2015)
145
+ - Fix confirm dialogs when deleting phrases and phrase versions.
97
146
 
98
- Fix confirm dialogs when deleting phrases and phrase versions.
147
+ ## [3.2.7](https://github.com/infinum/phrasing/tree/v3.2.7) (2014-10-03)
148
+ [Full Changelog](https://github.com/infinum/phrasing/compare/v3.2.6...v3.2.7)
99
149
 
100
- ## 3.2.7 (October 3rd, 2014)
150
+ ### Enhancements
101
151
 
102
- Add a config option to set a parent controller to Phrasing Engine Controllers.
152
+ - Add a config option to set a parent controller to Phrasing Engine Controllers.
103
153
 
104
- ## 3.2.6 (September 15th, 2014)
154
+ ## [3.2.6](https://github.com/infinum/phrasing/tree/v3.2.6) (2014-09-15)
155
+ [Full Changelog](https://github.com/infinum/phrasing/compare/v3.2.5...v3.2.6)
105
156
 
106
- Show Home page only when view responds to :root_path.
157
+ ### Enhancements
107
158
 
108
- ## 3.2.5 (June 17th, 2014)
159
+ - Show Home page only when view responds to :root_path.
109
160
 
110
- Added index for phrasing_phrase_id in versions table.
161
+ ## [3.2.5](https://github.com/infinum/phrasing/tree/v3.2.5) (2014-06-17)
162
+ [Full Changelog](https://github.com/infinum/phrasing/compare/v3.2.4...v3.2.5)
111
163
 
112
- ## 3.2.4 (May 8th, 2014)
164
+ ### Enhancements
113
165
 
114
- Changed InlineHelper#phrasing_polymorphic_url to use rails path helper.
166
+ - Added index for phrasing_phrase_id in versions table.
115
167
 
116
- ## 3.2.3 (March 3rd, 2014)
168
+ ## [3.2.4](https://github.com/infinum/phrasing/tree/v3.2.4) (2014-05-08)
169
+ [Full Changelog](https://github.com/infinum/phrasing/compare/v3.2.3...v3.2.4)
117
170
 
118
- Exctracted import/export functionality to Phrasing::Serializer. Importer now accepts nested yaml files, just like the ones from /config/locales.
171
+ ### Enhancements
119
172
 
120
- ## 3.2.2 (Feb 19th, 2014)
173
+ - Changed InlineHelper#phrasing_polymorphic_url to use rails path helper.
121
174
 
122
- Scope option for phrases added:
175
+ ## [3.2.3](https://github.com/infinum/phrasing/tree/v3.2.3) (2014-03-03)
176
+ [Full Changelog](https://github.com/infinum/phrasing/compare/v3.2.2...v3.2.3)
177
+
178
+ ### Enhancements
179
+
180
+ - Exctracted import/export functionality to Phrasing::Serializer. Importer now accepts nested yaml files, just like the ones from /config/locales.
181
+
182
+ ## [3.2.2](https://github.com/infinum/phrasing/tree/v3.2.2) (2014-02-19)
183
+ [Full Changelog](https://github.com/infinum/phrasing/compare/v3.2.1...v3.2.2)
184
+
185
+ ### Enhancements
186
+
187
+ - Scope option for phrases added:
123
188
 
124
189
  scope: 'homepage.footer' # add scopes just like you would w/ I18.n. If the first argument is 'test', than the key would be 'homepage.footer.test'
125
190
 
126
- Change in generated migration file:
191
+ - Change in generated migration file:
127
192
 
128
193
  :phrasing_phrase_id changed from t.string to t.integer.
129
194
 
130
- Change in PhrasingPhrasesController#index:
195
+ - Change in PhrasingPhrasesController#index:
131
196
 
132
197
  Fix order clause so it runs on Rails 3.2 and MySQL
133
198
 
134
- ## 3.2.1 (Jan 29th, 2014)
199
+ ## [3.2.1](https://github.com/infinum/phrasing/tree/v3.2.1) (2014-01-29)
200
+ [Full Changelog](https://github.com/infinum/phrasing/compare/v3.2.0...v3.2.1)
201
+
202
+ ### Enhancements
135
203
 
136
- Created PhrasingPhrase.search_i18n_and_create_phrase for proper lookup of translations in config/locales.
204
+ - Created PhrasingPhrase.search_i18n_and_create_phrase for proper lookup of translations in config/locales.
137
205
 
138
- ## 3.2.0 (Jan 16th, 2014)
206
+ ## [3.2.0](https://github.com/infinum/phrasing/tree/v3.2.0) (2014-01-16)
139
207
 
140
- New design for edit mode bubble.
208
+ ### Enhancements
141
209
 
142
- Non breaking IE9 javascript fix.
210
+ - New design for edit mode bubble.
211
+ - Non breaking IE9 javascript fix.
data/Gemfile CHANGED
@@ -2,9 +2,9 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
- rails_version = ENV['RAILS_VERSION'] || '5.0.0'
5
+ rails_version = ENV['RAILS_VERSION'] || '5.2.4'
6
6
 
7
- gem 'nokogiri', '~> 1.10.4'
7
+ gem 'nokogiri', '~> 1.12.5'
8
8
  gem 'rails', "~> #{rails_version}"
9
9
 
10
10
  gem 'capybara'
@@ -16,4 +16,4 @@ gem 'pry-rails'
16
16
  gem 'rdoc'
17
17
  gem 'rspec-rails', '~> 3.7.1'
18
18
  gem 'sass'
19
- gem 'sqlite3', '~> 1.3.6'
19
+ gem 'sqlite3', '~> 1.4.2'
@@ -1,3 +1,3 @@
1
1
  module Phrasing
2
- VERSION = '4.3.2'.freeze
2
+ VERSION = '4.4.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phrasing
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.2
4
+ version: 4.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomislav Car
8
8
  - Damir Svrtan
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-10-30 00:00:00.000000000 Z
12
+ date: 2021-12-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -185,7 +185,7 @@ homepage: http://github.com/infinum/phrasing
185
185
  licenses:
186
186
  - MIT
187
187
  metadata: {}
188
- post_install_message:
188
+ post_install_message:
189
189
  rdoc_options: []
190
190
  require_paths:
191
191
  - lib
@@ -200,9 +200,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
200
200
  - !ruby/object:Gem::Version
201
201
  version: '0'
202
202
  requirements: []
203
- rubyforge_project:
204
- rubygems_version: 2.7.3
205
- signing_key:
203
+ rubygems_version: 3.2.15
204
+ signing_key:
206
205
  specification_version: 4
207
206
  summary: Edit phrases inline for Rails applications!
208
207
  test_files: []