phraseapp-ruby 1.0.8 → 1.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/phraseapp-ruby.rb +18 -18
  3. data/lib/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 36813eedfa448f81d10b2e1c7f1b098bab2034ef
4
- data.tar.gz: 6c7b351a74d9426627e476508282e67482726931
3
+ metadata.gz: c7ce497e39899156ac807ec2e3053742cc831024
4
+ data.tar.gz: 068d6d1cefa1b1aee6d1f47a1d98621dda04a9bc
5
5
  SHA512:
6
- metadata.gz: 608c7d22d7c7a1220652e09d07a1b7073b79df7ca67a25262b84c4b0115752b763e31b0d493d814c8edc2c853d19ba6f56f2f1047c58bd68f0f2fbc1222a3b41
7
- data.tar.gz: 5225b68dbd52048410b8d14c7086b6b0547a2d6c09a4b5a26937d37bfb4fc33b0493459a060cda1fa17f9b58336d7ba77050ff4257ac1a9bb7d3451865539f6d
6
+ metadata.gz: dc17baf34424aa53615060d73567d27212df6c10eb0fdd2387db639c6aeadf1f6cc931a10c0d9ac3743437d4da9fe3be1789c42bfca2c29316a4ee970bf3550a
7
+ data.tar.gz: 172e0ab4991c7e1be26258a581241ac5492aa5d9a208eaf3cad733875dce68247331aea7e48e182bbf798f5c523d1ee5226e68396797e222fe49b60379139c63
@@ -1294,7 +1294,7 @@ end
1294
1294
 
1295
1295
  if params.present?
1296
1296
  unless params.kind_of?(PhraseApp::RequestParams::AuthorizationCreateParams)
1297
- raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::AuthorizationCreateParams")
1297
+ raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::AuthorizationParams")
1298
1298
  end
1299
1299
  end
1300
1300
 
@@ -1376,7 +1376,7 @@ end
1376
1376
 
1377
1377
  if params.present?
1378
1378
  unless params.kind_of?(PhraseApp::RequestParams::AuthorizationUpdateParams)
1379
- raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::AuthorizationUpdateParams")
1379
+ raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::AuthorizationParams")
1380
1380
  end
1381
1381
  end
1382
1382
 
@@ -1435,7 +1435,7 @@ end
1435
1435
 
1436
1436
  if params.present?
1437
1437
  unless params.kind_of?(PhraseApp::RequestParams::CommentCreateParams)
1438
- raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::CommentCreateParams")
1438
+ raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::CommentParams")
1439
1439
  end
1440
1440
  end
1441
1441
 
@@ -1610,7 +1610,7 @@ end
1610
1610
 
1611
1611
  if params.present?
1612
1612
  unless params.kind_of?(PhraseApp::RequestParams::CommentUpdateParams)
1613
- raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::CommentUpdateParams")
1613
+ raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::CommentParams")
1614
1614
  end
1615
1615
  end
1616
1616
 
@@ -1671,7 +1671,7 @@ end
1671
1671
 
1672
1672
  if params.present?
1673
1673
  unless params.kind_of?(PhraseApp::RequestParams::ExcludeRuleCreateParams)
1674
- raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::ExcludeRuleCreateParams")
1674
+ raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::ExcludeRuleParams")
1675
1675
  end
1676
1676
  end
1677
1677
 
@@ -1759,7 +1759,7 @@ end
1759
1759
 
1760
1760
  if params.present?
1761
1761
  unless params.kind_of?(PhraseApp::RequestParams::ExcludeRuleUpdateParams)
1762
- raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::ExcludeRuleUpdateParams")
1762
+ raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::ExcludeRuleParams")
1763
1763
  end
1764
1764
  end
1765
1765
 
@@ -1839,7 +1839,7 @@ end
1839
1839
 
1840
1840
  if params.present?
1841
1841
  unless params.kind_of?(PhraseApp::RequestParams::KeyCreateParams)
1842
- raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::KeyCreateParams")
1842
+ raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::TranslationKeyParams")
1843
1843
  end
1844
1844
  end
1845
1845
  if params.data_type != nil
@@ -1985,7 +1985,7 @@ end
1985
1985
 
1986
1986
  if params.present?
1987
1987
  unless params.kind_of?(PhraseApp::RequestParams::KeyUpdateParams)
