webtranslateit-payday 1.6.1 → 1.6.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 +4 -4
- data/.rubocop.yml +1 -0
- data/CHANGELOG.md +4 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +5 -1
- data/lib/payday/invoiceable.rb +2 -2
- data/payday.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 37916cce0794198ed834ba3c5c8e92a501bc7941624e9359673d59eb54485766
|
|
4
|
+
data.tar.gz: 89802d434a43e11bf793cf20f6d62e11648fd01e536b17355bd2b81461547f5b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d23b3b1ac298dca95e845691ba20c744134079151bc12a334f8d892e03e5101ffd9cfe5462f82c4f16dc169897978863da8e6ff9ef7784515f39f74cd3cfb288
|
|
7
|
+
data.tar.gz: 8ed2aa7e84ebabdf683a08c2392428e9754b5241c5f71a3d093ac816ce39f85e02647848b43444a224d0f12773594b492df1f364c21edc5a81ed416ea9058dd3
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
webtranslateit-payday (1.6.
|
|
4
|
+
webtranslateit-payday (1.6.2)
|
|
5
5
|
activesupport (~> 7, < 8)
|
|
6
6
|
i18n (~> 1.12, < 2)
|
|
7
7
|
money (~> 6.16, < 7)
|
|
@@ -109,6 +109,9 @@ GEM
|
|
|
109
109
|
unicode-display_width (>= 1.4.0, < 3.0)
|
|
110
110
|
rubocop-ast (1.21.0)
|
|
111
111
|
parser (>= 3.1.1.0)
|
|
112
|
+
rubocop-performance (1.14.3)
|
|
113
|
+
rubocop (>= 1.7.0, < 2.0)
|
|
114
|
+
rubocop-ast (>= 0.4.0)
|
|
112
115
|
rubocop-rspec (2.12.1)
|
|
113
116
|
rubocop (~> 1.31)
|
|
114
117
|
ruby-progressbar (1.11.0)
|
|
@@ -132,6 +135,7 @@ DEPENDENCIES
|
|
|
132
135
|
matrix
|
|
133
136
|
rspec (~> 3.11.0)
|
|
134
137
|
rubocop
|
|
138
|
+
rubocop-performance
|
|
135
139
|
rubocop-rspec
|
|
136
140
|
webtranslateit-payday!
|
|
137
141
|
|
data/lib/payday/invoiceable.rb
CHANGED
|
@@ -80,11 +80,11 @@ module Payday
|
|
|
80
80
|
|
|
81
81
|
# Iterates through the details on this invoiceable. The block given should accept
|
|
82
82
|
# two parameters, the detail name and the actual detail value.
|
|
83
|
-
def each_detail
|
|
83
|
+
def each_detail
|
|
84
84
|
return if defined?(invoice_details).nil?
|
|
85
85
|
|
|
86
86
|
invoice_details.each do |detail|
|
|
87
|
-
|
|
87
|
+
yield(detail[0], detail[1])
|
|
88
88
|
end
|
|
89
89
|
end
|
|
90
90
|
|
data/payday.gemspec
CHANGED