oembed_proxy 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +19 -0
- data/lib/oembed_proxy/embedly.rb +1 -1
- data/lib/oembed_proxy/first_party.rb +1 -1
- data/lib/oembed_proxy/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f3acdba9c57aea0439314dad83fbfc748599761d8d62e9f4d4307868c465fa53
|
|
4
|
+
data.tar.gz: 90ad161b2bdffeaa2eac32d16f16d234f8fa9ca5c847f8133e9c48f8bdb3e547
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 53148ae8e7de2e44bce008b73b4981ddf35a8d4ad6a906608bcc50b6e2c5e9b91e42d893371c79448dd5398cd8fb13896eb82bcfc47df15ca34ae1bb50e9e2c7
|
|
7
|
+
data.tar.gz: 2897c2303c3d0c2fe7822c1a62fd99538cd6e5130a03a1ae9ef722463e2c7c3cfc51fe84247f74427c418312700375742276804adc452fbaf73c5a75be009f6e
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# oEmbed Proxy Changelog
|
|
2
|
+
|
|
3
|
+
## [master]
|
|
4
|
+
|
|
5
|
+
[master]: https://github.com/APMG/oembed_proxy/compare/v0.1.1...HEAD
|
|
6
|
+
|
|
7
|
+
* Your change here!
|
|
8
|
+
|
|
9
|
+
## [`0.1.1`] (2018-02-27)
|
|
10
|
+
|
|
11
|
+
[master]: https://github.com/APMG/oembed_proxy/compare/v0.1.0...v0.1.1
|
|
12
|
+
|
|
13
|
+
* Fix file references for first party and embedly providers.
|
|
14
|
+
|
|
15
|
+
## [`0.1.0`] (2018-02-27)
|
|
16
|
+
|
|
17
|
+
[`0.1.0`]: https://github.com/APMG/oembed_proxy/compare/d33988df08b49237183155d3a4855d76e5cf7c2b...v0.1.0
|
|
18
|
+
|
|
19
|
+
* Initial open source release
|
data/lib/oembed_proxy/embedly.rb
CHANGED
|
@@ -13,7 +13,7 @@ module OembedProxy
|
|
|
13
13
|
@pattern_hash = {}
|
|
14
14
|
@embedly_key = embedly_key
|
|
15
15
|
|
|
16
|
-
File.open('
|
|
16
|
+
File.open(File.expand_path('../../providers/embedly_patterns.def', __FILE__), 'r') do |f|
|
|
17
17
|
f.each do |line|
|
|
18
18
|
regex = Utility.clean_pattern(line)
|
|
19
19
|
@pattern_hash[regex] = EMBEDLY_URL
|
|
@@ -17,7 +17,7 @@ module OembedProxy
|
|
|
17
17
|
# Import the expected first party providers.
|
|
18
18
|
@pattern_hash = {}
|
|
19
19
|
|
|
20
|
-
yaml_hash = YAML.load_file('
|
|
20
|
+
yaml_hash = YAML.load_file(File.expand_path('../../providers/first_party.yml', __FILE__))
|
|
21
21
|
yaml_hash.each_value do |hsh|
|
|
22
22
|
hsh['pattern_list'].each do |pattern|
|
|
23
23
|
regex = Utility.clean_pattern(pattern)
|
data/lib/oembed_proxy/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: oembed_proxy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- William Johnston
|
|
@@ -63,6 +63,7 @@ files:
|
|
|
63
63
|
- ".rspec"
|
|
64
64
|
- ".rubocop.yml"
|
|
65
65
|
- ".travis.yml"
|
|
66
|
+
- CHANGELOG.md
|
|
66
67
|
- Gemfile
|
|
67
68
|
- LICENSE.txt
|
|
68
69
|
- README.md
|