concerto_iframe 0.0.7 → 0.0.8

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
  SHA1:
3
- metadata.gz: fb799d059bb1d029f51b444280ce6bbb0e776851
4
- data.tar.gz: 9e71c2623b19780d3e56d132ab8b7dfe8fa5e4c1
3
+ metadata.gz: 8cb2b9d69f0ca20251a78124aa87e40586176eaf
4
+ data.tar.gz: 88b0874cf4f5917981e1d626ddd3d2dc64c0061f
5
5
  SHA512:
6
- metadata.gz: 1ec0249b48e12a18e177911955b88922b0ac82b2ba6e254b9d8ed5b9e3c6a175287f304298337960614a585610647d65d2a3ee3a3d20622b50d5d4d097454913
7
- data.tar.gz: d93967c4b322a309ec9f0c1819875720a4bf76eff3a7a0a95be90f3c057ac6f6cdebfb2cf274a8510be36c5ad7bbfc8e3bd813b8179b9ac7bf3e31541561ba52
6
+ metadata.gz: ae594621f62b2962cc6b2c58140320c096e2329706f690ad7b0c05cf84f1d8500aed24905f059d3e5b3c60bd012c03a3e4ba07aa8508a58369eae8de17c7c77b
7
+ data.tar.gz: 62adf1db526b313c37131aef3cdae8f3affe4b7bd4b639bec652b0ef94fb4e4f8f008073d17b26c6f10e6a04eaf988278407dbda11ef18e9d19f72a727387d53
@@ -0,0 +1,44 @@
1
+ <!--
2
+ The `concerto-iframe` element provides embedded content
3
+ -->
4
+ <dom-module id="concerto-iframe">
5
+ <style>
6
+ :host {
7
+ display: block;
8
+ width: 100%;
9
+ height: 100%;
10
+ }
11
+ #iframe {
12
+ width: 100%;
13
+ height: 100%;
14
+ }
15
+ </style>
16
+
17
+ <template>
18
+ <iframe id="iframe" frameBorder="0"></iframe>
19
+ </template>
20
+
21
+ <script>
22
+ ConcertoIframe = Polymer({
23
+ is: "concerto-iframe",
24
+
25
+ behaviors: [ConcertoBehaviors.BaseContent],
26
+
27
+ properties: {
28
+ baseUrl: String,
29
+ path: {
30
+ type: String,
31
+ observer: 'pathChanged'
32
+ },
33
+ config: Object
34
+ },
35
+
36
+ pathChanged: function() {
37
+ this.$.iframe.src = this.path;
38
+ }
39
+ });
40
+ </script>
41
+ </dom-module>
42
+ <script>
43
+ ConcertoBehaviors.ContentFactory.registerContent("concerto-iframe", "ConcertoIframe");
44
+ </script>
@@ -1,44 +1,5 @@
1
- <!--
2
- The `concerto-iframe` element provides embedded content
3
- -->
4
- <dom-module id="concerto-iframe">
5
- <style>
6
- :host {
7
- display: block;
8
- width: 100%;
9
- height: 100%;
10
- }
11
- #iframe {
12
- width: 100%;
13
- height: 100%;
14
- }
15
- </style>
16
-
17
- <template>
18
- <iframe id="iframe" frameBorder="0"></iframe>
19
- </template>
20
-
21
- <script>
22
- ConcertoIframe = Polymer({
23
- is: "concerto-iframe",
24
-
25
- behaviors: [ConcertoBehaviors.BaseContent],
26
-
27
- properties: {
28
- baseUrl: String,
29
- path: {
30
- type: String,
31
- observer: 'pathChanged'
32
- },
33
- config: Object
34
- },
35
-
36
- pathChanged: function() {
37
- this.$.iframe.src = this.path;
38
- }
39
- });
40
- </script>
41
- </dom-module>
42
- <script>
43
- ConcertoBehaviors.ContentFactory.registerContent("concerto-iframe", "ConcertoIframe");
44
- </script>
1
+ <% content_for :head do %>
2
+ <!-- from concerto-iframe -->
3
+ <%= tag "link", rel: "import", href: asset_path("concerto_iframe/concerto-iframe.html") %>
4
+ <!-- end from concerto-iframe -->
5
+ <% end %>
@@ -1,4 +1,4 @@
1
1
 
2
2
  module ConcertoIframe
3
- VERSION = "0.0.7"
3
+ VERSION = "0.0.8"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: concerto_iframe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marvin Frederickson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-22 00:00:00.000000000 Z
11
+ date: 2015-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -34,6 +34,7 @@ files:
34
34
  - LICENSE
35
35
  - README.md
36
36
  - Rakefile
37
+ - app/assets/html/concerto_iframe/concerto-iframe.html
37
38
  - app/assets/javascripts/concerto_iframe/application.js
38
39
  - app/assets/javascripts/concerto_iframe/iframe.js
39
40
  - app/assets/stylesheets/concerto_iframe/application.css
@@ -104,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
105
  version: '0'
105
106
  requirements: []
106
107
  rubyforge_project:
107
- rubygems_version: 2.2.3
108
+ rubygems_version: 2.4.5
108
109
  signing_key:
109
110
  specification_version: 4
110
111
  summary: custom iframe support for Concerto 2