mattermost-api4-ruby 0.0.6 → 0.0.7

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: 88d7eb11e81456747fcdae1d2cc013fb5a0728be
4
- data.tar.gz: 376a4989e7b6f3f4fab96bf14d3bb8c5776e2de3
3
+ metadata.gz: 3f9d0ac73088c4af888d5d3ee7320c31b77e1402
4
+ data.tar.gz: 9250e3cc7bb29b56025db305e92e86ef43dc41dd
5
5
  SHA512:
6
- metadata.gz: 912398e8e45ceb95f831da8400be1de14419d6a888ccecc0a0c53bcaf4d1d3f1166c10e463cd24e2e49de2de9217d1e1fa08920f4cffd89dff826be3d6d38276
7
- data.tar.gz: 7e083616c22bea8f7758cd8485dc46f2b1b0d9e0c9300847589ef83544446c60ea7ea31a8818d88221f653acf77372734952055fa54c987634487dc49688bf74
6
+ metadata.gz: 2c2ebbc56ca76fd5221e56f84ad6fe58664c04592dc1779f152a9a24a901f9c930e4e5f2bad67b18817e366ce725b2d2468912630c6ffca09c5643eb41ced02f
7
+ data.tar.gz: 8eef9ede276e9ecbaf343ae8215ece695dbab6e0e5520098ebc54c897bc29f4d3aeb5818dadfa92dc796d8c256c2ccc1b218959156ff3e1f41c6a1e15ba8f7ed
@@ -1,5 +1,13 @@
1
1
  # Change Log
2
2
 
3
+ ## [v0.0.7](https://github.com/maruTA-bis5/mattermost-api4-ruby/tree/v0.0.7) (2018-01-24)
4
+ [Full Changelog](https://github.com/maruTA-bis5/mattermost-api4-ruby/compare/v0.0.6...v0.0.7)
5
+
6
+ **Fixed bugs:**
7
+
8
+ - All POST/PUT operations are broken [\#12](https://github.com/maruTA-bis5/mattermost-api4-ruby/issues/12)
9
+ - Mattermost::Client\#login\(username, password\) is broken [\#11](https://github.com/maruTA-bis5/mattermost-api4-ruby/issues/11)
10
+
3
11
  ## [v0.0.6](https://github.com/maruTA-bis5/mattermost-api4-ruby/tree/v0.0.6) (2018-01-22)
4
12
  [Full Changelog](https://github.com/maruTA-bis5/mattermost-api4-ruby/compare/v0.0.5...v0.0.6)
5
13
 
@@ -18,7 +18,7 @@ module Mattermost
18
18
  end
19
19
 
20
20
  def login(username, password)
21
- login_request = post('/users/login', :body => {:login_id => uername, :password => password}.to_json)
21
+ login_request = post('/users/login', :body => {:login_id => username, :password => password}.to_json)
22
22
  self.token = login_request.headers['token']
23
23
  update_token
24
24
  end
@@ -53,11 +53,11 @@ module Mattermost
53
53
  end
54
54
 
55
55
  def post(path, options = {}, &block)
56
- self.class.get(path, options, &block)
56
+ self.class.post(path, options, &block)
57
57
  end
58
58
 
59
59
  def put(path, options = {}, &block)
60
- self.class.get(path, options, &block)
60
+ self.class.put(path, options, &block)
61
61
  end
62
62
 
63
63
  def delete(path, options = {}, &block)
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "mattermost-api4-ruby"
5
- spec.version = "0.0.6"
5
+ spec.version = "0.0.7"
6
6
  spec.authors = ["Takayuki Maruyama"]
7
7
  spec.email = ["bis5.wsys@gmail.com"]
8
8
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mattermost-api4-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takayuki Maruyama
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-22 00:00:00.000000000 Z
11
+ date: 2018-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler