onebox 1.8.30 → 1.8.31
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Rakefile +2 -8
- data/lib/onebox/engine.rb +1 -2
- data/lib/onebox/engine/audio_onebox.rb +1 -1
- data/lib/onebox/version.rb +1 -1
- data/onebox.gemspec +0 -1
- data/spec/lib/onebox/engine_spec.rb +1 -1
- metadata +3 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: e1693aa62d3780f323374bbaf5eecdc31028ca85
|
4
|
+
data.tar.gz: b376ca6245c835e2b312a5632b5b3c83a2fafab6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc6d88b56b3ff3f7458c1174a4021e8fd89e29de91138296e5401e644f6b4685440456b8251e4f409d090894437d64a289b166081b498e15b7639e4706b1a072
|
7
|
+
data.tar.gz: 703e0d7ef41e832e169f672202db94154095b17c45cedf78559bc03786702eb6da61295ebb9cf5ba2d71680c5f16212f50eb7268925d8446734e10e592baa6c7
|
data/Rakefile
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
#!/usr/bin/env rake
|
2
2
|
require "rspec/core/rake_task"
|
3
|
-
require "yard"
|
4
3
|
require 'bundler'
|
5
4
|
|
6
5
|
begin
|
@@ -14,13 +13,8 @@ end
|
|
14
13
|
|
15
14
|
RSpec::Core::RakeTask.new(:spec)
|
16
15
|
|
17
|
-
desc "
|
18
|
-
|
19
|
-
config.files = Dir["lib/**/*.rb"]
|
20
|
-
end
|
21
|
-
|
22
|
-
desc "Default: run tests and generate docs"
|
23
|
-
task default: [ :spec, :yard ]
|
16
|
+
desc "Default: run tests"
|
17
|
+
task default: [ :spec ]
|
24
18
|
|
25
19
|
task :server do
|
26
20
|
require 'onebox/web'
|
data/lib/onebox/engine.rb
CHANGED
@@ -3,7 +3,7 @@ module Onebox
|
|
3
3
|
class AudioOnebox
|
4
4
|
include Engine
|
5
5
|
|
6
|
-
matches_regexp(/^(https?:)?\/\/.*\.(mp3|ogg|wav|m4a)(\?.*)?$/i)
|
6
|
+
matches_regexp(/^(https?:)?\/\/.*\.(mp3|ogg|opus|wav|m4a)(\?.*)?$/i)
|
7
7
|
|
8
8
|
def always_https?
|
9
9
|
WhitelistedGenericOnebox.host_matches(uri, WhitelistedGenericOnebox.https_hosts)
|
data/lib/onebox/version.rb
CHANGED
data/onebox.gemspec
CHANGED
@@ -31,7 +31,6 @@ Gem::Specification.new do |spec|
|
|
31
31
|
spec.add_development_dependency 'bundler', '~> 1.7'
|
32
32
|
spec.add_development_dependency 'rake', '~> 10.4'
|
33
33
|
spec.add_development_dependency 'rspec', '~> 3.2'
|
34
|
-
spec.add_development_dependency 'yard', '~> 0.8'
|
35
34
|
spec.add_development_dependency 'fakeweb', '~> 1.3'
|
36
35
|
spec.add_development_dependency 'pry', '~> 0.10'
|
37
36
|
spec.add_development_dependency 'mocha', '~> 1.1'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onebox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.31
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joanna Zeta
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2017-12-
|
13
|
+
date: 2017-12-21 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: multi_json
|
@@ -152,20 +152,6 @@ dependencies:
|
|
152
152
|
- - "~>"
|
153
153
|
- !ruby/object:Gem::Version
|
154
154
|
version: '3.2'
|
155
|
-
- !ruby/object:Gem::Dependency
|
156
|
-
name: yard
|
157
|
-
requirement: !ruby/object:Gem::Requirement
|
158
|
-
requirements:
|
159
|
-
- - "~>"
|
160
|
-
- !ruby/object:Gem::Version
|
161
|
-
version: '0.8'
|
162
|
-
type: :development
|
163
|
-
prerelease: false
|
164
|
-
version_requirements: !ruby/object:Gem::Requirement
|
165
|
-
requirements:
|
166
|
-
- - "~>"
|
167
|
-
- !ruby/object:Gem::Version
|
168
|
-
version: '0.8'
|
169
155
|
- !ruby/object:Gem::Dependency
|
170
156
|
name: fakeweb
|
171
157
|
requirement: !ruby/object:Gem::Requirement
|
@@ -524,7 +510,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
524
510
|
version: '0'
|
525
511
|
requirements: []
|
526
512
|
rubyforge_project:
|
527
|
-
rubygems_version: 2.
|
513
|
+
rubygems_version: 2.6.13
|
528
514
|
signing_key:
|
529
515
|
specification_version: 4
|
530
516
|
summary: A gem for turning URLs into previews.
|