stoplight 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 82aa52cf8e9479e0549ca21744fe67cbfda5aab8
4
- data.tar.gz: fbc0abddcaa21e460473e94cd3784f6bb726c832
3
+ metadata.gz: 5b9db0e92d38791e2989cbd757cb1b0dcbf4e73e
4
+ data.tar.gz: d43063006ea37bae49bbe203f25f059390e1c7f4
5
5
  SHA512:
6
- metadata.gz: a37ee7366b9d46a8a063eeb7f3541dfaa08e474869640993de0885779261bcda58be4e3eb7968e6d24fcb044dcd2c2e1f3edcf58e29383028340c80065d6c093
7
- data.tar.gz: d0a1bf0cada95b072940372e030bf9007fedbed6a17ba109430a98a62a189d22552018e4685f1d5d0b20c7e4a87a02b47e94ec55abb3c4b48893237bd058b0e4
6
+ metadata.gz: fa7c3d3d0895e885d977292a09081f0c8ba23d22e1f228c60d298ed935f8bb32557549ffb5ef13419eff16a86b8e8a3f7173e9efac29ba7b2fe919505d8eb610
7
+ data.tar.gz: c7808ed8e151962b345787aaa9634a79f191fd1bc19ee8d5dd0bb04099fcf7a2765c04279b7d359afcae5bc0be84a4cf8e77fd27a2de382bc3cc92fd1342ce70
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.2.1 (2014-08-20)
4
+
5
+ - Forced times to be serialized as strings.
6
+
3
7
  ## v0.2.0 (2014-08-18)
4
8
 
5
9
  - Switched `Stoplight.data_store` and `Stoplight.notifiers` over to using
data/README.md CHANGED
@@ -16,7 +16,7 @@ Check out [stoplight-admin][12] for controlling your stoplights.
16
16
  Add it to your Gemfile:
17
17
 
18
18
  ``` rb
19
- gem 'stoplight', '~> 0.2.0'
19
+ gem 'stoplight', '~> 0.2.1'
20
20
  ```
21
21
 
22
22
  Or install it manually:
@@ -18,7 +18,7 @@ module Stoplight
18
18
  private
19
19
 
20
20
  def to_h
21
- { error: @error.inspect, time: @time }
21
+ { error: @error.inspect, time: @time.inspect }
22
22
  end
23
23
  end
24
24
  end
@@ -20,7 +20,7 @@ module Stoplight
20
20
  private
21
21
 
22
22
  def default_options
23
- { color: 'red', notify: true }
23
+ { color: 'red', message_format: 'text', notify: true }
24
24
  end
25
25
  end
26
26
  end
data/lib/stoplight.rb CHANGED
@@ -16,7 +16,7 @@ require 'stoplight/notifier/standard_error'
16
16
 
17
17
  module Stoplight
18
18
  # @return [Gem::Version]
19
- VERSION = Gem::Version.new('0.2.0')
19
+ VERSION = Gem::Version.new('0.2.1')
20
20
 
21
21
  # @return [Integer]
22
22
  DEFAULT_THRESHOLD = 3
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stoplight
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cameron Desautels
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-08-18 00:00:00.000000000 Z
12
+ date: 2014-08-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: coveralls