video_info 3.0.2 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/.rubocop.yml DELETED
@@ -1,243 +0,0 @@
1
- AllCops:
2
- Exclude:
3
- - "vendor/**/*"
4
- - "db/schema.rb"
5
- UseCache: false
6
- Style/CollectionMethods:
7
- Description: Preferred collection methods.
8
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#map-find-select-reduce-size
9
- Enabled: true
10
- PreferredMethods:
11
- collect: map
12
- collect!: map!
13
- find: detect
14
- find_all: select
15
- reduce: inject
16
- Style/DotPosition:
17
- Description: Checks the position of the dot in multi-line method calls.
18
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-multi-line-chains
19
- Enabled: true
20
- EnforcedStyle: trailing
21
- SupportedStyles:
22
- - leading
23
- - trailing
24
- Style/FileName:
25
- Description: Use snake_case for source file names.
26
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-files
27
- Enabled: false
28
- Exclude: []
29
- Style/GuardClause:
30
- Description: Check for conditionals that can be replaced with guard clauses
31
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals
32
- Enabled: false
33
- MinBodyLength: 1
34
- Style/IfUnlessModifier:
35
- Description: Favor modifier if/unless usage when you have a single-line body.
36
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#if-as-a-modifier
37
- Enabled: false
38
- MaxLineLength: 80
39
- Style/OptionHash:
40
- Description: Don't use option hashes when you can use keyword arguments.
41
- Enabled: false
42
- Style/PercentLiteralDelimiters:
43
- Description: Use `%`-literal delimiters consistently
44
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-literal-braces
45
- Enabled: false
46
- PreferredDelimiters:
47
- "%": "()"
48
- "%i": "()"
49
- "%q": "()"
50
- "%Q": "()"
51
- "%r": "{}"
52
- "%s": "()"
53
- "%w": "()"
54
- "%W": "()"
55
- "%x": "()"
56
- Style/PredicateName:
57
- Description: Check the names of predicate methods.
58
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#bool-methods-qmark
59
- Enabled: true
60
- NamePrefix:
61
- - is_
62
- - has_
63
- - have_
64
- NamePrefixBlacklist:
65
- - is_
66
- Exclude:
67
- - spec/**/*
68
- Style/RaiseArgs:
69
- Description: Checks the arguments passed to raise/fail.
70
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#exception-class-messages
71
- Enabled: false
72
- EnforcedStyle: exploded
73
- SupportedStyles:
74
- - compact
75
- - exploded
76
- Style/SignalException:
77
- Description: Checks for proper usage of fail and raise.
78
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#fail-method
79
- Enabled: false
80
- EnforcedStyle: semantic
81
- SupportedStyles:
82
- - only_raise
83
- - only_fail
84
- - semantic
85
- Style/SingleLineBlockParams:
86
- Description: Enforces the names of some block params.
87
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#reduce-blocks
88
- Enabled: false
89
- Methods:
90
- - reduce:
91
- - a
92
- - e
93
- - inject:
94
- - a
95
- - e
96
- Style/SingleLineMethods:
97
- Description: Avoid single-line methods.
98
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-single-line-methods
99
- Enabled: false
100
- AllowIfMethodIsEmpty: true
101
- Style/StringLiterals:
102
- Description: Checks if uses of quotes match the configured preference.
103
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-string-literals
104
- Enabled: true
105
- EnforcedStyle: single_quotes
106
- SupportedStyles:
107
- - single_quotes
108
- - double_quotes
109
- Style/StringLiteralsInInterpolation:
110
- Description: Checks if uses of quotes inside expressions in interpolated strings
111
- match the configured preference.
112
- Enabled: true
113
- EnforcedStyle: single_quotes
114
- SupportedStyles:
115
- - single_quotes
116
- - double_quotes
117
- Style/TrailingCommaInArguments:
118
- Description: 'Checks for trailing comma in argument lists.'
119
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas'
120
- Enabled: false
121
- EnforcedStyleForMultiline: no_comma
122
- SupportedStyles:
123
- - comma
124
- - consistent_comma
125
- - no_comma
126
- Style/TrailingCommaInLiteral:
127
- Description: 'Checks for trailing comma in array and hash literals.'
128
- StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas'
129
- Enabled: false
130
- EnforcedStyleForMultiline: no_comma
131
- SupportedStyles:
132
- - comma
133
- - consistent_comma
134
- - no_comma
135
- Metrics/AbcSize:
136
- Description: A calculated magnitude based on number of assignments, branches, and
137
- conditions.
138
- Enabled: false
139
- Max: 15
140
- Metrics/ClassLength:
141
- Description: Avoid classes longer than 100 lines of code.
142
- Enabled: false
143
- CountComments: false
144
- Max: 100
145
- Metrics/ModuleLength:
146
- CountComments: false
147
- Max: 100
148
- Description: Avoid modules longer than 100 lines of code.
149
- Enabled: false
150
- Metrics/CyclomaticComplexity:
151
- Description: A complexity metric that is strongly correlated to the number of test
152
- cases needed to validate a method.
153
- Enabled: false
154
- Max: 6
155
- Metrics/MethodLength:
156
- Description: Avoid methods longer than 10 lines of code.
157
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#short-methods
158
- Enabled: false
159
- CountComments: false
160
- Max: 10
161
- Metrics/ParameterLists:
162
- Description: Avoid parameter lists longer than three or four parameters.
163
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#too-many-params
164
- Enabled: false
165
- Max: 5
166
- CountKeywordArgs: true
167
- Metrics/PerceivedComplexity:
168
- Description: A complexity metric geared towards measuring complexity for a human
169
- reader.
170
- Enabled: false
171
- Max: 7
172
- Lint/AssignmentInCondition:
173
- Description: Don't use assignment in conditions.
174
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#safe-assignment-in-condition
175
- Enabled: false
176
- AllowSafeAssignment: true
177
- Style/InlineComment:
178
- Description: Avoid inline comments.
179
- Enabled: false
180
- Style/AccessorMethodName:
181
- Description: Check the naming of accessor methods for get_/set_.
182
- Enabled: false
183
- Style/Alias:
184
- Description: Use alias_method instead of alias.
185
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#alias-method
186
- Enabled: false
187
- Style/Documentation:
188
- Description: Document classes and non-namespace modules.
189
- Enabled: false
190
- Style/DoubleNegation:
191
- Description: Checks for uses of double negation (!!).
192
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-bang-bang
193
- Enabled: false
194
- Style/EachWithObject:
195
- Description: Prefer `each_with_object` over `inject` or `reduce`.
196
- Enabled: false
197
- Style/EmptyLiteral:
198
- Description: Prefer literals to Array.new/Hash.new/String.new.
199
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#literal-array-hash
200
- Enabled: false
201
- Style/ModuleFunction:
202
- Description: Checks for usage of `extend self` in modules.
203
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#module-function
204
- Enabled: false
205
- Style/OneLineConditional:
206
- Description: Favor the ternary operator(?:) over if/then/else/end constructs.
207
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#ternary-operator
208
- Enabled: false
209
- Style/PerlBackrefs:
210
- Description: Avoid Perl-style regex back references.
211
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-perl-regexp-last-matchers
212
- Enabled: false
213
- Style/Send:
214
- Description: Prefer `Object#__send__` or `Object#public_send` to `send`, as `send`
215
- may overlap with existing methods.
216
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#prefer-public-send
217
- Enabled: false
218
- Style/SpecialGlobalVars:
219
- Description: Avoid Perl-style global variables.
220
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-cryptic-perlisms
221
- Enabled: false
222
- Style/VariableInterpolation:
223
- Description: Don't interpolate global, instance and class variables directly in
224
- strings.
225
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#curlies-interpolate
226
- Enabled: false
227
- Style/WhenThen:
228
- Description: Use when x then ... for one-line cases.
229
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#one-line-cases
230
- Enabled: false
231
- Lint/EachWithObjectArgument:
232
- Description: Check for immutable argument given to each_with_object.
233
- Enabled: true
234
- Lint/HandleExceptions:
235
- Description: Don't suppress exception.
236
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#dont-hide-exceptions
237
- Enabled: false
238
- Lint/LiteralInCondition:
239
- Description: Checks of literals used in conditions.
240
- Enabled: false
241
- Lint/LiteralInInterpolation:
242
- Description: Checks for literals used in interpolation.
243
- Enabled: false
data/Guardfile DELETED
@@ -1,8 +0,0 @@
1
- # A sample Guardfile
2
- # More info at http://github.com/guard/guard#readme
3
-
4
- guard 'rspec', cmd: "bundle exec rspec" do
5
- watch('spec/spec_helper.rb') { 'spec' }
6
- watch(%r{lib/(.+)\.rb}) { |m| "spec/lib/#{m[1]}_spec.rb" }
7
- watch(%r{spec/.+_spec\.rb})
8
- end
@@ -1,25 +0,0 @@
1
- 104 examples, 24 failures in 42.5583 seconds
2
- ./spec/lib/video_info/providers/dailymotion_spec.rb:134
3
- ./spec/lib/video_info/providers/dailymotion_spec.rb:139
4
- ./spec/lib/video_info/providers/dailymotion_spec.rb:144
5
- ./spec/lib/video_info/providers/dailymotion_spec.rb:159
6
- ./spec/lib/video_info/providers/vimeo_spec.rb:108
7
- ./spec/lib/video_info/providers/vimeo_spec.rb:115
8
- ./spec/lib/video_info/providers/vimeo_spec.rb:120
9
- ./spec/lib/video_info/providers/vimeo_spec.rb:128
10
- ./spec/lib/video_info/providers/vimeo_spec.rb:133
11
- ./spec/lib/video_info/providers/vimeo_spec.rb:138
12
- ./spec/lib/video_info/providers/vimeo_spec.rb:143
13
- ./spec/lib/video_info/providers/vimeo_spec.rb:152
14
- ./spec/lib/video_info/providers/vimeo_spec.rb:158
15
- ./spec/lib/video_info/providers/vimeo_spec.rb:164
16
- ./spec/lib/video_info/providers/vimeo_spec.rb:180
17
- ./spec/lib/video_info/providers/vimeo_spec.rb:197
18
- ./spec/lib/video_info/providers/vimeo_spec.rb:202
19
- ./spec/lib/video_info/providers/vimeo_spec.rb:207
20
- ./spec/lib/video_info/providers/vimeo_spec.rb:212
21
- ./spec/lib/video_info/providers/vimeo_spec.rb:308
22
- ./spec/lib/video_info/providers/vimeo_spec.rb:309
23
- ./spec/lib/video_info/providers/vimeo_spec.rb:310
24
- ./spec/lib/video_info/providers/vimeo_spec.rb:311
25
- ./spec/lib/video_info/providers/vimeo_spec.rb:54