udongo 7.3.2 → 7.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 72ee824452a56fde697bee3c5ab8e57e771534be
4
- data.tar.gz: 8c7fb89313641ebaa1aaa21b2b03b3b6725bbdb2
3
+ metadata.gz: 65a627bc6c11bd04870fd59768907c71d13308e5
4
+ data.tar.gz: 68043e6320d72b3f14df0d17b7bc32947efc543f
5
5
  SHA512:
6
- metadata.gz: cc05eab37bbed87a75c4f000d69a684c15aa512b20da601eef883125b7f1bd7d628f49715163ddcf52e0435f325d9a5ab0fdee0ee92a5ca855ad435675d1028f
7
- data.tar.gz: a7db9a80123d29a6842f8a87e0f7ca546835852a1ed11da865789ab078061690ea8dc7a3a898964512376e83af51255d4f557b68211e599039d24ff0a78fa274
6
+ metadata.gz: eb4245fcdb459af39e4cecf0c7aba333290ca34515c9c3bad0470deaf9bb68ee3fa871a984afe10453ab6e5a9a3c16884816852a7d63beb9b4f00603ab716549
7
+ data.tar.gz: 0ca3702785f5a8979355642c6cf6750b2ae71c3989a5c260fdb8845884968659ba8807acccbc1b9af2049453dc4db5560237b875052e28de4e9a8e1aa62c601a
@@ -17,7 +17,7 @@ class ContentVideoDecorator < ApplicationDecorator
17
17
  end
18
18
 
19
19
  def youtube_embed_url
20
- video_id = url.to_s.split('v=').last
20
+ video_id = url.to_s.split('v=').last.split('&').first
21
21
  "https://www.youtube.com/embed/#{video_id}?rel=0"
22
22
  end
23
23
  end
data/changelog.md CHANGED
@@ -1,3 +1,8 @@
1
+ 7.3.3 - 2018-03-09
2
+ --
3
+ * Make the youtube embed URLs a bit more flexible.
4
+
5
+
1
6
  7.3.2 - 2018-03-01
2
7
  --
3
8
  * Made Tags translatable with SEO, to allow them to have a summary page in projects.
@@ -1,3 +1,3 @@
1
1
  module Udongo
2
- VERSION = '7.3.2'
2
+ VERSION = '7.3.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: udongo
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.3.2
4
+ version: 7.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Davy Hellemans
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-03-01 00:00:00.000000000 Z
12
+ date: 2018-03-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -747,7 +747,6 @@ files:
747
747
  - app/views/layouts/backend/login.html.erb
748
748
  - app/views/layouts/frontend/application.html.erb
749
749
  - changelog.md
750
- - config/environment.rb
751
750
  - config/initializers/assets.rb
752
751
  - config/initializers/ckeditor.rb
753
752
  - config/initializers/core_ext/string.rb
File without changes