onlyoffice_logger_helper 1.0.0 → 1.0.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: e7fbaf05d7ebedfc363344e744ec26d60c4b2588
4
- data.tar.gz: 6ea64b064670d7eeae6bbb2049c904184a84962a
3
+ metadata.gz: b5f8e7b3bbaed7ce0ab496a854f08e75b499e3d6
4
+ data.tar.gz: 4bec62ed56f8675cf026923d4021d76cdc180b24
5
5
  SHA512:
6
- metadata.gz: 34767acb230e540ff27dfb0d1d9e95f142850dce271a75b012fa98ece50b999af88c5e5d00cd9c6c0ca1e5d2685a51c4b4da7d9d42787ac850c2a4fa1288dc23
7
- data.tar.gz: 56146cbc95bf3f9d4c146995b3053a18fd66470cee4eb4b9fb9087155d442e18f57ab5e728170747e60339c4f7fdd57c89a20b8321907d9b0d6c65b394662f0f
6
+ metadata.gz: 4f14804ce6beff22bee556d38c40ea66b812d765475018a9c56efce2152a69eb37c7f517065dc9bb5bf04d474e34684d2c144163a34d371703b62ebeee222a75
7
+ data.tar.gz: 426e574d90314f33e96886fc7a99c990ddb065350304ca08375e968fc78556677b263752c3ee5f2d1da20418ec90725cbc2a442e50a47dcc8475512588f70776
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # OnlyofficeLoggerHelper
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/onlyoffice_logger_helper`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library
4
+ into a gem. Put your Ruby code in the file `lib/onlyoffice_logger_helper`. To experiment with that code,
5
+ run `bin/console` for an interactive prompt.
4
6
 
5
7
  TODO: Delete this and the text above, and describe your gem
6
8
 
@@ -26,9 +28,12 @@ TODO: Write usage instructions here
26
28
 
27
29
  ## Development
28
30
 
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
31
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests.
32
+ You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
33
 
31
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
34
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update
35
+ the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for
36
+ the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
37
 
33
38
  ## Contributing
34
39
 
@@ -1,7 +1,7 @@
1
1
  # Module for output stuff in console
2
2
  module OnlyofficeLoggerHelper
3
3
  def self.log(entry, color_code = nil)
4
- caller_name = caller[0].to_s[/\w+.rb/].chomp('.rb')
4
+ caller_name = caller(1..1).first.to_s[/\w+.rb/].chomp('.rb')
5
5
  time_stamp = Time.now.strftime('%T/%d.%m.%y')
6
6
  message = "#{time_stamp} [#{caller_name}] #{entry}"
7
7
  color_code ? puts(colorize(message, color_code)) : puts(message)
@@ -1,3 +1,3 @@
1
1
  module OnlyofficeLoggerHelper
2
- VERSION = '1.0.0'.freeze
2
+ VERSION = '1.0.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onlyoffice_logger_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ONLYOFFICE
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-11-14 00:00:00.000000000 Z
13
+ date: 2017-05-25 00:00:00.000000000 Z
14
14
  dependencies: []
15
15
  description: Simple logging gem for ONLYOFFICE projects. Used in QA
16
16
  email:
@@ -45,7 +45,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
45
45
  version: '0'
46
46
  requirements: []
47
47
  rubyforge_project:
48
- rubygems_version: 2.4.8
48
+ rubygems_version: 2.2.5
49
49
  signing_key:
50
50
  specification_version: 4
51
51
  summary: Simple logging gem for ONLYOFFICE projects