rqrcode 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,7 +1,11 @@
1
+ *0.3.4* (May 23rd, 2011)
2
+
3
+ * add the more Rubyish QRCode#dark? alias for #is_dark [https://github.com/dasch]
4
+
1
5
  *0.3.3* (Feb 1st, 2011)
2
6
 
3
7
  * check to see if the level is valid
4
- * fix for 'rszf' bug by [Rob la Lau https://github.com/toretore]
8
+ * fix for 'rszf' bug by [Rob la Lau https://github.com/ohreally]
5
9
 
6
10
  *0.3.2* (Mar 15th, 2009)
7
11
 
data/README CHANGED
@@ -78,7 +78,7 @@ You have installed the gem already, yeah?
78
78
  <% @qr.modules.each_index do |x| %>
79
79
  <tr>
80
80
  <% @qr.modules.each_index do |y| %>
81
- <% if @qr.is_dark(x,y) %>
81
+ <% if @qr.dark?(x,y) %>
82
82
  <td class="black"/>
83
83
  <% else %>
84
84
  <td class="white"/>
@@ -103,6 +103,8 @@ module RQRCode #:nodoc:
103
103
  @modules[row][col]
104
104
  end
105
105
 
106
+ alias dark? is_dark
107
+
106
108
  # This is a public method that returns the QR Code you have
107
109
  # generated as a string. It will not be able to be read
108
110
  # in this format by a QR Code reader, but will give you an
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rqrcode
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 3
10
- version: 0.3.3
9
+ - 4
10
+ version: 0.3.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Duncan Robertson
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-01 00:00:00 +00:00
18
+ date: 2011-05-23 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies: []
21
21