z-rqr 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 42d024f8154afee8eaa887c5587588c0361e6096
4
+ data.tar.gz: 82eddf2e64a475a6a996fbcca1a36267c6729d52
5
+ SHA512:
6
+ metadata.gz: 939777401f5f897c31865186f370e13817301160d9408fc7fbbf05b44d085904ceabb6b50f769e27b71adc1a53060b5f1148178a2c7c5b73627f0949ce7e5484
7
+ data.tar.gz: 8a5d807dd971bc54498ee0035cb63ea9b367c0043b15b607d440e4dac40eb7b37c7cb2b67c42f19d7105b8d5a9462420e51fce277a41be1988eaa165feb7f374
data/ext/rqr/extconf.rb CHANGED
@@ -11,15 +11,21 @@
11
11
  =end
12
12
  require 'mkmf'
13
13
  require 'rbconfig'
14
- $libs = append_library($libs, "supc++")
14
+
15
+ if have_library("supc++")
16
+ $libs = append_library($libs, "supc++")
17
+ end
15
18
 
16
19
  FINK_DIR = '/sw'
17
20
  MACPORT_DIR = '/opt/local'
21
+ HOMEBREW_DIR = '/usr/local'
18
22
 
19
23
  if File.exists?(FINK_DIR)
20
24
  DARWIN_PORT_DIR = FINK_DIR
21
- else
25
+ elsif File.exists?(MACPORT_DIR)
22
26
  DARWIN_PORT_DIR = MACPORT_DIR
27
+ else
28
+ DARWIN_PORT_DIR = HOMEBREW_DIR
23
29
  end
24
30
 
25
31
  if RUBY_PLATFORM =~ /darwin/
@@ -1,4 +1,6 @@
1
1
  #include "qr_draw_png.h"
2
+ #include <string.h>
3
+ #include <zlib.h>
2
4
 
3
5
  //=============================================================================
4
6
  // QRDrawPNG::draw
data/lib/rqr/version.rb CHANGED
@@ -2,7 +2,7 @@ module RQR #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 2
5
- TINY = 4
5
+ TINY = 5
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: z-rqr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
5
- prerelease:
4
+ version: 0.2.5
6
5
  platform: ruby
7
6
  authors:
8
7
  - Ryota Maruko
@@ -10,7 +9,7 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2011-10-20 00:00:00.000000000Z
12
+ date: 2015-08-25 00:00:00.000000000 Z
14
13
  dependencies: []
15
14
  description:
16
15
  email: pools _at_ rubyforge _dot_ org
@@ -52,6 +51,7 @@ files:
52
51
  - z-rqr.gemspec
53
52
  homepage: http://github.com/zzzhc/rqr
54
53
  licenses: []
54
+ metadata: {}
55
55
  post_install_message:
56
56
  rdoc_options:
57
57
  - --charset=UTF-8
@@ -59,21 +59,19 @@ require_paths:
59
59
  - lib
60
60
  - ext
61
61
  required_ruby_version: !ruby/object:Gem::Requirement
62
- none: false
63
62
  requirements:
64
- - - ! '>='
63
+ - - '>='
65
64
  - !ruby/object:Gem::Version
66
65
  version: '0'
67
66
  required_rubygems_version: !ruby/object:Gem::Requirement
68
- none: false
69
67
  requirements:
70
- - - ! '>='
68
+ - - '>='
71
69
  - !ruby/object:Gem::Version
72
70
  version: '0'
73
71
  requirements: []
74
72
  rubyforge_project:
75
- rubygems_version: 1.8.10
73
+ rubygems_version: 2.0.14
76
74
  signing_key:
77
- specification_version: 3
78
- summary: ! 'A ruby library to create qrcode. Output: PS, JPEG, PNG, EPS, TIFF.'
75
+ specification_version: 4
76
+ summary: 'A ruby library to create qrcode. Output: PS, JPEG, PNG, EPS, TIFF.'
79
77
  test_files: []