awesome_print 1.7.0 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -0
- data/Appraisals +11 -0
- data/CHANGELOG.md +10 -0
- data/CONTRIBUTING.md +1 -1
- data/README.md +47 -38
- data/Rakefile +5 -5
- data/lib/ap.rb +2 -2
- data/lib/awesome_print.rb +18 -17
- data/lib/awesome_print/colorize.rb +1 -1
- data/lib/awesome_print/core_ext/{array.rb → awesome_method_array.rb} +16 -18
- data/lib/awesome_print/core_ext/class.rb +3 -2
- data/lib/awesome_print/core_ext/kernel.rb +1 -1
- data/lib/awesome_print/core_ext/logger.rb +1 -1
- data/lib/awesome_print/core_ext/method.rb +2 -2
- data/lib/awesome_print/core_ext/object.rb +3 -2
- data/lib/awesome_print/core_ext/string.rb +3 -3
- data/lib/awesome_print/custom_defaults.rb +57 -0
- data/lib/awesome_print/ext/action_view.rb +8 -4
- data/lib/awesome_print/ext/active_record.rb +19 -11
- data/lib/awesome_print/ext/active_support.rb +1 -1
- data/lib/awesome_print/ext/mongo_mapper.rb +16 -13
- data/lib/awesome_print/ext/mongoid.rb +8 -6
- data/lib/awesome_print/ext/nobrainer.rb +8 -5
- data/lib/awesome_print/ext/nokogiri.rb +4 -4
- data/lib/awesome_print/ext/ostruct.rb +1 -1
- data/lib/awesome_print/ext/ripple.rb +5 -6
- data/lib/awesome_print/ext/sequel.rb +7 -6
- data/lib/awesome_print/formatter.rb +11 -19
- data/lib/awesome_print/formatters.rb +15 -0
- data/lib/awesome_print/formatters/array_formatter.rb +108 -42
- data/lib/awesome_print/formatters/base_formatter.rb +13 -11
- data/lib/awesome_print/formatters/class_formatter.rb +2 -1
- data/lib/awesome_print/formatters/dir_formatter.rb +1 -1
- data/lib/awesome_print/formatters/file_formatter.rb +1 -1
- data/lib/awesome_print/formatters/hash_formatter.rb +74 -22
- data/lib/awesome_print/formatters/object_formatter.rb +9 -14
- data/lib/awesome_print/formatters/struct_formatter.rb +71 -0
- data/lib/awesome_print/inspector.rb +77 -93
- data/lib/awesome_print/version.rb +2 -2
- data/spec/active_record_helper.rb +8 -2
- data/spec/colors_spec.rb +30 -30
- data/spec/core_ext/logger_spec.rb +43 -0
- data/spec/core_ext/string_spec.rb +20 -0
- data/spec/ext/action_view_spec.rb +18 -0
- data/spec/ext/active_record_spec.rb +252 -0
- data/spec/ext/active_support_spec.rb +26 -0
- data/spec/ext/mongo_mapper_spec.rb +261 -0
- data/spec/ext/mongoid_spec.rb +104 -0
- data/spec/ext/nobrainer_spec.rb +59 -0
- data/spec/ext/nokogiri_spec.rb +46 -0
- data/spec/ext/ostruct_spec.rb +22 -0
- data/spec/ext/ripple_spec.rb +48 -0
- data/spec/formats_spec.rb +193 -165
- data/spec/methods_spec.rb +116 -128
- data/spec/misc_spec.rb +104 -108
- data/spec/objects_spec.rb +70 -28
- data/spec/spec_helper.rb +27 -10
- data/spec/support/active_record_data.rb +20 -0
- data/spec/support/active_record_data/3_2_diana.txt +24 -0
- data/spec/support/active_record_data/3_2_diana_legacy.txt +24 -0
- data/spec/support/active_record_data/3_2_multi.txt +50 -0
- data/spec/support/active_record_data/3_2_multi_legacy.txt +50 -0
- data/spec/support/active_record_data/4_0_diana.txt +98 -0
- data/spec/support/active_record_data/4_0_multi.txt +198 -0
- data/spec/support/active_record_data/4_1_diana.txt +97 -0
- data/spec/support/active_record_data/4_1_multi.txt +196 -0
- data/spec/support/active_record_data/4_2_diana.txt +109 -0
- data/spec/support/active_record_data/4_2_diana_legacy.txt +109 -0
- data/spec/support/active_record_data/4_2_multi.txt +220 -0
- data/spec/support/active_record_data/4_2_multi_legacy.txt +220 -0
- data/spec/support/active_record_data/5_0_diana.txt +105 -0
- data/spec/support/active_record_data/5_0_multi.txt +212 -0
- data/spec/support/ext_verifier.rb +42 -0
- data/spec/support/mongoid_versions.rb +22 -0
- data/spec/support/rails_versions.rb +35 -0
- metadata +79 -4
@@ -0,0 +1,212 @@
|
|
1
|
+
[
|
2
|
+
[0] #<User:placeholder_id
|
3
|
+
@_start_transaction_state = {},
|
4
|
+
@aggregation_cache = {},
|
5
|
+
@association_cache = {},
|
6
|
+
@destroyed = false,
|
7
|
+
@marked_for_destruction = false,
|
8
|
+
@new_record = true,
|
9
|
+
@readonly = false,
|
10
|
+
@transaction_state = nil,
|
11
|
+
@txn = nil,
|
12
|
+
attr_accessor :attributes = #<ActiveRecord::AttributeSet:placeholder_id
|
13
|
+
@attributes = {
|
14
|
+
"admin" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
15
|
+
@original_attribute = #<ActiveRecord::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" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
34
|
+
@original_attribute = #<ActiveRecord::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" => #<ActiveRecord::Attribute::FromDatabase:placeholder_id
|
53
|
+
@original_attribute = nil,
|
54
|
+
attr_reader :name = "id",
|
55
|
+
attr_reader :type = #<ActiveModel::Type::Integer:placeholder_id
|
56
|
+
@range = -2147483648...2147483648,
|
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" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
64
|
+
@original_attribute = #<ActiveRecord::Attribute::FromDatabase:placeholder_id
|
65
|
+
@original_attribute = nil,
|
66
|
+
attr_reader :name = "name",
|
67
|
+
attr_reader :type = #<ActiveModel::Type::String:placeholder_id
|
68
|
+
attr_reader :limit = nil,
|
69
|
+
attr_reader :precision = nil,
|
70
|
+
attr_reader :scale = nil
|
71
|
+
>,
|
72
|
+
attr_reader :value_before_type_cast = nil
|
73
|
+
>,
|
74
|
+
attr_reader :name = "name",
|
75
|
+
attr_reader :type = #<ActiveModel::Type::String:placeholder_id
|
76
|
+
attr_reader :limit = nil,
|
77
|
+
attr_reader :precision = nil,
|
78
|
+
attr_reader :scale = nil
|
79
|
+
>,
|
80
|
+
attr_reader :value_before_type_cast = "Diana"
|
81
|
+
>,
|
82
|
+
"rank" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
83
|
+
@original_attribute = #<ActiveRecord::Attribute::FromDatabase:placeholder_id
|
84
|
+
@original_attribute = nil,
|
85
|
+
attr_reader :name = "rank",
|
86
|
+
attr_reader :type = #<ActiveModel::Type::Integer:placeholder_id
|
87
|
+
@range = -2147483648...2147483648,
|
88
|
+
attr_reader :limit = nil,
|
89
|
+
attr_reader :precision = nil,
|
90
|
+
attr_reader :scale = nil
|
91
|
+
>,
|
92
|
+
attr_reader :value_before_type_cast = nil
|
93
|
+
>,
|
94
|
+
attr_reader :name = "rank",
|
95
|
+
attr_reader :type = #<ActiveModel::Type::Integer:placeholder_id
|
96
|
+
@range = -2147483648...2147483648,
|
97
|
+
attr_reader :limit = nil,
|
98
|
+
attr_reader :precision = nil,
|
99
|
+
attr_reader :scale = nil
|
100
|
+
>,
|
101
|
+
attr_reader :value_before_type_cast = 1
|
102
|
+
>
|
103
|
+
}
|
104
|
+
>,
|
105
|
+
attr_accessor :destroyed_by_association = nil
|
106
|
+
>,
|
107
|
+
[1] #<User:placeholder_id
|
108
|
+
@_start_transaction_state = {},
|
109
|
+
@aggregation_cache = {},
|
110
|
+
@association_cache = {},
|
111
|
+
@destroyed = false,
|
112
|
+
@marked_for_destruction = false,
|
113
|
+
@new_record = true,
|
114
|
+
@readonly = false,
|
115
|
+
@transaction_state = nil,
|
116
|
+
@txn = nil,
|
117
|
+
attr_accessor :attributes = #<ActiveRecord::AttributeSet:placeholder_id
|
118
|
+
@attributes = {
|
119
|
+
"admin" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
120
|
+
@original_attribute = #<ActiveRecord::Attribute::FromDatabase:placeholder_id
|
121
|
+
@original_attribute = nil,
|
122
|
+
attr_reader :name = "admin",
|
123
|
+
attr_reader :type = #<ActiveModel::Type::Boolean:placeholder_id
|
124
|
+
attr_reader :limit = nil,
|
125
|
+
attr_reader :precision = nil,
|
126
|
+
attr_reader :scale = nil
|
127
|
+
>,
|
128
|
+
attr_reader :value_before_type_cast = nil
|
129
|
+
>,
|
130
|
+
attr_reader :name = "admin",
|
131
|
+
attr_reader :type = #<ActiveModel::Type::Boolean:placeholder_id
|
132
|
+
attr_reader :limit = nil,
|
133
|
+
attr_reader :precision = nil,
|
134
|
+
attr_reader :scale = nil
|
135
|
+
>,
|
136
|
+
attr_reader :value_before_type_cast = true
|
137
|
+
>,
|
138
|
+
"created_at" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
139
|
+
@original_attribute = #<ActiveRecord::Attribute::FromDatabase:placeholder_id
|
140
|
+
@original_attribute = nil,
|
141
|
+
attr_reader :name = "created_at",
|
142
|
+
attr_reader :type = #<ActiveRecord::Type::DateTime:placeholder_id
|
143
|
+
attr_reader :limit = nil,
|
144
|
+
attr_reader :precision = nil,
|
145
|
+
attr_reader :scale = nil
|
146
|
+
>,
|
147
|
+
attr_reader :value_before_type_cast = nil
|
148
|
+
>,
|
149
|
+
attr_reader :name = "created_at",
|
150
|
+
attr_reader :type = #<ActiveRecord::Type::DateTime:placeholder_id
|
151
|
+
attr_reader :limit = nil,
|
152
|
+
attr_reader :precision = nil,
|
153
|
+
attr_reader :scale = nil
|
154
|
+
>,
|
155
|
+
attr_reader :value_before_type_cast = "2003-05-26 14:15:00"
|
156
|
+
>,
|
157
|
+
"id" => #<ActiveRecord::Attribute::FromDatabase:placeholder_id
|
158
|
+
@original_attribute = nil,
|
159
|
+
attr_reader :name = "id",
|
160
|
+
attr_reader :type = #<ActiveModel::Type::Integer:placeholder_id
|
161
|
+
@range = -2147483648...2147483648,
|
162
|
+
attr_reader :limit = nil,
|
163
|
+
attr_reader :precision = nil,
|
164
|
+
attr_reader :scale = nil
|
165
|
+
>,
|
166
|
+
attr_reader :value_before_type_cast = nil
|
167
|
+
>,
|
168
|
+
"name" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
169
|
+
@original_attribute = #<ActiveRecord::Attribute::FromDatabase:placeholder_id
|
170
|
+
@original_attribute = nil,
|
171
|
+
attr_reader :name = "name",
|
172
|
+
attr_reader :type = #<ActiveModel::Type::String:placeholder_id
|
173
|
+
attr_reader :limit = nil,
|
174
|
+
attr_reader :precision = nil,
|
175
|
+
attr_reader :scale = nil
|
176
|
+
>,
|
177
|
+
attr_reader :value_before_type_cast = nil
|
178
|
+
>,
|
179
|
+
attr_reader :name = "name",
|
180
|
+
attr_reader :type = #<ActiveModel::Type::String:placeholder_id
|
181
|
+
attr_reader :limit = nil,
|
182
|
+
attr_reader :precision = nil,
|
183
|
+
attr_reader :scale = nil
|
184
|
+
>,
|
185
|
+
attr_reader :value_before_type_cast = "Laura"
|
186
|
+
>,
|
187
|
+
"rank" => #<ActiveRecord::Attribute::FromUser:placeholder_id
|
188
|
+
@original_attribute = #<ActiveRecord::Attribute::FromDatabase:placeholder_id
|
189
|
+
@original_attribute = nil,
|
190
|
+
attr_reader :name = "rank",
|
191
|
+
attr_reader :type = #<ActiveModel::Type::Integer:placeholder_id
|
192
|
+
@range = -2147483648...2147483648,
|
193
|
+
attr_reader :limit = nil,
|
194
|
+
attr_reader :precision = nil,
|
195
|
+
attr_reader :scale = nil
|
196
|
+
>,
|
197
|
+
attr_reader :value_before_type_cast = nil
|
198
|
+
>,
|
199
|
+
attr_reader :name = "rank",
|
200
|
+
attr_reader :type = #<ActiveModel::Type::Integer:placeholder_id
|
201
|
+
@range = -2147483648...2147483648,
|
202
|
+
attr_reader :limit = nil,
|
203
|
+
attr_reader :precision = nil,
|
204
|
+
attr_reader :scale = nil
|
205
|
+
>,
|
206
|
+
attr_reader :value_before_type_cast = 2
|
207
|
+
>
|
208
|
+
}
|
209
|
+
>,
|
210
|
+
attr_accessor :destroyed_by_association = nil
|
211
|
+
>
|
212
|
+
]
|
@@ -0,0 +1,42 @@
|
|
1
|
+
module ExtVerifier
|
2
|
+
|
3
|
+
def require_dependencies!(dependencies)
|
4
|
+
dependencies.each do |dependency|
|
5
|
+
begin
|
6
|
+
require dependency
|
7
|
+
rescue LoadError
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|
11
|
+
module_function :require_dependencies!
|
12
|
+
|
13
|
+
def has_rails?
|
14
|
+
defined?(Rails)
|
15
|
+
end
|
16
|
+
module_function :has_rails?
|
17
|
+
|
18
|
+
def has_mongoid?
|
19
|
+
defined?(Mongoid)
|
20
|
+
end
|
21
|
+
module_function :has_mongoid?
|
22
|
+
|
23
|
+
def has_mongo_mapper?
|
24
|
+
defined?(MongoMapper)
|
25
|
+
end
|
26
|
+
module_function :has_mongo_mapper?
|
27
|
+
|
28
|
+
def has_ripple?
|
29
|
+
defined?(Ripple)
|
30
|
+
end
|
31
|
+
module_function :has_ripple?
|
32
|
+
|
33
|
+
def has_nobrainer?
|
34
|
+
defined?(NoBrainer)
|
35
|
+
end
|
36
|
+
module_function :has_nobrainer?
|
37
|
+
end
|
38
|
+
|
39
|
+
RSpec.configure do |config|
|
40
|
+
config.include(ExtVerifier)
|
41
|
+
config.extend(ExtVerifier)
|
42
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
module MongoidVersions
|
2
|
+
def mongoid_version
|
3
|
+
Gem::Version.new(Mongoid::VERSION)
|
4
|
+
end
|
5
|
+
|
6
|
+
def mongoid_4_0?
|
7
|
+
Gem::Requirement.new('~> 4.0.0').satisfied_by?(mongoid_version)
|
8
|
+
end
|
9
|
+
|
10
|
+
def mongoid_3_0?
|
11
|
+
Gem::Requirement.new('~> 3.0.0').satisfied_by?(mongoid_version)
|
12
|
+
end
|
13
|
+
|
14
|
+
def mongoid_3_1?
|
15
|
+
Gem::Requirement.new('~> 3.1.0').satisfied_by?(mongoid_version)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
RSpec.configure do |config|
|
20
|
+
config.include(MongoidVersions)
|
21
|
+
config.extend(MongoidVersions)
|
22
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
module RailsVersions
|
2
|
+
def rails_version
|
3
|
+
Gem::Version.new(Rails::VERSION::STRING)
|
4
|
+
end
|
5
|
+
|
6
|
+
def rails_5_0?
|
7
|
+
Gem::Requirement.new('~> 5.0.0.racecar1').satisfied_by?(rails_version)
|
8
|
+
end
|
9
|
+
alias_method :activerecord_5_0?, :rails_5_0?
|
10
|
+
|
11
|
+
def rails_4_2?
|
12
|
+
Gem::Requirement.new('~> 4.2.0').satisfied_by?(rails_version)
|
13
|
+
end
|
14
|
+
alias_method :activerecord_4_2?, :rails_4_2?
|
15
|
+
|
16
|
+
def rails_4_1?
|
17
|
+
Gem::Requirement.new('~> 4.1.0').satisfied_by?(rails_version)
|
18
|
+
end
|
19
|
+
alias_method :activerecord_4_1?, :rails_4_1?
|
20
|
+
|
21
|
+
def rails_4_0?
|
22
|
+
Gem::Requirement.new('~> 4.0.0').satisfied_by?(rails_version)
|
23
|
+
end
|
24
|
+
alias_method :activerecord_4_0?, :rails_4_0?
|
25
|
+
|
26
|
+
def rails_3_2?
|
27
|
+
Gem::Requirement.new('~> 3.2.0').satisfied_by?(rails_version)
|
28
|
+
end
|
29
|
+
alias_method :activerecord_3_2?, :rails_3_2?
|
30
|
+
end
|
31
|
+
|
32
|
+
RSpec.configure do |config|
|
33
|
+
config.include(RailsVersions)
|
34
|
+
config.extend(RailsVersions)
|
35
|
+
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.8.0
|
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: 2017-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 1.6.5
|
83
|
+
- !ruby/object:Gem::Dependency
|
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'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: codeclimate-test-reporter
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -113,13 +127,14 @@ files:
|
|
113
127
|
- lib/ap.rb
|
114
128
|
- lib/awesome_print.rb
|
115
129
|
- lib/awesome_print/colorize.rb
|
116
|
-
- lib/awesome_print/core_ext/
|
130
|
+
- lib/awesome_print/core_ext/awesome_method_array.rb
|
117
131
|
- lib/awesome_print/core_ext/class.rb
|
118
132
|
- lib/awesome_print/core_ext/kernel.rb
|
119
133
|
- lib/awesome_print/core_ext/logger.rb
|
120
134
|
- lib/awesome_print/core_ext/method.rb
|
121
135
|
- lib/awesome_print/core_ext/object.rb
|
122
136
|
- lib/awesome_print/core_ext/string.rb
|
137
|
+
- lib/awesome_print/custom_defaults.rb
|
123
138
|
- lib/awesome_print/ext/action_view.rb
|
124
139
|
- lib/awesome_print/ext/active_record.rb
|
125
140
|
- lib/awesome_print/ext/active_support.rb
|
@@ -131,6 +146,7 @@ files:
|
|
131
146
|
- lib/awesome_print/ext/ripple.rb
|
132
147
|
- lib/awesome_print/ext/sequel.rb
|
133
148
|
- lib/awesome_print/formatter.rb
|
149
|
+
- lib/awesome_print/formatters.rb
|
134
150
|
- lib/awesome_print/formatters/array_formatter.rb
|
135
151
|
- lib/awesome_print/formatters/base_formatter.rb
|
136
152
|
- lib/awesome_print/formatters/class_formatter.rb
|
@@ -140,16 +156,46 @@ files:
|
|
140
156
|
- lib/awesome_print/formatters/method_formatter.rb
|
141
157
|
- lib/awesome_print/formatters/object_formatter.rb
|
142
158
|
- lib/awesome_print/formatters/simple_formatter.rb
|
159
|
+
- lib/awesome_print/formatters/struct_formatter.rb
|
143
160
|
- lib/awesome_print/indentator.rb
|
144
161
|
- lib/awesome_print/inspector.rb
|
145
162
|
- lib/awesome_print/version.rb
|
146
163
|
- spec/active_record_helper.rb
|
147
164
|
- spec/colors_spec.rb
|
165
|
+
- spec/core_ext/logger_spec.rb
|
166
|
+
- spec/core_ext/string_spec.rb
|
167
|
+
- spec/ext/action_view_spec.rb
|
168
|
+
- spec/ext/active_record_spec.rb
|
169
|
+
- spec/ext/active_support_spec.rb
|
170
|
+
- spec/ext/mongo_mapper_spec.rb
|
171
|
+
- spec/ext/mongoid_spec.rb
|
172
|
+
- spec/ext/nobrainer_spec.rb
|
173
|
+
- spec/ext/nokogiri_spec.rb
|
174
|
+
- spec/ext/ostruct_spec.rb
|
175
|
+
- spec/ext/ripple_spec.rb
|
148
176
|
- spec/formats_spec.rb
|
149
177
|
- spec/methods_spec.rb
|
150
178
|
- spec/misc_spec.rb
|
151
179
|
- spec/objects_spec.rb
|
152
180
|
- spec/spec_helper.rb
|
181
|
+
- spec/support/active_record_data.rb
|
182
|
+
- spec/support/active_record_data/3_2_diana.txt
|
183
|
+
- spec/support/active_record_data/3_2_diana_legacy.txt
|
184
|
+
- spec/support/active_record_data/3_2_multi.txt
|
185
|
+
- spec/support/active_record_data/3_2_multi_legacy.txt
|
186
|
+
- spec/support/active_record_data/4_0_diana.txt
|
187
|
+
- spec/support/active_record_data/4_0_multi.txt
|
188
|
+
- spec/support/active_record_data/4_1_diana.txt
|
189
|
+
- spec/support/active_record_data/4_1_multi.txt
|
190
|
+
- spec/support/active_record_data/4_2_diana.txt
|
191
|
+
- spec/support/active_record_data/4_2_diana_legacy.txt
|
192
|
+
- spec/support/active_record_data/4_2_multi.txt
|
193
|
+
- spec/support/active_record_data/4_2_multi_legacy.txt
|
194
|
+
- spec/support/active_record_data/5_0_diana.txt
|
195
|
+
- spec/support/active_record_data/5_0_multi.txt
|
196
|
+
- spec/support/ext_verifier.rb
|
197
|
+
- spec/support/mongoid_versions.rb
|
198
|
+
- spec/support/rails_versions.rb
|
153
199
|
homepage: https://github.com/awesome-print/awesome_print
|
154
200
|
licenses:
|
155
201
|
- MIT
|
@@ -170,15 +216,44 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
170
216
|
version: '0'
|
171
217
|
requirements: []
|
172
218
|
rubyforge_project: awesome_print
|
173
|
-
rubygems_version: 2.
|
219
|
+
rubygems_version: 2.6.11
|
174
220
|
signing_key:
|
175
221
|
specification_version: 4
|
176
222
|
summary: Pretty print Ruby objects with proper indentation and colors
|
177
223
|
test_files:
|
178
224
|
- spec/active_record_helper.rb
|
179
225
|
- spec/colors_spec.rb
|
226
|
+
- spec/core_ext/logger_spec.rb
|
227
|
+
- spec/core_ext/string_spec.rb
|
228
|
+
- spec/ext/action_view_spec.rb
|
229
|
+
- spec/ext/active_record_spec.rb
|
230
|
+
- spec/ext/active_support_spec.rb
|
231
|
+
- spec/ext/mongo_mapper_spec.rb
|
232
|
+
- spec/ext/mongoid_spec.rb
|
233
|
+
- spec/ext/nobrainer_spec.rb
|
234
|
+
- spec/ext/nokogiri_spec.rb
|
235
|
+
- spec/ext/ostruct_spec.rb
|
236
|
+
- spec/ext/ripple_spec.rb
|
180
237
|
- spec/formats_spec.rb
|
181
238
|
- spec/methods_spec.rb
|
182
239
|
- spec/misc_spec.rb
|
183
240
|
- spec/objects_spec.rb
|
184
241
|
- spec/spec_helper.rb
|
242
|
+
- 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
|
+
- spec/support/active_record_data/4_1_diana.txt
|
249
|
+
- spec/support/active_record_data/4_1_multi.txt
|
250
|
+
- spec/support/active_record_data/4_2_diana.txt
|
251
|
+
- spec/support/active_record_data/4_2_diana_legacy.txt
|
252
|
+
- spec/support/active_record_data/4_2_multi.txt
|
253
|
+
- spec/support/active_record_data/4_2_multi_legacy.txt
|
254
|
+
- spec/support/active_record_data/5_0_diana.txt
|
255
|
+
- spec/support/active_record_data/5_0_multi.txt
|
256
|
+
- spec/support/active_record_data.rb
|
257
|
+
- spec/support/ext_verifier.rb
|
258
|
+
- spec/support/mongoid_versions.rb
|
259
|
+
- spec/support/rails_versions.rb
|