phraseapp-in-context-editor-ruby 1.2.1 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +1 -1
- data/CHANGELOG.md +4 -0
- data/lib/phraseapp-in-context-editor-ruby.rb +3 -2
- data/lib/phraseapp-in-context-editor-ruby/key_names_cache.rb +1 -1
- data/lib/phraseapp-in-context-editor-ruby/version.rb +1 -1
- data/phraseapp-in-context-editor-ruby.gemspec +2 -8
- metadata +20 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 0c81c0334c22d1ff8f11b97942ee7ddd566335b23f1a27eb3e727446280f2290
|
4
|
+
data.tar.gz: 453c0a559fe280aa5b67c339b7f1b89f4649fc92426e9f455851a247c7bbf535
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a494e75882ccc5b114e60620b01e39f54f9967de80126c9da7e600165ae95348f32f7a755923413953f6580907298bc6cbc78f8a4cda7caf4c7280ce20fdc6e4
|
7
|
+
data.tar.gz: 98c78909623a16c5ca9189ff946d4771b1a238c778b9cebc5b574de9d79878174345af5f1cbd7e1dbcc9632fcf325042e4cd71aae5aa4bf085cf4ea16cd1940a
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [v1.3.0](https://github.com/phrase/phraseapp-in-context-editor-ruby/tree/v1.3.0) (2018-04-18)
|
4
|
+
[Full Changelog](https://github.com/phrase/phraseapp-in-context-editor-ruby/compare/v1.2.1...v1.3.0)
|
5
|
+
- Remove support for Ruby < 2.1
|
6
|
+
|
3
7
|
## [v1.2.1](https://github.com/phrase/phraseapp-in-context-editor-ruby/tree/v1.2.1) (2017-03-13)
|
4
8
|
[Full Changelog](https://github.com/phrase/phraseapp-in-context-editor-ruby/compare/v1.2.0...v1.2.1)
|
5
9
|
|
@@ -1,5 +1,6 @@
|
|
1
1
|
# -*- encoding : utf-8 -*-
|
2
2
|
require 'phraseapp-ruby'
|
3
|
+
require 'request_store'
|
3
4
|
|
4
5
|
module PhraseApp
|
5
6
|
module InContextEditor
|
@@ -7,11 +8,11 @@ module PhraseApp
|
|
7
8
|
|
8
9
|
class << self
|
9
10
|
def config
|
10
|
-
|
11
|
+
RequestStore.store[:phraseapp_config] ||= PhraseApp::InContextEditor::Config.new
|
11
12
|
end
|
12
13
|
|
13
14
|
def config=(value)
|
14
|
-
|
15
|
+
RequestStore.store[:phraseapp_config] = value
|
15
16
|
end
|
16
17
|
|
17
18
|
def backend
|
@@ -8,6 +8,7 @@ Gem::Specification.new do |s|
|
|
8
8
|
s.name = "phraseapp-in-context-editor-ruby"
|
9
9
|
s.version = PhraseApp::InContextEditor::VERSION
|
10
10
|
s.platform = Gem::Platform::RUBY
|
11
|
+
s.required_ruby_version = '>= 2.1'
|
11
12
|
s.authors = ["Dynport GmbH"]
|
12
13
|
s.email = ["info@phraseapp.com"]
|
13
14
|
s.homepage = "https://phraseapp.com"
|
@@ -27,18 +28,11 @@ Gem::Specification.new do |s|
|
|
27
28
|
end
|
28
29
|
s.add_dependency('i18n', '>= 0.6')
|
29
30
|
s.add_dependency('phraseapp-ruby', '~> 1.3')
|
31
|
+
s.add_dependency('request_store', '~> 1.3')
|
30
32
|
s.add_development_dependency('rspec', '~> 3.2')
|
31
33
|
s.add_development_dependency('webmock', '~> 1.21')
|
32
34
|
s.add_development_dependency('vcr', '~> 2.9')
|
33
35
|
s.add_development_dependency('timecop', '~> 0.7')
|
34
|
-
if RUBY_VERSION < '2.0'
|
35
|
-
s.add_development_dependency('public_suffix', '< 1.5')
|
36
|
-
s.add_development_dependency('octokit', '< 4')
|
37
|
-
end
|
38
|
-
if RUBY_VERSION < '2.1'
|
39
|
-
s.add_development_dependency('nokogiri', '< 1.7')
|
40
|
-
s.add_development_dependency('faraday-http-cache', '< 2')
|
41
|
-
end
|
42
36
|
if RUBY_VERSION < '2.2'
|
43
37
|
s.add_development_dependency('mime-types', '< 3.0') # for 1.9.3 to work
|
44
38
|
s.add_development_dependency('rails', '~> 4.2')
|
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.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dynport GmbH
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-04-19 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.
|
19
|
+
version: '1.8'
|
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.
|
29
|
+
version: '1.8'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '3'
|
@@ -58,6 +58,20 @@ dependencies:
|
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: '1.3'
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: request_store
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - "~>"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '1.3'
|
68
|
+
type: :runtime
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - "~>"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '1.3'
|
61
75
|
- !ruby/object:Gem::Dependency
|
62
76
|
name: rspec
|
63
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -198,7 +212,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
198
212
|
requirements:
|
199
213
|
- - ">="
|
200
214
|
- !ruby/object:Gem::Version
|
201
|
-
version: '
|
215
|
+
version: '2.1'
|
202
216
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
203
217
|
requirements:
|
204
218
|
- - ">="
|
@@ -206,7 +220,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
206
220
|
version: 1.3.6
|
207
221
|
requirements: []
|
208
222
|
rubyforge_project: phraseapp-in-context-editor-ruby
|
209
|
-
rubygems_version: 2.
|
223
|
+
rubygems_version: 2.7.6
|
210
224
|
signing_key:
|
211
225
|
specification_version: 4
|
212
226
|
summary: Translation management solution for web and mobile applications
|