1988
- raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::KeyUpdateParams")
1988
+ raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::TranslationKeyParams")
1989
1989
  end
1990
1990
  end
1991
1991
  if params.data_type != nil
@@ -2259,7 +2259,7 @@ end
2259
2259
 
2260
2260
  if params.present?
2261
2261
  unless params.kind_of?(PhraseApp::RequestParams::LocaleCreateParams)
2262
- raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::LocaleCreateParams")
2262
+ raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::LocaleParams")
2263
2263
  end
2264
2264
  end
2265
2265
 
@@ -2385,7 +2385,7 @@ end
2385
2385
 
2386
2386
  if params.present?
2387
2387
  unless params.kind_of?(PhraseApp::RequestParams::LocaleUpdateParams)
2388
- raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::LocaleUpdateParams")
2388
+ raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::LocaleParams")
2389
2389
  end
2390
2390
  end
2391
2391
 
@@ -2469,7 +2469,7 @@ end
2469
2469
 
2470
2470
  if params.present?
2471
2471
  unless params.kind_of?(PhraseApp::RequestParams::OrderCreateParams)
2472
- raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::OrderCreateParams")
2472
+ raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::TranslationOrderParams")
2473
2473
  end
2474
2474
  end
2475
2475
 
@@ -2576,7 +2576,7 @@ end
2576
2576
 
2577
2577
  if params.present?
2578
2578
  unless params.kind_of?(PhraseApp::RequestParams::ProjectCreateParams)
2579
- raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::ProjectCreateParams")
2579
+ raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::ProjectParams")
2580
2580
  end
2581
2581
  end
2582
2582
 
@@ -2658,7 +2658,7 @@ end
2658
2658
 
2659
2659
  if params.present?
2660
2660
  unless params.kind_of?(PhraseApp::RequestParams::ProjectUpdateParams)
2661
- raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::ProjectUpdateParams")
2661
+ raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::ProjectParams")
2662
2662
  end
2663
2663
  end
2664
2664
 
@@ -2736,7 +2736,7 @@ end
2736
2736
 
2737
2737
  if params.present?
2738
2738
  unless params.kind_of?(PhraseApp::RequestParams::StyleguideCreateParams)
2739
- raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::StyleguideCreateParams")
2739
+ raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::StyleguideParams")
2740
2740
  end
2741
2741
  end
2742
2742
 
@@ -2824,7 +2824,7 @@ end
2824
2824
 
2825
2825
  if params.present?
2826
2826
  unless params.kind_of?(PhraseApp::RequestParams::StyleguideUpdateParams)
2827
- raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::StyleguideUpdateParams")
2827
+ raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::StyleguideParams")
2828
2828
  end
2829
2829
  end
2830
2830
 
@@ -2883,7 +2883,7 @@ end
2883
2883
 
2884
2884
  if params.present?
2885
2885
  unless params.kind_of?(PhraseApp::RequestParams::TagCreateParams)
2886
- raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::TagCreateParams")
2886
+ raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::TagParams")
2887
2887
  end
2888
2888
  end
2889
2889
 
@@ -2992,7 +2992,7 @@ end
2992
2992
 
2993
2993
  if params.present?
2994
2994
  unless params.kind_of?(PhraseApp::RequestParams::TranslationCreateParams)
2995
- raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::TranslationCreateParams")
2995
+ raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::TranslationParams")
2996
2996
  end
2997
2997
  end
2998
2998
 
@@ -3383,7 +3383,7 @@ end
3383
3383
 
3384
3384
  if params.present?
3385
3385
  unless params.kind_of?(PhraseApp::RequestParams::UploadCreateParams)
3386
- raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::UploadCreateParams")
3386
+ raise PhraseApp::ParamsHelpers::ParamsError.new("Expects params to be kind_of PhraseApp::RequestParams::LocaleFileImportParams")
3387
3387
  end
3388
3388
  end
3389
3389
  if params.convert_emoji != nil
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module PhraseApp
2
- VERSION = '1.0.8'
2
+ VERSION = '1.0.9'
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.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - PhraseApp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-02 00:00:00.000000000 Z
11
+ date: 2015-07-06 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: PhraseApp API client libary
14
14
  email: