qr4r 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -3,3 +3,6 @@ source :rubygems
3
3
  gem 'rqrcode'
4
4
  gem 'mojo_magick', :path => '/projects/mojo_magick'
5
5
 
6
+ group :test, :development do
7
+ gem 'rake'
8
+ end
data/Gemfile.lock CHANGED
@@ -6,6 +6,7 @@ PATH
6
6
  GEM
7
7
  remote: http://rubygems.org/
8
8
  specs:
9
+ rake (0.9.2.2)
9
10
  rqrcode (0.4.2)
10
11
 
11
12
  PLATFORMS
@@ -13,4 +14,5 @@ PLATFORMS
13
14
 
14
15
  DEPENDENCIES
15
16
  mojo_magick!
17
+ rake
16
18
  rqrcode
data/lib/qr4r.rb CHANGED
@@ -14,7 +14,7 @@ module Qr4r
14
14
  end
15
15
  end
16
16
  MojoMagick::convert do |c|
17
- c.blob (data.pack 'C'*data.length), :format => :rgb, :depth => 8, :size => "%dx%d" % [qr.modules.size, qr.modules.size]
17
+ c.blob (data.pack('C'*data.length)), :format => :rgb, :depth => 8, :size => "%dx%d" % [qr.modules.size, qr.modules.size]
18
18
  c.file outfile
19
19
  end
20
20
  end
data/lib/qr4r/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Qr4r
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: qr4r
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.1
5
+ version: 0.1.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Jon Rogers
@@ -70,6 +70,6 @@ rubyforge_project: qr4r
70
70
  rubygems_version: 1.8.15
71
71
  signing_key:
72
72
  specification_version: 3
73
- summary: qr4r-0.1.1
73
+ summary: qr4r-0.1.2
74
74
  test_files:
75
75
  - test/qr4r_test.rb