embeditor-rails 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 2f581ae63484e7b0f2c05678e3f83f6402208554
|
4
|
+
data.tar.gz: a6879234038e34d38da6934e3b007bf1b7f2575d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 25b7e495864a4c5e8c2e3590c809a5999868f1684ebe1c40f570e9539c08d09840b7aee306ec82a22239bad2da19eb43dde91fd583fcceea997a4c3185ee8506
|
7
|
+
data.tar.gz: 509235be76a4e127898c05d8442f539ad693ef0abc0e0671e68abc1357a51c813c93f83dcb07ca7a17d726570fe2e0065d9e372297818fc482c5cee8f77d58ad
|
@@ -67,7 +67,7 @@ class Embeditor.Adapter
|
|
67
67
|
)
|
68
68
|
|
69
69
|
# Like Underscore.defaults, but it will also fill in empty strings.
|
70
|
-
# This should be used when merging objects that
|
70
|
+
# This should be used when merging objects that includes any user
|
71
71
|
# input.
|
72
72
|
_defaultsWithoutEmptyStrings: (obj) ->
|
73
73
|
args = Array.prototype.slice.call(arguments, 1)
|
@@ -72,9 +72,9 @@ class Embeditor.Base
|
|
72
72
|
#
|
73
73
|
# If "service" is present but has no match in the Adapters object,
|
74
74
|
# then we want to use the default handler as a fallback.
|
75
|
-
service
|
76
|
-
adapterName
|
77
|
-
adapter
|
75
|
+
service = link.data('service') || @options.defaultService
|
76
|
+
adapterName = @adapters[service] || @options.defaultAdapter
|
77
|
+
adapter = Embeditor.Adapters[adapterName]
|
78
78
|
|
79
79
|
return if not adapter
|
80
80
|
|
metadata
CHANGED
@@ -1,52 +1,46 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: embeditor-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.1.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Bryan Ricker
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-11-22 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: actionpack
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 3.2.0
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 3.2.0
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: coffee-rails
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: 3.2.0
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: 3.2.0
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: eco
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ~>
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,7 +48,6 @@ dependencies:
|
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - ~>
|
60
53
|
- !ruby/object:Gem::Version
|
@@ -62,17 +55,15 @@ dependencies:
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: sqlite3
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - '>='
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: '0'
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - '>='
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: '0'
|
78
69
|
description: Embeditor is a set of client-side adapters for various embed codes. It
|
@@ -120,27 +111,26 @@ files:
|
|
120
111
|
homepage: https://github.com/SCPR/embeditor-rails
|
121
112
|
licenses:
|
122
113
|
- MIT
|
114
|
+
metadata: {}
|
123
115
|
post_install_message:
|
124
116
|
rdoc_options: []
|
125
117
|
require_paths:
|
126
118
|
- lib
|
127
119
|
required_ruby_version: !ruby/object:Gem::Requirement
|
128
|
-
none: false
|
129
120
|
requirements:
|
130
|
-
- -
|
121
|
+
- - '>='
|
131
122
|
- !ruby/object:Gem::Version
|
132
123
|
version: '0'
|
133
124
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
134
|
-
none: false
|
135
125
|
requirements:
|
136
|
-
- -
|
126
|
+
- - '>='
|
137
127
|
- !ruby/object:Gem::Version
|
138
128
|
version: '0'
|
139
129
|
requirements: []
|
140
130
|
rubyforge_project:
|
141
|
-
rubygems_version:
|
131
|
+
rubygems_version: 2.0.3
|
142
132
|
signing_key:
|
143
|
-
specification_version:
|
133
|
+
specification_version: 4
|
144
134
|
summary: Embeditor plugin for Rails.
|
145
135
|
test_files: []
|
146
136
|
has_rdoc:
|