rocketwheel-command 1.0.0 → 1.0.1

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.
data/.gitignore CHANGED
@@ -3,7 +3,7 @@
3
3
  .bundle
4
4
  .config
5
5
  .yardoc
6
- Rocketfile.yml
6
+ ./Rocketfile.yml
7
7
  Gemfile.lock
8
8
  InstalledFiles
9
9
  _yardoc
data/README.md CHANGED
@@ -18,39 +18,6 @@ gem update rocketwheel-command
18
18
 
19
19
  ## Usage
20
20
 
21
- Directory structure
22
-
23
- ```
24
- + source
25
- + videos
26
- + images
27
- index.html.erb
28
- Rocketfile.yml
29
- ```
30
-
31
- Rocketfile.yml
32
-
33
- ```yaml
34
- s3:
35
- key: AKIAJ3SV...
36
- secret: SIhLOJGkT9S...
37
- bucket: bucket
38
- path: folder/to/deploy/to
39
-
40
- playlist:
41
- - image: 'images/video1.png'
42
- title: 'Welcome to Vault PromoMats'
43
- description: 'An overview of Veeva Vault PromoMats'
44
- file: 'videos/video1.mp4'
45
-
46
- player:
47
- autostart: true
48
-
49
- transloadit:
50
- key: 123425adwa....
51
- secret: 8ajd82u2jad...
52
- ```
53
-
54
21
  **Versions**
55
22
 
56
23
  Lists the various versions of the player.
@@ -71,7 +38,7 @@ rocket new foobar
71
38
 
72
39
  Copies all files from the `./source` directory to the `./build` directory,
73
40
  compiles any erb templates, and downloads and installs the player into the
74
- `./build` directory.
41
+ `./build/demoplayer` directory.
75
42
 
76
43
  ```bash
77
44
  rocket build
@@ -109,11 +76,10 @@ rocket deploy
109
76
  To release a new version of the gem:
110
77
 
111
78
  1. Bump the version number in [./lib/rocketwheel/command/version.rb](./lib/rocketwheel/command/version.rb)
112
- 2. Commit changes and tag the commit with the version number.
79
+ 2. Commit changes
113
80
 
114
81
  ```bash
115
82
  git commit -am "Bumped version"
116
- git tag x.x.x && git push && git push --tags
117
83
  ```
118
84
  3. Push the gem to [rubygems](http://rubygems.org)
119
85
 
@@ -1,5 +1,5 @@
1
1
  module Rocketwheel
2
2
  module Command
3
- VERSION = '1.0.0'
3
+ VERSION = '1.0.1'
4
4
  end
5
5
  end
@@ -0,0 +1,25 @@
1
+ version: 2.1.2
2
+
3
+ # s3:
4
+ # key: s3key
5
+ # secret: s3 secret
6
+ # bucket: s3 bucket
7
+ # path: path/to/s3/folder
8
+
9
+ # playlist:
10
+ # - image: 'images/video1.png'
11
+ # title: 'Title'
12
+ # description: 'Description'
13
+ # levels:
14
+ # - file: 'videos/mp4/video1.mp4'
15
+ # - file: 'videos/webm/video1.webm'
16
+
17
+ # player:
18
+ # autostart: false
19
+
20
+ # transloadit:
21
+ # key: transloadit key
22
+ # secret: transloadit secret
23
+ #
24
+ # # Custom transloadit steps
25
+ # steps:
@@ -0,0 +1,27 @@
1
+ version: 3.0.0.beta1
2
+
3
+ # s3:
4
+ # key: s3key
5
+ # secret: s3 secret
6
+ # bucket: s3 bucket
7
+ # path: path/to/s3/folder
8
+
9
+ # playlist:
10
+ # - image: 'images/video1.png'
11
+ # title: 'Title'
12
+ # description: 'Description'
13
+ # sources:
14
+ # - file: 'videos/mp4/video1.mp4'
15
+ # - file: 'videos/webm/video1.webm'
16
+
17
+ player:
18
+ width: 854
19
+ height: 480
20
+ # autostart: false
21
+
22
+ # transloadit:
23
+ # key: transloadit key
24
+ # secret: transloadit secret
25
+ #
26
+ # # Custom transloadit steps
27
+ # steps:
@@ -0,0 +1,21 @@
1
+ <!DOCTYPE HTML>
2
+ <html>
3
+ <head>
4
+ <title>Title</title>
5
+ <meta name="viewport" content="width=880" />
6
+ <link rel="stylesheet" href="demoplayer/stylesheets/player.css" type="text/css" media="screen">
7
+ <script src="demoplayer/javascripts/jwplayer.js" type="text/javascript"></script>
8
+ <script src="demoplayer/javascripts/player.js" type="text/javascript"></script>
9
+ <script type="text/javascript">
10
+ $(function() {
11
+ window.player = new Player(<%= player_options.merge('playlist' => playlist).to_json %>)
12
+ })
13
+ </script>
14
+ </head>
15
+ <body>
16
+ <div id="player">
17
+ <div id="backend"></div>
18
+ <div id="playlist"></div>
19
+ </div>
20
+ </body>
21
+ </html>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rocketwheel-command
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -155,6 +155,10 @@ files:
155
155
  - templates/project/2.1.2/source/images/.empty_directory
156
156
  - templates/project/2.1.2/source/index.html.tt
157
157
  - templates/project/2.1.2/source/videos/.empty_directory
158
+ - templates/project/3.0.0.beta1/Rocketfile.yml
159
+ - templates/project/3.0.0.beta1/source/images/.empty_directory
160
+ - templates/project/3.0.0.beta1/source/index.html.tt
161
+ - templates/project/3.0.0.beta1/source/videos/.empty_directory
158
162
  - templates/transloadit.yml
159
163
  homepage: https://github.com/luminosity-group/rocketwheel-command
160
164
  licenses:
@@ -182,4 +186,3 @@ signing_key:
182
186
  specification_version: 3
183
187
  summary: Command line tool for encoding, building and deploying demo packages.
184
188
  test_files: []
185
- has_rdoc: