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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 34d264ee0c1c98ab9bf51ff823019fb9ae8733a2
4
- data.tar.gz: 5df02c87f4e02beff1b81eb707f81e1401d5e338
2
+ SHA256:
3
+ metadata.gz: e89420aaef1029a21847fffeb95477b60723a8db6e7761b808de8b5ee9e78974
4
+ data.tar.gz: 2c6637522c60f7782f51f41162b22f639296dfde4b13eaf2831449100b9fee72
5
5
  SHA512:
6
- metadata.gz: 54874f1aa1b87400a77c7c05131f23bf203b69961d154bfcf189644e478056bbf0b3ce1228db5d353c7c24b2a5023f5b3b2a2bffe6d051ddba40d7c7cbd90877
7
- data.tar.gz: 68957448dd7b8b0ea25a45f0cc56e051bbffb58acd17ce627f740a2085fc42a60fdef18aa4487604b03af68fa1940c0b877a824bd9aed1afc0b2a195eaac0d63
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.
@@ -1,3 +1,3 @@
1
1
  module SuperAwesomePrint
2
- VERSION = '0.2.5'.freeze
2
+ VERSION = '0.2.6'.freeze
3
3
  end
@@ -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
 
@@ -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', '~> 1.10'
23
- spec.add_development_dependency 'rake', '~> 10.0'
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.5
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: 2017-03-17 00:00:00.000000000 Z
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: '1.10'
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: '1.10'
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: '10.0'
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: '10.0'
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
- rubyforge_project:
97
- rubygems_version: 2.2.5
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: []
data/sapf.log DELETED
@@ -1,5 +0,0 @@
1
- *** 2017-03-17 18:40:40 +0200 ***
2
- class: Fixnum
3
- trace: (irb):1:in `irb_binding'
4
- 1
5
- *** END ***