discourse_api 0.37.0 → 0.38.0

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.
data/spec/spec_helper.rb CHANGED
@@ -20,6 +20,10 @@ end
20
20
 
21
21
  WebMock.disable_net_connect!(:allow_localhost => true)
22
22
 
23
+ def host
24
+ 'http://localhost:3000'
25
+ end
26
+
23
27
  def a_delete(path)
24
28
  a_request(:delete, path)
25
29
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: discourse_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.37.0
4
+ version: 0.38.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Saffron
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2019-09-23 00:00:00.000000000 Z
14
+ date: 2019-10-18 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: faraday
@@ -285,6 +285,7 @@ files:
285
285
  - spec/fixtures/latest.json
286
286
  - spec/fixtures/members_0.json
287
287
  - spec/fixtures/members_1.json
288
+ - spec/fixtures/members_2.json
288
289
  - spec/fixtures/new.json
289
290
  - spec/fixtures/notifications.json
290
291
  - spec/fixtures/polls_toggle_status.json
@@ -375,6 +376,7 @@ test_files:
375
376
  - spec/fixtures/latest.json
376
377
  - spec/fixtures/members_0.json
377
378
  - spec/fixtures/members_1.json
379
+ - spec/fixtures/members_2.json
378
380
  - spec/fixtures/new.json
379
381
  - spec/fixtures/notifications.json
380
382
  - spec/fixtures/polls_toggle_status.json