marathon-api 1.3.4 → 1.3.5

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: 18dfb2bbd620994b9743ba35487c66ecc678e456
4
- data.tar.gz: 67101ba5cc9a33a361dc3be0a827362c2d567cac
3
+ metadata.gz: 5ec756f5d2eb488416f50de1d83bb181091dd46b
4
+ data.tar.gz: 6ea47852e64d444617cf19028c9aff59cedd845e
5
5
  SHA512:
6
- metadata.gz: be046867b571a4a7a5a58097a98584a1f6d9600ee2899a648ed7441a2fabfa531844f0d61878b2bb3724ad70d224c4852711281c12df2273618c0015e4db1b76
7
- data.tar.gz: 6a6445bdc794c0c9f761be4e1e4fc931e5c6621b4c7305995f00c16e25bcfbe54253e1a6ab3d324ebb40a64b12a1f09ae3c0e81142b063f42edcd473ec355326
6
+ metadata.gz: 3c49001387c2b89593d22021c8f1522bbf8477e36a6072063ee8fcaa4eac7c356c3492fd2e7edbe1e88797bfefe678ece2ee6428e1fa95a1be51bfa82f4f41ba
7
+ data.tar.gz: a3ec6efa4bb735d095f5da81c550291bc865d7aef29025040b0658592b6c21e76558d1a72c9d5d339fc5335569db4c969da5975b8f4797ef78c24acbe5c49253
data/lib/marathon/base.rb CHANGED
@@ -17,8 +17,8 @@ class Marathon::Base
17
17
  end
18
18
 
19
19
  # Return application as JSON formatted string.
20
- def to_json
21
- info.to_json
20
+ def to_json(opts = {})
21
+ info.to_json(opts)
22
22
  end
23
23
 
24
24
  private
@@ -1,3 +1,3 @@
1
1
  module Marathon
2
- VERSION = '1.3.4'
2
+ VERSION = '1.3.5'
3
3
  end
data/spec/spec_helper.rb CHANGED
@@ -8,6 +8,10 @@ require 'webmock'
8
8
  require 'marathon'
9
9
  require 'codeclimate-test-reporter'
10
10
 
11
+ %w[MARATHON_URL MARATHON_USER MARATHON_PASSWORD].each do |key|
12
+ ENV.delete(key)
13
+ end
14
+
11
15
  CodeClimate::TestReporter.start
12
16
 
13
17
  VCR.configure do |c|
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: marathon-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.4
4
+ version: 1.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Bechstein
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-27 00:00:00.000000000 Z
11
+ date: 2016-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json