concerto_iframe 0.0.9 → 0.1.0

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: 14dddaccf0e92d58b7c2a7258c53678d5738d7da
4
- data.tar.gz: 2f656c4872b2d3870f84dc92efda90ec4fa0c5fd
3
+ metadata.gz: f95b2523af2c3a83803fd4f47d82ac389535a4ae
4
+ data.tar.gz: c9fb9c50aea40c94b6cfd5f06feb2196863ebdb3
5
5
  SHA512:
6
- metadata.gz: a234e6b4beb335f26bb25d18732747278e316638b207ee503615407a83f84eef6a0b6cd5ee4b1cf405d3addcc8d611ed0ef46cf65c90e67f290520b1f8f241de
7
- data.tar.gz: 0a5253bd2c516fe7faf76f630fd466a932c9dfbad30e7d764867804ed74684f0059c7d254225e53a6dfaa199bac594398878551e38cf278013aafe19e0fc66da
6
+ metadata.gz: 646d40b3c58933759fbac833fbee5de281dfe378dff00578d1887d8820b52b00965a4d7b3dbd39ef3213c3a4650b443105081a5ff671e7416d34dc49c120517a
7
+ data.tar.gz: f0de13b6860881d8db80bbe65c9b48f9e48054eaa2e38814b1103a3b220a9f6f99623964047138f16aa76873ef2b04461a8740f01aeb7ae8c957d2a8160cafd2
@@ -46,7 +46,7 @@ class Iframe < Content
46
46
  end
47
47
 
48
48
  def url_must_exist
49
- if config['url'].empty? || (config['url'] =~ /[a-z]+\:\/\/.+/).nil?
49
+ if config['url'].empty? || (config['url'] =~ /[a-z]+\:\/\/.+/).nil? && !config['url'].starts_with?("data:text/html")
50
50
  errors.add(:url, 'an absolute Url must be specified')
51
51
  end
52
52
  end
@@ -1,4 +1,4 @@
1
1
 
2
2
  module ConcertoIframe
3
- VERSION = "0.0.9"
3
+ VERSION = "0.1.0"
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.9
4
+ version: 0.1.0
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-10-30 00:00:00.000000000 Z
11
+ date: 2017-12-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -105,41 +105,41 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
105
  version: '0'
106
106
  requirements: []
107
107
  rubyforge_project:
108
- rubygems_version: 2.4.5
108
+ rubygems_version: 2.5.2
109
109
  signing_key:
110
110
  specification_version: 4
111
111
  summary: custom iframe support for Concerto 2
112
112
  test_files:
113
- - test/concerto_iframe_test.rb
113
+ - test/unit/concerto_iframe/iframe_test.rb
114
+ - test/dummy/app/controllers/application_controller.rb
115
+ - test/dummy/app/views/layouts/application.html.erb
114
116
  - test/dummy/app/assets/javascripts/application.js
115
117
  - test/dummy/app/assets/stylesheets/application.css
116
- - test/dummy/app/controllers/application_controller.rb
117
118
  - test/dummy/app/helpers/application_helper.rb
118
- - test/dummy/app/views/layouts/application.html.erb
119
- - test/dummy/config/application.rb
120
- - test/dummy/config/boot.rb
121
- - test/dummy/config/database.yml
122
- - test/dummy/config/environment.rb
123
- - test/dummy/config/environments/development.rb
119
+ - test/dummy/config/routes.rb
120
+ - test/dummy/config/locales/en.yml
124
121
  - test/dummy/config/environments/production.rb
122
+ - test/dummy/config/environments/development.rb
125
123
  - test/dummy/config/environments/test.rb
124
+ - test/dummy/config/environment.rb
125
+ - test/dummy/config/application.rb
126
+ - test/dummy/config/database.yml
127
+ - test/dummy/config/boot.rb
126
128
  - test/dummy/config/initializers/backtrace_silencers.rb
127
- - test/dummy/config/initializers/inflections.rb
128
129
  - test/dummy/config/initializers/mime_types.rb
129
- - test/dummy/config/initializers/secret_token.rb
130
130
  - test/dummy/config/initializers/session_store.rb
131
131
  - test/dummy/config/initializers/wrap_parameters.rb
132
- - test/dummy/config/locales/en.yml
133
- - test/dummy/config/routes.rb
132
+ - test/dummy/config/initializers/secret_token.rb
133
+ - test/dummy/config/initializers/inflections.rb
134
134
  - test/dummy/config.ru
135
- - test/dummy/public/404.html
135
+ - test/dummy/script/rails
136
+ - test/dummy/Rakefile
137
+ - test/dummy/public/favicon.ico
136
138
  - test/dummy/public/422.html
137
139
  - test/dummy/public/500.html
138
- - test/dummy/public/favicon.ico
139
- - test/dummy/Rakefile
140
+ - test/dummy/public/404.html
140
141
  - test/dummy/README.rdoc
141
- - test/dummy/script/rails
142
- - test/fixtures/concerto_iframe/iframes.yml
143
142
  - test/integration/navigation_test.rb
143
+ - test/concerto_iframe_test.rb
144
+ - test/fixtures/concerto_iframe/iframes.yml
144
145
  - test/test_helper.rb
145
- - test/unit/concerto_iframe/iframe_test.rb