super_awesome_print 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +2 -0
- data/lib/super_awesome_print/version.rb +1 -1
- data/lib/super_awesome_print.rb +2 -1
- data/super_awesome_print.gemspec +2 -2
- metadata +14 -16
- data/sapf.log +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e89420aaef1029a21847fffeb95477b60723a8db6e7761b808de8b5ee9e78974
|
4
|
+
data.tar.gz: 2c6637522c60f7782f51f41162b22f639296dfde4b13eaf2831449100b9fee72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4d7e795ac179d1b9c0d289b8690e00e5df00c36cac5db18e7071c96dd7c3b2d801924d401f903f8b3973021a4fba00a562a354f966e198203d460a29fa85d31
|
7
|
+
data.tar.gz: 676fb0021bff46767b692551a18aaaa88183c5740bcd9b75649e54544385c4097a4d9a067ef2ee022500f4919daf148b8dc28bd07866c5d029d06e49878a27ee
|
data/README.md
CHANGED
@@ -51,6 +51,8 @@ sapf 'hello world'
|
|
51
51
|
|
52
52
|
By default it will print everything to `sapf.log` file in current directory or to `log/sapf.log` if you're on Rails. See `log_file_path` config option to override this.
|
53
53
|
|
54
|
+
Also, take a look at [cop for RuboCop](https://github.com/olegantonyan/super_awesome_print_rubocop) to make `sap` didn't leak into production.
|
55
|
+
|
54
56
|
## Development
|
55
57
|
|
56
58
|
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.
|
data/lib/super_awesome_print.rb
CHANGED
@@ -11,6 +11,7 @@ module Kernel
|
|
11
11
|
ap msg
|
12
12
|
ap '*** END ***', :color => { :string => :green }
|
13
13
|
SuperAwesomePrint.blank_lines_bottom
|
14
|
+
msg
|
14
15
|
end
|
15
16
|
|
16
17
|
def sapf(msg)
|
@@ -29,7 +30,7 @@ module Kernel
|
|
29
30
|
file.puts(msg.inspect)
|
30
31
|
file.puts('*** END ***')
|
31
32
|
ensure
|
32
|
-
file.close
|
33
|
+
file.close
|
33
34
|
end
|
34
35
|
end
|
35
36
|
|
data/super_awesome_print.gemspec
CHANGED
@@ -19,8 +19,8 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ['lib']
|
21
21
|
|
22
|
-
spec.add_development_dependency 'bundler'
|
23
|
-
spec.add_development_dependency 'rake'
|
22
|
+
spec.add_development_dependency 'bundler'
|
23
|
+
spec.add_development_dependency 'rake'
|
24
24
|
|
25
25
|
if RUBY_VERSION < '1.9.3'
|
26
26
|
spec.add_runtime_dependency 'awesome_print', '1.2.0'
|
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: super_awesome_print
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oleg Antonyan
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: awesome_print
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,13 +72,12 @@ files:
|
|
72
72
|
- lib/super_awesome_print.rb
|
73
73
|
- lib/super_awesome_print/configuration.rb
|
74
74
|
- lib/super_awesome_print/version.rb
|
75
|
-
- sapf.log
|
76
75
|
- super_awesome_print.gemspec
|
77
76
|
homepage: http://github.com/olegantonyan/super_awesome_print
|
78
77
|
licenses:
|
79
78
|
- MIT
|
80
79
|
metadata: {}
|
81
|
-
post_install_message:
|
80
|
+
post_install_message:
|
82
81
|
rdoc_options: []
|
83
82
|
require_paths:
|
84
83
|
- lib
|
@@ -93,9 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
93
92
|
- !ruby/object:Gem::Version
|
94
93
|
version: '0'
|
95
94
|
requirements: []
|
96
|
-
|
97
|
-
|
98
|
-
signing_key:
|
95
|
+
rubygems_version: 3.3.7
|
96
|
+
signing_key:
|
99
97
|
specification_version: 4
|
100
98
|
summary: Simple wrapper around awesome_print for easier look in long log
|
101
99
|
test_files: []
|