scrivito_video_widget 1.0.10 → 1.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +14 -19
- data/app/models/video.rb +3 -0
- data/lib/scrivito_video_widget/version.rb +1 -1
- metadata +5 -32
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e528f5a7c31140ae04f67cd2ae225ef4387cd2c
|
4
|
+
data.tar.gz: edd2186b143ebf43d54d0751e90b1216c9e693a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1171c1748c6260de501521ba5f9db40d435fd7f0e2f0386be1dff3f77bd1aafd2aa7e37f38f4ff25fa4782b1751abd15502f6ed3c110f6d8adb486e623117ed
|
7
|
+
data.tar.gz: 5432b4c7933b5a6e4cea6f7f45f352f69f066cefdb6ec2096ba06682b4f12f91b38f34fc485afaa73cac35b446a295f23df5b00c8953f6541518058761dab42f
|
data/README.md
CHANGED
@@ -1,33 +1,28 @@
|
|
1
|
-
#
|
1
|
+
# ScrivitoVideoWidget
|
2
2
|
|
3
|
-
[
|
4
|
-
[![Code Climate](https://codeclimate.com/github/Scrivito/scrivito_video_widget/badges/gpa.svg)](https://codeclimate.com/github/Scirvito/scrivito_video_widget)
|
5
|
-
|
6
|
-
A Widget for Scrivito to add a video widget using projekktor.
|
3
|
+
A Scrivito widget that lets you place a video onto a page unsing [Projekktor](http://www.projekktor.com/)
|
7
4
|
|
8
5
|
## Installation
|
9
6
|
|
10
|
-
Add this
|
7
|
+
Add this line to your application's Gemfile:
|
11
8
|
|
12
9
|
gem 'scrivito_video_widget'
|
13
10
|
|
14
|
-
Add this line to your application
|
11
|
+
Add this line to your application stylesheet manifest:
|
15
12
|
|
16
13
|
*= require scrivito_video_widget
|
17
14
|
|
18
|
-
Add this line to your application
|
19
|
-
|
20
|
-
/= require scrivito_video_widget
|
15
|
+
Add this line to your application JavaScript manifest:
|
21
16
|
|
22
|
-
|
17
|
+
//= require scrivito_video_widget
|
23
18
|
|
24
|
-
|
25
|
-
details.
|
19
|
+
## Video class
|
26
20
|
|
27
|
-
|
21
|
+
If your app already includes a class named `Video`, please make sure that it defines the blob attribute as a binary.
|
28
22
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
23
|
+
```ruby
|
24
|
+
class Video < Obj
|
25
|
+
attribute :blob, :binary
|
26
|
+
...
|
27
|
+
end
|
28
|
+
```
|
data/app/models/video.rb
ADDED
metadata
CHANGED
@@ -1,31 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scrivito_video_widget
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scrivito
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: scrivito_sdk
|
14
|
+
name: scrivito
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
30
16
|
requirements:
|
31
17
|
- - ">="
|
@@ -52,20 +38,6 @@ dependencies:
|
|
52
38
|
- - ">="
|
53
39
|
- !ruby/object:Gem::Version
|
54
40
|
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: rake
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
41
|
description: Scrivito video Widget.
|
70
42
|
email:
|
71
43
|
- support@scrivito.com
|
@@ -82,6 +54,7 @@ files:
|
|
82
54
|
- app/assets/stylesheets/scrivito_video_widget.css
|
83
55
|
- app/assets/stylesheets/scrivito_video_widget/application.css
|
84
56
|
- app/assets/stylesheets/scrivito_video_widget/dynamic_video_container.css
|
57
|
+
- app/models/video.rb
|
85
58
|
- app/models/video_widget.rb
|
86
59
|
- app/views/video_widget/details.html.erb
|
87
60
|
- app/views/video_widget/show.html.erb
|
@@ -111,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
111
84
|
version: '0'
|
112
85
|
requirements: []
|
113
86
|
rubyforge_project:
|
114
|
-
rubygems_version: 2.
|
87
|
+
rubygems_version: 2.4.5
|
115
88
|
signing_key:
|
116
89
|
specification_version: 4
|
117
90
|
summary: Scrivito video Widget.
|