da_funk 3.8.1 → 3.8.2

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
2
  SHA1:
3
- metadata.gz: dc5426de8fc56344b9331c69660f519ff22b16e1
4
- data.tar.gz: d526956fd9fa1245f3423b41b5353a94fa35b627
3
+ metadata.gz: c27c7c6635b46f736c9bcd9584b9c6670ede3623
4
+ data.tar.gz: e79ab1483b961d02a659f18ff0b3c676c5f91b7e
5
5
  SHA512:
6
- metadata.gz: fb753199d3f3984771803fb9da5d1e30a0beffc4fd0f94791556554828d8b215aa7dac2a3949da1b5cf6e0b4a8191d8212d6790c62576009a8915ce92e9550c2
7
- data.tar.gz: a07f8a6837c8710452c9bbbbe75fbca66068ed3136de03e5698adeb6ae585a65097eeaed3c18ba60fa4c24a12dd2acba223098aa8849a1878c93a467aa5c22a2
6
+ metadata.gz: 40d21141677a0a5b1797429ef929b8348e4749f3e2b53053234003e230ce27e1e09fc4f4e9a093f4a6aa0a9621650430d7167185887b346d6ef01617e64f6130
7
+ data.tar.gz: dbc5c7309d0809e64ee28e040b114fa88cd85497dc04d5c79a0d46ec1e88866efead327be95a102fc6b03ac194c7a8959c90e04257459ba7cb3dec9b033cc434
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- da_funk (3.8.1)
4
+ da_funk (3.8.2)
5
5
  archive-zip (~> 0.5)
6
6
  bundler
7
7
  cloudwalk_handshake
@@ -1,5 +1,10 @@
1
1
  # DaFunk
2
2
 
3
+ ### 3.8.2 - 2019-06-18
4
+
5
+ - Implemented Params::ruby_executable_apps, helper to select only ruby applications even if not executable;
6
+ - Fix ISO 8583 HEX Bitmap generation.
7
+
3
8
  ### 3.8.1 - 2019-06-13
4
9
 
5
10
  - Fix ISO8583 binary bitmap generation to CRUBY.
@@ -209,6 +209,10 @@ module DaFunk
209
209
  end
210
210
  end
211
211
 
212
+ def self.ruby_executable_apps
213
+ self.apps.select(&:ruby?)
214
+ end
215
+
212
216
  def self.executable_apps
213
217
  self.apps.select{|app| app.label != "X"}
214
218
  end
@@ -1,4 +1,4 @@
1
1
  module DaFunk
2
- VERSION="3.8.1"
2
+ VERSION="3.8.2"
3
3
  end
4
4
 
@@ -82,7 +82,7 @@ module ISO8583
82
82
  alias_method :to_b, :to_bytes
83
83
 
84
84
  def to_hex
85
- self.to_s.to_i(2).to_s(16).upcase.unpack("H*").first
85
+ self.to_s.to_i(2).to_s(16).upcase
86
86
  end
87
87
 
88
88
  # Generate a String representation of this bitmap in the form:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: da_funk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.8.1
4
+ version: 3.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thiago Scalone
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-13 00:00:00.000000000 Z
11
+ date: 2019-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake