phraseapp-in-context-editor-ruby 1.0.0rc2 → 1.0.0rc3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4325c7a4e441bfc4288a29d972e0b886c5236877
4
- data.tar.gz: 2fa708ebd1c04662d0e1480c88c88cc59fc5e740
3
+ metadata.gz: fb9577d0cd69640fd0634ec961cb6594626feb02
4
+ data.tar.gz: a0598aa62e704b50cd317011cc0de0fd80a9da78
5
5
  SHA512:
6
- metadata.gz: 0dca937d1e0cc66ae285a904590e261888fc5fcff992138aa570a4bb124404ffc1452e4ba425000f0b7abea237f0be5dfa08d6d7300f7d0d74ac596b9c4b3852
7
- data.tar.gz: 1c088c52227f68e31e6bcafe4a57058d75f98e46e43152f8a54076e7592e1bd8458f7eb8c079734e4e795c7ad02a8355b09db33a0d1d6e855ff477c0c9c5aaad
6
+ metadata.gz: 12c6b02438df2b9385606151fa3806a10d2f5b8921c2caacc6346ad3cdac8c275704a5e4b63c96ab3d495c3a3f21f49800a728d297f821702a88743896c49716
7
+ data.tar.gz: dec9aef548b17eaa86c39f65490359e1a0988490f2bd1040bc40f9fa1f43380f5ed0bd57c8d261ce113d77337d6dfa217cf7f41b203cbb5bd9c7aa53102702c8
@@ -30,6 +30,15 @@ module PhraseApp
30
30
  @@enabled = enabled
31
31
  end
32
32
 
33
+ def skip_ssl_verification
34
+ @@skip_ssl_verification = false if !defined? @@skip_ssl_verification or @@skip_ssl_verification.nil?
35
+ @@skip_ssl_verification
36
+ end
37
+
38
+ def skip_ssl_verification=(skip_ssl_verification)
39
+ @@skip_ssl_verification = skip_ssl_verification
40
+ end
41
+
33
42
  def backend
34
43
  @@backend ||= PhraseApp::InContextEditor::BackendService.new
35
44
  end
@@ -110,7 +119,7 @@ module PhraseApp
110
119
 
111
120
  protected
112
121
  def authorized_api_client
113
- auth_handler = PhraseApp::Auth::AuthHandler.new(token: PhraseApp::InContextEditor.access_token, host: api_host)
122
+ auth_handler = PhraseApp::Auth::AuthHandler.new(token: PhraseApp::InContextEditor.access_token, host: api_host, skip_ssl_verification: PhraseApp::InContextEditor.skip_ssl_verification)
114
123
  PhraseApp::Auth.register_auth_handler(auth_handler)
115
124
  PhraseApp::Client
116
125
  end
@@ -1,6 +1,5 @@
1
1
  module PhraseApp
2
2
  module InContextEditor
3
- VERSION = "1.0.0rc2"
3
+ VERSION = "1.0.0rc3"
4
4
  end
5
5
  end
6
-
@@ -34,6 +34,10 @@ module PhraseApp
34
34
  config.access_token
35
35
  end
36
36
 
37
+ def skip_ssl_verification
38
+ config.skip_ssl_verification
39
+ end
40
+
37
41
  def cache_key_segments_initial
38
42
  config.cache_key_segments_initial
39
43
  end
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
22
22
  s.require_paths = ["lib"]
23
23
  s.add_dependency('json', '~> 1.8')
24
24
  s.add_dependency('i18n', '~> 0.7')
25
- s.add_dependency('phraseapp-ruby', '~> 1.0.17')
25
+ s.add_dependency('phraseapp-ruby', '~> 1.0.21')
26
26
  s.add_development_dependency('rspec', '~> 3.2')
27
27
  s.add_development_dependency('webmock', '~> 1.21')
28
28
  s.add_development_dependency('vcr', '~> 2.9')
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.0.0rc2
4
+ version: 1.0.0rc3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dynport GmbH
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-24 00:00:00.000000000 Z
11
+ date: 2015-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 1.0.17
47
+ version: 1.0.21
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 1.0.17
54
+ version: 1.0.21
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -176,8 +176,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
176
  version: 1.3.6
177
177
  requirements: []
178
178
  rubyforge_project: phraseapp-in-context-editor-ruby
179
- rubygems_version: 2.2.1
179
+ rubygems_version: 2.4.6
180
180
  signing_key:
181
181
  specification_version: 4
182
182
  summary: Translation management solution for web and mobile applications
183
183
  test_files: []
184
+ has_rdoc: