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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b531f2410d7ef66c94c59b34d29c8850fa87e31b
4
- data.tar.gz: 44769f7c088d363f25d3cf9683c8f534a57a8230
3
+ metadata.gz: 37caeb78f09e8d45f76564bc68356c1bf0de6f83
4
+ data.tar.gz: f8e228145e647b532029ccea9cdf694027727d29
5
5
  SHA512:
6
- metadata.gz: d53413ff88bd9fe13ffcdedda58dac00442677f9c2d419787412b54fbe1e563698f3d140079f8e0cc55167daf3018e9519e8ae93653d5098226ee721c4cf4d66
7
- data.tar.gz: 53ae1c5ea49354065317166b5f4291164e607b0084ea645f75d4561ec29ae8b7a9f45d132f4b46e7b83f8b757e0baa0ea2c1ff7faadbf53432e2392b033fc4df
6
+ metadata.gz: ff682d4e50ae6bdb93e542c2e64ecd5b16f4f6761456bb3d67d022eef36fa1976c30b7e28d47e46501c4a71442f08f39cdad76f9aaaffe49e848320d922d3aef
7
+ data.tar.gz: d6b98c35ca983cd7ba9511b9f3127fb90320858e23d2ccad6db3f26750a87184aee89496807c86c1e0be87f4971ca1b1c1217b01ecb0034258db07aae7897718
@@ -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.
@@ -1,3 +1,3 @@
1
1
  module Spriteful
2
- VERSION = '0.3.2'
2
+ VERSION = '0.3.3'
3
3
  end
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.2
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-15 00:00:00.000000000 Z
11
+ date: 2014-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor