kensa 2.4.1 → 2.4.2

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: 424bac12c4b70a8e8f776772316d36efc64133b0
4
- data.tar.gz: 8de7ab586edeb88aebb7abb123931873afce9e35
3
+ metadata.gz: 1f3341da6fec38c8fd72e0f4192510f8376c45ab
4
+ data.tar.gz: 68bc64b52d8723f8bee3ea20ff76fd9beff0f5db
5
5
  SHA512:
6
- metadata.gz: 0645e2c7eef203214ed4e12cf2c5a9b9614e2bcbf67889bb918b9a84b143f1dacdca05413ff074dfb52298bc787fff435d87c6077b40d22ad444bd032410c3fd
7
- data.tar.gz: f1331413b816701e309c832dc3875d039cd797099c3259cc7767c4cd25f839b4f5435ad15a83dc141b131159e94e204eba71e9444982c687895ccc01436d1231
6
+ metadata.gz: e7a6ff9a9516ebdee3906b1dff0e7e1ca09975a734cb6eb3589182e64dba2bc37a7b9b60f423bd8eb508c4d940406f1054c9da008eb743fbc31c0f037368f990
7
+ data.tar.gz: bc900564a79f32a590338988b611796a3acb23e8fafeb22ec6bd2c51c302c8b9a82cac1f1d668abfa62c01b8a68ed733a85eea663ada44e4f584b03a5e77227a
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kensa (2.4.1)
4
+ kensa (2.4.2)
5
5
  launchy (~> 2.2.0)
6
6
  mechanize (~> 2.6.0)
7
7
  netrc (~> 0.10.3)
@@ -234,13 +234,13 @@ module Heroku
234
234
  end
235
235
  end
236
236
 
237
- check "syslog_drain_url is returned if required" do
237
+ check "log_drain_url is returned if required" do
238
238
  return true unless api_requires?("syslog_drain")
239
239
 
240
- drain_url = response['syslog_drain_url']
240
+ drain_url = response['log_drain_url']
241
241
 
242
242
  if !drain_url || drain_url.empty?
243
- error "must return a syslog_drain_url"
243
+ error "must return a log_drain_url"
244
244
  else
245
245
  true
246
246
  end
@@ -1,5 +1,5 @@
1
1
  module Heroku
2
2
  module Kensa
3
- VERSION = '2.4.1'
3
+ VERSION = '2.4.2'
4
4
  end
5
5
  end
@@ -83,18 +83,18 @@ class ProvisionResponseCheckTest < Test::Unit::TestCase
83
83
  @data["api"]["requires"] = ["syslog_drain"]
84
84
  end
85
85
 
86
- test "response is invalid without a syslog_drain_url" do
87
- @response['syslog_drain_url'] = ''
86
+ test "response is invalid without a log_drain_url" do
87
+ @response['log_drain_url'] = ''
88
88
  assert_invalid
89
89
  end
90
90
 
91
- test "response is invalid if syslog_drain_url is invalid" do
92
- @response['syslog_drain_url'] = 'ftp://host.example.com'
91
+ test "response is invalid if log_drain_url is invalid" do
92
+ @response['log_drain_url'] = 'ftp://host.example.com'
93
93
  assert_invalid
94
94
  end
95
95
 
96
- test "response is valid with a syslog_drain_url" do
97
- @response['syslog_drain_url'] = 'syslog://log.example.com:9999'
96
+ test "response is valid with a log_drain_url" do
97
+ @response['log_drain_url'] = 'syslog://log.example.com:9999'
98
98
  assert_valid
99
99
  end
100
100
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kensa
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.1
4
+ version: 2.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blake Mizerany
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2015-08-28 00:00:00.000000000 Z
16
+ date: 2015-11-19 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: launchy