orchestrate-api 0.1.3 → 0.1.4
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/lib/orchestrate_api/wrapper.rb +4 -4
- 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: 731c38ce01f2a014ee69794ee4fe5630db6101f5
|
|
4
|
+
data.tar.gz: 662cb735edadd9375c09aeb593ff577c56e34883
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 26d1db47ebbfd005963406508d987ef5e242a74371654be8b16650fd22e0b28f4d799b717b33c544590c900bcdf9d0b299c4bc2c0466e1f5fa5a4d9c7c8b8d78
|
|
7
|
+
data.tar.gz: 16f34f6a2dd4c4f435449ee4ee39bef03178baa8436a239bd7ab9cd6fd075378507989925ef3d300f6164e5d4f15f7a86b3a482d26bbef5fa66bb9ad2eaf9073
|
|
@@ -58,11 +58,11 @@ module Orchestrate::API
|
|
|
58
58
|
uri << "/refs/#{args[:ref].gsub(/"/, '')}" if method == :get
|
|
59
59
|
elsif args[:event_type]
|
|
60
60
|
uri << "/events/#{args[:event_type]}"
|
|
61
|
-
|
|
62
|
-
if method == :
|
|
61
|
+
unless args[:timestamp].blank?
|
|
62
|
+
if method == :get && args[:timestamp][:start]
|
|
63
63
|
uri << "?start=#{args[:timestamp][:start]}&end=#{args[:timestamp][:end]}"
|
|
64
|
-
elsif method == :
|
|
65
|
-
uri << "?timestamp=#{timestamp}"
|
|
64
|
+
elsif method == :put
|
|
65
|
+
uri << "?timestamp=#{args[:timestamp]}"
|
|
66
66
|
end
|
|
67
67
|
end
|
|
68
68
|
elsif args[:kind]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: orchestrate-api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Carrasquer
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-03-
|
|
11
|
+
date: 2014-03-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: httparty
|