amazing_print 1.0.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/Appraisals +47 -51
- data/CHANGELOG.md +32 -0
- data/Gemfile +2 -0
- data/LICENSE +1 -0
- data/README.md +20 -13
- data/Rakefile +2 -0
- data/lib/amazing_print.rb +19 -17
- data/lib/amazing_print/colorize.rb +2 -0
- data/lib/amazing_print/core_ext/awesome_method_array.rb +3 -1
- data/lib/amazing_print/core_ext/class.rb +2 -0
- data/lib/amazing_print/core_ext/kernel.rb +2 -0
- data/lib/amazing_print/core_ext/logger.rb +11 -2
- data/lib/amazing_print/core_ext/object.rb +2 -0
- data/lib/amazing_print/core_ext/string.rb +5 -2
- data/lib/amazing_print/custom_defaults.rb +3 -1
- data/lib/amazing_print/ext/action_view.rb +3 -1
- data/lib/amazing_print/ext/active_record.rb +9 -18
- data/lib/amazing_print/ext/active_support.rb +2 -0
- data/lib/amazing_print/ext/mongo_mapper.rb +4 -2
- data/lib/amazing_print/ext/mongoid.rb +2 -0
- data/lib/amazing_print/ext/nobrainer.rb +6 -0
- data/lib/amazing_print/ext/nokogiri.rb +2 -0
- data/lib/amazing_print/ext/ostruct.rb +2 -0
- data/lib/amazing_print/ext/ripple.rb +2 -0
- data/lib/amazing_print/ext/sequel.rb +4 -2
- data/lib/amazing_print/formatter.rb +9 -2
- data/lib/amazing_print/formatters.rb +12 -10
- data/lib/amazing_print/formatters/array_formatter.rb +3 -1
- data/lib/amazing_print/formatters/base_formatter.rb +5 -2
- data/lib/amazing_print/formatters/class_formatter.rb +2 -0
- data/lib/amazing_print/formatters/dir_formatter.rb +4 -1
- data/lib/amazing_print/formatters/file_formatter.rb +4 -1
- data/lib/amazing_print/formatters/hash_formatter.rb +4 -2
- data/lib/amazing_print/formatters/method_formatter.rb +2 -0
- data/lib/amazing_print/formatters/object_formatter.rb +14 -13
- data/lib/amazing_print/formatters/simple_formatter.rb +2 -0
- data/lib/amazing_print/formatters/struct_formatter.rb +9 -7
- data/lib/amazing_print/indentator.rb +2 -0
- data/lib/amazing_print/inspector.rb +9 -9
- data/lib/amazing_print/version.rb +3 -1
- data/lib/ap.rb +3 -1
- data/spec/active_record_helper.rb +10 -0
- data/spec/colors_spec.rb +43 -46
- data/spec/core_ext/logger_spec.rb +40 -14
- data/spec/core_ext/string_spec.rb +2 -7
- data/spec/ext/action_controller_spec.rb +40 -0
- data/spec/ext/action_view_spec.rb +8 -1
- data/spec/ext/active_model_spec.rb +37 -0
- data/spec/ext/active_record_spec.rb +42 -7
- data/spec/ext/active_support_spec.rb +12 -1
- data/spec/ext/mongo_mapper_spec.rb +8 -6
- data/spec/ext/mongoid_spec.rb +2 -0
- data/spec/ext/nobrainer_spec.rb +2 -0
- data/spec/ext/nokogiri_spec.rb +2 -0
- data/spec/ext/ostruct_spec.rb +2 -0
- data/spec/ext/ripple_spec.rb +2 -0
- data/spec/ext/sequel_spec.rb +45 -0
- data/spec/formats_spec.rb +10 -8
- data/spec/methods_spec.rb +37 -3
- data/spec/misc_spec.rb +3 -1
- data/spec/objects_spec.rb +2 -0
- data/spec/sequel_helper.rb +18 -0
- data/spec/spec_helper.rb +5 -1
- data/spec/support/active_record_data.rb +2 -0
- data/spec/support/active_record_data/6_1_diana.txt +109 -0
- data/spec/support/active_record_data/6_1_multi.txt +220 -0
- data/spec/support/ext_verifier.rb +9 -4
- data/spec/support/mongoid_versions.rb +2 -0
- data/spec/support/rails_versions.rb +7 -0
- metadata +79 -54
- data/lib/amazing_print/core_ext/method.rb +0 -21
@@ -0,0 +1,220 @@
|
|
1
|
+
[
|
2
|
+
[0] #<User:placeholder_id
|
3
|
+
@_start_transaction_state = nil,
|
4
|
+
@association_cache = {},
|
5
|
+
@destroyed = false,
|
6
|
+
@marked_for_destruction = false,
|
7
|
+
@new_record = true,
|
8
|
+
@previously_new_record = false,
|
9
|
+
@primary_key = "id",
|
10
|
+
@readonly = false,
|
11
|
+
@strict_loading = false,
|
12
|
+
attr_accessor :attributes = #<ActiveModel::AttributeSet:placeholder_id
|
13
|
+
@attributes = {
|
14
|
+
"admin" => #<ActiveModel::Attribute::FromUser:placeholder_id
|
15
|
+
@original_attribute = #<ActiveModel::Attribute::FromDatabase:placeholder_id
|
16
|
+
@original_attribute = nil,
|
17
|
+
attr_reader :name = "admin",
|
18
|
+
attr_reader :type = #<ActiveModel::Type::Boolean:placeholder_id
|
19
|
+
attr_reader :limit = nil,
|
20
|
+
attr_reader :precision = nil,
|
21
|
+
attr_reader :scale = nil
|
22
|
+
>,
|
23
|
+
attr_reader :value_before_type_cast = nil
|
24
|
+
>,
|
25
|
+
attr_reader :name = "admin",
|
26
|
+
attr_reader :type = #<ActiveModel::Type::Boolean:placeholder_id
|
27
|
+
attr_reader :limit = nil,
|
28
|
+
attr_reader :precision = nil,
|
29
|
+
attr_reader :scale = nil
|
30
|
+
>,
|
31
|
+
attr_reader :value_before_type_cast = false
|
32
|
+
>,
|
33
|
+
"created_at" => #<ActiveModel::Attribute::FromUser:placeholder_id
|
34
|
+
@original_attribute = #<ActiveModel::Attribute::FromDatabase:placeholder_id
|
35
|
+
@original_attribute = nil,
|
36
|
+
attr_reader :name = "created_at",
|
37
|
+
attr_reader :type = #<ActiveRecord::Type::DateTime:placeholder_id
|
38
|
+
attr_reader :limit = nil,
|
39
|
+
attr_reader :precision = nil,
|
40
|
+
attr_reader :scale = nil
|
41
|
+
>,
|
42
|
+
attr_reader :value_before_type_cast = nil
|
43
|
+
>,
|
44
|
+
attr_reader :name = "created_at",
|
45
|
+
attr_reader :type = #<ActiveRecord::Type::DateTime:placeholder_id
|
46
|
+
attr_reader :limit = nil,
|
47
|
+
attr_reader :precision = nil,
|
48
|
+
attr_reader :scale = nil
|
49
|
+
>,
|
50
|
+
attr_reader :value_before_type_cast = "1992-10-10 12:30:00"
|
51
|
+
>,
|
52
|
+
"id" => #<ActiveModel::Attribute::FromDatabase:placeholder_id
|
53
|
+
@original_attribute = nil,
|
54
|
+
attr_reader :name = "id",
|
55
|
+
attr_reader :type = #<ActiveRecord::ConnectionAdapters::SQLite3Adapter::SQLite3Integer:placeholder_id
|
56
|
+
@range = -9223372036854775808...9223372036854775808,
|
57
|
+
attr_reader :limit = nil,
|
58
|
+
attr_reader :precision = nil,
|
59
|
+
attr_reader :scale = nil
|
60
|
+
>,
|
61
|
+
attr_reader :value_before_type_cast = nil
|
62
|
+
>,
|
63
|
+
"name" => #<ActiveModel::Attribute::FromUser:placeholder_id
|
64
|
+
@original_attribute = #<ActiveModel::Attribute::FromDatabase:placeholder_id
|
65
|
+
@original_attribute = nil,
|
66
|
+
attr_reader :name = "name",
|
67
|
+
attr_reader :type = #<ActiveModel::Type::String:placeholder_id
|
68
|
+
@false = "f",
|
69
|
+
@true = "t",
|
70
|
+
attr_reader :limit = nil,
|
71
|
+
attr_reader :precision = nil,
|
72
|
+
attr_reader :scale = nil
|
73
|
+
>,
|
74
|
+
attr_reader :value_before_type_cast = nil
|
75
|
+
>,
|
76
|
+
attr_reader :name = "name",
|
77
|
+
attr_reader :type = #<ActiveModel::Type::String:placeholder_id
|
78
|
+
@false = "f",
|
79
|
+
@true = "t",
|
80
|
+
attr_reader :limit = nil,
|
81
|
+
attr_reader :precision = nil,
|
82
|
+
attr_reader :scale = nil
|
83
|
+
>,
|
84
|
+
attr_reader :value_before_type_cast = "Diana"
|
85
|
+
>,
|
86
|
+
"rank" => #<ActiveModel::Attribute::FromUser:placeholder_id
|
87
|
+
@original_attribute = #<ActiveModel::Attribute::FromDatabase:placeholder_id
|
88
|
+
@original_attribute = nil,
|
89
|
+
attr_reader :name = "rank",
|
90
|
+
attr_reader :type = #<ActiveRecord::ConnectionAdapters::SQLite3Adapter::SQLite3Integer:placeholder_id
|
91
|
+
@range = -9223372036854775808...9223372036854775808,
|
92
|
+
attr_reader :limit = nil,
|
93
|
+
attr_reader :precision = nil,
|
94
|
+
attr_reader :scale = nil
|
95
|
+
>,
|
96
|
+
attr_reader :value_before_type_cast = nil
|
97
|
+
>,
|
98
|
+
attr_reader :name = "rank",
|
99
|
+
attr_reader :type = #<ActiveRecord::ConnectionAdapters::SQLite3Adapter::SQLite3Integer:placeholder_id
|
100
|
+
@range = -9223372036854775808...9223372036854775808,
|
101
|
+
attr_reader :limit = nil,
|
102
|
+
attr_reader :precision = nil,
|
103
|
+
attr_reader :scale = nil
|
104
|
+
>,
|
105
|
+
attr_reader :value_before_type_cast = 1
|
106
|
+
>
|
107
|
+
}
|
108
|
+
>,
|
109
|
+
attr_accessor :destroyed_by_association = nil
|
110
|
+
>,
|
111
|
+
[1] #<User:placeholder_id
|
112
|
+
@_start_transaction_state = nil,
|
113
|
+
@association_cache = {},
|
114
|
+
@destroyed = false,
|
115
|
+
@marked_for_destruction = false,
|
116
|
+
@new_record = true,
|
117
|
+
@previously_new_record = false,
|
118
|
+
@primary_key = "id",
|
119
|
+
@readonly = false,
|
120
|
+
@strict_loading = false,
|
121
|
+
attr_accessor :attributes = #<ActiveModel::AttributeSet:placeholder_id
|
122
|
+
@attributes = {
|
123
|
+
"admin" => #<ActiveModel::Attribute::FromUser:placeholder_id
|
124
|
+
@original_attribute = #<ActiveModel::Attribute::FromDatabase:placeholder_id
|
125
|
+
@original_attribute = nil,
|
126
|
+
attr_reader :name = "admin",
|
127
|
+
attr_reader :type = #<ActiveModel::Type::Boolean:placeholder_id
|
128
|
+
attr_reader :limit = nil,
|
129
|
+
attr_reader :precision = nil,
|
130
|
+
attr_reader :scale = nil
|
131
|
+
>,
|
132
|
+
attr_reader :value_before_type_cast = nil
|
133
|
+
>,
|
134
|
+
attr_reader :name = "admin",
|
135
|
+
attr_reader :type = #<ActiveModel::Type::Boolean:placeholder_id
|
136
|
+
attr_reader :limit = nil,
|
137
|
+
attr_reader :precision = nil,
|
138
|
+
attr_reader :scale = nil
|
139
|
+
>,
|
140
|
+
attr_reader :value_before_type_cast = true
|
141
|
+
>,
|
142
|
+
"created_at" => #<ActiveModel::Attribute::FromUser:placeholder_id
|
143
|
+
@original_attribute = #<ActiveModel::Attribute::FromDatabase:placeholder_id
|
144
|
+
@original_attribute = nil,
|
145
|
+
attr_reader :name = "created_at",
|
146
|
+
attr_reader :type = #<ActiveRecord::Type::DateTime:placeholder_id
|
147
|
+
attr_reader :limit = nil,
|
148
|
+
attr_reader :precision = nil,
|
149
|
+
attr_reader :scale = nil
|
150
|
+
>,
|
151
|
+
attr_reader :value_before_type_cast = nil
|
152
|
+
>,
|
153
|
+
attr_reader :name = "created_at",
|
154
|
+
attr_reader :type = #<ActiveRecord::Type::DateTime:placeholder_id
|
155
|
+
attr_reader :limit = nil,
|
156
|
+
attr_reader :precision = nil,
|
157
|
+
attr_reader :scale = nil
|
158
|
+
>,
|
159
|
+
attr_reader :value_before_type_cast = "2003-05-26 14:15:00"
|
160
|
+
>,
|
161
|
+
"id" => #<ActiveModel::Attribute::FromDatabase:placeholder_id
|
162
|
+
@original_attribute = nil,
|
163
|
+
attr_reader :name = "id",
|
164
|
+
attr_reader :type = #<ActiveRecord::ConnectionAdapters::SQLite3Adapter::SQLite3Integer:placeholder_id
|
165
|
+
@range = -9223372036854775808...9223372036854775808,
|
166
|
+
attr_reader :limit = nil,
|
167
|
+
attr_reader :precision = nil,
|
168
|
+
attr_reader :scale = nil
|
169
|
+
>,
|
170
|
+
attr_reader :value_before_type_cast = nil
|
171
|
+
>,
|
172
|
+
"name" => #<ActiveModel::Attribute::FromUser:placeholder_id
|
173
|
+
@original_attribute = #<ActiveModel::Attribute::FromDatabase:placeholder_id
|
174
|
+
@original_attribute = nil,
|
175
|
+
attr_reader :name = "name",
|
176
|
+
attr_reader :type = #<ActiveModel::Type::String:placeholder_id
|
177
|
+
@false = "f",
|
178
|
+
@true = "t",
|
179
|
+
attr_reader :limit = nil,
|
180
|
+
attr_reader :precision = nil,
|
181
|
+
attr_reader :scale = nil
|
182
|
+
>,
|
183
|
+
attr_reader :value_before_type_cast = nil
|
184
|
+
>,
|
185
|
+
attr_reader :name = "name",
|
186
|
+
attr_reader :type = #<ActiveModel::Type::String:placeholder_id
|
187
|
+
@false = "f",
|
188
|
+
@true = "t",
|
189
|
+
attr_reader :limit = nil,
|
190
|
+
attr_reader :precision = nil,
|
191
|
+
attr_reader :scale = nil
|
192
|
+
>,
|
193
|
+
attr_reader :value_before_type_cast = "Laura"
|
194
|
+
>,
|
195
|
+
"rank" => #<ActiveModel::Attribute::FromUser:placeholder_id
|
196
|
+
@original_attribute = #<ActiveModel::Attribute::FromDatabase:placeholder_id
|
197
|
+
@original_attribute = nil,
|
198
|
+
attr_reader :name = "rank",
|
199
|
+
attr_reader :type = #<ActiveRecord::ConnectionAdapters::SQLite3Adapter::SQLite3Integer:placeholder_id
|
200
|
+
@range = -9223372036854775808...9223372036854775808,
|
201
|
+
attr_reader :limit = nil,
|
202
|
+
attr_reader :precision = nil,
|
203
|
+
attr_reader :scale = nil
|
204
|
+
>,
|
205
|
+
attr_reader :value_before_type_cast = nil
|
206
|
+
>,
|
207
|
+
attr_reader :name = "rank",
|
208
|
+
attr_reader :type = #<ActiveRecord::ConnectionAdapters::SQLite3Adapter::SQLite3Integer:placeholder_id
|
209
|
+
@range = -9223372036854775808...9223372036854775808,
|
210
|
+
attr_reader :limit = nil,
|
211
|
+
attr_reader :precision = nil,
|
212
|
+
attr_reader :scale = nil
|
213
|
+
>,
|
214
|
+
attr_reader :value_before_type_cast = 2
|
215
|
+
>
|
216
|
+
}
|
217
|
+
>,
|
218
|
+
attr_accessor :destroyed_by_association = nil
|
219
|
+
>
|
220
|
+
]
|
@@ -1,10 +1,10 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module ExtVerifier
|
2
4
|
def require_dependencies!(dependencies)
|
3
5
|
dependencies.each do |dependency|
|
4
|
-
|
5
|
-
|
6
|
-
rescue LoadError
|
7
|
-
end
|
6
|
+
require dependency
|
7
|
+
rescue LoadError
|
8
8
|
end
|
9
9
|
end
|
10
10
|
module_function :require_dependencies!
|
@@ -33,6 +33,11 @@ module ExtVerifier
|
|
33
33
|
defined?(NoBrainer)
|
34
34
|
end
|
35
35
|
module_function :has_nobrainer?
|
36
|
+
|
37
|
+
def has_sequel?
|
38
|
+
defined?(::Sequel::Model)
|
39
|
+
end
|
40
|
+
module_function :has_sequel?
|
36
41
|
end
|
37
42
|
|
38
43
|
RSpec.configure do |config|
|
@@ -1,8 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module RailsVersions
|
2
4
|
def rails_version
|
3
5
|
Gem::Version.new(Rails::VERSION::STRING)
|
4
6
|
end
|
5
7
|
|
8
|
+
def rails_6_1?
|
9
|
+
Gem::Requirement.new('~> 6.1.0').satisfied_by?(rails_version)
|
10
|
+
end
|
11
|
+
alias activerecord_6_1? rails_6_1?
|
12
|
+
|
6
13
|
def rails_6_0?
|
7
14
|
Gem::Requirement.new('~> 6.0.0').satisfied_by?(rails_version)
|
8
15
|
end
|
metadata
CHANGED
@@ -1,58 +1,58 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amazing_print
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Dvorkin
|
8
|
-
- Kevin
|
9
|
-
autorequire:
|
8
|
+
- Kevin McCormackPatrik Wenger
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-03-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: appraisal
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - "
|
18
|
+
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '
|
20
|
+
version: '2.3'
|
21
21
|
type: :development
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- - "
|
25
|
+
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: '
|
27
|
+
version: '2.3'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: fakefs
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- - "
|
32
|
+
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version:
|
34
|
+
version: '1.2'
|
35
35
|
type: :development
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- - "
|
39
|
+
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version:
|
41
|
+
version: '1.2'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: nokogiri
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
|
-
- - "
|
46
|
+
- - "~>"
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version: 1.
|
48
|
+
version: '1.10'
|
49
49
|
type: :development
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- - "
|
53
|
+
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 1.
|
55
|
+
version: '1.10'
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: pry
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
@@ -71,16 +71,30 @@ dependencies:
|
|
71
71
|
name: rspec
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- - "
|
74
|
+
- - "~>"
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: 3.
|
76
|
+
version: '3.9'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
|
-
- - "
|
81
|
+
- - "~>"
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: 3.
|
83
|
+
version: '3.9'
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: rubocop
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
requirements:
|
88
|
+
- - "~>"
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: 0.81.0
|
91
|
+
type: :development
|
92
|
+
prerelease: false
|
93
|
+
version_requirements: !ruby/object:Gem::Requirement
|
94
|
+
requirements:
|
95
|
+
- - "~>"
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
version: 0.81.0
|
84
98
|
description: 'Great Ruby debugging companion: pretty print Ruby objects to visualize
|
85
99
|
their structure. Supports custom object formatting via plugins'
|
86
100
|
email: harlemsquirrel@gmail.com
|
@@ -103,7 +117,6 @@ files:
|
|
103
117
|
- lib/amazing_print/core_ext/class.rb
|
104
118
|
- lib/amazing_print/core_ext/kernel.rb
|
105
119
|
- lib/amazing_print/core_ext/logger.rb
|
106
|
-
- lib/amazing_print/core_ext/method.rb
|
107
120
|
- lib/amazing_print/core_ext/object.rb
|
108
121
|
- lib/amazing_print/core_ext/string.rb
|
109
122
|
- lib/amazing_print/custom_defaults.rb
|
@@ -137,7 +150,9 @@ files:
|
|
137
150
|
- spec/colors_spec.rb
|
138
151
|
- spec/core_ext/logger_spec.rb
|
139
152
|
- spec/core_ext/string_spec.rb
|
153
|
+
- spec/ext/action_controller_spec.rb
|
140
154
|
- spec/ext/action_view_spec.rb
|
155
|
+
- spec/ext/active_model_spec.rb
|
141
156
|
- spec/ext/active_record_spec.rb
|
142
157
|
- spec/ext/active_support_spec.rb
|
143
158
|
- spec/ext/mongo_mapper_spec.rb
|
@@ -146,10 +161,12 @@ files:
|
|
146
161
|
- spec/ext/nokogiri_spec.rb
|
147
162
|
- spec/ext/ostruct_spec.rb
|
148
163
|
- spec/ext/ripple_spec.rb
|
164
|
+
- spec/ext/sequel_spec.rb
|
149
165
|
- spec/formats_spec.rb
|
150
166
|
- spec/methods_spec.rb
|
151
167
|
- spec/misc_spec.rb
|
152
168
|
- spec/objects_spec.rb
|
169
|
+
- spec/sequel_helper.rb
|
153
170
|
- spec/spec_helper.rb
|
154
171
|
- spec/support/active_record_data.rb
|
155
172
|
- spec/support/active_record_data/3_2_diana.txt
|
@@ -172,6 +189,8 @@ files:
|
|
172
189
|
- spec/support/active_record_data/5_2_multi.txt
|
173
190
|
- spec/support/active_record_data/6_0_diana.txt
|
174
191
|
- spec/support/active_record_data/6_0_multi.txt
|
192
|
+
- spec/support/active_record_data/6_1_diana.txt
|
193
|
+
- spec/support/active_record_data/6_1_multi.txt
|
175
194
|
- spec/support/ext_verifier.rb
|
176
195
|
- spec/support/mongoid_versions.rb
|
177
196
|
- spec/support/rails_versions.rb
|
@@ -179,7 +198,7 @@ homepage: https://github.com/amazing-print/amazing_print
|
|
179
198
|
licenses:
|
180
199
|
- MIT
|
181
200
|
metadata: {}
|
182
|
-
post_install_message:
|
201
|
+
post_install_message:
|
183
202
|
rdoc_options: []
|
184
203
|
require_paths:
|
185
204
|
- lib
|
@@ -187,57 +206,63 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
187
206
|
requirements:
|
188
207
|
- - ">="
|
189
208
|
- !ruby/object:Gem::Version
|
190
|
-
version:
|
209
|
+
version: 2.5.0
|
191
210
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
192
211
|
requirements:
|
193
212
|
- - ">="
|
194
213
|
- !ruby/object:Gem::Version
|
195
214
|
version: '0'
|
196
215
|
requirements: []
|
197
|
-
rubygems_version: 3.
|
198
|
-
signing_key:
|
216
|
+
rubygems_version: 3.2.3
|
217
|
+
signing_key:
|
199
218
|
specification_version: 4
|
200
219
|
summary: Pretty print Ruby objects with proper indentation and colors
|
201
220
|
test_files:
|
202
|
-
- spec/methods_spec.rb
|
203
|
-
- spec/spec_helper.rb
|
204
|
-
- spec/colors_spec.rb
|
205
|
-
- spec/formats_spec.rb
|
206
221
|
- spec/active_record_helper.rb
|
207
|
-
- spec/
|
208
|
-
- spec/
|
222
|
+
- spec/colors_spec.rb
|
223
|
+
- spec/core_ext/logger_spec.rb
|
224
|
+
- spec/core_ext/string_spec.rb
|
225
|
+
- spec/ext/action_controller_spec.rb
|
209
226
|
- spec/ext/action_view_spec.rb
|
210
|
-
- spec/ext/
|
211
|
-
- spec/ext/
|
212
|
-
- spec/ext/ripple_spec.rb
|
227
|
+
- spec/ext/active_model_spec.rb
|
228
|
+
- spec/ext/active_record_spec.rb
|
213
229
|
- spec/ext/active_support_spec.rb
|
214
|
-
- spec/ext/nokogiri_spec.rb
|
215
230
|
- spec/ext/mongo_mapper_spec.rb
|
231
|
+
- spec/ext/mongoid_spec.rb
|
216
232
|
- spec/ext/nobrainer_spec.rb
|
217
|
-
- spec/
|
218
|
-
- spec/
|
219
|
-
- spec/
|
220
|
-
- spec/
|
221
|
-
- spec/
|
222
|
-
- spec/
|
233
|
+
- spec/ext/nokogiri_spec.rb
|
234
|
+
- spec/ext/ostruct_spec.rb
|
235
|
+
- spec/ext/ripple_spec.rb
|
236
|
+
- spec/ext/sequel_spec.rb
|
237
|
+
- spec/formats_spec.rb
|
238
|
+
- spec/methods_spec.rb
|
239
|
+
- spec/misc_spec.rb
|
240
|
+
- spec/objects_spec.rb
|
241
|
+
- spec/sequel_helper.rb
|
242
|
+
- spec/spec_helper.rb
|
223
243
|
- spec/support/active_record_data/3_2_diana.txt
|
244
|
+
- spec/support/active_record_data/3_2_diana_legacy.txt
|
245
|
+
- spec/support/active_record_data/3_2_multi.txt
|
246
|
+
- spec/support/active_record_data/3_2_multi_legacy.txt
|
224
247
|
- spec/support/active_record_data/4_0_diana.txt
|
248
|
+
- spec/support/active_record_data/4_0_multi.txt
|
249
|
+
- spec/support/active_record_data/4_1_diana.txt
|
250
|
+
- spec/support/active_record_data/4_1_multi.txt
|
251
|
+
- spec/support/active_record_data/4_2_diana.txt
|
225
252
|
- spec/support/active_record_data/4_2_diana_legacy.txt
|
226
|
-
- spec/support/active_record_data/5_1_diana.txt
|
227
|
-
- spec/support/active_record_data/6_0_multi.txt
|
228
|
-
- spec/support/active_record_data/3_2_multi_legacy.txt
|
229
|
-
- spec/support/active_record_data/5_0_multi.txt
|
230
|
-
- spec/support/active_record_data/5_2_multi.txt
|
231
253
|
- spec/support/active_record_data/4_2_multi.txt
|
254
|
+
- spec/support/active_record_data/4_2_multi_legacy.txt
|
255
|
+
- spec/support/active_record_data/5_0_diana.txt
|
256
|
+
- spec/support/active_record_data/5_0_multi.txt
|
257
|
+
- spec/support/active_record_data/5_1_diana.txt
|
232
258
|
- spec/support/active_record_data/5_1_multi.txt
|
233
|
-
- spec/support/active_record_data/4_0_multi.txt
|
234
|
-
- spec/support/active_record_data/3_2_diana_legacy.txt
|
235
|
-
- spec/support/active_record_data/4_1_multi.txt
|
236
259
|
- spec/support/active_record_data/5_2_diana.txt
|
237
|
-
- spec/support/active_record_data/
|
238
|
-
- spec/support/active_record_data/
|
239
|
-
- spec/support/active_record_data/
|
240
|
-
- spec/support/
|
260
|
+
- spec/support/active_record_data/5_2_multi.txt
|
261
|
+
- spec/support/active_record_data/6_0_diana.txt
|
262
|
+
- spec/support/active_record_data/6_0_multi.txt
|
263
|
+
- spec/support/active_record_data/6_1_diana.txt
|
264
|
+
- spec/support/active_record_data/6_1_multi.txt
|
241
265
|
- spec/support/active_record_data.rb
|
242
266
|
- spec/support/ext_verifier.rb
|
243
|
-
- spec/
|
267
|
+
- spec/support/mongoid_versions.rb
|
268
|
+
- spec/support/rails_versions.rb
|