redmine-client 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/redmine/client.rb +1 -1
- data/lib/redmine/client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9605ad29fc47739bc3520db2f29a1381a3c00afe
|
4
|
+
data.tar.gz: 4f93270d3b5639ed0628e5b4c0d167fe1f245519
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec344ddce5f4617a6a99eea07a9deaea6347018c94f403f033d52240794a8ccdb54686e59321481cdfa72f1a111fc794246906fc34208b9e0d97382716a5ff6b
|
7
|
+
data.tar.gz: f5c5396bb3173fdb9a442451a720e156d56646c4bd4721931e93ec5988a3f46b5fb1a575836682b51c5c466c3c1d6169e9178d836f954f4a178217e5fdf1a580
|
data/lib/redmine/client.rb
CHANGED
@@ -51,7 +51,7 @@ module Redmine
|
|
51
51
|
end
|
52
52
|
|
53
53
|
def self.crud(plural, singular)
|
54
|
-
class_eval <<-EOF
|
54
|
+
class_eval <<-EOF, __FILE__, __LINE__
|
55
55
|
def create_#{singular}(params, full_response=false)
|
56
56
|
resp = faraday.post("/#{plural}.json", {"#{singular}" => params})
|
57
57
|
check_errors(resp)
|