phraseapp-rest 0.4.0 → 0.4.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
  SHA256:
3
- metadata.gz: 557f215a749e38140645dac91dc14f639391f88620c9ca3897cdfff2be601d25
4
- data.tar.gz: 61ddebbeffa2f6c16d5a671ae715596745a55bde2ed1b709645dbdf8f78d1c10
3
+ metadata.gz: bb963cfdb0f1a021c48f42db1d027aa6efe2be169ec2e971e4fc617fac510a9c
4
+ data.tar.gz: 357101807656159a2fe0d03cd892f47293f90753260938e91f51c14ba89921c9
5
5
  SHA512:
6
- metadata.gz: 241dda7076280b3ee50370f22cd19194a1c9bf2c7499a3944732891b538bda48c3651aebb5e944ac64f8c61850a99062d510f2eefe87163e4d1c88f517bc6f93
7
- data.tar.gz: ee8a2a30199744ba9536a68d99d1a8a834ea195537e301bb28c43f5b6964378beed4be649909c9b05044ad1dfc6a7c60f6992c2ea4e98707340d0232cd1634b8
6
+ metadata.gz: 4e0803654c1af1cba04e70d77d0c6e6cef479d79460a6328917fc681a1372e0cb41fdfc96e3a92d6ea369c8de16e0fd67810b92d97ea2de43c912addb3ba9959
7
+ data.tar.gz: 7e4a58242c950755aada2768a958dd29a5a32072b5ddb6feb3fa898ca56db84caf57e3e95411464e0fe63e36fb31eb9067021211e15f88f19c6b1067acd5c54f
@@ -14,7 +14,7 @@ module Phraseapp
14
14
  url: "#{BASE_URL}#{path}",
15
15
  method: :get,
16
16
  user: @token,
17
- content_type: :json, accept: :json, verify_ssl: TRUE
17
+ content_type: :json, accept: :json, verify_ssl: true
18
18
  )
19
19
  rsp.body
20
20
  rescue @client::ExceptionWithResponse => e
@@ -46,7 +46,7 @@ module Phraseapp
46
46
  private
47
47
 
48
48
  def set(bool)
49
- message = "#{caller(1..1).first} error '#{bool}' is not supported. Please use TRUE or FALSE"
49
+ message = "#{caller(1..1).first} error '#{bool}' is not supported. Please use true or false"
50
50
  raise message unless [true, false].include? bool
51
51
 
52
52
  bool.to_s
@@ -6,7 +6,7 @@ module Phraseapp
6
6
  module Rest
7
7
  module Resource
8
8
  module Parser
9
- OPTIONS = { max_nesting: 4, symbolize_names: TRUE }.freeze
9
+ OPTIONS = { max_nesting: 4, symbolize_names: true }.freeze
10
10
 
11
11
  def self.parse(json)
12
12
  JSON.parse(json, OPTIONS)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Phraseapp
4
4
  module Rest
5
- VERSION = '0.4.0'
5
+ VERSION = '0.4.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phraseapp-rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Nepote
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-02 00:00:00.000000000 Z
11
+ date: 2019-04-29 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A ruby gem to interact with Phraseapp REST resources
14
14
  email: snepote@gmail.com
@@ -52,7 +52,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
52
52
  version: '0'
53
53
  requirements: []
54
54
  rubyforge_project:
55
- rubygems_version: 2.7.7
55
+ rubygems_version: 2.7.9
56
56
  signing_key:
57
57
  specification_version: 4
58
58
  summary: Phraseapp rest api resource collection