percy-common 1.0.0 → 1.1.0

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: 442e6d19fe7b3b61210ddb7f970aa0b1378461ff
4
- data.tar.gz: 16805089ff9cd0c5b2b982e57c62cd4130ae6b7a
3
+ metadata.gz: 3d5a79133a1c95ae793cb30e7135badb17b59db1
4
+ data.tar.gz: 1c4a63b4f4998e03f4500b99212e6968b565a7c1
5
5
  SHA512:
6
- metadata.gz: 9426c925185da36a6486bd3837fcf1b69daae5f49673d09efda86cfe941b8b4db04c816c48ba0414fa547942aee44a1b2773c399deb2fbae9f78d2fc29ee56db
7
- data.tar.gz: b5aa46890631c6a8c48911368eb9ca2fc9f06e510e01d123f60fd2808f8db209df77a71f13ca69b703e2aac612de875b60020f227e700cc228b4d69e9ce15a96
6
+ metadata.gz: b2efd0479f2da30ff271cd09376a9910055f1d381b9538a6808939e3e1313130aa344370b076e2585e432f73a541cf04b5cb3b8818a961e08b26ecbe603a3f27
7
+ data.tar.gz: a2205abeed0c19bad7669d6bccd840c16242d3b9bd966cff4a5683ab1347a14dde8abb5288ddae44f572665d96930bf2ac05264bb65c72e2e0122893f09a9b6e
@@ -0,0 +1,9 @@
1
+ language: ruby
2
+ sudo: false
3
+ cache: bundler
4
+ rvm:
5
+ - 2.2.2
6
+ - ruby-head
7
+ before_install:
8
+ - gem update bundler
9
+ script: bundle exec rspec
@@ -1,5 +1,5 @@
1
1
  module Percy
2
2
  module Common
3
- VERSION = '1.0.0'
3
+ VERSION = '1.1.0'
4
4
  end
5
5
  end
@@ -4,13 +4,8 @@ require 'syslog-logger'
4
4
  module Percy
5
5
  def self.logger
6
6
  @logger if defined?(@logger)
7
-
8
- if (ENV['PERCY_ENV'] || 'development') == 'development'
9
- @logger ||= Logger.new(STDOUT)
10
- else
11
- @logger ||= Logger::Syslog.new('percy', Syslog::LOG_LOCAL7)
12
- @logger.level = Logger::INFO
13
- end
7
+ @logger ||= Logger::Syslog.new('percy', Syslog::LOG_LOCAL7)
8
+ @logger.level = Logger::INFO if ENV['PERCY_ENV'] == 'production'
14
9
  @logger
15
10
  end
16
11
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: percy-common
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Perceptual Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-20 00:00:00.000000000 Z
11
+ date: 2016-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dogstatsd-ruby
@@ -89,6 +89,7 @@ extra_rdoc_files: []
89
89
  files:
90
90
  - ".gitignore"
91
91
  - ".rspec"
92
+ - ".travis.yml"
92
93
  - Gemfile
93
94
  - LICENSE
94
95
  - README.md
@@ -117,9 +118,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
118
  version: '0'
118
119
  requirements: []
119
120
  rubyforge_project:
120
- rubygems_version: 2.4.5
121
+ rubygems_version: 2.4.8
121
122
  signing_key:
122
123
  specification_version: 4
123
124
  summary: Server-side common library for Percy.
124
125
  test_files: []
125
- has_rdoc: