nanoc-embed 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +4 -0
  2. data/lib/nanoc-embed.rb +1 -4
  3. metadata +4 -4
data/README.md CHANGED
@@ -30,6 +30,10 @@ compile '*' do
30
30
  end
31
31
  ```
32
32
 
33
+ ## Cache
34
+
35
+ A cache file *.oembed_cache* is created. It helps you to reduce the compile time. You can ignore it.
36
+
33
37
  ## License
34
38
 
35
39
  (c) 2012 Stormz
@@ -2,10 +2,7 @@
2
2
  require 'uri'
3
3
  require 'oembed'
4
4
 
5
- skitch = OEmbed::Provider.new("https://skitch.com/oembed")
6
- skitch << "http://*.skitch.com/*"
7
- skitch << "https://*.skitch.com/*"
8
- OEmbed::Providers.register(OEmbed::Providers::Youtube, skitch)
5
+ OEmbed::Providers.register(OEmbed::Providers::Youtube)
9
6
 
10
7
  class EmbedFilter < Nanoc::Filter
11
8
  identifier :embed
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nanoc-embed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-13 00:00:00.000000000 Z
12
+ date: 2012-11-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ruby-oembed
16
- requirement: &21911780 !ruby/object:Gem::Requirement
16
+ requirement: &11327820 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *21911780
24
+ version_requirements: *11327820
25
25
  description:
26
26
  email: francois@2metz.fr
27
27
  executables: []