mtracker 0.1.0 → 0.2.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: 24c63cb7b767c7c567d57325acb63764ebb4b49a
4
- data.tar.gz: 44556772c4feb2700fb136bb724689a480c9b79d
3
+ metadata.gz: 719a7c2ac8ef1b8bff7280641ebf41e352bca994
4
+ data.tar.gz: 84b35da68056dcbe038f30c16828cfdc8a6d0d5e
5
5
  SHA512:
6
- metadata.gz: baf7c3fd9781bb40bf9854cab07b3c68f3b02b07c2acfab5162c95d192f17f26e2ed56c3c5198ae66bdecf47d0ca49ea0b2db8d282cf14b40a38fd278e3d5625
7
- data.tar.gz: f49edc98670a6d3a08d4c6566053fbcc6adb58a79c96954b7f0117419565c0ba805e696282bd407a1379787a9c1c64e9eff1e1ad2d1da9026377a4ccad236f08
6
+ metadata.gz: 6ea3776a090a21d0176949b159585823096743cbcca21c396202b0080d3306561c416fd5d1321bda33345c841e0bdebe202418b2ba53dacd6497183c86f62f0f
7
+ data.tar.gz: f777cae8efc83d815e7ba4654a9c2c96b884da543ef22fc5853e01c80301c065d293dd985b2a22ef201e8256747d7ff99908829c51a21444760c05910ef86006
data/CHANGE_LOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ = 0.2.0
2
+ - support Rails.logger
3
+
1
4
  = 0.1.0
2
5
  - support logger
3
6
  - set output time format
data/lib/mtracker.rb CHANGED
@@ -12,6 +12,8 @@ module Mtracker
12
12
  def put_track_info(msg)
13
13
  if respond_to?(:logger)
14
14
  logger.info(msg)
15
+ elsif Rails
16
+ Rails.logger.info(msg)
15
17
  else
16
18
  puts msg
17
19
  end
@@ -1,3 +1,3 @@
1
1
  module Mtracker
2
- VERSION = '0.1.0'
2
+ VERSION = '0.2.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mtracker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yusuke Murata
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-12 00:00:00.000000000 Z
11
+ date: 2017-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -74,7 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
74
74
  version: '0'
75
75
  requirements: []
76
76
  rubyforge_project:
77
- rubygems_version: 2.2.2
77
+ rubygems_version: 2.5.2
78
78
  signing_key:
79
79
  specification_version: 4
80
80
  summary: Simple time tracker better than benchmark.