phraseapp-in-context-editor-ruby 1.2.0 → 1.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0f4f3e1bb5b22c159b5cdcb5e41b2a7b6240d188
4
- data.tar.gz: d709df57c925dda700de78151541ad34179ba176
3
+ metadata.gz: 362c447bbcee067ceb31ed65c43c23c111bab636
4
+ data.tar.gz: 8b3ac1bad3a622ed7816b142c75c730543686f67
5
5
  SHA512:
6
- metadata.gz: c8789a54df0821c1f1ac202b226c97279236f96dcdcbc1d193ae6bbb3079711babc537c06e20643ffb868a9505d5bc0d008f11b2fa20b81c9e65a497bc178ed6
7
- data.tar.gz: b3588208f4bdcd5442d5d30ca098f87af941f400e48ff11d17ba6a855da1acde8e5579b3c12d94b2ccd2f4b7f83303f75fa5849c9741a8425f8e38fbd75d7e9c
6
+ metadata.gz: 5124d89ce5f43853289c58456345d9d9e5bd9bd0a67223d684236403a5af63f7a9ad049f9c6b9b123fc659fb43a282f624ca05966a1ce47c52e67697332ea6d3
7
+ data.tar.gz: 216ca6405118a56f3317315beed0846b624dad20e4a1180431554faa68b6aacfbbed91de3fac37d0a86df9b454a312c5cbb5651c61386bc3cd72b25ddef045cd
data/CHANGELOG.md CHANGED
@@ -1,9 +1,23 @@
1
1
  # Change Log
2
2
 
3
+ ## [v1.2.1](https://github.com/phrase/phraseapp-in-context-editor-ruby/tree/v1.2.1) (2017-03-13)
4
+ [Full Changelog](https://github.com/phrase/phraseapp-in-context-editor-ruby/compare/v1.2.0...v1.2.1)
5
+
6
+ **Closed issues:**
7
+
8
+ - Implicit Translations [\#17](https://github.com/phrase/phraseapp-in-context-editor-ruby/issues/17)
9
+
10
+ **Merged pull requests:**
11
+
12
+ - Fix simple form exception [\#22](https://github.com/phrase/phraseapp-in-context-editor-ruby/pull/22) ([docstun](https://github.com/docstun))
13
+ - 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))
14
+
3
15
  ## [v1.2.0](https://github.com/phrase/phraseapp-in-context-editor-ruby/tree/v1.2.0) (2017-02-24)
4
16
  [Full Changelog](https://github.com/phrase/phraseapp-in-context-editor-ruby/compare/v1.1.0...v1.2.0)
5
17
 
6
- - Ruby 2.4.0 support with json dependency allowing json version higher than 1.7
18
+ **Merged pull requests:**
19
+
20
+ - Changes json dependency to json \>= 1.8 [\#18](https://github.com/phrase/phraseapp-in-context-editor-ruby/pull/18) ([fredv](https://github.com/fredv))
7
21
 
8
22
  ## [v1.1.0](https://github.com/phrase/phraseapp-in-context-editor-ruby/tree/v1.1.0) (2016-10-04)
9
23
  [Full Changelog](https://github.com/phrase/phraseapp-in-context-editor-ruby/compare/v1.0.2...v1.1.0)
@@ -23,6 +37,7 @@
23
37
  - 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))
24
38
  - Update LICENSE [\#11](https://github.com/phrase/phraseapp-in-context-editor-ruby/pull/11) ([sbruhns](https://github.com/sbruhns))
25
39
  - i18n set to \>= 0.6 [\#10](https://github.com/phrase/phraseapp-in-context-editor-ruby/pull/10) ([jethroo](https://github.com/jethroo))
40
+ - 18n delegate refactoring [\#6](https://github.com/phrase/phraseapp-in-context-editor-ruby/pull/6) ([koljaa](https://github.com/koljaa))
26
41
 
27
42
  ## [v1.0.2](https://github.com/phrase/phraseapp-in-context-editor-ruby/tree/v1.0.2) (2015-10-12)
28
43
  [Full Changelog](https://github.com/phrase/phraseapp-in-context-editor-ruby/compare/v1.0.1...v1.0.2)
@@ -31,10 +46,6 @@
31
46
 
32
47
  - Method missing error [\#5](https://github.com/phrase/phraseapp-in-context-editor-ruby/issues/5)
33
48
 
34
- **Merged pull requests:**
35
-
36
- - 18n delegate refactoring [\#6](https://github.com/phrase/phraseapp-in-context-editor-ruby/pull/6) ([koljaa](https://github.com/koljaa))
37
-
38
49
  ## [v1.0.1](https://github.com/phrase/phraseapp-in-context-editor-ruby/tree/v1.0.1) (2015-10-07)
39
50
  [Full Changelog](https://github.com/phrase/phraseapp-in-context-editor-ruby/compare/v1.0.0...v1.0.1)
40
51
 
@@ -48,4 +59,4 @@
48
59
  ## [v1.0.0](https://github.com/phrase/phraseapp-in-context-editor-ruby/tree/v1.0.0) (2015-08-21)
49
60
 
50
61
 
51
- \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
62
+ \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
@@ -13,6 +13,10 @@ module PhraseApp
13
13
  alias :dasherize :to_s
14
14
  alias :tableize :to_s
15
15
 
16
+ # Delegate .html_safe from accessing Delegate object as if it was a hash,
17
+ # but instead perform it on the resulting string
18
+ delegate :html_safe, to: :to_s
19
+
16
20
  def self.log(message)
17
21
  message = "phrase: #{message}"
18
22
  if defined?(Rails) and Rails.respond_to?(:logger)
@@ -1,5 +1,5 @@
1
1
  module PhraseApp
2
2
  module InContextEditor
3
- VERSION = "1.2.0"
3
+ VERSION = "1.2.1"
4
4
  end
5
5
  end
@@ -25,8 +25,8 @@ Gem::Specification.new do |s|
25
25
  else
26
26
  s.add_dependency('json', '>= 1.7', '< 3')
27
27
  end
28
- s.add_dependency('i18n', '>= 0.6', '< 0.9')
29
- s.add_dependency('phraseapp-ruby', '>= 1.3.3', '< 2.0')
28
+ s.add_dependency('i18n', '>= 0.6')
29
+ s.add_dependency('phraseapp-ruby', '~> 1.3')
30
30
  s.add_development_dependency('rspec', '~> 3.2')
31
31
  s.add_development_dependency('webmock', '~> 1.21')
32
32
  s.add_development_dependency('vcr', '~> 2.9')
@@ -45,5 +45,5 @@ Gem::Specification.new do |s|
45
45
  else
46
46
  s.add_development_dependency('rails', '>= 4.2', '< 5.1')
47
47
  end
48
- s.add_development_dependency('github_changelog_generator', '~> 1.14')
48
+ s.add_development_dependency('github_changelog_generator')
49
49
  end
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: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dynport GmbH
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-28 00:00:00.000000000 Z
11
+ date: 2017-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.8'
19
+ version: '1.7'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: '3'
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '1.8'
29
+ version: '1.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '3'
@@ -37,9 +37,6 @@ dependencies:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
39
  version: '0.6'
40
- - - "<"
41
- - !ruby/object:Gem::Version
42
- version: '0.9'
43
40
  type: :runtime
44
41
  prerelease: false
45
42
  version_requirements: !ruby/object:Gem::Requirement
@@ -47,29 +44,20 @@ dependencies:
47
44
  - - ">="
48
45
  - !ruby/object:Gem::Version
49
46
  version: '0.6'
50
- - - "<"
51
- - !ruby/object:Gem::Version
52
- version: '0.9'
53
47
  - !ruby/object:Gem::Dependency
54
48
  name: phraseapp-ruby
55
49
  requirement: !ruby/object:Gem::Requirement
56
50
  requirements:
57
- - - ">="
58
- - !ruby/object:Gem::Version
59
- version: 1.3.3
60
- - - "<"
51
+ - - "~>"
61
52
  - !ruby/object:Gem::Version
62
- version: '2.0'
53
+ version: '1.3'
63
54
  type: :runtime
64
55
  prerelease: false
65
56
  version_requirements: !ruby/object:Gem::Requirement
66
57
  requirements:
67
- - - ">="
68
- - !ruby/object:Gem::Version
69
- version: 1.3.3
70
- - - "<"
58
+ - - "~>"
71
59
  - !ruby/object:Gem::Version
72
- version: '2.0'
60
+ version: '1.3'
73
61
  - !ruby/object:Gem::Dependency
74
62
  name: rspec
75
63
  requirement: !ruby/object:Gem::Requirement
@@ -150,16 +138,16 @@ dependencies:
150
138
  name: github_changelog_generator
151
139
  requirement: !ruby/object:Gem::Requirement
152
140
  requirements:
153
- - - "~>"
141
+ - - ">="
154
142
  - !ruby/object:Gem::Version
155
- version: '1.14'
143
+ version: '0'
156
144
  type: :development
157
145
  prerelease: false
158
146
  version_requirements: !ruby/object:Gem::Requirement
159
147
  requirements:
160
- - - "~>"
148
+ - - ">="
161
149
  - !ruby/object:Gem::Version
162
- version: '1.14'
150
+ version: '0'
163
151
  description: 'PhraseApp In-Context-Editor allows you to edit translations directly
164
152
  on the website. More information: phraseapp.com'
165
153
  email:
@@ -218,7 +206,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
218
206
  version: 1.3.6
219
207
  requirements: []
220
208
  rubyforge_project: phraseapp-in-context-editor-ruby
221
- rubygems_version: 2.6.10
209
+ rubygems_version: 2.4.8
222
210
  signing_key:
223
211
  specification_version: 4
224
212
  summary: Translation management solution for web and mobile applications