awesome_print 1.8.0 → 1.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +1 -0
- data/Appraisals +43 -44
- data/CHANGELOG.md +20 -2
- data/CONTRIBUTING.md +1 -0
- data/LICENSE +16 -19
- data/README.md +43 -8
- data/awesome_print.gemspec +33 -0
- data/init.rb +1 -0
- data/lib/awesome_print/custom_defaults.rb +1 -1
- data/lib/awesome_print/ext/active_record.rb +26 -1
- data/lib/awesome_print/formatter.rb +20 -12
- data/lib/awesome_print/formatters/array_formatter.rb +2 -2
- data/lib/awesome_print/formatters/base_formatter.rb +3 -3
- data/lib/awesome_print/formatters/hash_formatter.rb +2 -2
- data/lib/awesome_print/formatters/object_formatter.rb +5 -2
- data/lib/awesome_print/inspector.rb +6 -3
- data/lib/awesome_print/version.rb +1 -1
- data/spec/ext/action_view_spec.rb +5 -2
- data/spec/ext/active_record_spec.rb +57 -49
- data/spec/ext/active_support_spec.rb +5 -1
- data/spec/ext/mongoid_spec.rb +2 -39
- data/spec/formats_spec.rb +4 -4
- data/spec/methods_spec.rb +10 -2
- data/spec/misc_spec.rb +25 -18
- data/spec/objects_spec.rb +49 -0
- data/spec/spec_helper.rb +4 -2
- data/spec/support/active_record_data/5_1_diana.txt +104 -0
- data/spec/support/active_record_data/5_1_multi.txt +210 -0
- data/spec/support/active_record_data/5_2_diana.txt +104 -0
- data/spec/support/active_record_data/5_2_multi.txt +210 -0
- data/spec/support/active_record_data/6_0_diana.txt +104 -0
- data/spec/support/active_record_data/6_0_multi.txt +210 -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/mongoid_versions.rb +10 -6
- data/spec/support/rails_versions.rb +20 -0
- metadata +45 -56
@@ -0,0 +1,109 @@
|
|
1
|
+
#<User:placeholder_id
|
2
|
+
@_start_transaction_state = nil,
|
3
|
+
@association_cache = {},
|
4
|
+
@destroyed = false,
|
5
|
+
@marked_for_destruction = false,
|
6
|
+
@new_record = true,
|
7
|
+
@previously_new_record = false,
|
8
|
+
@primary_key = "id",
|
9
|
+
@readonly = false,
|
10
|
+
@strict_loading = false,
|
11
|
+
attr_accessor :attributes = #<ActiveModel::AttributeSet:placeholder_id
|
12
|
+
@attributes = {
|
13
|
+
"admin" => #<ActiveModel::Attribute::FromUser:placeholder_id
|
14
|
+
@original_attribute = #<ActiveModel::Attribute::FromDatabase:placeholder_id
|
15
|
+
@original_attribute = nil,
|
16
|
+
attr_reader :name = "admin",
|
17
|
+
attr_reader :type = #<ActiveModel::Type::Boolean:placeholder_id
|
18
|
+
attr_reader :limit = nil,
|
19
|
+
attr_reader :precision = nil,
|
20
|
+
attr_reader :scale = nil
|
21
|
+
>,
|
22
|
+
attr_reader :value_before_type_cast = nil
|
23
|
+
>,
|
24
|
+
attr_reader :name = "admin",
|
25
|
+
attr_reader :type = #<ActiveModel::Type::Boolean:placeholder_id
|
26
|
+
attr_reader :limit = nil,
|
27
|
+
attr_reader :precision = nil,
|
28
|
+
attr_reader :scale = nil
|
29
|
+
>,
|
30
|
+
attr_reader :value_before_type_cast = false
|
31
|
+
>,
|
32
|
+
"created_at" => #<ActiveModel::Attribute::FromUser:placeholder_id
|
33
|
+
@original_attribute = #<ActiveModel::Attribute::FromDatabase:placeholder_id
|
34
|
+
@original_attribute = nil,
|
35
|
+
attr_reader :name = "created_at",
|
36
|
+
attr_reader :type = #<ActiveRecord::Type::DateTime:placeholder_id
|
37
|
+
attr_reader :limit = nil,
|
38
|
+
attr_reader :precision = nil,
|
39
|
+
attr_reader :scale = nil
|
40
|
+
>,
|
41
|
+
attr_reader :value_before_type_cast = nil
|
42
|
+
>,
|
43
|
+
attr_reader :name = "created_at",
|
44
|
+
attr_reader :type = #<ActiveRecord::Type::DateTime:placeholder_id
|
45
|
+
attr_reader :limit = nil,
|
46
|
+
attr_reader :precision = nil,
|
47
|
+
attr_reader :scale = nil
|
48
|
+
>,
|
49
|
+
attr_reader :value_before_type_cast = "1992-10-10 12:30:00"
|
50
|
+
>,
|
51
|
+
"id" => #<ActiveModel::Attribute::FromDatabase:placeholder_id
|
52
|
+
@original_attribute = nil,
|
53
|
+
attr_reader :name = "id",
|
54
|
+
attr_reader :type = #<ActiveRecord::ConnectionAdapters::SQLite3Adapter::SQLite3Integer:placeholder_id
|
55
|
+
@range = -9223372036854775808...9223372036854775808,
|
56
|
+
attr_reader :limit = nil,
|
57
|
+
attr_reader :precision = nil,
|
58
|
+
attr_reader :scale = nil
|
59
|
+
>,
|
60
|
+
attr_reader :value_before_type_cast = nil
|
61
|
+
>,
|
62
|
+
"name" => #<ActiveModel::Attribute::FromUser:placeholder_id
|
63
|
+
@original_attribute = #<ActiveModel::Attribute::FromDatabase:placeholder_id
|
64
|
+
@original_attribute = nil,
|
65
|
+
attr_reader :name = "name",
|
66
|
+
attr_reader :type = #<ActiveModel::Type::String:placeholder_id
|
67
|
+
@false = "f",
|
68
|
+
@true = "t",
|
69
|
+
attr_reader :limit = nil,
|
70
|
+
attr_reader :precision = nil,
|
71
|
+
attr_reader :scale = nil
|
72
|
+
>,
|
73
|
+
attr_reader :value_before_type_cast = nil
|
74
|
+
>,
|
75
|
+
attr_reader :name = "name",
|
76
|
+
attr_reader :type = #<ActiveModel::Type::String:placeholder_id
|
77
|
+
@false = "f",
|
78
|
+
@true = "t",
|
79
|
+
attr_reader :limit = nil,
|
80
|
+
attr_reader :precision = nil,
|
81
|
+
attr_reader :scale = nil
|
82
|
+
>,
|
83
|
+
attr_reader :value_before_type_cast = "Diana"
|
84
|
+
>,
|
85
|
+
"rank" => #<ActiveModel::Attribute::FromUser:placeholder_id
|
86
|
+
@original_attribute = #<ActiveModel::Attribute::FromDatabase:placeholder_id
|
87
|
+
@original_attribute = nil,
|
88
|
+
attr_reader :name = "rank",
|
89
|
+
attr_reader :type = #<ActiveRecord::ConnectionAdapters::SQLite3Adapter::SQLite3Integer:placeholder_id
|
90
|
+
@range = -9223372036854775808...9223372036854775808,
|
91
|
+
attr_reader :limit = nil,
|
92
|
+
attr_reader :precision = nil,
|
93
|
+
attr_reader :scale = nil
|
94
|
+
>,
|
95
|
+
attr_reader :value_before_type_cast = nil
|
96
|
+
>,
|
97
|
+
attr_reader :name = "rank",
|
98
|
+
attr_reader :type = #<ActiveRecord::ConnectionAdapters::SQLite3Adapter::SQLite3Integer:placeholder_id
|
99
|
+
@range = -9223372036854775808...9223372036854775808,
|
100
|
+
attr_reader :limit = nil,
|
101
|
+
attr_reader :precision = nil,
|
102
|
+
attr_reader :scale = nil
|
103
|
+
>,
|
104
|
+
attr_reader :value_before_type_cast = 1
|
105
|
+
>
|
106
|
+
}
|
107
|
+
>,
|
108
|
+
attr_accessor :destroyed_by_association = nil
|
109
|
+
>
|
@@ -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
|
+
]
|
@@ -3,16 +3,20 @@ module MongoidVersions
|
|
3
3
|
Gem::Version.new(Mongoid::VERSION)
|
4
4
|
end
|
5
5
|
|
6
|
-
def
|
7
|
-
Gem::Requirement.new('~>
|
6
|
+
def mongoid_5_0?
|
7
|
+
Gem::Requirement.new('~> 5.0.0').satisfied_by?(mongoid_version)
|
8
8
|
end
|
9
9
|
|
10
|
-
def
|
11
|
-
Gem::Requirement.new('~>
|
10
|
+
def mongoid_6_0?
|
11
|
+
Gem::Requirement.new('~> 6.0.0').satisfied_by?(mongoid_version)
|
12
12
|
end
|
13
13
|
|
14
|
-
def
|
15
|
-
Gem::Requirement.new('~>
|
14
|
+
def mongoid_7_0?
|
15
|
+
Gem::Requirement.new('~> 7.0.0').satisfied_by?(mongoid_version)
|
16
|
+
end
|
17
|
+
|
18
|
+
def mongoid_7_1?
|
19
|
+
Gem::Requirement.new('~> 7.1.0').satisfied_by?(mongoid_version)
|
16
20
|
end
|
17
21
|
end
|
18
22
|
|
@@ -3,6 +3,26 @@ module RailsVersions
|
|
3
3
|
Gem::Version.new(Rails::VERSION::STRING)
|
4
4
|
end
|
5
5
|
|
6
|
+
def rails_6_1?
|
7
|
+
Gem::Requirement.new('~> 6.1.0').satisfied_by?(rails_version)
|
8
|
+
end
|
9
|
+
alias_method :activerecord_6_1?, :rails_6_1?
|
10
|
+
|
11
|
+
def rails_6_0?
|
12
|
+
Gem::Requirement.new('~> 6.0.0').satisfied_by?(rails_version)
|
13
|
+
end
|
14
|
+
alias_method :activerecord_6_0?, :rails_6_0?
|
15
|
+
|
16
|
+
def rails_5_2?
|
17
|
+
Gem::Requirement.new('~> 5.2.0').satisfied_by?(rails_version)
|
18
|
+
end
|
19
|
+
alias_method :activerecord_5_2?, :rails_5_2?
|
20
|
+
|
21
|
+
def rails_5_1?
|
22
|
+
Gem::Requirement.new('~> 5.1.0').satisfied_by?(rails_version)
|
23
|
+
end
|
24
|
+
alias_method :activerecord_5_1?, :rails_5_1?
|
25
|
+
|
6
26
|
def rails_5_0?
|
7
27
|
Gem::Requirement.new('~> 5.0.0.racecar1').satisfied_by?(rails_version)
|
8
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: awesome_print
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Dvorkin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -72,43 +72,15 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 1.
|
75
|
+
version: 1.11.0
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 1.
|
83
|
-
|
84
|
-
name: simplecov
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: codeclimate-test-reporter
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
|
-
description: 'Great Ruby dubugging companion: pretty print Ruby objects to visualize
|
82
|
+
version: 1.11.0
|
83
|
+
description: 'Great Ruby debugging companion: pretty print Ruby objects to visualize
|
112
84
|
their structure. Supports custom object formatting via plugins'
|
113
85
|
email: mike@dvorkin.net
|
114
86
|
executables: []
|
@@ -124,6 +96,8 @@ files:
|
|
124
96
|
- LICENSE
|
125
97
|
- README.md
|
126
98
|
- Rakefile
|
99
|
+
- awesome_print.gemspec
|
100
|
+
- init.rb
|
127
101
|
- lib/ap.rb
|
128
102
|
- lib/awesome_print.rb
|
129
103
|
- lib/awesome_print/colorize.rb
|
@@ -193,6 +167,14 @@ files:
|
|
193
167
|
- spec/support/active_record_data/4_2_multi_legacy.txt
|
194
168
|
- spec/support/active_record_data/5_0_diana.txt
|
195
169
|
- spec/support/active_record_data/5_0_multi.txt
|
170
|
+
- spec/support/active_record_data/5_1_diana.txt
|
171
|
+
- spec/support/active_record_data/5_1_multi.txt
|
172
|
+
- spec/support/active_record_data/5_2_diana.txt
|
173
|
+
- spec/support/active_record_data/5_2_multi.txt
|
174
|
+
- spec/support/active_record_data/6_0_diana.txt
|
175
|
+
- spec/support/active_record_data/6_0_multi.txt
|
176
|
+
- spec/support/active_record_data/6_1_diana.txt
|
177
|
+
- spec/support/active_record_data/6_1_multi.txt
|
196
178
|
- spec/support/ext_verifier.rb
|
197
179
|
- spec/support/mongoid_versions.rb
|
198
180
|
- spec/support/rails_versions.rb
|
@@ -215,45 +197,52 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
215
197
|
- !ruby/object:Gem::Version
|
216
198
|
version: '0'
|
217
199
|
requirements: []
|
218
|
-
|
219
|
-
rubygems_version: 2.6.11
|
200
|
+
rubygems_version: 3.1.4
|
220
201
|
signing_key:
|
221
202
|
specification_version: 4
|
222
203
|
summary: Pretty print Ruby objects with proper indentation and colors
|
223
204
|
test_files:
|
224
|
-
- spec/
|
225
|
-
- spec/colors_spec.rb
|
205
|
+
- spec/spec_helper.rb
|
226
206
|
- spec/core_ext/logger_spec.rb
|
227
207
|
- spec/core_ext/string_spec.rb
|
228
|
-
- spec/
|
229
|
-
- spec/ext/active_record_spec.rb
|
208
|
+
- spec/colors_spec.rb
|
230
209
|
- spec/ext/active_support_spec.rb
|
231
|
-
- spec/ext/mongo_mapper_spec.rb
|
232
210
|
- spec/ext/mongoid_spec.rb
|
233
|
-
- spec/ext/
|
211
|
+
- spec/ext/active_record_spec.rb
|
212
|
+
- spec/ext/ripple_spec.rb
|
234
213
|
- spec/ext/nokogiri_spec.rb
|
214
|
+
- spec/ext/nobrainer_spec.rb
|
215
|
+
- spec/ext/mongo_mapper_spec.rb
|
235
216
|
- spec/ext/ostruct_spec.rb
|
236
|
-
- spec/ext/
|
237
|
-
- spec/formats_spec.rb
|
217
|
+
- spec/ext/action_view_spec.rb
|
238
218
|
- spec/methods_spec.rb
|
239
|
-
- spec/
|
219
|
+
- spec/active_record_helper.rb
|
240
220
|
- spec/objects_spec.rb
|
241
|
-
- spec/
|
221
|
+
- spec/support/mongoid_versions.rb
|
222
|
+
- spec/support/active_record_data/4_2_multi.txt
|
223
|
+
- spec/support/active_record_data/6_1_multi.txt
|
242
224
|
- spec/support/active_record_data/3_2_diana.txt
|
243
|
-
- spec/support/active_record_data/3_2_diana_legacy.txt
|
244
|
-
- spec/support/active_record_data/3_2_multi.txt
|
245
|
-
- spec/support/active_record_data/3_2_multi_legacy.txt
|
246
|
-
- spec/support/active_record_data/4_0_diana.txt
|
247
|
-
- spec/support/active_record_data/4_0_multi.txt
|
248
225
|
- spec/support/active_record_data/4_1_diana.txt
|
249
|
-
- spec/support/active_record_data/
|
250
|
-
- spec/support/active_record_data/
|
226
|
+
- spec/support/active_record_data/5_0_multi.txt
|
227
|
+
- spec/support/active_record_data/5_2_diana.txt
|
251
228
|
- spec/support/active_record_data/4_2_diana_legacy.txt
|
252
|
-
- spec/support/active_record_data/4_2_multi.txt
|
253
229
|
- spec/support/active_record_data/4_2_multi_legacy.txt
|
230
|
+
- spec/support/active_record_data/6_0_multi.txt
|
231
|
+
- spec/support/active_record_data/4_0_diana.txt
|
232
|
+
- 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/5_1_diana.txt
|
235
|
+
- spec/support/active_record_data/6_0_diana.txt
|
236
|
+
- spec/support/active_record_data/5_2_multi.txt
|
237
|
+
- spec/support/active_record_data/4_1_multi.txt
|
254
238
|
- spec/support/active_record_data/5_0_diana.txt
|
255
|
-
- spec/support/active_record_data/
|
256
|
-
- spec/support/active_record_data.
|
239
|
+
- spec/support/active_record_data/3_2_diana_legacy.txt
|
240
|
+
- spec/support/active_record_data/3_2_multi_legacy.txt
|
241
|
+
- spec/support/active_record_data/3_2_multi.txt
|
242
|
+
- spec/support/active_record_data/6_1_diana.txt
|
243
|
+
- spec/support/active_record_data/4_2_diana.txt
|
257
244
|
- spec/support/ext_verifier.rb
|
258
|
-
- spec/support/mongoid_versions.rb
|
259
245
|
- spec/support/rails_versions.rb
|
246
|
+
- spec/support/active_record_data.rb
|
247
|
+
- spec/formats_spec.rb
|
248
|
+
- spec/misc_spec.rb
|