stapeluberlauf 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stapeluberlauf/request.rb +3 -3
- data/lib/stapeluberlauf/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1997f10335e27c20e27e53f55b3e6044bfa7b42
|
4
|
+
data.tar.gz: 3edcf0a4244b436410a7fc08bf108f0248e4a4cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1a00ea8bd11c8481841a677725c4c9d8a50ff50584ec0e293c315adda815143b4966328fcf6e01e06cc756782326b44a7f147e05a10a517b6524c60a58ebba7
|
7
|
+
data.tar.gz: a02cbb7aae37274730500328d44b3c8c43bfa58f84cb5cbc87cf7a9f7fc96e35a0d8fd5b4edeb3f827f163a9c7845a9c96d5bdeac6cf3bc643975878c4a474f1
|
@@ -64,7 +64,7 @@ module Stapeluberlauf
|
|
64
64
|
base_request.instance_variables.each do |var|
|
65
65
|
value = base_request.instance_variable_get(var)
|
66
66
|
method_sym = "#{var.to_s[1..-1]}="
|
67
|
-
instance.send(method_sym, value.
|
67
|
+
instance.send(method_sym, value.frozen? ? value : value.dup)
|
68
68
|
end
|
69
69
|
end
|
70
70
|
end
|
@@ -81,8 +81,8 @@ module Stapeluberlauf
|
|
81
81
|
#
|
82
82
|
def created(after: nil, before: nil)
|
83
83
|
@params.merge!({
|
84
|
-
fromdate:
|
85
|
-
todate:
|
84
|
+
fromdate: after && after.to_time.to_i,
|
85
|
+
todate: before && before.to_time.to_i,
|
86
86
|
})
|
87
87
|
self
|
88
88
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stapeluberlauf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marius Rackwitz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|