spriteful 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spriteful/cli.rb +3 -0
- data/lib/spriteful/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37caeb78f09e8d45f76564bc68356c1bf0de6f83
|
4
|
+
data.tar.gz: f8e228145e647b532029ccea9cdf694027727d29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff682d4e50ae6bdb93e542c2e64ecd5b16f4f6761456bb3d67d022eef36fa1976c30b7e28d47e46501c4a71442f08f39cdad76f9aaaffe49e848320d922d3aef
|
7
|
+
data.tar.gz: d6b98c35ca983cd7ba9511b9f3127fb90320858e23d2ccad6db3f26750a87184aee89496807c86c1e0be87f4971ca1b1c1217b01ecb0034258db07aae7897718
|
data/lib/spriteful/cli.rb
CHANGED
@@ -4,6 +4,7 @@ require 'thor/group'
|
|
4
4
|
module Spriteful
|
5
5
|
class CLI < Thor::Group
|
6
6
|
include Thor::Actions
|
7
|
+
|
7
8
|
desc 'Generates image sprites with corresponding stylesheets.'
|
8
9
|
|
9
10
|
argument :sources, type: :array, desc: 'Images to generate the sprites.', default: []
|
@@ -23,6 +24,8 @@ module Spriteful
|
|
23
24
|
class_option :version, type: :boolean, aliases: '-v'
|
24
25
|
class_option :optimize, type: :boolean, default: true, desc: 'Optimizes the combined PNG and inline SVG images.'
|
25
26
|
|
27
|
+
class_option :force, type: :boolean, group: :runtime, desc: 'Always overwrite files that already exist.'
|
28
|
+
|
26
29
|
# Public: Gets the CLI banner for the Thor help message.
|
27
30
|
#
|
28
31
|
# Returns a String.
|
data/lib/spriteful/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spriteful
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lucas Mazza
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|