gobl 0.6.2 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gobl/version.rb +1 -1
- data/lib/gobl.rb +0 -2
- metadata +5 -6
- data/lib/ext/hashme.rb +0 -28
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78b100eaffbd2c950338c44d3e84840281f1ff155e35beb993d6873f3e893a28
|
4
|
+
data.tar.gz: b865e5e7cd8cc1c27fc7a043e6e290f739710e895f7d040b53ff8250492e9cf8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85298a4930680c0a044eb8c92e03e0d5d6888e727e82849cf1dab56083f19e9475f2476b6178f9b7d24277bec95853c91a74ecbd34206005a61e78a4a99b7cfe
|
7
|
+
data.tar.gz: d2ce9cfa5f5d539fbd79ea5d6e2df724046c045d28b627b8827d383ce1510e74a11d1aef5fe1ba0776420fb94c986cc7a278f26a17384c6a40776f6094d2a528
|
data/lib/gobl/version.rb
CHANGED
data/lib/gobl.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gobl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Lilue
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2023-01-
|
13
|
+
date: 2023-01-23 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
@@ -32,14 +32,14 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - ">="
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.
|
35
|
+
version: 0.3.0
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.
|
42
|
+
version: 0.3.0
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: zeitwerk
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -65,7 +65,6 @@ files:
|
|
65
65
|
- data/regimes/fr.json
|
66
66
|
- data/regimes/gb.json
|
67
67
|
- data/regimes/nl.json
|
68
|
-
- lib/ext/hashme.rb
|
69
68
|
- lib/gobl.rb
|
70
69
|
- lib/gobl/bill/advances.rb
|
71
70
|
- lib/gobl/bill/charge.rb
|
@@ -178,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
178
177
|
- !ruby/object:Gem::Version
|
179
178
|
version: 3.1.4
|
180
179
|
requirements: []
|
181
|
-
rubygems_version: 3.
|
180
|
+
rubygems_version: 3.4.1
|
182
181
|
signing_key:
|
183
182
|
specification_version: 4
|
184
183
|
summary: Minimalist ruby version of the GOBL library
|
data/lib/ext/hashme.rb
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
raise 'The `hashme` library version has changed. Review if this extension still applies' if Hashme::VERSION != '0.2.6'
|
4
|
-
|
5
|
-
# Temporary extensions for the `hashme` gem. To be removed when the library supports them.
|
6
|
-
# @api private
|
7
|
-
module Hashme
|
8
|
-
# Adds an URI helper class to the Hashme namespace so that properties referencing them
|
9
|
-
# typecast to URI objects in Ruby standard library.
|
10
|
-
class URI
|
11
|
-
def self.new(value)
|
12
|
-
URI(value)
|
13
|
-
end
|
14
|
-
end
|
15
|
-
|
16
|
-
# TrueClass typecasts to a boolean in Hashme. We alias it to `Boolean` for clarity
|
17
|
-
Boolean = TrueClass
|
18
|
-
|
19
|
-
class CastedArray
|
20
|
-
# Provides access to the whole Enumerable set of methods
|
21
|
-
include Enumerable
|
22
|
-
|
23
|
-
# Fixes equality between CastedArray objects
|
24
|
-
def ==(other)
|
25
|
-
@_array == other.to_a
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|