oembed_provider 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +20 -1
- data/VERSION +1 -1
- metadata +4 -4
data/README.rdoc
CHANGED
@@ -37,6 +37,17 @@ IMPORTANT: Currently only known to work with Rails 2.3.5. Feel free to fork and
|
|
37
37
|
|
38
38
|
Running rake will check that you have the dependencies installed correctly.
|
39
39
|
|
40
|
+
=== OembedProvider settings
|
41
|
+
|
42
|
+
Add a config/initializers/oembed_provider.rb file with something like this:
|
43
|
+
|
44
|
+
OembedProvider.provider_name = "Your Site Name"
|
45
|
+
OembedProvider.provider_url = "http://your_site/"
|
46
|
+
|
47
|
+
# if a controller doesn't map to model name as per tablize convention
|
48
|
+
# map it here
|
49
|
+
OembedProvider.controller_model_maps = { 'images' => 'StillImage' }
|
50
|
+
|
40
51
|
=== Declare your model oEmbed providable
|
41
52
|
|
42
53
|
Simple examples:
|
@@ -83,7 +94,15 @@ and then adding this to the appropriate layout file (i.e. something under app/vi
|
|
83
94
|
|
84
95
|
== TODO:
|
85
96
|
* a caching system
|
86
|
-
|
97
|
+
|
98
|
+
=== Thank yous
|
99
|
+
|
100
|
+
This gem was developed for the Kete open source application (http://kete.net.nz) and was funded by pledge campaign to improve media selection from with the rich text editor (i.e. the TinyMCE plugin).
|
101
|
+
|
102
|
+
Horowhenua Library Trust, Wellington City Libraries, Te Reo o Taranaki, Environmental Earth Sciences, CALYX, and many individual contributors.
|
103
|
+
|
104
|
+
Thanks to all contributors.
|
105
|
+
|
87
106
|
== Note on Patches/Pull Requests
|
88
107
|
|
89
108
|
* Fork the project.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oembed_provider
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Walter McGinnis
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-02-
|
18
|
+
date: 2011-02-19 00:00:00 +13:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|