elmas 2.2.0 → 2.2.1
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 +0 -1
- data/Changelog.md +10 -0
- data/lib/elmas/sanitizer.rb +1 -1
- data/lib/elmas/uri.rb +1 -1
- data/lib/elmas/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 10abfebcd17a54de33628c1e48170981b30e5345
|
|
4
|
+
data.tar.gz: 7c67ccf52b8231b059cb44b80f045fd6f343e7f0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c20a92ba86f300be0a92861a8bc7e1e96ec415e0829cd86d99e39ade4f7732f3ad6a237379dfadaebf5c06e61b97ec4b12e7f268a91220589ba067bd36911a4e
|
|
7
|
+
data.tar.gz: 680ef9d45f1140fb40b3ce151ed1a6c9a5af780c641def387039e57b4d7b9865a205315a499de4b49afe5cbf450e40e545ae4e25b2a3063d04931a55f8dcd32b
|
data/.rubocop.yml
CHANGED
data/Changelog.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## 2.2.1
|
|
2
|
+
|
|
3
|
+
- Fix date sanitizing (608883148a367d2388b9daa9b454ac6b2dbbf10d)
|
|
4
|
+
- Fix `order_by` filter (ea643593304bba56a73b8263a601526679baaa5a)
|
|
5
|
+
|
|
6
|
+
## 2.2.0
|
|
7
|
+
|
|
8
|
+
- Updates to the README
|
|
9
|
+
- New resources General Journal Entry and General Journal Entry Line
|
|
10
|
+
|
|
1
11
|
## 2.1.0
|
|
2
12
|
|
|
3
13
|
- Allow filtering with 'greater_than' and 'less_than'
|
data/lib/elmas/sanitizer.rb
CHANGED
|
@@ -21,7 +21,7 @@ module Elmas
|
|
|
21
21
|
return value.id # Turn relation into ID
|
|
22
22
|
elsif value.is_a?(Array)
|
|
23
23
|
return sanitize_has_many(value)
|
|
24
|
-
elsif value.is_a?(DateTime)
|
|
24
|
+
elsif value.is_a?(Time) || value.is_a?(Date) || value.is_a?(DateTime)
|
|
25
25
|
return sanitize_date_time(value)
|
|
26
26
|
elsif value.is_a?(String) && value.match(/(Date\()/)
|
|
27
27
|
number = value.scan(/\d+/).first.to_i / 1000.0
|
data/lib/elmas/uri.rb
CHANGED
data/lib/elmas/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: elmas
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.2.
|
|
4
|
+
version: 2.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Marthyn
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-05-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -304,7 +304,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
304
304
|
version: '0'
|
|
305
305
|
requirements: []
|
|
306
306
|
rubyforge_project:
|
|
307
|
-
rubygems_version: 2.
|
|
307
|
+
rubygems_version: 2.5.1
|
|
308
308
|
signing_key:
|
|
309
309
|
specification_version: 4
|
|
310
310
|
summary: API wrapper for Exact Online
|