seismograph 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: bffa27bce694024368143aea5b035c17deccf310
4
- data.tar.gz: ecfb01d5f29e4d49987affc420effeb7fc7bf079
3
+ metadata.gz: dcdd15888db5f139a1cfd3e35140216b00d4748e
4
+ data.tar.gz: 561e7a7f023d1c47e9bf9859616f1212421a6d22
5
5
  SHA512:
6
- metadata.gz: d633c48d5b7da50dd0f443dac1e524447b6bc1fcddbaffa4b7f44ce30c2e1d807e08d0f438189b34264dddd570dab01482536e255abaceb3b2400fff861cfa56
7
- data.tar.gz: 40c37c0a6949677841023c3b4fe64c627d01aeced78a7fca0f85921186a70a2089695283e96c7c7180d7ecd9b6c5f8cf6cc440971f71618d4c2d959bbdc911d3
6
+ metadata.gz: cdbb33b6d578858b6328f890330c14c8c4ebb922ab54a395b0c22cc6ec5677a35ebef25c820cb3549be73d5c9326253783d2bae677a662c52fc769763683c0d8
7
+ data.tar.gz: b323d6c2382053fadb042856312ab3ece32f2de1722f892bf6f679e5475386d8771ee0e6b16a8a237441e5e9546f08fc482341f96c7b71dce0ad5f4b3b7aca84
data/.gitignore CHANGED
@@ -17,3 +17,4 @@ mkmf.log
17
17
  *.gem
18
18
  .ruby-gemset
19
19
  .ruby-version
20
+ .DS_Store
@@ -3,12 +3,14 @@ module Seismograph
3
3
  protected
4
4
 
5
5
  def gateway_params(params = {})
6
+ app = Seismograph.config.app_name
6
7
  env = Seismograph.config.env
7
8
 
8
9
  params.dup.tap do |p|
9
10
  p[:tags] = Array(params[:tags])
11
+ p[:tags] << "app:#{app}"
10
12
  p[:tags] << "env:#{env}" unless env.nil?
11
- p.delete(:tags) if p[:tags].empty?
13
+ p[:tags].uniq!
12
14
  end
13
15
  end
14
16
  end
@@ -1,3 +1,3 @@
1
1
  module Seismograph
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seismograph
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
  - Brandon Croft
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-09-24 00:00:00.000000000 Z
12
+ date: 2015-09-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: dogstatsd-ruby