oembed_proxy 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 956cb22dbe2035e94f2b5f3847559b595ff322f64d4fbf162a7b680c3b76c9e0
4
- data.tar.gz: af361ad48515fb78f564505e922970ca477eb1cf4542c88c7f545e65b7fdaa76
3
+ metadata.gz: f3acdba9c57aea0439314dad83fbfc748599761d8d62e9f4d4307868c465fa53
4
+ data.tar.gz: 90ad161b2bdffeaa2eac32d16f16d234f8fa9ca5c847f8133e9c48f8bdb3e547
5
5
  SHA512:
6
- metadata.gz: a8b16de65cd28d1af9afd4c7be2e3ec52df3acaa093d56a1c635ddc854dda94eb0030b4efdf171bec88716f366737a875aeeff7833b1748f236f0184c5d1e1e9
7
- data.tar.gz: 2d1071f20224c557ec04ff41024ff28c1a65653d53ffa6bd67b8b45aa9c349a3a53ac15cbffeb3e6c9b3f4a53edaea8005597ea76a65ae269d870a1fb95ed445
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
@@ -13,7 +13,7 @@ module OembedProxy
13
13
  @pattern_hash = {}
14
14
  @embedly_key = embedly_key
15
15
 
16
- File.open('lib/providers/embedly_patterns.def', 'r') do |f|
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('lib/providers/first_party.yml')
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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OembedProxy
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  end
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.0
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