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 +4 -4
- data/README.md +8 -3
- data/lib/onlyoffice_logger_helper/logger_helper.rb +1 -1
- data/lib/onlyoffice_logger_helper/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5f8e7b3bbaed7ce0ab496a854f08e75b499e3d6
|
4
|
+
data.tar.gz: 4bec62ed56f8675cf026923d4021d76cdc180b24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.
|
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
|
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
|
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)
|
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.
|
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:
|
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.
|
48
|
+
rubygems_version: 2.2.5
|
49
49
|
signing_key:
|
50
50
|
specification_version: 4
|
51
51
|
summary: Simple logging gem for ONLYOFFICE projects
|