catpix 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -4
- data/bin/catpix +3 -3
- data/catpix.gemspec +4 -4
- data/lib/catpix.rb +3 -0
- data/lib/catpix/private.rb +2 -0
- data/lib/catpix/version.rb +4 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fcdff6dbde407d1a3da16b3a1d938175e93e9f0e
|
4
|
+
data.tar.gz: 0fd1b98ca31f31aceb50ddc3b287f584cec30cac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 426b64e05e95359d8fbd0e75ef17b077cac04710bb6507dee5fcd95117748bddb65499d2a192de2766ef8b38c2797ce9b17ad9de04aad99f6f8cc1bcfefd2084
|
7
|
+
data.tar.gz: abbf23e0c4a5de5e83288339b0203302952e3f539943d22245992d22ca4d2de1ddb3b6af91fa0269df6ec241f1835efec7ea885f20bea5defe1b63d8afd393c6
|
data/README.md
CHANGED
@@ -8,7 +8,12 @@ TODO: Write usage instructions here
|
|
8
8
|
|
9
9
|
## Installation
|
10
10
|
|
11
|
-
|
11
|
+
Use **gem** to install Catpix from [RubyGems](https://rubygems.org/gems/catpix):
|
12
|
+
|
13
|
+
$ gem install catpix
|
14
|
+
|
15
|
+
If using [bundler](http://bundler.io/), add this line to your application's
|
16
|
+
Gemfile:
|
12
17
|
|
13
18
|
gem 'catpix'
|
14
19
|
|
@@ -16,9 +21,6 @@ And then execute:
|
|
16
21
|
|
17
22
|
$ bundle
|
18
23
|
|
19
|
-
Or install it yourself as:
|
20
|
-
|
21
|
-
$ gem install catpix
|
22
24
|
|
23
25
|
## Contributing
|
24
26
|
|
data/bin/catpix
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
+
# Copyright (c) 2015 Radek Pazdera <me@radek.io>
|
4
|
+
# Distributed under the MIT License (see LICENSE.txt)
|
5
|
+
|
3
6
|
require 'docopt'
|
4
7
|
require 'catpix'
|
5
8
|
|
@@ -30,9 +33,6 @@ rescue Docopt::Exit => e
|
|
30
33
|
exit 1
|
31
34
|
end
|
32
35
|
|
33
|
-
require 'pp'
|
34
|
-
|
35
|
-
pp args
|
36
36
|
options = {
|
37
37
|
:limit_x => args['--limit-width'].to_f,
|
38
38
|
:limit_y => args['--limit-height'].to_f,
|
data/catpix.gemspec
CHANGED
@@ -9,10 +9,10 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["Radek Pazdera"]
|
10
10
|
spec.email = ["me@radek.io"]
|
11
11
|
spec.summary = %q{Cat images into the terminal.}
|
12
|
-
spec.description = %q{
|
13
|
-
|
14
|
-
|
15
|
-
palette.}
|
12
|
+
spec.description = %q{Print images (png, jpg, gif and many others) in the
|
13
|
+
command line with ease. Using rmagick and tco in the
|
14
|
+
background to read the images and convert them into
|
15
|
+
the extended 256 colour palette for terminals.}
|
16
16
|
spec.homepage = "https://github.com/pazdera/catpix"
|
17
17
|
spec.license = "MIT"
|
18
18
|
|
data/lib/catpix.rb
CHANGED
data/lib/catpix/private.rb
CHANGED
data/lib/catpix/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: catpix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Radek Pazdera
|
@@ -119,10 +119,10 @@ dependencies:
|
|
119
119
|
- !ruby/object:Gem::Version
|
120
120
|
version: '10.4'
|
121
121
|
description: |-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
palette.
|
122
|
+
Print images (png, jpg, gif and many others) in the
|
123
|
+
command line with ease. Using rmagick and tco in the
|
124
|
+
background to read the images and convert them into
|
125
|
+
the extended 256 colour palette for terminals.
|
126
126
|
email:
|
127
127
|
- me@radek.io
|
128
128
|
executables:
|