teamlab 0.3.15 → 0.3.16

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: eb6fea532be79b0a9651828980d03c225effa81c
4
- data.tar.gz: 66fe225afa733bc6a5c6c38d0792c825190dcaac
3
+ metadata.gz: 1985457a12122937b4544697668409ea3c4a3921
4
+ data.tar.gz: bc3e5b322657b0d06f95cd64f15a4c35307588f8
5
5
  SHA512:
6
- metadata.gz: d6d8936a71c7118ddb0e2494e1f208172c52dad3a77536a14b559eb8ba82b6ea9b8156d9c7d897800bca72c6c73f4bd23b7893a5feb4874bc71f1af41f21c67f
7
- data.tar.gz: b26e995b1eb1f02ac12e14ecef731cca2a527b88bfed4b63be791eba0d4f8394ba7508900224a77f77fa81f5cd3db6c83832a014c3f2c614f8a48f8ca7facdd2
6
+ metadata.gz: 7148780e98038ead90bbd076d0fd085449c123139ae99da6fa78efd09b1864f5932148a3eda5847b212b1f6e3c36d00aa49502c3a031a83d28c42da8d928f0df
7
+ data.tar.gz: e0096d9877a71468ae3f5b6b0844b8ddd9b2d34e24b3b0ea2f1ff8645f946adba4aabe3f294ac2ff31cf69e96f7c35d37001ac146b7b53d7de3d4af4241583d4
data/Changelog.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Change log
2
2
 
3
+ ## 0.3.16
4
+ * change method Settings#set_access
5
+
3
6
  ## 0.3.15
4
7
  * Show more detailed information about response, if auth response not containing token
5
8
 
@@ -71,7 +71,7 @@ module Teamlab
71
71
  end
72
72
 
73
73
  def set_access(id, enabled = true)
74
- @request.put(%w(access), items: [id, enabled])
74
+ @request.put(%w(security access), items:[{key: id, value: enabled}])
75
75
  end
76
76
 
77
77
  def set_product_admin(product_id, user_id, administrator = true)
@@ -1,3 +1,3 @@
1
1
  module Teamlab
2
- VERSION = '0.3.15'
2
+ VERSION = '0.3.16'
3
3
  end
@@ -102,10 +102,9 @@ describe '[Settings]' do
102
102
  end
103
103
 
104
104
  describe '#set_access' do
105
- it_should_behave_like 'an api request', :pending do
106
- pending 'http://bugzserver/show_bug.cgi?id=23764'
105
+ it_should_behave_like 'an api request' do
107
106
  let(:command) { :set_access }
108
- let(:args) { [[random_settings_entity_id, random_bool]] }
107
+ let(:args) { [random_settings_entity_id, random_bool] }
109
108
  end
110
109
  end
111
110
 
@@ -54,7 +54,7 @@ USER_THIRD_PARTIES_PROFILES = %w(_Y6rPoq7louElDtnlBdKUqpqz4j5vps35UYBvFloIL3dI-h
54
54
 
55
55
  #regions Settings
56
56
  SETTINGS_ENTITY_IDS = %w(1e044602-43b5-4d79-82f3-fd6208a11960 6743007c-6f95-4d20-8c88-a8601ce5e76d ea942538-e68e-4907-9394-035336ee0ba8
57
- f4d98afd-d336-4332-8778-3c6945c81ea0 2a923037-8b2d-487b-9a22-5ac0918acf3f bf88953e-3c43-4850-a3fb-b1e43ad53a3e 32d24cb5-7ece-4606-9c94-19216ba42086)
57
+ f4d98afd-d336-4332-8778-3c6945c81ea0 2a923037-8b2d-487b-9a22-5ac0918acf3f bf88953e-3c43-4850-a3fb-b1e43ad53a3e 32d24cb5-7ece-4606-9c94-19216ba42086)
58
58
  SETTINGS_TEST_USER = '27cd9da5-4f97-4335-ac45-55dd05d96d89'
59
59
  SETTINGS_TALK_MODULE_ID = 'bf88953e-3c43-4850-a3fb-b1e43ad53a3e'
60
60
  SETTINGS_VERSION = 2
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teamlab
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.15
4
+ version: 0.3.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - rzagudaev
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-12-16 00:00:00.000000000 Z
13
+ date: 2015-12-17 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: httparty