phraseapp-ruby 1.2.6 → 1.2.7

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: fcb2bd38c2619033ab7494cdeb37900833e0cb50
4
- data.tar.gz: 5127bd90481b85ce36d1a00647172aa958f22cfa
3
+ metadata.gz: 1d9dc0440453570884c48f8f79637de7c4924ec4
4
+ data.tar.gz: b6b643ca67f10a0b7110f27af458bd1dae412849
5
5
  SHA512:
6
- metadata.gz: a9c03033383035586256a419fb8db90565c3d899985efe5aaf1bc6522a2af0c744375d8e13fa6c5312aad0a8187f379e9235ac8b837b9d1173ebd860694472ee
7
- data.tar.gz: be1fd6b529a417df28c1b505f86970abee96e27eddf4be3e1769e738d19c2d91414e2088ef757d1f159ed18b311487f5174a9fc78053387e48a8c73c7ddde506
6
+ metadata.gz: b570fd7082d4a48f350d27c65d45961864570e1d70d2b4a6a62f588dc686573ac7131a4d0fa3a630f3bc397044b36d247b9013a0e0bfd42c3984a07c4ecca525
7
+ data.tar.gz: 9deeac180cb9a314f7cb3cfefdf5a4c5dc3347120e68f4a8f1cb7bd9b6adc50c4812452e95a0e7f52d8c51cec2a595ee44fe9f61f4ab22f96944b2cf8ffbe9df
@@ -37,7 +37,7 @@ module PhraseApp
37
37
  end
38
38
 
39
39
  def to_s
40
- sprintf("\t[%s:%s] %s", self.resource, self.field, self.message)
40
+ sprintf("\t[%s:%s] %s", resource, field, message)
41
41
  end
42
42
  end
43
43
 
@@ -51,7 +51,7 @@ module PhraseApp
51
51
  end
52
52
 
53
53
  def to_s
54
- sprintf("Rate limit exceeded: from %d requests %d are remaning (reset in %d seconds)", self.limit, self.remaining, int64(rle.Reset.Sub(time.Now()).Seconds()))
54
+ sprintf("Rate limit exceeded: from %d requests %d are remaining (reset in %d seconds)", limit, remaining, reset)
55
55
  end
56
56
  end
57
57
  end
@@ -1,3 +1,3 @@
1
1
  module PhraseApp
2
- VERSION = '1.2.6'
2
+ VERSION = '1.2.7'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phraseapp-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.6
4
+ version: 1.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - PhraseApp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-21 00:00:00.000000000 Z
11
+ date: 2016-06-08 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: PhraseApp API client libary
14
14
  email:
@@ -41,7 +41,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
41
41
  version: '0'
42
42
  requirements: []
43
43
  rubyforge_project:
44
- rubygems_version: 2.5.1
44
+ rubygems_version: 2.4.8
45
45
  signing_key:
46
46
  specification_version: 4
47
47
  summary: Interact with the PhraseApp API