piet-binary 0.1.4 → 0.2.0

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: 518eb1598d0c447757beb3c13b12f0e33c333154
4
- data.tar.gz: 27097d39e288a0bcf3adb4e01819f432956a93b6
3
+ metadata.gz: 7a65812efd38d78686af51d7d89cb64438929932
4
+ data.tar.gz: 14eed85ea71c404270bedb7879888f34236f2041
5
5
  SHA512:
6
- metadata.gz: adeb78b1b10844bd67796f7e677826d2936915a453ade993472916936bd8f4f5e3af45604f7d113a06507c83bcb82c2df254ce971985afefaf11de3ccaa5123e
7
- data.tar.gz: 51181e6064096773d114822de406923690b06af253c5c937c2d9aa7abbb2e682492df017df363437af58d95b7103b500af5d133fccf2dc3e884c303d2bce00f2
6
+ metadata.gz: f59569a92f485c8aa794776dd793ea7c65f7cfa090893bce764b95317dc1c143a4c65f9038e65220c7b3de1ba6c718a04827c2ad75303252453cf70b7a19e7e7
7
+ data.tar.gz: a4eb8b79ff79687557fbf7ff2bebc7b7566be2482b306417675cf1f84b8a7693868d62299a7974063084ad32b36d70025bd3e45509fc151ac1566b58b1091c96
data/README.md CHANGED
@@ -5,14 +5,16 @@ Description
5
5
  -----------
6
6
 
7
7
  Piet-Binary is a gem which contains binaries for use with the [Piet](https://github.com/albertbellonch/piet) gem.
8
- This is harmless gem - you can add to your Gemfile without collateral effects. It only will be activated if you use the Piet gem and you don't have jpegoptim/optipng binaries (and any other used by the Piet gem) in your system.
9
- This gem doesn't have the pretention to be an all-case solution to the problem of lack of binaries required by Piet in the system. But will resolve the problem in the mosts cases. If you use this gem and Piet still accuse a not found error for the binaries tools (jpegoptim/optipng), you have to manually install the tools in the system. In this case you can help to improve this gem and add the missing binaries (see the "Helping this gem" section).
8
+
9
+ This is an harmless gem - you can add to your Gemfile without collateral effects. It will only be activated if you use the Piet gem and you don't have the jpegoptim/optipng binaries (and any other used by the Piet gem) in your system.
10
+
11
+ This gem haven't the pretention to be an all-case solution to the problem of lack of binaries required by Piet in the system. But will resolve the problem in the mosts cases. If you use this gem and Piet still accuse a not found error for the binaries tools (jpegoptim/optipng), you have to manually install the tools in the system. In this case you can help to improve this gem and add the missing binaries (see the "Helping this gem" section).
10
12
 
11
13
 
12
14
  Why?
13
15
  ----
14
16
 
15
- To Piet gem work without manually install jpegoptim/optipng in the system. This is necessary to Piet work, for example, with Heroku.
17
+ This gem has the purpose to make the Piet gem work without manually install the jpegoptim/optipng tools in the system. This is necessary to Piet work if you are using Heroku as your host, and in many others hosting providers (mainly the shared ones) who doesn't allow to compile and/or install apps.
16
18
 
17
19
 
18
20
  Installation
@@ -28,7 +30,7 @@ or, if you are using in Rails just add to your Gemfile (and, of course, install
28
30
  gem 'piet-binary'
29
31
  ```
30
32
 
31
- This gem automatically calls the piet gem, so it's not necessary to call the piet gem. So, you can just replace this:
33
+ This gem automatically calls the piet gem, so it's not necessary to you call the piet gem. In this case, you can just replace this:
32
34
  ```ruby
33
35
  gem 'piet'
34
36
  ```
@@ -51,15 +53,16 @@ require 'piet-binary'
51
53
  Helping this gem
52
54
  ----------------
53
55
 
54
- You can help this gem in 2 ways:
55
- * keeping this gem with the latest version of the binaries
56
+ You can help to improve this gem in 2 ways:
57
+ * keeping this gem updated, with the latests binaries
56
58
  * adding platforms: today it only have a linux/64 bits binaries
57
59
 
58
- To compile the jpegoptim, clone the last version of https://github.com/tjko/jpegoptim and execute the config with the "-static" CFLAG (it's necessary to create a non-dependable standalone exec file):
60
+ To compile the jpegoptim in linux/osx, clone the last version at https://github.com/tjko/jpegoptim and execute the configure with the "-static" CFLAG (it's necessary to create a non-dependable standalone exec file):
59
61
 
60
62
  ```bash
61
63
  git clone https://github.com/tjko/jpegoptim.git
62
64
  cd jpegoptim
63
65
  CFLAGS="-static" ./configure
66
+ make
64
67
  ```
65
- after this, copy the jpegoptim executable to the correct folder of this gem and submit a pull request.
68
+ after this, copy the jpegoptim executable to the correct folder in this gem (the bin folder) and submit a pull request.
@@ -1,3 +1,3 @@
1
1
  module PietBinary
2
- VERSION = "0.1.4"
2
+ VERSION = "0.2.0"
3
3
  end
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
18
18
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
19
19
  s.require_paths = ["lib"]
20
20
  s.add_dependency "png_quantizator"
21
- s.add_dependency "piet", ['~> 0.1.4']
21
+ s.add_dependency "piet", ['>= 0.2.0']
22
22
  s.add_development_dependency "rspec"
23
23
  s.add_development_dependency "ZenTest"
24
24
  s.add_runtime_dependency 'os', ['~> 0.9.6']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: piet-binary
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Loureiro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-30 00:00:00.000000000 Z
11
+ date: 2014-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: png_quantizator
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: piet
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 0.1.4
33
+ version: 0.2.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 0.1.4
40
+ version: 0.2.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
123
  version: '0'
124
124
  requirements: []
125
125
  rubyforge_project: piet-binary
126
- rubygems_version: 2.2.0
126
+ rubygems_version: 2.2.1
127
127
  signing_key:
128
128
  specification_version: 4
129
129
  summary: Fallback binaries for Piet gem