mattermost-api4-ruby 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +8 -1
- data/lib/mattermost/client.rb +3 -2
- data/lib/mattermost/request.rb +1 -1
- data/mattermost-api4-ruby.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d97995dcba471128cfc66bbf780838e6719ddc162f257ff440e402d6aed4df65
|
4
|
+
data.tar.gz: 6e885c142ccf11596cd1eb4a134c61f7651ebecede65b4b83896e924df2cd87c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b94d19e5af862a08f6142a2526f6aea61a06840bfd4228f924112f5098a5d9d3a6f9edcc1d054ced7854efb2ec442508c4b3270ef16e5d20a8408d58aecf677
|
7
|
+
data.tar.gz: 01a7a1946bcf2cad86887f2aa9195e2944cc6e9d12cb5d9289e934a63d7479b24116e0272d6d9d9c71fb8266b9b5f5835e81cbb3ee8f0e9ac05e25b8fceb46b4
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
-
## [
|
3
|
+
## [0.0.9](https://github.com/maruTA-bis5/mattermost-api4-ruby/tree/0.0.9) (2018-10-18)
|
4
|
+
[Full Changelog](https://github.com/maruTA-bis5/mattermost-api4-ruby/compare/v0.0.8...0.0.9)
|
5
|
+
|
6
|
+
**Implemented enhancements:**
|
7
|
+
|
8
|
+
- Allow mattermost servers to use subdirectory [\#17](https://github.com/maruTA-bis5/mattermost-api4-ruby/pull/17) ([haccht](https://github.com/haccht))
|
9
|
+
|
10
|
+
## [v0.0.8](https://github.com/maruTA-bis5/mattermost-api4-ruby/tree/v0.0.8) (2018-01-30)
|
4
11
|
[Full Changelog](https://github.com/maruTA-bis5/mattermost-api4-ruby/compare/v0.0.7...v0.0.8)
|
5
12
|
|
6
13
|
**Implemented enhancements:**
|
data/lib/mattermost/client.rb
CHANGED
@@ -9,7 +9,7 @@ module Mattermost
|
|
9
9
|
include Mattermost::Endpoint
|
10
10
|
include Mattermost::Request
|
11
11
|
|
12
|
-
attr_accessor :server, :token, :headers
|
12
|
+
attr_accessor :server, :subdir, :token, :headers
|
13
13
|
|
14
14
|
# *DEPRECATED* I'll remove this method soon
|
15
15
|
def base_uri
|
@@ -18,7 +18,8 @@ module Mattermost
|
|
18
18
|
deprecate :base_uri, :none, 2018, 1
|
19
19
|
|
20
20
|
def initialize(server)
|
21
|
-
self.server = server
|
21
|
+
self.server = URI.join(server, '/').to_s
|
22
|
+
self.subdir = URI(server).path
|
22
23
|
self.headers = {:Accept => "application/json"}
|
23
24
|
end
|
24
25
|
|
data/lib/mattermost/request.rb
CHANGED
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.
|
4
|
+
version: 0.0.9
|
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-
|
11
|
+
date: 2018-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -202,7 +202,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
202
202
|
version: '0'
|
203
203
|
requirements: []
|
204
204
|
rubyforge_project:
|
205
|
-
rubygems_version: 2.
|
205
|
+
rubygems_version: 2.7.6
|
206
206
|
signing_key:
|
207
207
|
specification_version: 4
|
208
208
|
summary: Mattermost API v4 client for ruby
|