video_to_ascii 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # VideoToAscii
2
2
 
3
- TODO: Write a gem description
3
+ A command line tool that takes a video using your iSight camera and plays it back as ASCII art.
4
+
5
+ **Currently compatible with OSX only.
4
6
 
5
7
  ## Installation
6
8
 
@@ -18,7 +20,7 @@ Or install it yourself as:
18
20
 
19
21
  ## Usage
20
22
 
21
- TODO: Write usage instructions here
23
+ $ video_to_ascii
22
24
 
23
25
  ## Contributing
24
26
 
@@ -61,6 +61,7 @@ class VideoToAscii
61
61
  puts "asciiing the world"
62
62
  images.each do |image|
63
63
  convert_to_ascii(image)
64
+ print "."
64
65
  end
65
66
  end
66
67
 
@@ -74,7 +75,7 @@ class VideoToAscii
74
75
 
75
76
  def convert_to_ascii(image)
76
77
  image = AsciiArt.new("#{image}")
77
- @ascii_images << image.to_ascii_art
78
+ @ascii_images << image.to_ascii_art(color: true, invert: true)
78
79
  end
79
80
 
80
81
  def cleanup
@@ -1,3 +1,3 @@
1
1
  class VideoToAscii
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
15
15
  gem.require_paths = ["lib"]
16
16
  gem.version = VideoToAscii::VERSION
17
17
 
18
- gem.add_dependency('asciiart', '0.0.2')
18
+ gem.add_dependency('asciiart', '0.0.5')
19
19
  gem.add_dependency('streamio-ffmpeg')
20
20
  gem.add_dependency('highline')
21
21
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: video_to_ascii
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-23 00:00:00.000000000 Z
12
+ date: 2013-02-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: asciiart
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.0.2
21
+ version: 0.0.5
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: 0.0.2
29
+ version: 0.0.5
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: streamio-ffmpeg
32
32
  requirement: !ruby/object:Gem::Requirement