teamlab 0.3.8 → 0.3.9

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
  SHA1:
3
- metadata.gz: c146171b08c008a2d7690306132306326bdd9223
4
- data.tar.gz: 668b018cc6dc36db4bd82a506c3c007f82ae139b
3
+ metadata.gz: 3ea40be2fc46467dcb33fc55767539d6d76cda6c
4
+ data.tar.gz: 6ae12049762de80ff0f48bac902dc16cafaa7407
5
5
  SHA512:
6
- metadata.gz: e55fc30a361df86869cd94f6cd1b11717085d66656cb9c9a9105918edef90b8e82c6f1b8df63b1643a1564ef545303870ef5cf7206684354e6c0002939a2be17
7
- data.tar.gz: a4d09dc8d7d414624b54c6deafd163542d6d2889a03ccc16d133fb9b04a036042c8e0aafcbaef75030618ffd8a6bdf86cd206d5b78accfde21690cec7f058128
6
+ metadata.gz: ef648c3c81f00b53d107bc5bd514f8c14bb90d26a9838c3235dbaf1a55976e35dfa9fe16f80a0f8fdc1d44d9485fec2c91a965a7285f381f69c8c476d42d2c6b
7
+ data.tar.gz: d77892c8cd61c3dd1a7114424a7051463f6782402b622e0d3f4da52568f7906abde6db7b0f9f56b5922250e4fb7cd69def7fc7d2f0ed54edde4eee8cab1d6e38
data/Changelog.md CHANGED
@@ -1,14 +1,22 @@
1
- 0.3.8
1
+ # Change log
2
+
3
+ ## master (unreleased)
4
+ ## 0.39
5
+ =====
6
+ * Add method Files#update_file_history for version finilization
7
+ * Fix Community#add_thread_to_category method
8
+
9
+ ## 0.3.8
2
10
  =====
3
11
 
4
12
  * Fix settings#get_usage_quota method because of typo
5
13
 
6
- 0.3.7.1
14
+ ## 0.3.7.1
7
15
  =====
8
16
 
9
17
  * Fix typo in identifying that portal is warming up
10
18
 
11
- 0.3.7
19
+ ## 0.3.7
12
20
  =====
13
21
 
14
22
  * Correctly handle portal warming up situation
@@ -159,7 +159,7 @@ module Teamlab
159
159
  #==================================== TODO: ERROR
160
160
 
161
161
  def add_thread_to_category(category_id, category_name, thread_name, description)
162
- @request.post(%w(forum), categoryId: category_id, categoryName: category_name.to_s, threadName: thread_name, description: description)
162
+ @request.post(%w(forum), categoryId: category_id, categoryName: category_name.to_s, threadName: thread_name, threadDescription: description)
163
163
  end
164
164
 
165
165
  def add_topic_to_thread(thread_id, subject, content, options = {})
@@ -96,6 +96,10 @@ module Teamlab
96
96
  @request.get(['file', file_id.to_s, 'history'])
97
97
  end
98
98
 
99
+ def update_file_history(file_id, version, continue_version = false)
100
+ @request.put(['file', file_id.to_s, 'history'], version: version, continueVersion: continue_version)
101
+ end
102
+
99
103
  def update_file_info(file_id, title, last_version)
100
104
  @request.put(['file', file_id.to_s], title: title, lastVersion: last_version)
101
105
  end
@@ -1,3 +1,3 @@
1
1
  module Teamlab
2
- VERSION = '0.3.8'
2
+ VERSION = '0.3.9'
3
3
  end
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.8
4
+ version: 0.3.9
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-06-03 00:00:00.000000000 Z
13
+ date: 2015-06-22 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: httparty