prawn-gmagick 0.0.8 → 0.0.9

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
- SHA1:
3
- metadata.gz: 36f911e7e87a31e89f93b49211a56ce55024dbd5
4
- data.tar.gz: 7318c8ebde6566e2b35a3c2936403e5c5efbe7b0
2
+ SHA256:
3
+ metadata.gz: e0832064428f6350a4f3f545dc328d3b88d8684f16e425ae25cb0126e7fdd136
4
+ data.tar.gz: 19242f4b3d82c2adb5f9239fbbec5c320a311f5441113473e9dfba5976ac651a
5
5
  SHA512:
6
- metadata.gz: 6322a6362d3b701aa5f4114da7387761937c0235f8d9764320995a0a7f2700a4e2c07c0699c6fb03c77cb656a368fc610cab92a6f3565f8a71e47ad5c8194910
7
- data.tar.gz: cc1aababff5a1daf9e6ed50550b9a278d55aecf38c75e7951d9fbc6572beba34e9bc84205642112185bb4518985d9862521bc57690c4bffca01fcaf9a0803051
6
+ metadata.gz: 6f8ad1228c22d14ea384d26999d400640b08ed2b2c996076f4c4b60cfd3a585440ad8ea55e9c5b7c330d7bf5b7d9f8a66026e5fa3e89ad2bb46e853d6334db15
7
+ data.tar.gz: 3222ad47edaabd4f4f2600fc95accbf7952fbf561472a0c6abed4eac5314e7daab6b7243405a3b3d95e75e31aa106cfc6d4c37f6a8deebc9dd66798c097a0221
@@ -45,6 +45,22 @@ ruby png_example.rb 1.17s user 0.20s system 93% cpu 1.463 total
45
45
 
46
46
  ```
47
47
 
48
+ ## Amazon EC2 / Elastic Beanstalk Installation
49
+ To allow the gem to install successfuly, you may need to run some (or all) of the following commands on your EC2 instance:
50
+ ```console
51
+ sudo yum install GraphicsMagick
52
+ sudo yum install GraphicsMagick-c++
53
+ sudo yum install GraphicsMagick-devel
54
+ ```
55
+ For an Elastic Beanstalk deployment you will need to create an `.ebextensions\packages.config` file, add the following and then commit it to git:
56
+ ```yaml
57
+ packages:
58
+ yum:
59
+ GraphicsMagick: []
60
+ GraphicsMagick-c++: []
61
+ GraphicsMagick-devel: []
62
+ ```
63
+
48
64
  ## Found a bug?
49
65
  Open a [github issue](https://github.com/packetmonkey/prawn-gmagick/issues)
50
66
 
Binary file
@@ -42,6 +42,8 @@ class Gmagick < Prawn::Images::Image
42
42
  :Decode => [0, 1]
43
43
  )
44
44
  smask_obj.stream << alpha_mask
45
+ smask_obj.stream.filters << { FlateDecode: nil }
46
+
45
47
  obj.data[:SMask] = smask_obj
46
48
  end
47
49
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prawn-gmagick
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evan Sharp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-07 00:00:00.000000000 Z
11
+ date: 2019-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: prawn
@@ -69,6 +69,7 @@ files:
69
69
  - Rakefile
70
70
  - ext/image/extconf.rb
71
71
  - ext/image/image.c
72
+ - lib/image.bundle
72
73
  - lib/image.so
73
74
  - lib/prawn/gmagick.rb
74
75
  - test/fixtures/ascii.txt
@@ -104,10 +105,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
105
  - !ruby/object:Gem::Version
105
106
  version: '0'
106
107
  requirements: []
107
- rubyforge_project:
108
- rubygems_version: 2.4.5
108
+ rubygems_version: 3.0.1
109
109
  signing_key:
110
110
  specification_version: 4
111
111
  summary: Use GraphicsMagick to load images in a Prawn docuemnt
112
112
  test_files: []
113
- has_rdoc: