screengif 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +22 -0
- data/Makefile +3 -0
- data/README.md +6 -9
- data/Vagrantfile +1 -1
- data/screengif.gemspec +2 -2
- metadata +2 -3
- data/demo.gif +0 -0
- data/demo.mov +0 -0
data/CHANGELOG.md
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Screengif Changelog
|
2
|
+
===================
|
3
|
+
|
4
|
+
|
5
|
+
## [0.0.2](https://github.com/dergachev/screengif/compare/v0.0.2...v0.0.1) (April 30, 2015)
|
6
|
+
|
7
|
+
FEATURES:
|
8
|
+
- 9e437b9 Releasing sitediff gem v0.0.2; fixes #11
|
9
|
+
- 8944ded Removing demo.gif, demo.mov from gem package
|
10
|
+
- 37b98b6 Added 'make changelog' helper
|
11
|
+
|
12
|
+
BUGFIXES:
|
13
|
+
|
14
|
+
IMPROVEMENTS:
|
15
|
+
|
16
|
+
BACKWARDS INCOMPATIBILITIES:
|
17
|
+
|
18
|
+
|
19
|
+
## [0.0.1](https://github.com/dergachev/screengif/releases/tag/v0.0.1) (April 30, 2015)
|
20
|
+
|
21
|
+
Initial Release
|
22
|
+
|
data/Makefile
CHANGED
@@ -17,4 +17,7 @@ docker-convert:
|
|
17
17
|
docker-shell:
|
18
18
|
$(MAKE) docker-run cmd="/bin/bash"
|
19
19
|
|
20
|
+
changelog:
|
21
|
+
git log `git describe --tags --abbrev=0`..HEAD --oneline | awk 'BEGIN { print "Commits since last tag:" }; {print "- " $$0}' | vim - -R +"vs CHANGELOG.md" +"set noro"
|
22
|
+
|
20
23
|
.PHONY: build docker-run docker-convert docker-shell
|
data/README.md
CHANGED
@@ -9,12 +9,12 @@ Here's what happens when you apply it to [demo.mov](https://raw.github.com/derga
|
|
9
9
|
## Usage
|
10
10
|
|
11
11
|
```
|
12
|
-
screengif
|
12
|
+
screengif - Convert your screencast into a gif.
|
13
13
|
Usage:
|
14
|
-
screengif
|
14
|
+
screengif [options] [--input FILENAME.mov] [--output OUTPUTFILE.gif]
|
15
15
|
Examples:
|
16
|
-
|
17
|
-
cat somefile.gif |
|
16
|
+
screengif --input demo.mov --output out.gif
|
17
|
+
cat somefile.gif | screengif --progressbar --framerate 10 --delay 50 --delay-last 5 > out.gif
|
18
18
|
|
19
19
|
Specific options:
|
20
20
|
-i, --input FILENAME.mov Use ffmpeg to convert FILENAME.mov into PPM image stream and process results.
|
@@ -70,7 +70,7 @@ The easiest way to use it is to copy your image to screengif project directory (
|
|
70
70
|
|
71
71
|
```
|
72
72
|
cp ~/screencast.mov ./screencast.mov
|
73
|
-
vagrant ssh -- '
|
73
|
+
vagrant ssh -- 'screengif --input /vagrant/screencast.mov --output /vagrant/output/screencast.gif'
|
74
74
|
ls ./output/screencast.gif # should exist!
|
75
75
|
|
76
76
|
# when finished, destroy the VM
|
@@ -84,15 +84,12 @@ The following works with OS X and homebrew, assuming you have ruby 1.9.2+:
|
|
84
84
|
You may need to install brew-cask: https://github.com/phinze/homebrew-cask
|
85
85
|
|
86
86
|
```bash
|
87
|
-
git clone https://github.com/dergachev/screengif.git
|
88
|
-
cd screengif
|
89
|
-
|
90
87
|
# x-quartz is a dependency for gifsicle, no longer installed starting on 10.8
|
91
88
|
brew cask install xquartz
|
92
89
|
open /opt/homebrew-cask/Caskroom/xquartz/2.7.7/XQuartz.pkg # runs the XQuartz installer
|
93
90
|
|
94
91
|
brew install ffmpeg imagemagick gifsicle
|
95
|
-
gem install
|
92
|
+
gem install screengif
|
96
93
|
```
|
97
94
|
|
98
95
|
## Tips
|
data/Vagrantfile
CHANGED
@@ -22,6 +22,6 @@ Vagrant.configure("2") do |config|
|
|
22
22
|
echo "Testing deployment by converting ./demo.mov to ./output/demo.gif"
|
23
23
|
mkdir -p ./output
|
24
24
|
# vagrant colors stderr red (undesirable), so redirect it to stdout
|
25
|
-
|
25
|
+
bin/screengif --input demo.mov --output ./output/demo.gif 2>&1
|
26
26
|
EOH
|
27
27
|
end
|
data/screengif.gemspec
CHANGED
@@ -2,7 +2,7 @@ $:.unshift File.expand_path('../lib', __FILE__)
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "screengif"
|
5
|
-
spec.version = "0.0.
|
5
|
+
spec.version = "0.0.2"
|
6
6
|
spec.authors = "Alex Dergachev"
|
7
7
|
spec.email = "alex@evolvingweb.ca"
|
8
8
|
spec.summary = 'Script to convert mov files to animated gifs.'
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.homepage = 'https://github.com/dergachev/screengif'
|
11
11
|
spec.license = "MIT"
|
12
12
|
|
13
|
-
spec.files = `git ls-files`.split($/)
|
13
|
+
spec.files = `git ls-files`.split($/) - ["demo.gif", "demo.mov"]
|
14
14
|
spec.bindir = 'bin'
|
15
15
|
spec.executables = 'screengif'
|
16
16
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: screengif
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -51,6 +51,7 @@ extensions: []
|
|
51
51
|
extra_rdoc_files: []
|
52
52
|
files:
|
53
53
|
- .gitignore
|
54
|
+
- CHANGELOG.md
|
54
55
|
- DEVNOTES.md
|
55
56
|
- Dockerfile
|
56
57
|
- Gemfile
|
@@ -58,8 +59,6 @@ files:
|
|
58
59
|
- README.md
|
59
60
|
- Vagrantfile
|
60
61
|
- bin/screengif
|
61
|
-
- demo.gif
|
62
|
-
- demo.mov
|
63
62
|
- lib/screengif.rb
|
64
63
|
- lib/screengif/draw_progressbar.rb
|
65
64
|
- lib/screengif/options.rb
|
data/demo.gif
DELETED
Binary file
|
data/demo.mov
DELETED
Binary file
|