svgo_wrapper 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5d28e56255a9c92c101eb2245cddb434becf08f4
4
- data.tar.gz: ad9a828921e3f26868aaaa94f26d09a8cb12de93
3
+ metadata.gz: 76a70d96f217e4b058f67f606d9ba17ddef9f777
4
+ data.tar.gz: fe0c8f2ed99d09b63a53e445a9db99c373e19bf2
5
5
  SHA512:
6
- metadata.gz: 910fd2cc795027853bad42d7e340fc44c75a5e1ef7fbd877a671dd57f16d28ecc47577617b6d0bc165cafc55f0f1a4ffeda2c4272a8c4390e9168c7f75807ea3
7
- data.tar.gz: 749424df3f68830942b94b1b58c44067b6c2f83755c1890b3b93e98791482a5c82206ab1f54a62e1f73bcefc4ac91a9a9cabf661e23a7807ef7776f9b9ac022f
6
+ metadata.gz: c5c86c5f59bd2e820d14a15e7bc4f2571ab604d6f2e987e070582dc8c1785b59854cd9f9d91c7589db44fea8b47ef23b6b5d8dd25aaf7406416d05f3d908c841
7
+ data.tar.gz: 4c8c053e552c484cb2d23c162288515c55f9ca1012ed0c5f39b4d1787f3761c29596eb77d3fcd0372ac2998c1d98517cec8e9c4678188be64ae13ccd20b52bb6
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.1.5
1
+ 2.1.2
data/Gemfile CHANGED
@@ -3,10 +3,10 @@ gemspec
3
3
 
4
4
  group :development do
5
5
  gem "byebug", "~> 3.5.1"
6
- gem "guard", "~> 2.10.2"
7
- gem "guard-rspec", "~> 4.4.2"
6
+ gem "guard", "~> 2.11.1"
7
+ gem "guard-rspec", "~> 4.5.0"
8
8
  gem "guard-rubocop", "~> 1.2.0"
9
- gem "libnotify", "~> 0.8.4"
9
+ gem "libnotify", "~> 0.9.1"
10
10
  gem "rubocop", "~> 0.28.0"
11
11
  end
12
12
 
data/lib/svgo_wrapper.rb CHANGED
@@ -28,7 +28,7 @@ class SvgoWrapper
28
28
  raise Error, "Unexpected error (#{e.exitstatus})\n"
29
29
  end
30
30
 
31
- raise ParserError, output unless output.start_with? "<svg"
31
+ raise ParserError, output unless output =~ /<svg/
32
32
  output
33
33
  end
34
34
 
@@ -1,3 +1,3 @@
1
1
  class SvgoWrapper
2
- VERSION = "0.0.1".freeze
2
+ VERSION = "0.0.3".freeze
3
3
  end
data/svgo_wrapper.gemspec CHANGED
@@ -17,6 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.files = `git ls-files -z`.split("\x0")
18
18
  spec.test_files = spec.files.grep(/^(test|spec|features)/)
19
19
  spec.require_paths = ["lib"]
20
+ spec.post_install_message = "Please verify that the `svgo` tool is installed: https://github.com/svg/svgo#how-to-use"
20
21
 
21
22
  spec.add_dependency "open4", "~> 1.3.4"
22
23
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: svgo_wrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriel de Oliveira
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-12 00:00:00.000000000 Z
11
+ date: 2015-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: open4
@@ -60,7 +60,7 @@ homepage: https://github.com/tribune/svgo_wrapper
60
60
  licenses:
61
61
  - MIT
62
62
  metadata: {}
63
- post_install_message:
63
+ post_install_message: 'Please verify that the `svgo` tool is installed: https://github.com/svg/svgo#how-to-use'
64
64
  rdoc_options: []
65
65
  require_paths:
66
66
  - lib